Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Programming VT220 Term
@ 1994-11-25  1:25 Andrew Coyte
  1994-11-28  3:46 ` Hein RMS van den Heuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrew Coyte @ 1994-11-25  1:25 UTC (permalink / raw)


I have acquired a DEC VT220 terminal which I am using with Linux on my 486
as a text terminal. 
The only problem is that there is NO ESCAPE key!!!! 
I cannot even use VI Editor without an escape key!

Do you program function keys by sending Escape codes to the terminal or
something?

Can I generate Escape sequences with 'Compose Character' ??? If so how?

(p.s. I have looked through all setup menus and this particular terminal does
NOT have the '~ key sends escape' option that some DEC terminals have)...

Thankyou for your time.
Andrew Coyte at Kingston University, England


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Programming VT220 Term
  1994-11-25  1:25 Programming VT220 Term Andrew Coyte
@ 1994-11-28  3:46 ` Hein RMS van den Heuvel
  1994-11-29  2:50 ` Peter Sherwood
  1994-11-29 15:47 ` Paul Harris
  2 siblings, 0 replies; 8+ messages in thread
From: Hein RMS van den Heuvel @ 1994-11-28  3:46 UTC (permalink / raw)



In article <3b3ee3$1q8@mercury.kingston.ac.uk>, k921603@kingston.ac.uk (Andrew Coyte) writes...
>I have acquired a DEC VT220 terminal which I am using with Linux on my 486
>as a text terminal. 
>The only problem is that there is NO ESCAPE key!!!! 

My favourite escape generator is ^[  (control-left-open-box) many use ^3.
Try F11 too. In 7 bit mode, any function key starts out an escape character
and may well please your vi.

Hope this helps,		+--------------------------------------+
Hein van den Heuvel, Digital.	| All opinions expressed are mine, and |
  "Makers of VMS and other	| may not reflect those of my employer |
   fine Operating Systems."	+--------------------------------------+


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Programming VT220 Term
  1994-11-25  1:25 Programming VT220 Term Andrew Coyte
  1994-11-28  3:46 ` Hein RMS van den Heuvel
@ 1994-11-29  2:50 ` Peter Sherwood
       [not found]   ` <3bheiv$q2u@omega.gmd.de>
  1994-11-29 15:47 ` Paul Harris
  2 siblings, 1 reply; 8+ messages in thread
From: Peter Sherwood @ 1994-11-29  2:50 UTC (permalink / raw)


Andrew Coyte (k921603@kingston.ac.uk) wrote:
: I have acquired a DEC VT220 terminal which I am using with Linux on my 486
: as a text terminal. 
: The only problem is that there is NO ESCAPE key!!!! 

You can generate an ESC on a VT220 by:

     1) Ctrl [ or Ctrl 3
     2) Typing F11 if the terminal is in VT100 or VT52 mode
-----------------------------------------------------------------------------
Peter Sherwood
(617) 332-8880 (voice)
(617) 332-1675 (fax)
gbcacm@ccs.neu.edu
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Programming VT220 Term
  1994-11-25  1:25 Programming VT220 Term Andrew Coyte
  1994-11-28  3:46 ` Hein RMS van den Heuvel
  1994-11-29  2:50 ` Peter Sherwood
@ 1994-11-29 15:47 ` Paul Harris
  1994-11-29 19:49   ` Thomas Guptill
  2 siblings, 1 reply; 8+ messages in thread
From: Paul Harris @ 1994-11-29 15:47 UTC (permalink / raw)


