This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New terminal capability in fhandler_console.cc


BTW, I added some keycodes to the cygwin terminal emulation.

On xterms, the cursor block and the control key block behave
slightliy different from what was set in fhandler_console.cc.

The same keycodes are returned without modifier with shift and
control keys. With Alt, it returns the keycode with another
ESC prepended. I have added that behaviour to keytable. That
allows convenient keybindings like (tcsh):

	bindkey "^[^[[D"   word-left
	bindkey "^[^[[C"   word-right

to move wordwise with ALT+Cursor keys.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]