[142] in resnet
terminal probs (vt220, 8 bit)
daemon@ATHENA.MIT.EDU (Daniel C. Stevenson)
Fri Jan 21 11:30:03 1994
From: daniels@the-tech.mit.edu (Daniel C. Stevenson)
To: dcns-rcc@MIT.EDU
Date: Fri, 21 Jan 1994 11:30:19 -0500 (EST)
Cc: oresnet@MIT.EDU, resnet@MIT.EDU
Reply-To: daniels@the-tech.mit.edu
Hello, everyone,
I'm been experimenting with the vt220 term problems and came up with the
following solutions that are quick, easy, and seem to work.
First, in the Setup menu of Host Presenter (Telnet for those who don't
speak Lan WorkPlace-ese), under Emulator, under Emulation, you can choose
what terminal you want. I personally use VT220 7-BIT. If you want VT100,
use that. For Hoon Kim, who asked about 8-BIT terminal emulation, you
might try using VT220-8BIT.
Now, all you need to do is add one line to your .cshrc.mine file
(or whatever the athena approved location for such modifications is).
What this line does is recognize dec-vt100 and dec-vt220 as acceptable names
for vt100 and vt220. Also, for generic network logins, it assumes vt100
(generally a safe bet).
Here's the relevant line:
setenv TERM "`tset - -m network:\?vt100 -m vt100:\?vt100 -m dec-vt100:\?vt100
-m dec-vt220:\?vt220 -m vt220:\?vt220 -IQ`"
Please note that this is ONE line... it just wraps around in this mail message
to look like two lines.
What this will do is prompt you for your terminal type, but it will guess
your terminal type based on what Host Presenter tells it... and if Host
Presenter tells it a terminal type with the dec- prefix, it recognizes that
also.
As far as I know this works - when I set up the emulation to VT220-7BIT
in Host Presenter, and the above line is one of my startup files, I have
no trouble using the arrow keys in emacs (like right now).
Please send all flames and comments to daniels@the-tech.mit.edu, and
any useful comments to the relevant lists.
- Dan Stevenson, MacGregor RCC