aihaug@AUSTIN.LOCKHEED.COM (Daniel A Haug) (04/19/89)
I am looking for a termcap entry for the Silicon Graphics 4D console. In system V on the SG, this is denoted in terminfo by "iris-ansi". However, I need a termcap entry for this for BSD4.3. Has anyone done this. Alternatively, has anyone every developed a terminfo to termcap translator? dan haug Internet: haug@austin.lockheed.com uucp: ut-emx!lad-shrike!aihaug
archer@elysium.SGI.COM (Archer Sully) (04/19/89)
In article <243@shrike.AUSTIN.LOCKHEED.COM>, aihaug@AUSTIN.LOCKHEED.COM (Daniel A Haug) writes: > I am looking for a termcap entry for the Silicon Graphics 4D console. > In system V on the SG, this is denoted in terminfo by "iris-ansi". > However, I need a termcap entry for this for BSD4.3. Has anyone > done this. > > Alternatively, has anyone every developed a terminfo to termcap > translator? > > dan haug > Internet: haug@austin.lockheed.com > uucp: ut-emx!lad-shrike!aihaug when logged into the SGI machine, do this from the shell: infocmp -C iris-ansi >> iris.termcap This will put the iris-ansi termcap into a file called iris.termcap. You can repeat the process for all of the possible iris terminal types. Currently these are: iris iris-ansi iris-ansi-24 iris-ansi-24-net iris-ansi-66 iris-ansi-66-net iris-ansi-net iris-tp iris40 you can put them all in one file, and then append the file to the termcap file on your bsd machine. You can also put the file somewhere in your home directory, and then set the TERMCAP environment variable to that file. This makes the termcap library look in your private file rather than /etc/termcap. For example: rcp iris:iris.termcap ~ setenv TERMCAP ~/iris.termcap the setenv could go into your .cshrc, probably based on whether or not $TERM is an iris type terminal. you can check this with a regular expression match like : if ( "$TERM" !~ "iris.*" ) then setenv TERMCAP ~/iris.termcap endif Hope this helps, Archer Sully archer@sgi.com "life is short, and full of stuff" -- Lux Interior --
glenn@CARMA.ARC.NASA.GOV (Glenn Meyer, Code SL) (04/19/89)
I transferred the following termcap entries to our VAX (running 4.3bsd) from an IRIS 2500 Turbo running version 3.6 of SGI's operating system, which still uses /etc/termcap: ---(cut here)--- # Silicon Graphics IRIS wsh terminal emulator. Can't use vt100 # entry directly because it contains delays. For ease of comparison, # keep in same order as iris-ansi terminfo entry. S8|iris-ansi|IRIS emulating a 40 line ANSI terminal (vt100):\ :do=^J:sf=\ED:co#80:li#40:\ :cl=\E[H\E[2J:am:cm=\E[%i%2;%2H:\ :nd=\E[C:up=\E[A:ce=\E[K:cd=\E[J:\ :so=\E[1m:se=\E[m:us=\E[4m:ue=\E[m:\ :ks=\E[?1h\E=:ke=\E[?1l\E>:\ :ho=\E[H:sr=\EM:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\ :k1=\EOp:k2=\EOq:k3=\EOr:k4=\EOs:\ :al=\E[L:dl=\E[M:\ :is=\E[?1l\E>\E[?7h:\ :vs=\E[10/y\E[=1h\E[=2l\E[=6h:ve=\E[9/y\E[12/y\E[=6l:\ :bs:pt: # 24-line version SD|iris-ansi-24:li#24:tc=iris-ansi: # 66-line version SE|iris-ansi-66:li#66:tc=iris-ansi: # Special value for $TERM so that local and remote shells can be # distinguished. The network programs do the coercing of iris-ansi into # this. S9|iris-ansi-net|IRIS connected to a remote host:tc=iris-ansi: # 24-line version SF|iris-ansi-24-net:li#24:tc=iris-ansi-net: # 66-line version SG|iris-ansi-66-net:li#66:tc=iris-ansi-net:
paquette@cpsc.ucalgary.ca (Trevor Paquette) (04/20/89)
In article <243@shrike.AUSTIN.LOCKHEED.COM>, aihaug@AUSTIN.LOCKHEED.COM (Daniel A Haug) writes: > I am looking for a termcap entry for the Silicon Graphics 4D console. > In system V on the SG, this is denoted in terminfo by "iris-ansi". > However, I need a termcap entry for this for BSD4.3. Has anyone > done this. > > Alternatively, has anyone every developed a terminfo to termcap > translator? > > dan haug > Internet: haug@austin.lockheed.com > uucp: ut-emx!lad-shrike!aihaug I use the following for connecting from our 4D/20 to our Sun4 here. It is loosly based on the vt100 termcap with the appropriate numbers changed. 4d|4d20:\ :cr=^M:do=^J:nl=^J:bl=^G:co#80:li#66:cl=50*\E[;H\E[2J:\ :le=^H:bs:am:cm=5*\E[%i%d;%dH:cs=\E[%i%d;%dr:nd=2\E[C:up=2\E[A:\ :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\ :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;66r\E[66;1H:\ :rf=/usr/lib/tabset/vt100:\ :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\ :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sr=5\EM:vt#3:xn:\ :sc=\E7:rc=\E8:sf=5\ED: Make sure that you use a window that is 66x80 lines. If you want to make your window smaller or larger just change the '66' or '80' values in the termcap definition. Hope this helps. Trev ============================================================================== Trevor Paquette/GraphicsLand, Calgary, Alberta ..uunet!{ubc-cs,utai,alberta}!calgary!paquette ICBM:51 03 N/114 05 W calgary!paquette@cs.ubc.ca Luminous beings we are, not this crude matter
rpaul@dasys1.UUCP (Rod Paul) (04/22/89)
In article <243@shrike.AUSTIN.LOCKHEED.COM> aihaug@AUSTIN.LOCKHEED.COM (Daniel A Haug) writes: >I am looking for a termcap entry for the Silicon Graphics 4D console. >In system V on the SG, this is denoted in terminfo by "iris-ansi". >However, I need a termcap entry for this for BSD4.3. Has anyone >done this. > >Alternatively, has anyone every developed a terminfo to termcap >translator? I dont remember off hand which utility will do it for you (cross reference with "man terminfo" to start), but there is a utility in the 3.1 release to do it. Here is the unmodified output I use for an 80x66 line window on this machine... note the .pk field! iris-ansi-66|IRIS emulating 66 line ANSI terminal (almost VT100):\ :am:pt:\ :co#80:it#8:li#66:kn#4:\ :!2=\E[218q:#2=\E[143q:#4=\E[158q:%9=\E[209q:\ :%f=\E[210q:%i=\E[167q:&7=\E[217q:*4=\E[P:*7=\E[147q:\ :@7=\E[146q:@8=\r:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:\ :F1=\E[011q:F2=\E[012q:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\ :al=\E[L:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\ :cm=\E[%i%d;%dH:cr=\r:dl=\E[M:do=\n:ho=\E[H:\ :is=\E[?1l\E>\E[?7h:k1=\E[001q:k2=\E[002q:k3=\E[003q:\ :k4=\E[004q:k5=\E[005q:k6=\E[006q:k7=\E[007q:\ :k8=\E[008q:k9=\E[009q:k;=\E[010q:kB=\E[Z:kD=^?:\ :kI=\E[139q:kM=\E[146q:kN=\E[154q:kP=\E[150q:kb=\b:\ :kd=\E[B:ke=\E>:kh=\E[H:kl=\E[D:kr=\E[C:ks=\E=:\ :ku=\E[A:le=\E[D:md=\E[1m:mr=\E[7m:nd=\E[C:nw=\EE:\ :.pk=!!! MUST CHANGE BY HAND !!!\EP101;%p1%d.y%p2%s\E\\:\ :se=\E[m:sf=\ED:so=\E[1;7m:sr=\EM:ta=\t:ue=\E[m:\ :up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\ :vs=\E[10/y\E[=1h\E[=2l\E[=6h:bc=\E[D:ko=le,nd,up,ho: -- Rodian Paul | Big Electric Cat Public UNIX | Just say YES to UII ! ..!cmcl2!hombre!dasys1!rpaul |