Date: Fri, 27 Nov 2015 19:06:36 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 204852] [regression] [patch] fix gstat undocumented keyboard controls Message-ID: <bug-204852-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: kwhite@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204852-8>