Convert-ASCIInames

 view release on metacpan or  search on metacpan

lib/Convert/ASCIInames.pm  view on Meta::CPAN

with a number of C<NUL> bytes in order to give the receiving end
a chance to return its print carriage to the left margin.  The control
characters (so-called because they were used to control aspects of
communication or receiving devices) were given short 2-to-4 letter
names, like C<CR>, C<EOT>, C<ACK>, and C<NAK>.

Some of these special purposes have become obsolete, but some of them
are still in use.  For example, character 0x07 (C<BEL>) is used to
ring the feeper; 0x05 (C<ENQ>) is recognised by many terminals as
a trigger to report their status; and 0x08 (C<BS>) still means
"move the cursor back one space".

This module will return the ASCII name for specified characters,
or the character code if given an ASCII name.  In addition, the
full descriptive name ("Start of Heading" instead of C<SOH>) is
available, although reverse translation of the descriptions isn't
provided.

Some control characters have altername names.  Character 0x13
is named C<DC3> ("Device Control 3"), but is probably better
known by its alternate name of C<XOFF>.  These alternate names



( run in 0.232 second using v1.01-cache-2.11-cpan-4d50c553e7e )