etc/screenrc
usr/bin/screen
-usr/bin/screen-4.2.1
-#usr/info/screen.info
-#usr/info/screen.info-1
-#usr/info/screen.info-2
-#usr/info/screen.info-3
-#usr/info/screen.info-4
-#usr/info/screen.info-5
-#usr/man/man1/screen.1
+usr/bin/screen-4.8.0
#usr/share/info/screen.info
#usr/share/man/man1/screen.1
#usr/share/screen
include Config
-VER = 4.2.1
+VER = 4.8.0
THISAPP = screen-$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 419a0594e2b25039239af8b90eda7d92
+$(DL_FILE)_MD5 = d276213d3acd10339cd37848b8c4ab1e
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/screen-4.2.1-cpation-hardstatus.patch
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/screen-4.2.1-altscreen.patch
cd $(DIR_APP) && ./configure --prefix=/usr --with-socket-dir=/var/run/screen --with-sys-screenrc=/etc/screenrc
cd $(DIR_APP) && sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/*
cd $(DIR_APP) && make $(MAKETUNING)
+++ /dev/null
-diff --git a/src/ansi.c b/src/ansi.c
-index e76eef4..bbdc119 100644
---- a/ansi.c
-+++ b/ansi.c
-@@ -1444,8 +1444,8 @@ int c, intermediate;
- else
- {
- if (curr->w_alt.on) {
-- LeaveAltScreen(curr);
-- RestoreCursor(&curr->w_alt.cursor);
-+ RestoreCursor(&curr->w_alt.cursor);
-+ LeaveAltScreen(curr);
- }
- }
- if (a1 == 47 && !i)
-
+++ /dev/null
-diff --git a/src/screen.c b/src/screen.c
-index 473e4fa..8b36bea 100644
---- a/screen.c
-+++ b/screen.c
-@@ -2271,8 +2271,8 @@ int padlen;
- while (i-- > 0)
- *pn-- = ' ';
- numpad--;
-- if (r && p - buf == winmsg_rendpos[r - 1])
-- winmsg_rendpos[--r] = pn - buf;
-+ if (r && p - buf + 1== winmsg_rendpos[r - 1])
-+ winmsg_rendpos[--r] = pn - buf + 1;
- }
- }
- return pn2;
-