FreeBSD Bugzilla – Attachment 163600 Details for
Bug 204852
[regression] [patch] fix gstat undocumented keyboard controls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
oops, missed the last part of the patch
gstat.diff (text/plain), 965 bytes, created by
Keith White
on 2015-11-27 21:40:03 UTC
(
hide
)
Description:
oops, missed the last part of the patch
Filename:
MIME Type:
Creator:
Keith White
Created:
2015-11-27 21:40:03 UTC
Size:
965 bytes
patch
obsolete
>Index: usr.sbin/gstat/gstat.c >=================================================================== >--- usr.sbin/gstat/gstat.c (revision 291381) >+++ usr.sbin/gstat/gstat.c (working copy) >@@ -175,9 +175,6 @@ > init_pair(1, COLOR_GREEN, cb); > init_pair(2, COLOR_MAGENTA, cb); > init_pair(3, COLOR_RED, cb); >- cbreak(); >- noecho(); >- nonl(); > nodelay(stdscr, 1); > intrflush(stdscr, FALSE); > keypad(stdscr, TRUE); >@@ -195,6 +192,9 @@ > el_set(el, EL_PROMPT, el_prompt); > if (f_s[0] != '\0') > history(hist, &hist_ev, H_ENTER, f_s); >+ cbreak(); >+ noecho(); >+ nonl(); > } > geom_stats_snapshot_timestamp(sq, &tq); > for (quit = 0; !quit;) { >@@ -402,6 +402,9 @@ > clrtoeol(); > refresh(); > line = el_gets(el, &line_len); >+ cbreak(); >+ noecho(); >+ nonl(); > if (line == NULL) > err(1, "el_gets"); > if (line_len > 1) >@@ -440,8 +443,8 @@ > } > > if (!flag_b) { >+ el_end(el); > endwin(); >- el_end(el); > } > exit(EX_OK); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204852
:
163589
| 163600