Re: Why does "\024" mean `C-t'? (in bindkey example in man page)

2016-08-13 Thread Pieter Luteijn
Hi, In short, pressing ctrl+{other key} just sends a code that's 64 (dec) lower than then {other key} by itself. So ctrl-@ sends '0' (NUL), ctrl-C sends '3', ctrl-T '20'. To make it easy, no difference is made between upper/lowercase. Look at an ASCII table, as this method is/was meant to

Re: Why does "\024" mean `C-t'? (in bindkey example in man page)

2016-08-13 Thread Axel Beckert
Hi, On Sat, Aug 13, 2016 at 05:41:41AM -0700, Aleksey Tsalolikhin wrote: > The GNU screen man page states: > > bindkey "\024" mapdefault > > This keybinding makes `C-t' an escape character for keybindings. > > My 'ascii' man page shows that octal 024 is Device Control 4: > >Oc

Why does "\024" mean `C-t'? (in bindkey example in man page)

2016-08-13 Thread Aleksey Tsalolikhin
Hello, The GNU screen man page states: bindkey "\024" mapdefault This keybinding makes `C-t' an escape character for keybindings. My 'ascii' man page shows that octal 024 is Device Control 4: Oct Dec Hex Char 024 2014DC4 (device control 4) And that "T" i