Hi. Currently /etc/screenrc contains: #termcapinfo xterm|xterms|xs|rxvt ti@:te@ This could perhaps be improved to: #termcapinfo xterm*|xs|rxvt ti@:te@ (right now e.g. xterm-256color isn't matched) Also, right below it, the following could be added: #hotkeys for Ctrl+PageUp/Ctrl+PageDown navigation in screen’s copy/scrollback mode #scroll the display up/down by a half screen #bindkey '^[[5;5~' eval 'copy' 'stuff ^u' #bindkey '^[[6;5~' eval 'copy' 'stuff ^d' #scroll the display up/down by a full screen #bindkey '^[[5;5~' eval 'copy' 'stuff ^b' #bindkey '^[[6;5~' eval 'copy' 'stuff ^f' These seem to work nicely in addition to disabling the alternate screen buffer (which allows scrolling in the terminal, but not if the output was made while the session wasn't attached and thus copy/scrollback mode needs to be used again) Cheers, Chris.
Oops... doesn't seem to work if the keycode is single-quoted, so it would need to read: #hotkeys for Ctrl+PageUp/Ctrl+PageDown navigation in screen’s copy/scrollback mode #scroll the display up/down by a half screen #bindkey "^[[5;5~" eval 'copy' 'stuff ^u' #bindkey "^[[6;5~" eval 'copy' 'stuff ^d' #scroll the display up/down by a full screen #bindkey "^[[5;5~" eval 'copy' 'stuff ^b' #bindkey "^[[6;5~" eval 'copy' 'stuff ^f' Cheers, Chris.
We believe that the bug you reported is fixed in the latest version of screen, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 948761@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Peter Dey <debian@realmtech.net> (supplier of updated screen package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Tue, 25 Aug 2026 10:57:57 +0200 Source: screen Architecture: source Version: 5.0.2-1 Distribution: unstable Urgency: medium Maintainer: Axel Beckert <abe@debian.org> Changed-By: Peter Dey <debian@realmtech.net> Closes: 215955 860922 948761 1140624 1144637 1145436 Changes: screen (5.0.2-1) unstable; urgency=medium . [ Peter Dey ] * New upstream release 5.0.2 * Refresh patch queue for 5.0.2 and drop patches applied upstream * Document how to copy screen5 terminfo (Closes: #1140624) * Simplified xterm scrollback buffer example to xterm* (Closes: #948761) * Add patch 103: Fail if requested baud not successfully applied (Closes: #860922) * Add patch 104: Fix UTF-8 caption handling for non-ASCII titles (Closes: #215955) * Add patch 105: Fix UTF-8 hardstatus/caption width accounting * Add patch 106: Avoid UTF-8 double-encoding in xterm OSC forwarding * Add patch 107: Force absolute cursor restore after hardstatus redraw (Closes: #1145436) * Add patch 108: Drop deflogin/login from documentation and example screenrc (Closes: #1144637) . [ Otto Kekäläinen ] * Bump Debhelper version from 13 to 14 * Update d/watch to use uscan v5 format * Update git repository layout to follow DEP-14 Checksums-Sha1: 01e6b96d2a9cbdc6f3c9e38e30752888b706dd4f 2333 screen_5.0.2-1.dsc 8d7d3d98feb376bf77ab0d7a047df2111255e113 892441 screen_5.0.2.orig.tar.gz 9d045da38bea72f6300280312a84a9b705cdebfe 833 screen_5.0.2.orig.tar.gz.asc d357bb5ea8ac3d582829d2d47e6857646374f63a 60332 screen_5.0.2-1.debian.tar.xz ddf15d8894982f95f4f3bfd6a96618c4f48536bb 5795 screen_5.0.2-1_source.buildinfo Checksums-Sha256: c10763838bdb439f4467bd17d2499f46909f7c434fbd2dbc3fb41fe8ef20cdd7 2333 screen_5.0.2-1.dsc ca9a2c7e240919bc7ac12124593ae4529bb4eb5f7349d8857829b7e3f0b3b332 892441 screen_5.0.2.orig.tar.gz ab7254e8f187ae7fa37df28331b96f32f490e6c31e7758fb30b892f11c515983 833 screen_5.0.2.orig.tar.gz.asc a81629eb5f493bf857320782169e581f2962633842d7c3ea5aa75b085ef2ef9b 60332 screen_5.0.2-1.debian.tar.xz dbd804a6afbc68ffa5aa3b6b332a5efc41c8ddf21798c9443540432bf592e2d3 5795 screen_5.0.2-1_source.buildinfo Files: 6af1801430171881b09214eaeaabb8e4 2333 misc optional screen_5.0.2-1.dsc 76c4f967284c1879f0a1423d318471b3 892441 misc optional screen_5.0.2.orig.tar.gz 389ad26b2802f64f54831312fc3df1ad 833 misc optional screen_5.0.2.orig.tar.gz.asc c235acddf5df883ec812a8c32b8dd844 60332 misc optional screen_5.0.2-1.debian.tar.xz 5f2373a3a38e3e739579a8a9180f1a0f 5795 misc optional screen_5.0.2-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmbRSsR88dMO0U+RvvthEn87o2ogFAmqS2XcACgkQvthEn87o 2oilaRAAseWtzp81XNrBwzuc4R9m+HxinJINqCfrQRWyXDwIF89538KghzWInh0a 9Ds4FBir4cgaO5XSSVsLy+mqy4GBHVz2zbfKHK4hK2VLK0OEKoAtyo3X11jJ4ZVJ ifMZ+ng3BnpJtDCNKl9LD1TIOriHDJ4vr2YutCIgLLvTfRg34K9AjUMwYyjLACDg A7T4Ceu0s2ArY4Yh/uC2ZUakyJA1fa85XhZxHC1DLVqtZJI1X3U+2iua+CpEvz3N oaAqwzl0S30nZIFRTDttZEZrzTOvwELaFJU8J2MyDpK05bJf4wcaGMLuggipYlUY TtqWiBIQrpqe9z8u0JmX8falUQ4s0EfKB0TiUR3DoXsfDc2zgqnItgpP/84SvBgT BJYyDzsUzgGHRNCbtqnky34z0PiR2C+fL8U2muyP5dMkizev/YTlX09x2iJ0Kzpy kKvQnc2WWN9PIblJR/RjCHpUVMb5LF9P+HI+U6uLOdQAPWM89N49+G12QukCxoSz 2aBEisQ39n9TtlbXQHXdTUd9RmHeIa+pWF+M7loZ/apEdt4QCMZGrYUG7Zrcu0qH VXGn/8AsNP77/lpV84BPt9G1DL8kCgHmSd983FSQ/QYsDtqwhaRLbUSBeHYJ2u4a kujdNt1LJTdBGFwXy41629TMdYVKDJKuh8Iua7bzWHM5uueSWI0= =WzVs -----END PGP SIGNATURE-----