Home key doesn't work with TERM=screen
Harig, Mark
maharig@idirect.net
Wed Dec 3 17:21:00 GMT 2003
>
> If I ssh to cygwin with TERM=screen, pressing Home in bash results in
> beep and a tilde printed. I've checked infocmp screen output, khome is
> set to \E[1~, as in linux and cygwin terminfo entries.
>
You can take control of your keyboard settings by
adding definitions to your ~/.inputrc:
1. Press Ctrl-V, followed by the key whose
behavior you want to define, for example,
$ ^V [Home key]
^[[1~
The '^[' corresponds to the escape key.
2. Edit (or create) your ~/.inputrc. Add the
definition for the key that you want.
"\e[1~": beginning-of-line
An example '.inputrc' file can be found in
/etc/skel/.inputrc.
This is described in the manual page and info
for 'readline':
$ man readline
or
$ info readline
------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list