[OmniOS-discuss] screnrc or terminfo/termcap definitions changed in 151026

PÁSZTOR György pasztor at sagv5.gyakg.u-szeged.hu
Tue Sep 11 15:47:48 UTC 2018


Hi!

Can someone tell me, what changed in screenrc or termcap between 151022 and
151026?
When I pressed the usual ^a d to detach from my screen session, on the '22
it clears the screen before screen command would exit while on the '26 it
leaves garbage on my terminal.
Terminal type: xterm (linux, mate-terminal)

I don't even have an idea where to check for differences? The terminfo db,
or in /etc/screenrc?

If it helps, some comparation between '22 and '26:
[pasztor at nuc ~]$ diff -u <(ssh endor cat /etc/screenrc | grep -vE '^(#.*|)$' | sort ) <(ssh iroh cat /etc/screenrc | grep -vE '^(#.*|)$' | sort )
--- /dev/fd/63	2018-09-11 17:30:58.174232095 +0200
+++ /dev/fd/62	2018-09-11 17:30:58.177565428 +0200
@@ -1,36 +1,31 @@
 autodetach on
 bind ^\
-bind .
-bind \\
-bind h
-bind ^h
-bind '}' history
-bind 'I' login on
-bind k
+bind } history
+bind I login on
 bind ^k
-bind 'K' kill
-bind 'O' login off
-bind ^] paste [.]
+bind K kill
+bind O login off
+bind \\ quit
+deflogin on
 defscrollback 1000
-pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
-register ] "\033:se ai\015a"
-register [ "\033:se noai\015a"
 startup_message off
-termcapinfo  hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
-termcapinfo linux C8
-termcapinfo wy75-42 xo:hs@
-termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
-termcapinfo xterm* be
-termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
-termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
-termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
-termcapinfo xterm* OL=100
-termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
-termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
-termcapinfo   xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
-termcapinfo  xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
-termcap  vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
-termcap  xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
-terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
-terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
+termcap  facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
+termcap  facit|vt100|xterm LP:G0
+termcap  hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
+termcap  sun 'up=^K:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:IC=\E[%d@:WS=1000\E[8;%d;%dt'
+termcap  vt100 dl=5\E[M
+termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
+termcap  xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
+termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
+termcap xterm|xterms|xs ti=\E7\E[?47l
+terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@
+terminfo facit|vt100|xterm LP:G0
+terminfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
+terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC:IC=\E[%p1%d@:WS=\E[8;%p1%d;%p2%dt$<1000>'
+terminfo vt100 dl=5\E[M
+terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
+terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
+terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
+terminfo xterm|xterms|xs ti=\E7\E[?47l
+vbell_msg "   Wuff  ----  Wuff!!  "
 vbell on


If it would not be clear: endor is the '22, and iroh is the '26.
I tried to add these to the end of my screenrc:
$ tail -15 /etc/screenrc
# ---
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
register ] "\033:se ai\015a"
register [ "\033:se noai\015a"
termcapinfo xterm* be
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
termcapinfo xterm* OL=100
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
termcapinfo   xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
termcapinfo  xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
termcap  xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l

But this also not helped to solve the problem.

Any ideas?

Regards,
Gyu


More information about the OmniOS-discuss mailing list