VMS & SGI and terminfo
Tom Kirkman
TKIRKMAN%MOE at MSUS1.MSUS.EDU
Wed May 1 23:11:00 AEST 1991
a couple of days ago I asked:
>So, my question is, how can I make VI work for students who telnet to
>our PI & hence automatically have TERM=vt200.
I was on the right track with:
>Apparently the VAX passes
>TERM=vt200 to the PI, but there is no /usr/lib/terminfo/v/vt200 file
>(although there is a vt220 file). So I used infocmp vt220 >vt200.tic,
>editted the first line of the vt200.tic file to read vt200, and
>finally tic vt200.tic.
the bug seems to be with SGI's vt220 terminfo file.
is2=...\E[?1h...
initializes the terminal to send not normal (rather "application") codes
when a cursor key is pushed, but the terminfo file has
kcub1=\E[D, etc
which are the normal cursor codes. (Running a TERM=vt100 vi session
resets the cursor codes to normal, hence the odd results.) SO, removing
\E[?1h in is2 in vt200.tic seems to have solved my problem. (While I
was at it I removed flash=\E... as I prefer bels to flashes.)
I got some help on another question I asked:
>How about using the console keyboard in a session telneted to the VMS vax...
>any suggested keybinding to make using EDT & TPU easier?
One suggestion was to use
wsh -v
but wsh -v turned out to be a bad vt100 emulator: it couldn't id itself to
the vax & it screwed up scrolling in edt.
A better suggested option was to use xterm & the below command file for edt:
------------------------------------------------------------------
define key function 20 as "GOLD"
define key function 21 as "HELP."
define key function 23 as " "" ""."
define key function 24 as "D+NL."
define key gold function 21 as "HELP."
define key gold function 23 as "SSEL""?'Search for: '""DESEL."
define key gold function 24 as "UNDL."
define key 18 as "D+C."
define key gold 18 as "UNDC."
-------------------------------------------------------------------
PS I still have lots of other stupid terminal/VAX related questions:
Should I/how do I make delete be the backspace key for those telneted vt220s?
I know I should get emacs pdq, but I would also like EDT & TPU emulators
for these students. Can you suggest any?
UCX seems to lack hooks for remote printing. Any cheap alternatives
or workarounds?
Again, many thanks for past (& I hope future) responses.
-------------------------------------------------------------------------------
Tom Kirkman DECnet: 55860::TKIRKMAN
Dept. of Physics HEP-> MNHEP::55860:: SPAN-> WAVES::55860::
St. John's University INTERnet: tkirkman%55860 at vx.acs.umn.edu
Collegeville, MN 56321 tkirkman%55860 at msus1.msus.edu
(612) 363-3811 BITnet: tkirkman at csbsju
(612) 363-3151 FAX:(612) 363-2504
-------------------------------------------------------------------------------
More information about the Comp.sys.sgi
mailing list