Debian Patches

Status for screen/5.0.1-3

Patch Description Author Forwarded Bugs Origin Last update
05prefer-libtinfo-over-libcurses.patch Prefer libtinfo over libcurses
Try to link with -ltinfo before -lcurses to avoid a spurious
dependency on systems where ncurses is built with "--with-termlib".
Sven Joachim <svenjoac@gmx.de> no debian https://bugs.debian.org/cgi-bin/bugreport.cgi?filename=0001-Prefer-libtinfo-over-libcurses.patch;att=1;msg=14;bug=819789 2016-04-02
11replace_doc_paths.patch Fix the references to configuration and pipe paths to match the locations Debian uses.
===================================================================
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> not-needed
26source_encoding.patch Replace the composed characters with their respective description.
===================================================================
Ben Finney <ben@benfinney.id.au> no
45suppress_remap.patch Unbreak several useful keybindings.
===================================================================
Loic Minier <lool@dooz.org> no
60-screen-4.2.1-debian4.1.0-compatibility.patch Patch to make 4.2.1 compatible with Debian's 4.1.0 and 4.2.0 packages 4.2.1 includes the Debian patches to extend the login
name and $TERM length, but uses even larger values. This causes
screen clients to no more be able to talk to older screen
servers. See #644788 for a discussion of the same issue with earlier
release combinations (4.1.0 vs 4.0.3).
.
For now this patch sets the mentioned values back to those which
werew in use in Debian before (and seemed to be large enough for use
in Debian).

===================================================================
Axel Beckert <abe@debian.org> not-needed
61-default-PATH_MAX-if-undefined-for-hurd.patch Define PATH_MAX and MAXPATHLEN if undefined Fixes FTBFS on GNU/Hurd because PATH_MAX and MAXPATHLEN are missing. Peter Dey <debian@realmtech.net> no upstream 2026-05-19
80_session_creation_docs.patch Document session-creation timestamp behaviour for -ls and -RR Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no debian 2026-05-20
81_session_creation_util.patch Utility functions to compute session creation timestamps for chronological -ls and youngest -RR Affects screen's behaviour in the following situations:
* 'screen -ls' lists available sessions sorted chronologically
* 'screen -RR' now picks the youngest session instead of an arbitrary one
Peter Dey <debian@realmtech.net> no debian 2026-05-20
82_session_creation_core.patch Use session creation timestamps for -ls ordering and -RR selection Affects screen's behaviour in the following situations:
* 'screen -ls' lists available sessions sorted chronologically
* 'screen -RR' now picks the youngest session instead of an arbitrary one
Peter Dey <debian@realmtech.net> no debian 2026-05-20
83_escape-opensuse-texinfo.patch Escape literal "@opensuse" so texinfo 7 accepts the manual at-sign in the email address preserves the literal text.

===================================================================
Peter Dey <debian@realmtech.net> yes 2026-02-07
84-rendition-bell-hardstatus-width.patch Keep hardstatus window-list renditions in uint64_t width but AddWindows() still treats them as int before.
Breaks %w/%Lw hardstatus renditions (style and most colour bits).

===================================================================
Peter Dey <debian@realmtech.net> yes 2026-03-29
90-include-pty-header-when-openpty.patch Include <pty.h> when openpty() is available so glibc builds succeed dpkg-buildflags, so glibc builds fail when configure sets HAVE_OPENPTY
without providing a visible prototype. Pull in <termios.h>/<pty.h> and
declare the fallback prototype so the build succeeds.

===================================================================
Peter Dey <debian@realmtech.net> yes 2026-02-07
91-use-srcdir-in-cppflags.patch Include $(srcdir) in CPPFLAGS so out-of-tree builds succeed in $(CPPFLAGS), so out-of-tree builds fail to find headers such as
kmapdef.h. Include $(srcdir) explicitly so we no longer need to set
a global -I.. from debian/rules.

===================================================================
Peter Dey <debian@realmtech.net> no 2026-02-08
92-preserve-utf8-combining.patch Keep UTF-8 combining sequences on UTF-8 displaysComment:
Debian includes an autopkgtest for upstream bug #31336 / Debian #600246
("screen outputs ÿ after combining character").

autopkgtest unicode-output.t (specifically
subsequential-combining-diacritical.txt) is failing on 5.0.1.
The test no longer finds the bytes fed through "screen" because every
combining mark in UTF-8 mode blindly repaints the previous cell even when the
attached display already speaks UTF-8.

Keep the historical repaint in place for legacy displays, but skip it when
the current display advertises UTF-8; keeping the byte stream identical for
UTF-8 users and tests.

===================================================================
Peter Dey <debian@realmtech.net> yes 2026-02-10
93-mousetrack-texinfo-fix.patch Add missing Mousetrack menu entry in Window Settings texinfo menuComment:
Fix so we can build on older versions of texinfo (e.g. on Ubuntu Focal).

===================================================================
Peter Dey <debian@realmtech.net> yes 2026-03-30
94-query-at-windows-silent.patch Keep -Q @windows output off the attached display screen -Q @windows should reply on the query socket only.
Use query-aware output handling in ShowWindows() and pass command context
at call sites reached by the windows command.
Peter Dey <debian@realmtech.net> yes debian upstream 2026-05-07
95-preserve-defflow-on-reattach.patch Restore the value of defflow after (re-)attachment.
diff --git a/termcap.c b/termcap.c
index b49818b..327a491 100644
David Fifield <david@bamsoftware.com> yes debian upstream 2026-05-07
96-fix-big-endian-input.patch Fix input handling on big-endian systems
diff --git a/telnet.c b/telnet.c
index 69d75ee..c70e2da 100644
Alexander Naumov <alexander_naumov@opensuse.org> yes debian upstream upstream, https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?id=ccd0b27504707e4f3099f0b9fd7a89489c6973fb 2026-05-07
97-fix-groff-manpage-warnings.patch Fix roff syntax issues in screen.1 and declare tbl preprocessingComment:
Add the standard roff hint to run tbl preprocessor
Fix three manpage markup issues that trigger groff warnings:
undefined quote strings (\*Q/\*U), invalid font escape (\fC), and a
literal "..." line parsed as a macro.

diff --git a/doc/screen.1 b/doc/screen.1
index 3ba7b2e..b2fdcdc 100644
Peter Dey <debian@realmtech.net> yes 2026-05-12
98-fix-uninitialized-buffer-with-padding-escape.patch Fixes uninitialized buffer with padding escapes After a padding escape (i.e. '%10=' or '%030='), the returned buffer has the
last byte not initialized, affecting the rendering. Return earlier so the
advancing of the pointer is skipped, as it is not needed after the actual
filling character.
Daniel Serpell <daniel.serpell@gmail.com> yes debian 2026-05-17
99-fix-checkmaxsize-off-by-one.patch Fix off-by-one in resize CheckMaxSize guard Bernhard Übelacker <bernhardu@mailbox.org> yes debian 2026-05-18
100-fix-vertical-resize-prompt.patch Fix resize prompt units when no axis flag is given Peter Dey <debian@realmtech.net> yes debian 2026-05-20
101-fix-duplicate-at-permission-sentence.patch Remove duplicated permission sentence from manpage Peter Dey <debian@realmtech.net> yes debian 2026-05-22
102-doc-clarify-T-term-autodetection.patch Clarify -T term docs for automatic TERM selection Peter Dey <debian@realmtech.net> yes debian 2026-05-22

All known versions for source package 'screen'

Links