[Gllug] screen
Paul Rayner
paul at ylemsolutions.com
Fri May 12 11:46:03 UTC 2006
Good afternoon everyone,
I'm looking to use 'screen' to run my company's terminal based
application, but can't seem to get line drawing working. I've set up a
termcap (with corresponding terminfo) entry for screen.vt220 which
correctly draws lines with our application when not using screen, but
when running through 'screen -T vt220' the lines do not appear. I've
read (parts of) the screen manual, and tried turning the 'G0' variable
on in the screen.vt220 termcap entry.
Googling seems to suggest that it is possible to get line drawing
working with screen, but I can't find any info on how to get it to work
- 'screen' and 'line drawing' aren't the easiest terms to google for...
If modifications to screen's ansi.c are needed, this isn't too big a
problem as I will likely be doing some once the basics are up and
running as I'll need to add in support for a set of custom escape
sequences we send to our terminal emulation programs to draw buttons,
pop-ups and other GUI widgets.
Any suggestions for how to get line drawing working would be much
appreciated. I've included my screen.vt220 entry below if that's any
use.
Thanks,
Paul.
screen.vt220:\
:G0:5i:am:bs:mi:ms:xn:xo:\
:co#80:it#8:li#24:vt#3:\
:%0=\E[29~:%1=\E[28~:*6=\E[4~:@0=\E[1~:AL=\E[%dL:\
:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[23~:F2=\E[24~:\
:F3=\E[25~:F4=\E[26~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
:FA=\E[34~:IC=\E[%d@:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:\
:SA=\E[?7h:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:\
:cb=\E[1K: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:\
:eA=\E)0:ec=\E[%dX:ei=\E[4l:ho=\E[H:\
:if=/usr/share/tabset/vt100:im=\E[4h:\
:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:\
:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:\
:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:l1=pf1:l2=pf2:l3=pf3:\
:l4=pf4:le=^H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:\
:nw=\EE:pf=\E[4i:po=\E[5i:ps=\E[i:r1=\E[?3l:rc=\E8:sc=\E7:\
:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[24m:\
:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:\
:Va=\E[0;1;15m:\
:Vb=\E[0;1;5m:\
:Vc=\E[37;40;0m:\
:Vd=\E[0;5m:\
:Ve=\E[0;1;4m:\
:Vf=\E[0;1;4;5m:\
:Vg=\E[0;4;14m:\
:Vh=\E[0;4;5m:\
:Vi=\E[0;1;7;47;33m:\
:Vj=\E[0;1;5;7m:\
:Vk=\E[0;7;44;37m:\
:Vl=\E[0;5;7m:\
:Vm=\E[0;1;4;7;47;31m:\
:Vn=\E[0;1;4;5;7m:\
:Vo=\E[0;4;7;47;31m:\
:Vp=\E[0;4;7;47;31m:\
:gs=\E(0:\
:gx=\E(B:\
:ga=m:\
:gb=l:\
:gc=k:\
:gd=j:\
:ge=m:\
:gf=l:\
:gg=k:\
:gh=j:\
:gi=n:\
:gj=x:\
:gk=q:\
:gl=u:\
--
Paul Rayner
Ylem Solutions Ltd ~ 4-14 Tabernacle Street, London. EC2A 4LU
Office: 020 7074 0220 ~ Mobile: 07739 143 763 ~
Paul.Rayner at YlemSolutions.com
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list