From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075317506648.tru64-unix-managers.marc@archive.invalid> From: phj06 () bk ! dk (Paul Hostrup-Jessen) Date: Wed, 22 Feb 1995 16:05:59 +0000 To: tru64-unix-managers Subject: SUMMARY: Termcap for Sun X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075317506648 Hello Alpha managers, I received a few replies concerning a Sun termcap entry so here's the info for all of you with special thanks to: Richard L Jackson Jr rjackson@osf1.gmu.edu Knut Helleboe Knut.Hellebo@nho.hydro.com Marcel A. Bernards bernards@ecn.nl Stam Nicolis nicolis@celfi.phys.univ-tours.fr Stam suggested using the "vt100" or "xterm" emulation which I know works. However, I would prefer the "real" thing. Knut suggested copying the terminal description from the Sun itself and then compile it with 'tic'. (See tic, terminfo and termcap on the alpha side). Marcel copied the /usr/lib/terminfo/s/sun from the Sun to the AXP and it worked though they were binary files. Richard delivered a termcap entry with entries for both BSD and SYS V, follow- ing my signature at the bottom. Thanks for all your help! Best regards Paul Hostrup-Jessen Department of Electronic Data Processing Unix system administration Bruel & Kjaer A/S DK-2850 Naerum DENMARK email: phj06@bk.dk tel. : +45 45 80 78 55 + 2433 (direct dial from touch-tone telephones) fax : +45 42 80 14 05 --------------------------- You may need both the BSD (termcap) and SYSV (terminfo) entries... SYSV ------------------------------------------------- /usr/share/lib/terminfo osf1.gmu.edu> cat sun-cmd.ti # Reconstructed via infocmp from file: /usr/share/lib/terminfo/s/sun-cmd sun-cmd|Sun Microsystems Workstation console with scrollable history, am, km, msgr, cols#80, lines#34, bel=^G, bold=\E[1m, clear=\f, cr=\r, cub1=\b, cud1=\n, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=\t, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[224z, kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, rev=\E[7m, rmcup=\E[>4h, rmso=\E[m, rmul=\E[m, rs2=\E[s, sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, sgr0=\E[m, smcup=\E[>4l, smso=\E[7m, smul=\E[4m, osf1.gmu.edu> cat sun.ti # Reconstructed via infocmp from file: /usr/share/lib/terminfo/s/sun sun|sun1|sun2|Sun Microsystems Inc. workstation, am, km, msgr, cols#80, lines#34, bel=^G, bold=\E[1m, clear=\f, cr=\r, cub1=\b, cud1=\n, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=\t, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[224z, kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, rev=\E[7m, rmso=\E[m, rmul=\E[m, rs2=\E[s, sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, BSD --------------------------------------------- /etc/termcap Mu|sun|Sun Microsystems Workstation console:\ :li#34:co#80:cl=^L:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :am:bs:mi:ms:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:\ :kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:kh=\E[H:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :al=\E[L:dl=\E[M:im=:ei=:ic=\E[@:dc=\E[P: M-|sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character:\ :ic@:im@:ei@:tc=sun: Mw|sun-s|Sun Microsystems Workstation window with status line:\ :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun: Mx|sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs:\ :hs:ts=\E]l:fs=\E\\:ds=\E]l\E\\:tc=sun-e: M0|sun-48|Sun 48-line window:\ :li#48:co#80:tc=sun: M1|sun-34|Sun 34-line window:\ :li#34:co#80:tc=sun: M2|sun-24|Sun 24-line window:\ :li#24:co#80:tc=sun: M3|sun-17|Sun 17-line window:\ :li#17:co#80:tc=sun: sun1|old Sun Microsystems Workstation console:\ :am:bs:km:mi:ms:pt:li#34:co#80:cl=^L:cm=\E[%i%d;%dH:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:rs=\E[s:\ :al=\E[L:dl=\E[M:im=:ei=:ic=\E[@:dc=\E[P:\ :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:\ :up=\E[A:nd=\E[C:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kh=\E[H:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS: M4|sun-12|Sun 12-line window:\ :li#12:co#80:tc=sun: M5|sun-1|Sun 1-line window for sysline:\ :li#1:co#80:es:hs:ts=\r:fs=\E[K:ds=^L:tc=sun: M+|sun-cmd|Sun Microsystems Workstation console with scrollable history:\ :te=\E[>4h:ti=\E[>4l:tc=sun: M=|sun-na|Sun Microsystems Workstation console with no arrow keys:\ :ku@:kd@:kr@:kl@:tc=sun: