This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

OSR5 FAQ

Where can I get a Linux terminfo for "scoansi"?

Thomas E. Dickey offers this in ncurses 5.0 (See http://dickey.his.com/ncurses/ncurses.faq.html).


Hate these ads?

Thomas gave me permission to extract the terminfo source and make it available here; you can just "tic" this on any Linux box if all you need is a better scoansi terminfo definition.



 # SCO console and SOS-Syscons console for 386bsd
 # (scoansi: had unknown capabilities
 #      :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
 #      :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
 #      :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
 #      :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
 #      :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
 # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
 # on the <smacs>=\E[12m  -- esr)
 #
 # klone+sgr-dumb is an error since the acsc does not match -TD
 #
 # In this description based on SCO's keyboard(HW) manpage list of default function key
 # values:
 #      F13-F24 are shifted F1-F12
 #      F25-F36 are control F1-F12
 #      F37-F48 are shift+control F1-F12
 scoansi|SCO Extended ANSI standard crt, 
        OTbs, am, eo, xon, 
        colors#8, cols#80, it#8, lines#25, pairs#64, 
        acsc=0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`ja0fxgqh2jYk?lZm@nEqDtCu4vAwBx3~y, 
        blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, 
        cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
        cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
        ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, invis=\E[8m, kbeg=\E[E, 
        kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
        kcuu1=\E[A, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, 
        kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c, 
        kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, 
        kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, 
        kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, 
        kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, 
        kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, 
        kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], 
        kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, 
        kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
        kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[37;40m, rev=\E[7m, 
        ri=\E[T, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
        setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
        sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 
        sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 


 


 







Brian White offered this:




Here is what I installed on my sco box to allow me to work from my linux box.
It is still a work in progess, since I don't telnet from linux to sco that
often, but it's pretty good.


http://www.aljex.com/bkw/sco/terminfo-lnx-on-sco http://www.aljex.com/bkw/sco/termcap-lnx-on-sco http://www.aljex.com/bkw/sco/profile-lnx-on-sco




copy these to the sco box and run the following commands:


LOD Communications, Inc.



tic terminfo-lnx-on-sco
cat termcap-lnx-on-sco >>/etc/termcap
cat profile-lnx-on-sco >>/etc/profile



exit and log back in to see the effects.



Conversely, here are the equivalent snippets that I install on linux boxes
so I can telnet to them from sco boxes. This I do more often. (from scoansi
terminal emulators like facetwin actually)


http://www.aljex.com/bkw/sco/terminfo-sco-on-lnx http://www.aljex.com/bkw/sco/termcap-sco-on-lnx http://www.aljex.com/bkw/sco/profile-sco-on-lnx


Also see I've telnetted to a Linux machine from a SCO console, and the automatic colors for commands like ls and vi have made it impossible to see what I type.

Bruce Garlock sent this email:




A while ago, I asked you about linux to SCO terminal emulation, and
there really was not a good answer.  I see that it was one of the FAQ's
on your site, and I tried the various termcap files, etc...  I could
never get it working 100%, though.



I was just emailed a beta linux version of "Powerterm" from www.ericson.com. I am very impressed.
We use the Windows version of Powerterm, and the linux version is almost an 
exact copy.  All the F keys work, and the colors too!  I'm not sure if you 
would be interested in something like this, or not.



- Bruce









Comments /SCOFAQ/FAQ_scotec2scoterminfo.html


Add your comments

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


ad

Views for this page
Today This Week This Month This Year  Overall
21369649 860

/SCOFAQ/FAQ_scoterminfo.html copyright 1997-2003 (various) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://www.breakthru.com.au SCO (Openserver and Unixware), Unix, Solaris and Linux Consulting services including: Secure Networking Solutions; Linux based Firewalls; Backup Solutions; Secure Home to Office Network Setup; Phone, Remote and On-Site Support available - Satisfaction Guaranteed!


http://www.loch-raven.com/ Over 18 years of experience Unix and Linux servers. Linux and Unix consulting, system administration, remote administration, custom scripting, web desing and hosting.


http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.




card_image








Change Congress


Related Posts