FreeBSD Bugzilla – Attachment 163589 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]
fix for libncurses/libedit interaction
gstat.diff (text/plain), 857 bytes, created by
Keith White
on 2015-11-27 19:06:36 UTC
(
hide
)
Description:
fix for libncurses/libedit interaction
Filename:
MIME Type:
Creator:
Keith White
Created:
2015-11-27 19:06:36 UTC
Size:
857 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)
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