Article View: comp.terminals
Article #1249Re: ESC key on VT200 and VT300 terminals.
From: Bill Vermillion
Date: Tue, 23 Apr 1991 05:41
Date: Tue, 23 Apr 1991 05:41
21 lines
1465 bytes
1465 bytes
In article <15892@smoke.brl.mil> gwyn@smoke.brl.mil (Doug Gwyn) writes:
>In article <DAVIS.91Apr17212532@pacific.mps.ohio-state.edu> davis@pacific.mps.ohio-state.edu (John E. Davis) writes:
>>Just use ^[ for escape-- it always works on any terminal by definition.
>While that probably works on most ASCII terminals, it is not that way
>"by definition", but rather a side effect of the implementation of the
>control-key function on such terminals.
Why do you say that it is not that way by definition. I understood the
"definition" is that the Control key is just to strips the 3 most significant
bits, therefore control [ will always give ESC.
I have seen some crude terminal emulators that subtract from the ascii
value instead of masking but that gives differnent values for control chars.
eg: ctl A and ctl a map differently that way. But I HAVE seen that done.
--
Bill Vermillion - UUCP: uunet!tarpit!bilver!bill
: bill@bilver.UUCP
Technical Details
Message-ID:
<1991Apr23.054148.3339@bilver.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!ge-dab!tarpit!bilver!billReferences:
<9104172248.AA10611@cwns9.INS.CWRU.Edu> <DAVIS.91Apr17212532@pacific.mps.ohio-state.edu> <15892@smoke.brl.mil>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!ge-dab!tarpit!bilver!bill From: bill@bilver.uucp (Bill Vermillion) Newsgroups: comp.terminals Subject: Re: ESC key on VT200 and VT300 terminals. Message-ID: <1991Apr23.054148.3339@bilver.uucp> Date: 23 Apr 91 05:41:48 GMT References: <9104172248.AA10611@cwns9.INS.CWRU.Edu> <DAVIS.91Apr17212532@pacific.mps.ohio-state.edu> <15892@smoke.brl.mil> Organization: W. J. Vermillion - Winter Park, FL Lines: 21