Re: vt220 keys
Posted in 1995
From Colin McGrath:
* Observe that Sally indicated the '-v' flag in her 'cat' suggestion,
* so it WILL display control chars.
*
* Outout from "man cat":
*
* -v Display non-printing characters (with the exception of
* TAB and NEWLINE characters) so that they are visible.
* Control characters print like ^X for CTRL-X; the DEL
* character (octal 0177) print as `^?'. Non-ASCII char-
* acters (with the high bit set) are displayed as M-x
* where M- stands for `meta' and x is the character
* specified by the seven low order bits.
Not on my SCO 3.2.2. My F1 key outputs ^[OP and using cat -v does:
$ cat -vP # this is the F1 ^[OP
P
Q # this is the F2 ^[OQ
Q
l # this is ^X
l
$
Robert Minter Data Systems Support \\\\\\_///
Senior Software Engineer A Client Technologies Company ( _ _ )
E-Mail: rob@dssmktg.com Tel: 714.771.0454 (| ^ |)
#include <disclaimer.h> Fax: 714.771.3028 \\`-'/
De Colores - Emmaus OC-13 SURF'S UP \\_/