> I have acquired a DEC VT220 terminal which I am using with Linux on my 486
> as a text terminal. 
> The only problem is that there is NO ESCAPE key!!!! 
> I cannot even use VI Editor without an escape key!
> 
 Try CONTROL 3 or CONTROL [

Paul Harris


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Programming VT220 Term
  1994-11-29 15:47 ` Paul Harris
@ 1994-11-29 19:49   ` Thomas Guptill
  1994-12-02  4:11     ` Bill Wyatt
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Guptill @ 1994-11-29 19:49 UTC (permalink / raw)


In <786124040snz@jenson.demon.co.uk> paulh@jenson.demon.co.uk (Paul Harris) writes:

>> I have acquired a DEC VT220 terminal which I am using with Linux on my 486
>> as a text terminal. 
>> The only problem is that there is NO ESCAPE key!!!! 
>> I cannot even use VI Editor without an escape key!
>> 
You might try 'F11' - I believe that the usual mapping is:

	F11 - ESC
	F12 - BS
	F13 - LF
	F14 - Additional Options

Tom.  (Rainbows are your friend.)
-- 
| Tom Guptill                                                              |
| CPU Box 277445 UoR                                                       |
| Rochester, NY  14627      tgpt_ltd@UORDBV                                |
| GMT-5h (716) 274-3210       I don't speak for UCC from this account.     |


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Programming VT220 Term
  1994-11-29 19:49   ` Thomas Guptill
@ 1994-12-02  4:11     ` Bill Wyatt
  1994-12-03  3:20       ` JGAJIMG
  0 siblings, 1 reply; 8+ messages in thread
From: Bill Wyatt @ 1994-12-02  4:11 UTC (permalink / raw)



: >>> The only problem is that there is NO ESCAPE key!!!! 

: >You might try 'F11' - I believe that the usual mapping is:

: >	F11 - ESC
: >	F12 - BS
: >	F13 - LF
: >	F14 - Additional Options

Yes, but only if the VT220 is set to VT100 mode via the setup menus.

--
Bill Wyatt, Smithsonian Astrophysical Observatory  (Cambridge, MA, USA)
 Internet:  wyatt@cfa.harvard.edu               
     SPAN:  cfa::wyatt  or  6699::wyatt
   BITNET: wyatt@cfa


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Programming VT220 Term
  1994-12-02  4:11     ` Bill Wyatt
@ 1994-12-03  3:20       ` JGAJIMG
  0 siblings, 0 replies; 8+ messages in thread
From: JGAJIMG @ 1994-12-03  3:20 UTC (permalink / raw)


In article <D060zB.4s3@cfanews.harvard.edu>, wyatt@cfa0.harvard.edu (Bill
Wyatt) writes:

: >>> The only problem is that there is NO ESCAPE key!!!! 

Try CTRL-[ this will work for all dec terminals VT100 on up.

CTRL-[   = ESC

Jim Gallagher
DEC Software Engineer



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Programming VT220 Term
       [not found]   ` <3bheiv$q2u@omega.gmd.de>
@ 1994-12-04 18:40     ` Peter Sherwood
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Sherwood @ 1994-12-04 18:40 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

Georg Wittig (wittig@omega.gmd.de) wrote:
: gbcacm@ccs.neu.edu (Peter Sherwood) writes:

: � You can generate an ESC on a VT220 by:
: �      2) Typing F11 if the terminal is in VT100 or VT52 mode


: Can I setup the VT220, such that F11 (or any other F key) will produce
: ESC even _if_ VT220 is in VT220 mode?

You can program any function key to produce ESC, but only shifted. In other
words, you can make SHIFT-Fn send ESC.  Some others have suggested trying
F11; this is because many applications take the CSI 23~ sent by F11 to mean
the same as ESC; however, the hardware itself cannot be made to send ESC
with a single key press (which is what you want).

-----------------------------------------------------------------------------
Peter Sherwood
(617) 332-8880 (voice)
(617) 332-1675 (fax)
gbcacm@ccs.neu.edu
-----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1994-12-04 18:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-25  1:25 Programming VT220 Term Andrew Coyte
1994-11-28  3:46 ` Hein RMS van den Heuvel
1994-11-29  2:50 ` Peter Sherwood
     [not found]   ` <3bheiv$q2u@omega.gmd.de>
1994-12-04 18:40     ` Peter Sherwood
1994-11-29 15:47 ` Paul Harris
1994-11-29 19:49   ` Thomas Guptill
1994-12-02  4:11     ` Bill Wyatt
1994-12-03  3:20       ` JGAJIMG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox