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.
If coming from SCO to Linux, you may find a scoansi-old and scoansi-new terminfo definition. Which one you would use depends upon whether you have "old" sco (pre 5.0.6) or not.
(Don't understand terminfo? See Termcap and Terminfo.)
Thomas E. Dickey offers this in ncurses 5.0 (See http://dickey.his.com/ncurses/ncurses.faq.html).
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:
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
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
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.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar