slang-users mailing list

[1999 Date Index] [1999 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Lynx and Slang 1.3.8


On Mon, 9 Aug 1999, John E. Davis wrote:

> >and I've always had better results with s-lang than with Solaris' curses
> >or ncurses. With s-lang 1.3.8 I got a problem for the first time. The same
> >version of lynx compiled with s-lang 1.3.7 and 1.3.8 give different
> >results.
> 
> Check the value of your "cb" termcap string (clear to the beginning of the
> line). For xterm, it should be "ESC[1K". However, the files you sent
> indicate a value of "ESCC1K". Is this correct for your terminal?

Bingo! It's my mistake. Since the termcap here didn't have the cb capability
I added it but instead of writing "cb=\E[1K", the correct VT100 sequence, I
wrote "cb=\EC1K". That's why the garbage I had was those "1K". The strange is
that before version 1.3.8, it didn't matter.

Thank you very much.

Ismael
-- 

       +-------------------------------------------------------------+
       | ISMAEL CORDEIRO            | mailto:ismael@xxxxxxxxxxxx     |
       | Production sound mixer     | http://ismael.cordeiro.com/    |
       | Montréal - Québec - Canada | ftp://ftp.cam.org/users/ismael |  
       +-------------------------------------------------------------+
	:Co#8:co#80:it#8:li#25:pa#16:vt#3:\
	:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:al=\E[L:bl=^G:\
	:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\
	:cs=\E[%i%d;%dr:ct=\E[3g:\
	:DC=\E[%dP:dc=\E[P:DL=\E[%dM:dl=\E[M:DO=\E[%dB:do=^J:\
	:ho=\E[H: \
	:is=\E[1;25r\E[25;1H:\
	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
	:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:\
	:LE=\E[%dD:le=^H:\
	:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:nw=\EE:nd=\E[C:op=\E[37;40m:\
	:rc=\E8:rf=/usr/share/tabset/vt100:RI=\E[%dC:\
	:rs=\Ec:sc=\E7:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
	:ue=\E[m:UP=\E[%dA:up=\E[A:us=\E[36m:
d1|vt100-nam|vt100nam|vt100 w/no am:\
	:am@:xn@:\
	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
	:tc=vt100-am:
d2|gt42|dec gt42:\
	:do=^J:le=^H:bs:co#72:ns:li#40:os:
d3|vt132|dec vt132:\
	:al=99\E[L:dl=99\E[M:ip=7:dc=7\E[P:ei=\E[4l:im=\E[4h:xn:dN#30:tc=vt100:
d4|gt40|dec gt40:\
	:do=^J:le=^H:bs:co#72:ns:li#30:os:
d5|vt50|dec vt50:\
	:do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:co#80:li#12:nd=\EC:pt:up=\EA:
d6|vt125|vt125-am|DEC vt125:\
	:xn:do=^J:co#80:li#25:cl=50\E[H\E[2J:\
	:le=^H:am:bs:cm=5\E[%i%d;%dH: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;24r\E[24;1H\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
	:ks=\E[?1h\E=:ke=\E[?1l\E>:if=/usr/share/lib/tabset/vt100:ku=\EOA:kd=\EOB:\
	:kr=\EOC:kl=\EOD:kb=^H:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
	:pt:sr=5\EM:vt#3:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
d9|vt125-nam|DEC vt125 no automatic margin:\
	:am@:tc=vt125-am:
# DEC gigi color graphic terminal , same as vt52
d7|gigi|dec gigi terminal:\
	:co#80:is=200\E>\E[?4l\E[?5l\E[?7h\E[?8h:\
	:li#25:cl=100\E[;H\E[2J:bs:cm=50\E[%i%2;%2H:nd=200\E[C:up=100\E[A:\
	:ce=120\E[K:cd=100\E[J:so=20\E[7m:se=20\E[m:us=20\E[4m:ue=20\E[m:\
	:ks=200\E[?1h\E=:ke=200\E[?1l\E>:\
	:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
	:kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=200\EM:\
	:dC#50:dF#200:dN#50:dT#50:
dI|dw1|decwriter I:\
	:do=^J:le=^H:bs:co#72:hc:os:
# From tut@xxxxxxxx Thu May 12 14:49:02 1983
dJ|dw3|la120|decwriter III:\
	:bs:kb=^H:co#132:hc:os:pt:\
	:is=\E(B\E[20l\E[w\E[1;132s\E[2g\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\E[z\E[66t\E[1;66r\E[4g\E>\r:
# From tut@xxxxxxxx Thu Sep 24 22:10:46 1981
df|dw4|decwriter IV:\
	:do=^J:le=^H:bs:co#132:hc:os:am:\
	:pt:is=\Ec:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:kb=^H:
dh|vt50h|dec vt50h:\
	:do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
	:co#80:li#12:nd=\EC:pt:sr=\EI:up=\EA:
di|vt100-s|vt100 with status line at top:\
	:li#23:i2=\E[2;24r\E[24;1H:cm@:ho=\E[H^J:cl=50\E[;H^J\E[0J:\
	:hs:es:ts=\E7\E[1;%dH\E[1K:fs=\E8:tc=vt100-am:
dj|vt100-s-bot|vt100 with status line at bottom:\
	:li#23:i2=\E[1;23r\E[23;1H:\
	:hs:es:ts=\E7\E[24;%dH\E[1K:fs=\E8:tc=vt100-am:
ds|vt100-nav|dec vt100 132 cols 14 lines (w/o advanced video option):\
	:li#14:tc=vt100-w:
dt|vt100-w|dec vt100 132 cols (w/advanced video):\
	:co#132:li#24:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:tc=vt100-am:
dv|vt100-w-nam|dec vt100 132 cols (w/advanced video), no am:\
	:co#132:li#24:rs=\E>\E[?3h\E[?4l\E[?5l\E[?8h:vt@:tc=vt100-nam:
# vt 102	(from lai@decwrl)
dy|vt102|vt-102|dec vt102:\
	:do=^J:co#80:li#24:cl=50\E[;H\E[2J:\
	:le=^H:bs:cm=5\E[%i%d;%dH:nd=1\E[C:up=1\E[A:\
	:ce=3\E[K:cd=50\E[J:so=1\E[7m:se=1\E[m:us=1\E[4m:ue=1\E[m:\
	:md=1\E[1m:mr=1\E[7m:mb=1\E[5m:me=1\E[m:is=\E[1;24r\E[24;1H:\
	: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:pt:sr=5\EM:vt#3:\
	:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:vs=\E[?7l:ve=\E[?7h:
dw|vt52|dec vt52:\
	:do=^J:le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:li#24:\
	:nd=\EC:pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:
# vt61 created by Roger Sacilotto  Massachusetts Computer Associates, Inc
# Similar to vt52 but add al and dl
#
dq|vt61|dec vt61:\
	:al=\EPf:dl=\EPd:tc=vt52:
dx|dw2|decwriter II:\
	:do=^J:kb=^h:le=^H:bs:co#132:hc:os:
#
# From: Bracy H. Elton  <elton@lll-crg>
dl|vt200|vt220|vt200-js|vt220-js|dec vt200 series with jump scroll:\
	:im=\E[4h:ei=\E[4l:mi:dc=\E[P:dm=:ed=:al=\E[L:dl=\E[M:\
	:cs=\E[%i%d;%dr:sf=\ED:sr=\EM:sb=\EM:\
	:ce=\E[K:cl=\E[H\E[J:cd=\E[J:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
	:so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\
	:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
	:tc=vt100:
dm|vt200-ss|vt220-ss|dec vt200 series with smooth scroll:\
	:is=\E>\E[?3l\E[?4h\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
	:rs=\E>\E[?3l\E[?4h\E[?5l\E[?7h\E[?8h:\
	:tc=vt200:
dn|vt200-w|vt220-w|vt200-wj|vt220-wj|dec vt200 series; 132 col.; jump scroll:\
	:is=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
	:rs=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h:\
	:co#132:tc=vt200:
do|vt200-ws|vt220-ws|dec vt200 series; 132 col.; smooth scroll:\
	:is=\E>\E[?3h\E[?4h\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H:\
	:rs=\E>\E[?3h\E[?4h\E[?5l\E[?7h\E[?8h:\
	:co#132:tc=vt200:
# $XConsortium: termcap,v 1.6 91/06/24 15:08:52 gildea Exp $
#
xterm|vs100|xterm terminal emulator (X Window System):\
	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:UP=\E[%dA:\
	:al=\E[L:am:\
	:bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:\
	:cs=\E[%i%d;%dr:ct=\E[3k:\
	:dc=\E[P:dl=\E[M:\
	:im=\E[4h:ei=\E[4l:mi:\
	:ho=\E[H:\
	:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
	:rs=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<:\
	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:\
	:kl=\EOD:km:kn#4:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:\
	:li#65:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:pt:\
	:sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM:\
	:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:\
	:up=\E[A:us=\E[4m:ue=\E[m:xn:
xterms|vs100s|xterm terminal emulator, small window (X Window System):\
	:co#80:li#25:tc=xterm:
xterm-bold|xterm with bold instead of underline:\
	:us=\E[1m:tc=xterm:
# vs100 emulator using tsim	(from lai@decwrl)
vt|vs100t|tsim|vs100-tsim:\
	:bs:cm=\EM%+ %+ :ho=\EH:do=^J:up=^K:cl=\EE:ce=\EL:cs=\ES%+ %+ :\
	:so=\Eh:se=\Er:us=\Eu:ue=\Ev:al=\EI:AL=\E+%+ :dl=\ED:DL=\E-%+ :\
	:ic=\Ei:dc=\Ed:is=\ER:rs=\ER:am:cd=\EQ:pt:nd=\En:li#25:co#80:
#
# vi may work better with this termcap, because vi
# doesn't use insert mode much
xterm-ic|xterm-vi|xterm with insert character instead of insert mode:\
	:im=:ei=:mi@:ic=\E[@:tc=xterm:
xpcterm|X PC-compatible terminal:\
	:am:xo:bs:pt:\
	:co#80:li#65:kn#4:\
	:AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
	:RI=\E[%dC:UP=\E[%dA:al=\E[L:bt=\E[Z:cd=\E[J:ce=\E[K:\
	:up=\E[A:do=^J:le=^H:ri=\E[C:\
	:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[2g:dc=\E[P:dl=\E[M:\
	:ho=\E[H:ic=\E[@:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
	:k5=\EOT:k6=\EOU:k7=\EOV:k8=\EOW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kllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:
#SW|screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\
#	:co#132:tc=screen:
#
#:IC=\E[%d@:ic=\E[@:im=\E[4h:ei=\E[4l:\



[1999 date index] [1999 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]