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

Pieter Luteijn <luteijn-qWit8jRvyhVmR6Xm/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
    
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 send codes from 0-31 (with 32 having its own key, spacebar), and you'll see why some non-letter {other keys} like '[' or ']' work, but others like e.g. '*' (usually) don't. 
Regards,Pieter
Sent from a mobile, sorry for any typoes...

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.