andrew@orca.UUCP (Andrew Klossner) (12/05/84)
[] "I just picked up (very cheaply) an old tektronic 4023 terminal. The termcap we have for this terminal seems rather sparse. Does anyone have or know of a termcap for the 4023? Any suggestions would be appreciated." Sparse is right. This ancient terminal is one of the original Glass Ttys. One of the astounding things about vi(1) is that it supports the 4023. Virtually none of the games do, and Unipress/Gosling emacs doesn't. The termcap that we use at Tek follows: X4|tek4023|4023|tex|tektronix 4023:\ :cr=^M:do=^J:nl=^J:bl=^G:\ :so=^_H:se=^_@:cm=\034%r%+ %+ :nd=\t:le=^H:bs:cl=4\E^L:co#80:li#24:\ :am:up=1000UP:sg#1:kb=^H:dN#4: You need to have "stty nl2" in effect. Some versions of tset(1) know how to set it for you. It's got the Magic Cookie problem around stand-out mode. If you can't live with Magic Cookie, remove the :so: and :se: fields and do without reverse video. If you like reverse video stand-out mode but don't want it to flash, change the letter 'H' to 'P' in the :so: field. The terminal won't actually move the cursor up a line if you send "UP". The tremendous delay factor in "up=1000UP" is supposed to keep some program from ever using :up:. Apparently it wouldn't get started if :up: weren't present, but once it was started it would always use :cm: instead to move upward. -- Andrew Klossner (decvax!tektronix!orca!andrew) [UUCP] (orca!andrew.tektronix@csnet-relay) [ARPA]