bindctl command history
Jeremy C. Reed
jreed at isc.org
Thu May 17 16:14:02 UTC 2012
On Thu, 17 May 2012, Jeremy C. Reed wrote:
> > instead of doing command history. There is another tedious problem
> > with correcting typos: pressing the Backspace key generates "^H"
> > instead of deleting the character to the left. The right and left
> > arrows generate "^[[C" and "^[[D", and the Delete key generates
> > "^[[3~". The only way I can delete the character to the left is
> > <Ctrl>-<Backspace>. These keys all work as expected with the bash
> > shell outside of bindctl.
Seems like your backspace and Ctrl-Backspace are reversed. Locally on my
Linux system at the console (no X) or in X, the backspace is ^? and
Ctrl-Backspace is ^H. And "stty -a" shows me "erase = ^?"
Also in X, I have:
$ xmodmap -pke | egrep -i "code 22 =|backspace"
keycode 22 = BackSpace NoSymbol BackSpace
If your system is configured correctly, then maybe we need to research
about this.
(I wonder why I can't find the sys.stdin.readline documented at
http://docs.python.org/py3k/library/sys.html?highlight=sys.stdin#sys.stdin )
More information about the bind10-users
mailing list