News for hackers. Stuff that matters.
Re:Four Column ASCII by chappar on Wednesday February 01, 2017 @08:25AM (#13540501)
Does this mean that ^; and ^{ are also equivalent to ESC?
Re:Four Column ASCII by falcolas on Wednesday February 01, 2017 @08:44AM (#13540617)
^{ is, but on my terminal ^; just prints out a ;

iTerm2, in vim 1.8

Re:Four Column ASCII by guitarbill on Wednesday February 01, 2017 @09:24AM (#13540896)
^[ and ^{ do the same thing in Terminal.app (macOS Sierra) and vim 8.0. However, I get the bell sound (which generally denotes invalid input in macOS) for ^; and it prints nothing.
Re:Four Column ASCII by danielweber on Wednesday February 01, 2017 @02:55PM (#13544394)
You have control characters for the characters from 64 to 95.

    Control-@ is 0.  
    Control-A is 1, through control-Z is 26.
    Control-[ is 27, escape.
    Control-\ is 28.
    Control-] is 29.
    Control-^ is 30.
    Control-_ is 31.
Re:Four Column ASCII by Etheryte on Wednesday February 01, 2017 @08:45AM (#13540628)
I guess it could in theory, on my keyboard, however, CTRL seems to override other control chars, so typing ^{ doesn't seem possible at all, at least without any hacks. (I don't have a US layout keyboard.)
Re:Four Column ASCII by mikedude on Wednesday February 01, 2017 @09:36AM (#13540987)
According to the bit-wise AND at the end of the article it should, but it seems like there's more to it than just zeroing out the 'column' bits.
Re:Four Column ASCII by corndoge on Wednesday February 01, 2017 @10:54AM (#13541640)
Not sure if this is specifically related, but-

CTRL does not actually modify the character code sent from the keyboard. For letters, the same keycode (which maps to ASCII with a constant addition of 0x3D) is always sent. Another byte in the HID report contains bit flags for modifier keys (L/R CTRL, SHIFT, etc); the OS decides what happens after that.

Note that this holds under USB HID.

Re:Four Column ASCII by jandrese on Wednesday February 01, 2017 @11:25AM (#13542031)
Not on a modern PC, but on the machine ASCII was originally developed for I could definitely see the CTRL key just pulling one bit low on the keyboard encoder.