diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:20:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:20:21 +0000 |
commit | ef3904423d3301d87b4b499b7e5feb359d622405 (patch) | |
tree | 981032c10096a70b0cb95ea74de48492f9f08251 /debian/patches/58-show-encoding-hardstatus.patch | |
parent | Adding upstream version 4.6.2. (diff) | |
download | screen-ef3904423d3301d87b4b499b7e5feb359d622405.tar.xz screen-ef3904423d3301d87b4b499b7e5feb359d622405.zip |
Adding debian version 4.6.2-3+deb10u1.debian/4.6.2-3+deb10u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/58-show-encoding-hardstatus.patch')
-rw-r--r-- | debian/patches/58-show-encoding-hardstatus.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/patches/58-show-encoding-hardstatus.patch b/debian/patches/58-show-encoding-hardstatus.patch new file mode 100644 index 0000000..d752aee --- /dev/null +++ b/debian/patches/58-show-encoding-hardstatus.patch @@ -0,0 +1,42 @@ +Description: show encoding in hardstatus +Author: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> +Origin: https://svnweb.freebsd.org/ports/head/sysutils/screen/files/opt-showencoding?view=markup +Reviewed-By: rascov <rascov@rascov.tw> +Reviewed-By: Dustin Kirkland <kirkland@ubuntu.com> +Last-Update: Wed Feb 11 05:51:31 CST 2009 +Bug-FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=124492 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/screen/+bug/286810 +Bug-Debian: https://bugs.debian.org/533498 + +--- a/screen.c ++++ b/screen.c +@@ -2753,6 +2753,19 @@ + p += strlen(p) - 1; + break; + ++ #ifdef ENCODINGS ++ case 'e': ++ *p = 0; ++ D_encoding = nwin_options.encoding > 0 ? nwin_options.encoding : 0; ++ if (win && win->w_encoding) ++ { ++ *p++ = ' '; ++ strcpy(p, EncodingName(win->w_encoding)); ++ } ++ p += strlen(p) - 1; ++ break; ++ #endif ++ + case '{': + { + char rbuf[128]; +--- a/process.c ++++ b/process.c +@@ -3784,6 +3784,7 @@ + { + WinSwitchEncoding(fore, n); + ResetCharsets(fore); ++ RedisplayDisplays(0); + } + else if (i && display) + D_encoding = n; |