Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!rutgers!ucla-cs!wales From: wales@valeria.cs.ucla.edu (Rich Wales) Newsgroups: comp.sys.ibm.pc Subject: Re: Telix VT102 emulation Keywords: telix vt102 emulation Message-ID: <21224@shemp.CS.UCLA.EDU> Date: 2 Mar 89 23:04:09 GMT References: <3308@silver.bacs.indiana.edu> <91936@sun.uucp> Sender: news@CS.UCLA.EDU Reply-To: wales@CS.UCLA.EDU (Rich Wales) Organization: UCLA CS Department, Los Angeles Lines: 107 In article <3308@silver.bacs.indiana.edu> burleigh@silver.bacs.indiana.edu (frank burleigh) writes: Finally, when I use VI the 'h' (move left) key removes characters from the screen (ick), but fortunately does not delete them. What have I got set wrong? I've noticed other VT102 flakiness, mostly characters disap- pearing from the screen. In article <91936@sun.uucp> mms@sun.UUCP (Michael Silverstein) writes: I also like Telix very much, but have had problems with the VT102 emulation. Not exactly the one mentioned above, but the "r" command (replace char) leaves a blank; then redrawing the screen with ^L shows the new char right where it should be. My termcap works fine with other VT102 emulators (I've never tried it on a real VT102), so I don't think that's the problem. Make sure you have "non-destructive" backspace mode set, both in the main options menu and also in any dialing directory entry you use that sets VT102 mode. Also, there is at least one bug in Telix 3.11's VT102 emulation that I am aware of. The "insert character" code -- ESC [ @ -- is incorrectly treated as a no-op. If you add an explicit character count -- i.e., ESC [ 1 @ -- it works. I am including below a modified "termcap" entry which seems to work satisfactorily with Telix 3.11's VT102 emulation. I would welcome any comments or suggestions for improvement. Note that I changed the "emphasis" parameters ("so" and "us") to use boldface (attribute 1), instead of reverse video (attribute 7) or underlining (attribute 4). Also, since I turned off the status line, I changed the number of lines ("li") from 24 to 25. Finally, I took out all the null-padding (not needed!), and added a "delete character" code (which, for some reason, wasn't in the VT102 "termcap" I started out with; maybe it isn't accepted by a "real" VT102?). Does anyone know when the next release of Telix (3.12?) will come out? # # VT102 termcap entry, modified for Telix (1/11/89): # Added: :dc=\E[P: # :ic=\E[1@: # Removed: All null-padding # Changed: :li=#25: (was :li=#24:) # Changed: :so=\E[1m: (was :so=2\E[7m:) # Changed: :us=\E[1m: (was :us=2\E[4m:) # # NOTE: "\E[@" should work as "insert character" -- but Telix 3.11 # treats this as a no-op and will do the operation only if a # count of "1" is explicitly inserted. # dy|telix|telix-vt102|dec vt102:\ :bs:\ :cd=\E[J:\ :ce=\E[K:\ :cl=\E[;H\E[2J:\ :cm=\E[%i%d;%dH:\ :co#80:\ :cs=\E[%i%d;%dr:\ :dc=\E[P:\ :do=^J:\ :ho=\E[H:\ :ic=\E[1@:\ :is=\E[1;24r\E[24;1H:\ :k1=\EOP:\ :k2=\EOQ:\ :k3=\EOR:\ :k4=\EOS:\ :kb=^H:\ :kd=\EOB:\ :ke=\E[?1l\E>:\ :kl=\EOD:\ :kr=\EOC:\ :ks=\E[?1h\E=:\ :ku=\EOA:\ :le=^H:\ :li#25:\ :mb=\E[5m:\ :md=\E[1m:\ :me=\E[m:\ :mr=\E[7m:\ :nd=\E[C:\ :pt:\ :rc=\E8:\ :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\ :sc=\E7:\ :se=\E[m:\ :so=\E[1m:\ :sr=\EM:\ :ue=\E[m:\ :up=\E[A:\ :us=\E[1m:\ :ve=\E[?7h:\ :vs=\E[?7l:\ :vt#3: # # (end of termcap entry for "telix") # -- Rich Wales // UCLA Computer Science Department // +1 (213) 825-5683 3531 Boelter Hall // Los Angeles, California 90024-1596 // USA wales@CS.UCLA.EDU ...!(uunet,ucbvax,rutgers)!cs.ucla.edu!wales "The best diplomat I know is a fully charged phaser bank."