I know that the control key on the DEC terminals
stripped off the high order
bit on the character that followed.
I think that's just the ascii code at work here.
The Control-G series would sound the bell on either the VT100 or LA34.
the G character is an octal 107
Control-G sends out an octal 007 which is the bell
All sorts of modem, printer, and terminal combinations used the entire ASCII
character set.
When we replaced our VT52's we found out you could send out series of cursor
control codes on VT100's to move the cursor and then output a character.
Early star trek games on video terminals used this instead of sending out
spaces and characters. You could also plot line graphs and barcharts using
control codes.
Mike
mmcfadden(a)cmh.edu
Control-G is an Octal 0x7 AKA Decimal 7 and Hex 0x7...
Control-H (backspace) is Octal 010 AKA Decimal 8 and Hex 0x8.. H is
110 Octal 72 Decimal and 48 hex.
Octal 107 is a G... Octal 110 an H...
From the man page on this unix box
Oct Dec Hex Char Oct Dec Hex Char
007 7 07 BEL '\a' 107 71 47 G
010 8 08 BS '\b' 110 72 48 H
Anyone know what \a is?
012 shows \n (newline)a 08 shows as \t (tab) what's \a alert?
Bill
--
Bill Gates is a Persian cat and a monocle away from being a
villain in a James Bond movie -- Dennis Miller
bpechter@shell.monmouth.com|pechter@pechter.dyndns.org