Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Screen and Window Titles in screen
Date: Thu, 26 Feb 2009 20:00:24
Message-Id: 58965d8a0902261200h7906d2d7m43e1f33f2629dc76@mail.gmail.com
In Reply to: [gentoo-user] Re: Screen and Window Titles in screen by Chris Lieb
1 On Thu, Feb 26, 2009 at 1:44 PM, Chris Lieb <chris.lieb@×××××.com> wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Paul Hartman wrote:
6 >> On Thu, Feb 26, 2009 at 12:52 PM, Chris Lieb <chris.lieb@×××××.com> wrote:
7 >>> Can you give me a pointer to where a definition of that syntax is? All
8 >>> I find is for defining capabilities of terminals.
9 >>
10 >> I've never personally used it (I don't speak termcap :) ) but the
11 >> screen manual has a whole section about termcap stuff:
12 >>
13 >> http://www.gnu.org/software/screen/manual/
14 >
15 > mm...
16 >
17 >> %{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c
18 >
19 > doesn't look like
20 >
21 >> SC|screen|VT 100/ANSI X3.64 virtual terminal:\
22 >> :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
23 >> :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
24 >> :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
25 >> :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
26 >> :li#24:co#80:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
27 >> :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
28 >> :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
29 >> :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
30 >> :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
31 >> :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
32 >> :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
33 >> :vb=\Eg:G0:as=\E(0:ae=\E(B:\
34 >> :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}
35 >> ~~..--++,,hhII00:\
36 >> :po=\E[5i:pf=\E[4i:Z0=\E[?3h:Z1=\E[?3l:k0=\E[10~:\
37 >> :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
38 >> :k7=\E[18~:k;=\E[21~:F1=\E[23~:F2=\E[24~:F3=\E[2P:\
39 >> :F4=\E[2Q:F5=\E[2R:F6=\E[2S:F7=\E[15;2~:F8=\E[17;2~:\
40 >> :F9=\E[18;2~:FA=\E[19;2~:kb=^H:K2=\EOE:kB=\E[Z:\
41 >> :kF=\E[1;2B:kR=\E[1;2A:*4=\E[3;2~:*7=\E[1;2F:#2=\E[1;2H:\
42 >> :#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:%e=\E[5;2~:%i=\E[1;2C:\
43 >> :kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:kN=\E[6~:kP=\E[5~:\
44 >> :kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:km:
45 >
46 > I'm guessing that the format for caption and hardstatus isn't termcap.
47 >
48 > Chris
49 > -----BEGIN PGP SIGNATURE-----
50 > Version: GnuPG v1.4.9 (MingW32)
51 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
52 >
53 > iQEcBAEBAgAGBQJJpvEwAAoJEJWxx7fgsD+CObEIAKgQHndEQgmoUjHOZI7xNhcr
54 > gnMrUiQ8gvp8xyYhE5Z/BN6ti4DRfpuEV2N211QvQFmULHAeb/mT9rCadhCjEVgt
55 > Ep6ZO4k0KO/zVk7wnjiEbG719gO1B2uIQ2guAvkUrPUrPLBLqdBrwMzU5cSIQiat
56 > 5AI80qw0N3ZlQ/mtg2Hdl3/BE9zzxWf0gGjljkNcs90HE5Q6zBK4DAJwaVzq0c8q
57 > QR/9qGDHqeHyLEZ3T/HCOK8u4Q+zDSWQHu3N9ugkFSqI9+ACj9a38yjZ8jlAK2KO
58 > ba9naewpA9gXXplKpTNBKo9fLjNLkBr+KibTad7AJTcw8Sx9nFriC4B1a/66FDg=
59 > =2ixH
60 > -----END PGP SIGNATURE-----
61 >
62 >
63
64 You're right; I got confused by all of the hardstatus-related termcap
65 commands in screenrc.