Debian Patches

Status for screen/5.0.2-1

Patch Description Author Forwarded Bugs Origin Last update
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
103-fail-opentty-on-unapplied-baud-rate.patch Error out when speed request is not actually applied Some tty drivers can silently keep a different speed than requested.
Verify the applied speed after SetTTY and fail OpenTTY on mismatch.
Peter Dey <debian@realmtech.net> yes debian 2026-08-06
104-fix-caption-utf8-non-ascii.patch Fix UTF-8 caption corruption for non-ASCII characters Peter Dey <debian@realmtech.net> yes debian 2026-08-05
105-fix-utf8-caption-hardstatus-padding.patch Non-ASCII captions can skew hardstatus padding, causing a hardstatus to be under-padded or over-padded (thus causing an overflow
to the next line). Calculate widths in cells, rather than bytes,
so UTF-8 multibyte content does not affect padding lengths
Peter Dey <debian@realmtech.net> yes debian 2026-08-23
106-avoid-utf8-double-encoding-in-xterm-osc-forwarding.patch Emit OSC title payload as raw bytes Avoid re-encoding already-UTF-8 data when forwarding to the terminal. Peter Dey <debian@realmtech.net> yes debian 2026-08-24
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
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> 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
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no debian 2026-05-20
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> yes 2026-02-08
95-preserve-defflow-on-reattach.patch Restore the value of defflow after (re-)attachment. David Fifield <david@bamsoftware.com> no 2026-08-05
107-force-absolute-cursor-restore-after-hardstatus-redraw.patch Relative cursor accounting can desync when the hardstatus has non-ASCII characters, leaving the prompt/cursor on the wrong
line. Switch to an absolute cursor restore.
Peter Dey <debian@realmtech.net> yes debian 2026-08-08
108-drop-deflogin-login-from-docs.patch Debian builds screen with --disable-utmp. deflogin and login are therefore unavailable. Peter Dey <debian@realmtech.net> no debian 2026-08-24
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
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
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 2026-08-05
26source_encoding.patch Replace the composed characters with their respective description. Ben Finney <ben@benfinney.id.au> no 2026-08-05
45suppress_remap.patch Unbreak several useful keybindings. Loic Minier <lool@dooz.org> no 2026-08-05
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 2026-08-05
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.
Axel Beckert <abe@debian.org> no upstream 2026-05-19

All known versions for source package 'screen'

Links