Article View: gnu.emacs.help
Article #189392Re: KEY BINDINGS FOR DEC TERMINALS
From: Kevin Gallagher
Date: Sun, 03 Mar 1991 06:17
Date: Sun, 03 Mar 1991 06:17
60 lines
3846 bytes
3846 bytes
In article <9103011856.AA05368@vision1.ece.scarolina.edu> stephens@vision1.ai.mit.edu (Prof. Larry Stephens) writes:
>We are using emacs exclusively for Lisp programming in my artificial
>class. Is there a way to redefine the escape sequence for emacs. In our
>department, we have many DEC-VT 220 and VT-320 terminals, which not
>not have an escape key--we must use the awkward "c-[" sequence.
It has been a while since I used a VT-220 and VT-320, but we have hundreds of
VT series terminals in my office, including the 100, 101, 102, 131, 220, and
320. On each of the 220's and 320's, ONE of the first four function keys at
the top left of the keyboard, labeled F1 through F4, is the ESC key. Another
one of those keys will take you into the terminal setup mode (F3, I think)
and, if I recall properly, one submits a break signal. I am not sure what the
fourth one does (Hold Screen, maybe?). But I do remember that F1 to F4 are
not programmable on our terminals. Their functions are hardwired. I thought
all DEC VT-200 and VT-300 series terminal were built the same way. But if
yours are not wired like this, they I have learned something new!
Unfortunately, I am writing this from home and don't have access to a VT-220
manual to tell you the exact bindings. But, as further support for my claim,
I am now have before me the Crosstalk Mk. 4 discussion of its VT-220
emulator. It shows a keyboard map of PC keys to DEC keys. There is NO
mention of DEC keys F1 to F4. The chart lists all the other DEC keys,
including the DEC F5-F20 keys.
>Also, do you have any suggestions for mapping the VT terminals' up,
>down, left, and right keys so that they will work reliably--using them
>sometimes adds characters to the buffer ("OA" "OB"). (On the other
>hand, I'm using an IBM PC keyboard, with kermit VT-100 emulation, and
>everything works just fine.)
The ESC character is getting lost somewhere between the terminal and the host.
On VT-100, VT-200, and VT-300 series terminals, the arrow keys generate
Up ESC OA
Down ESC OB
Right ESC OC
Left ESC OD
This happen to me within GNU Emacs recently on a direct connect to our
VAX through a VT-100 emulator running on an Apollo Workstation, where the
connection is done through a serial port connected to a DEC Terminal Server.
So, I would not blame your terminals. In our case, it was a caused by a flow
control problem.
When I connect to the VAX from home via a modem to the DEC Terminal Server,
like you, I do not see this problem. Of course, at work I connected using
9600 or 19200 baud. From home I connect at 2400 baud. So the baud rate
and/or the use of a modem may explain it.
Recently, they upgraded the firmware in the Terminal Servers and I started
connecting at 4800 baud. I do not notice the problem now, though I have not
investigated whether it is the slower baud rate or the firmware upgrade that
fixed the problem.
Good luck!
--
----------------------------------------------------------------------------
Kevin Gallagher kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
----------------------------------------------------------------------------
Technical Details
Message-ID:
<1991Mar3.061751.16514@digi.lonestar.org>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!optilink!digi!kgallaghReferences:
<9103011856.AA05368@vision1.ece.scarolina.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,c151e2a335b5e22c X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-03-03 17:41:37 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!optilink!digi!kgallagh From: kgallagh@digi.lonestar.org (Kevin Gallagher) Newsgroups: gnu.emacs.help Subject: Re: KEY BINDINGS FOR DEC TERMINALS Message-ID: <1991Mar3.061751.16514@digi.lonestar.org> Date: 3 Mar 91 06:17:51 GMT References: <9103011856.AA05368@vision1.ece.scarolina.edu> Organization: DSC Communications Corp, Plano, TX Lines: 60