https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204852

            Bug ID: 204852
           Summary: [regression] [patch] fix gstat undocumented keyboard
                    controls
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch, regression
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]
          Keywords: patch, regression

Created attachment 163589
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163589&action=edit
fix for libncurses/libedit interaction

gstat includes undocumented keyboard controls for quit [q], filter [f], etc. 
With (I'm guessing!) recent libedit changes, these commands fail to work as
expected.  The terminal echoes the single key command, and does not run it
until the enter key is pressed.  In particular, 'q' 'enter' exits gstat and
leaves the terminal in a non-echo state requiring "reset".

The attached patch relocates the cbreak() etc. calls after the libedit
initialization, and calls cbreak() etc. after libedit is called to enter a new
filter.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to