Dear Axel, Enclosed an additional patch I want to append to screen-udeb branch. This will add a few windows on default startup screen within d-i, and add a status bar to inform user the existence of screen. I already tried it on my box, and it works well.
Cheers, Roger
From 28f59946d355bd598952f383245e82fbe7701159 Mon Sep 17 00:00:00 2001 From: Roger Shimizu <rogershim...@gmail.com> Date: Sat, 9 Apr 2016 01:03:36 +0900 Subject: [PATCH] Update udeb/screenrc to emulate windows on console d-i --- debian/changelog | 1 + debian/udeb/screenrc | 24 ++++++++++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0e8abcf..1d25621 100644 --- a/debian/changelog +++ b/debian/changelog @@ -28,6 +28,7 @@ screen (4.3.1-3) UNRELEASED; urgency=medium Thanks to Laurent Bigonville and Sven Joachim for providing ideas on build screen-udeb with less dependency. See discussion in #819358 and #819397. + * Update udeb/screenrc to emulate windows on console d-i -- Axel Beckert <a...@debian.org> Thu, 03 Sep 2015 14:29:29 +0200 diff --git a/debian/udeb/screenrc b/debian/udeb/screenrc index 3806819..c54218b 100644 --- a/debian/udeb/screenrc +++ b/debian/udeb/screenrc @@ -50,11 +50,11 @@ bind } history termcapinfo vt100 dl=5\E[M # turn sending of screen messages to hardstatus off -hardstatus off +hardstatus alwaysfirstline # Set the hardstatus prop on gui terms to set the titlebar/icon title termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007 # use this for the hard status string -hardstatus string "%h%? users: %u%?" +hardstatus string "%{= kG}[%= %{= kw}%?%-Lw%?%{r} (%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %M %d %{W}%c:%s %{g}]" # An alternative hardstatus to display a bar at the bottom listing the # windownames and highlighting the current windowname in blue. (This is only @@ -78,3 +78,23 @@ termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l' # Enable non-blocking mode to better cope with flaky ssh connections. defnonblock 5 + +# ------------------------------------------------------------------------------ +# STARTUP SCREENS +# ------------------------------------------------------------------------------ +# window 0: maps to window 1 +# window 1: debian installer +# window 2: shell +# window 3: shell +# window 4: syslog + +screen -t start 0 sleep 1 +screen -t shell 2 /bin/sh +screen -t shell 3 /bin/sh +screen -t log 4 tail -f /var/log/syslog + +bind c screen 1 +bind ^c screen 1 +bind 0 select 1 + +shell /bin/sh -- 2.8.0.rc3