If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: Michael Spicyn <mspicyn@speakeasy.net> Subject: Re: SCO ANSI Terminal Emulator for Linux Date: Wed, 23 Jan 2002 11:15:29 -0500 References: <a2hr4c$mli5@eccws12.dearborn.ford.com> <3C4D4928.2010802@aplawrence.com> <a2k18r$11g7nf$1@ID-105888.news.dfncis.de> Bob Meyers wrote: > "Tony Lawrence" <tony@aplawrence.com> wrote in message > news:3C4D4928.2010802@aplawrence.com... > >>Andrew Gertz wrote: >> >> >>>My company uses an application on a SCO server that we can only get full >>>functionality when using SCO ANSI terminal emulation to connect to via >>>terminal sessions. When we connected via a normal telnet session, the >>>application becomes hard to navigate. >>> >>> >>Well, yes, no, and maybe. >> >> > > Have you looked at Century Software's Term program? They have a linux > version. The SCO version was able to emulate a list of term types, including > SCOansi. You can download an eval and try it. I would love to use Linux for > workstations. But applications are always the hang-up. Wouldn't that be cool > to dump Microsoft products completely. > > http://te.censoft.com/index.php > > > > >
For OpenServer 5.x:
1. terminfo use this:
-=-=-=-=
# Reconstructed via infocmp from file: /usr/share/terminfo/l/linux
# Corrected by MS to define colors and Plain, Shifted, Cotrlled
# and Shifted-Contrlled keys
linux|linux console,
am, bce, eo, xon,
colors#8, pairs#64, cols#80, lines#25, it#8,
acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332
blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, civis=\E[?25l,
clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, bel=^G,
cup=\E[%i%p1%d;%p2%dH,
cub1=^H, cud1=^J, cuf1=\E[C, cuu1=\E[A,
home=\E[H, ht=^I, ind=^J, ri=\EM,
dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
ich1=\E[@, il1=\E[L,
kbs=\177, kich1=\E[2~,
kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
# Plain
kf1=\E[[A, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~,
kf11=\E[23~, kf12=\E[24~,
# Sfift
kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf21=\E[[F, kf22=\E[[G,
kf23=\E[[H, kf24=\E[[I,
# Control
kf25=\E[[J, kf26=\E[[K, kf27=\E[[L, kf28=\E[[M, kf29=\E[[N,
kf30=\E[[O, kf31=\E[[P, kf32=\E[[Q, kf33=\E[[R, kf34=\E[[S,
kf35=\E[[T, kf36=\E[[V,
knp=\E[6~, kpp=\E[5~, kspd=^Z,
khome=\E[1~, kend=\E[4~,
setb=\E[4%p1%dm, setf=\E[3%p1%dm,
kLFT=\E[d, kRIT=\E[c,
kdch1=^?, dch=\E[%p1%dP, mir, msgr, xenl,
# ncv#2,
csr=\E[%i%p1%d;%p2%dr, dim=\E[2m, dl=\E[%p1%dM, ech=\E[%p1%dX,
el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG,
hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, kb2=\E[G, kcbt=\E[Z,
kdch1=\E[3~,
smacs=\E[11m, rmacs=\E[10m, rmso=\E[27m, rmul=\E[24m, smso=\E[7m,
smul=\E[4
# op=\E[39;49m,
sgr0=\E[0;10m,
nel=^M^J, rc=\E8, rmir=\E[4l, rmpch=\E[10m, rs1=\Ec\E]R, sc=\E7,
# set video attributes
#
sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8
#
sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;
smir=\E[4h, smpch=\E[11m,
tbc=\E[3g, u6=\E[%i%d;%dR,
u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
-=-=-==-=-=
2. termcaps
-=-=-=-=-=-
linux|linux-lat|linux console:\
:am:eo:mi:ms:ut:xn:xo:\
:co#80:it#8:li#25:\
:&7=^Z:@7=\E[4~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
:IC=\E[%d@:K2=\E[G:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:\
:ch=\E[%i%dG:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
:cs=\E[%i%d;%dr:ct=\E[3g:cv=\E[%i%dd:dc=\E[P:dl=\E[M:\
:do=^J:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:k1=\E[[A:\
:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\
:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:\
:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mr=\E[7m:\
:nd=\E[C:nw=^M^J:r1=\Ec:rc=\E8:sc=\E7:sf=^J:sr=\EM:\
:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:u8=\E[?6c:\
:u9=\E[c:up=\E[A:vb=200\E[?5h\E[?5l:ve=\E[?25h:\
:vi=\E[?25l:tc=klone+sgr:tc=klone+color:tc=klone+acs:
:vi=\E[?25l:tc=klone+sgr:tc=klone+color:tc=klone+acs:
linux-m|Linux console no color:\
:Co@:pa@:\
:AB@:AF@:Sb@:Sf@:tc=linux:
# See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
linux-nic|linux with ich/ich1 suppressed for non-curses programs:\
:IC@:ei=:ic@:im=:tc=linux:
-=-=-=-=-=
For Unixware 7.x
1. terminfo
-=-=-=
Reconstructed via infocmp from file: /usr/share/terminfo/l/linux
# Corrected by MS to define colors and Plain, Shifted, Cotrlled
# and Shifted-Contrlled keys
linux|linux console,
am, bce, eo, xon,
colors#8, pairs#64, cols#80, lines#25, it#8,
acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m
blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, civis=\E[?25l,
clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, bel=^G,
cup=\E[%i%p1%d;%p2%dH,
cub1=^H, cud1=^J, cuf1=\E[C, cuu1=\E[A,
home=\E[H, ht=^I, ind=^J, ri=\EM,
dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K,
ich1=\E[@, il1=\E[L,
kbs=\177, kich1=\E[2~,
kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
# Plain
kf1=\E[[A, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E,
kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~,
kf11=\E[23~, kf12=\E[24~,
# Sfift
kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf21=\E[[F, kf22=\E[[G,
# Control
kf25=\E[[J, kf26=\E[[K, kf27=\E[[L, kf28=\E[[M, kf29=\E[[N,
kf30=\E[[O, kf31=\E[[P, kf32=\E[[Q, kf33=\E[[R, kf34=\E[[S,
kf35=\E[[T, kf36=\E[[V,
knp=\E[6~, kpp=\E[5~, kspd=^Z,
khome=\E[1~, kend=\E[4~,
setb=\E[4%p1%dm, setf=\E[3%p1%dm,
# Next 2 line can work instead of previos line - result are interesting
#
setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
#
setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
# setab=\E[4%p1%dm,
# setaf=\E[3%p1%dm,
kLFT=\E[d, kRIT=\E[c,
kdch1=^?, dch=\E[%p1%dP, mir, msgr, xenl,
# ncv#2,
csr=\E[%i%p1%d;%p2%dr, dim=\E[2m, dl=\E[%p1%dM, ech=\E[%p1%dX,
el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG,
hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, kb2=\E[G, kcbt=\E[Z, kdch1=\E[3~,
smacs=\E[11m, rmacs=\E[10m, rmso=\E[27m, rmul=\E[24m, smso=\E[7m,
smul=\E[4
# op=\E[39;49m,
sgr0=\E[0;10m,
nel=^M^J, rc=\E8, rmir=\E[4l, rmpch=\E[10m, rs1=\Ec\E]R, sc=\E7,
# set video attributes
#
sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8
#
sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1
smir=\E[4h, smpch=\E[11m,
tbc=\E[3g, u6=\E[%i%d;%dR,
u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd,
-=-==-=-=
2. termcap
########################
#### MS Start
####
####
#### Linux consoles
# This is better than klone+color, it doesn't assume white-on-black as the
# default color pair, but many `ANSI' terminals don't grok the <op> cap.
ecma+color|color control for ECMA-48-compatible terminals:\
:Co#8:NC#3:pa#64:\
# ZA -> next 3 lines are actually a single line
:ZA=\E[%?%p1%{0}%=%t0m\E[37%e%p1%{1}%=%t33%e%p1%{2}%=%t35%e%p1%{3}%=
%t31%e%p1%{4}%=%t36%e%p1%{5}%=%t32%e%p1%{6}%=%t34%e%p1%{7}%=%t30%;
m\E[40m%?%p2%t\E[7m%;%?%p3%t\E[5m%;%?%p4%t\E[4m%;:\
:AB=\E[4%p1%dm:AF=\E[3%p1%dm:op=\E[39;49m:
# This entry is good for the 1.2.13 or later version of the Linux console.
#
#
***************************************************************************
#
lx|linux|linux console:\
:am:eo:mi:ms:xn:xo:\
:it#8:\
:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d@:K2=\E[G:al=\E[L:\
:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:\
:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
:ei=\E[4l:ho=\E[H:ic=\E[@:im=\E[4h:\
:k0=\E[[A:k1=\E[[B:k2=\E[[C:k3=\E[[D:k4=\E[[E:k5=\E[17~:\
:k6=\E[18~:k7=\E[19~:k8=\E[20~:k9=\E[21~:kA=\E[23~:kB=\E[24~:\
:kC=\E[25~:\
:gs=^N:ge=^O:gb=lmkjqx:\
:kD=E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:\
:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:mh=\E[2m:\
:mr=\E[7m:nd=\E[C:nw=^M^J:rc=\E8:sc=\E7:so=\E[7m:se=\E[27m:sf=^J:\
:sr=\EM:st=\EH:ta=^I:ue=\E[24m:up=\E[A:us=\E[4m:\
:vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
:tc=klone+sgr:tc=ecma+color:
# Highlight controls corresponding to the ANSI.SYS standard. Most
# console drivers for Intel boxes obey these. Makes the same assumption
# about \E[11m as klone+acs. True ANSI/ECMA-48 would have :se=\E[27m:,
# :ue=\E[24m:, but this isn't a documented feature of ANSI.SYS.
klone+sgr|attribute control for ansi.sys displays:\
:S2=\E[11m:S3=\E[10m:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
:mk=\E[8m:mr=\E[7m:\
:se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:\
:tc=klone+acs:
# The IBM PC alternate character set. Plug this into any Intel console
entry.
# We use \E[11m for rmacs rather than \E[12m so the <acsc> string can
use the
# ROM graphics for control characters such as the diamond, up- and
down-arrow.
# This works with the System V, Linux, and BSDI consoles. It's a safe
bet this
# will work with any Intel console, they all seem to have inherited \E[11m
# from the ANSI.SYS de-facto standard.
klone+acs|alternate character set for ansi.sys displays:\
# fold next 3 lines into one line
:ac=+\020\054\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m
\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}
\234~\376:\
:ae=\E[10m:as=\E[11m:
-=-=-=
These definitions work from RedHat and Debian. Did not try other Linuxes
Above definitions were prepared using cut and paste. If you would like
to get it in files drop me a note.
/Bofcusm/1426.html copyright 1997-2004 (various authors) 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.
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