Debian Patches

Status for screen/5.0.1-1

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
13split_info_files.patch Split the info files at 50k This matches the distribution style of the orig tarball. Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no debian
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 Set PATH_MAX to 4096 if undefined Fixes FTBFS since 4.4.0 on GNU/Hurd. Updated to add one more occurrence for 4.5.0.

===================================================================
Axel Beckert <abe@debian.org> yes upstream
80_session_creation_docs.patch Add lookup code for the creation time of each session. Requires digging in /proc/$pid and /proc/uptime, though, so it's
definitely no candidate for the Beautiful C contest.
.
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
.
Patch 1/3: documentation
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> invalid debian
81_session_creation_util.patch Add lookup code for the creation time of each session. Requires digging in /proc/$pid and /proc/uptime, though, so it's
definitely no candidate for the Beautiful C contest.
.
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
.
Patch 2/3: new utility functions

===================================================================
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> invalid debian
82_session_creation_core.patch Add lookup code for the creation time of each session. Requires digging in /proc/$pid and /proc/uptime, though, so it's
definitely no candidate for the Beautiful C contest.
.
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
.
Patch 3/3: implementation of actual new feature

===================================================================
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> invalid debian
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

All known versions for source package 'screen'

Links