wmb@sun.uucp (Mitch Bradley) (04/23/85)
Here's some ways to use Wyse and Televideo terminals without stumbling over the "magic cookie" glitch, i.e. the brain damage about the "enter reverse video" character taking up a space on the screen. 1) For the Wyse terminal, you can put it in ADDS viewpoint emulation mode. The ADDS mode does not have the magic cookie glitch. Here's an appropriate termcap entry: wk|wyse-nk|Wyse 50 in ADDS Viewpoint enhanced mode with cursor keys gone:\ :kl@:kr@:kd@:ku@:kh@:tc=wyse-vp: wv|wyse-vp|wyse|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on:\ :am:cr=^M:do=^J:nl=^J:bl=^G:\ :le=^H:bs:li#24:co#80:cm=\EY%+ %+ :cd=\Ek:ce=\EK:nd=^F:\ :up=^Z:cl=^L:ll=^A:kl=^U:kr=^F:kd=^J:ku=^Z:kh=^A:\ :pt:so=^N:se=^O:us=^N:ue=^O:\ :dl=\El:al=\EM:im=\Eq:ei=\Er:dc=\EW:\ :is=\E`\072\E`9^O\Er:rs=\E`\072\E`9^O\Er: The "cursor keys gone" version is related to a problem with ADDS mode, namely: The UP-ARROW cursor key sends ^Z in ADDS mode, which makes the cursor keys less useful, because UP tends to make processes stop. So if you use this mode, don't use the cursor keys (of course, with Emacs you can rebind ^Z, but some other software is not so flexible). 2) The televideo has one visual attribute that does not take up a space on the screen: half-intensity. Of cours mode stripes don't look as nice in half intensity as they do in reverse video, but at least the mode line doesn't get garbled. Here's a termcap entry: v10|tvi925hi|925|televideo model 925 with half intensity standout mode:\ :so=\E):se=\E(:tc=tvi925: All this stuff works with Gosling's Emacs; I presume that it will also work on GNU Emacs. Mitch Bradley
matt@oddjob.UUCP (Matt Crawford) (04/25/85)
A TVI terminal with half-intensity used for standout mode looks pretty good if the screen is in reverse video (black on green). Here's how I modified the 4.2 termcap entry: vd|tvi950-rv|950-rv|televideo950 rev video:\ :is=\EDF\EC\Eb\Eg\Er\EO\E.2\E(\E%\Ew\EX\Ee ^O\ \El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\ \Ex3\200\200\Ex4\r\200:\ :vb=\Ed\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\Eb:\ :so=\E):se=\E(:sg@:tc=tvi950: Notice that I also have dropped the \Ek (local edit keys) from the :is=: and done away with the enter/exit vi entry from the tvi950 termcap. One reason is that I like to use ^^ (HOME) as my quick substitution key in the csh. Does anyone want my tvi950.ml? >= four requests gets it posted. Fewer gets it mailed. _____________________________________________________ Matt University crawford@anl-mcs.arpa Crawford of Chicago ihnp4!oddjob!matt
jack@boring.UUCP (04/26/85)
[Sorry. I tried to reach the poster by mail, but it bounced back] If I remember correctly, the TVI 925 is one of the newer models, like the 924 and the 970. These *do not* need space to change attribute (like the 920 and 950). The only leave a space there for compatibility (compat-debility??) reasons. You can just backspace over it and everything works fine. I changed the termcap entry to look something like :so=\EG4^H:se=\EG0^H: (and the same for underlining), and removed the sg# entry. It works great for a 924, so it should probably work for you. By the way, the idea to insert a space for compatability reasons is completely ridiculous, since the old models have position dependant attributes, and have not. -- Jack Jansen, {decvax|philabs|seismo}!mcvax!jack The shell is my oyster.
wjr@x.UUCP (Bill Richard) (04/26/85)
[] I didn't see the beginning of this dicussion so forgive me if this has been said before. The easiest way I know of to deal with the magic cokkie glitch in Wyse 50 terminals is to select the PROT = REV option from the setup menu (4th line, 4th entry), and use the 'enter/exit protect submode' commands to turn on/off reverse video. The termcap entries are: " so=\E): se=\E( ". The 'protect' mode only protect against modification by local edit commands (block mode) and thus does not interfere with anything in normal (char) mode. I have had my Wyse set up this way for a year or so and have not had any trouble with it. -- ---- William J. Richard @ Charles River Data Systems 983 Concord St. Framingham, MA 01701 Tel: (617) 626-1112 uucp: ...!decvax!frog!wjr
tanner@ki4pv.UUCP (Tanner Andrews) (05/03/85)
Sorry to be the bearer of bad news, but the tvi925 is *not* one of the newer terminals. It, like the tvi950, requires :sg#1: because the attributes (except half-intensity/grafix/magic) do require a screen space. At least on our (admittedly years-old) tvi925's it seems to make a difference if you wipe the attrib. The tvi925 is very much like a tvi950, lacking mainly graphics and ability to display stipple pattern (rub-out). The character set is formed with fewer pixels, so the display is not as nice. For those things which the tvi925 supports, the codes are the same as for the tvi950. -- Tanner Andrews, KI4PV