coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mapping of the special characters to the control sequences available


From: Eduardo Bustamante
Subject: Re: Mapping of the special characters to the control sequences available?
Date: Fri, 9 Feb 2018 14:30:31 -0600

On Fri, Feb 9, 2018 at 11:43 AM, Peng Yu <address@hidden> wrote:
> I see CR is on the same line as M. Are the special characters mapped
> to the 3rd column of the table (e.g., BS maps to control-V control-H)?

Wikipedia explains it:
https://en.wikipedia.org/wiki/Control_character#How_control_characters_map_to_keyboards

  ASCII-based keyboards have a key labelled "Control", "Ctrl", or
(rarely) "Cntl" which is used much like a shift key,
  being pressed in combination with another letter or symbol key. In
one implementation, the control key generates
  the code 64 places below the code for the (generally) uppercase
letter it is pressed in combination with (i.e., subtract
  64 from ASCII code value in decimal of the (generally) uppercase
letter). The other implementation is to take the
  ASCII code produced by the key and bitwise AND it with 31, forcing
bits 6 and 7 to zero.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]