[Bug 204852] [regression] [patch] fix gstat undocumented keyboard controls

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 27 19:06:36 UTC 2015


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: freebsd-bugs at FreeBSD.org
          Reporter: kwhite at site.uottawa.ca
          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.


More information about the freebsd-bugs mailing list