diff --git a/screen-4.5.1-xterm.patch b/screen-4.5.1-xterm.patch new file mode 100644 index 0000000..1fbce33 --- /dev/null +++ b/screen-4.5.1-xterm.patch @@ -0,0 +1,28 @@ +diff -urNp old/etc/etcscreenrc new/etc/etcscreenrc +--- old/etc/etcscreenrc 2017-05-25 15:37:24.096236010 +0200 ++++ new/etc/etcscreenrc 2017-05-25 15:43:47.203723396 +0200 +@@ -68,8 +68,8 @@ terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[% + # + # Do not use xterms alternate window buffer. + # This one would not add lines to the scrollback buffer. +-termcap xterm|xterms|xs ti=\E7\E[?47l +-terminfo xterm|xterms|xs ti=\E7\E[?47l ++termcap xterm|xterms|xs|xterm-* ti=\E7\E[?47l ++terminfo xterm|xterms|xs|xterm-* ti=\E7\E[?47l + + #make hp700 termcap/info better + 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@' +diff -urNp old/etc/etcscreenrc.screenrc new/etc/etcscreenrc.screenrc +--- old/etc/etcscreenrc.screenrc 2017-05-25 15:37:24.095236014 +0200 ++++ new/etc/etcscreenrc.screenrc 2017-05-25 15:44:19.091615115 +0200 +@@ -68,8 +68,8 @@ terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[? + # + # Do not use xterms alternate window buffer. + # This one would not add lines to the scrollback buffer. +-termcap xterm|xterms|xs ti=\E7\E[?47l +-terminfo xterm|xterms|xs ti=\E7\E[?47l ++termcap xterm|xterms|xs|xterm-* ti=\E7\E[?47l ++terminfo xterm|xterms|xs|xterm-* ti=\E7\E[?47l + + #make hp700 termcap/info better + 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@' diff --git a/screen.spec b/screen.spec index 0e4ad58..0daf10f 100644 --- a/screen.spec +++ b/screen.spec @@ -28,6 +28,7 @@ Patch3: screen-E3.patch Patch4: screen-4.3.1-suppress_remap.patch Patch5: screen-4.3.1-crypt.patch Patch6: screen-4.5.1-texinfo.patch +Patch7: screen-4.5.1-xterm.patch %description The screen utility allows you to have multiple logins on just one @@ -47,6 +48,7 @@ support multiple logins on one terminal. %patch4 -p1 -b .suppress_remap %patch5 -p1 -b .crypto %patch6 -p1 -b .texinpatch +%patch7 -p1 -b .xterm %build ./autogen.sh @@ -144,6 +146,7 @@ fi %changelog * Thu May 25 2017 Josef Ridky - 4.5.1-2 - fix typos in info doc file (#1434671) +- fix screenrc configuration to cover xterm-* terminals (#1428337) * Wed Mar 01 2017 Josef Ridky - 4.5.1-1 - New upstream release 4.5.1 (#1426871)