Package: base-files Version: 11 Severity: wishlist Tags: patch Hi! It would be good if /etc/issue set the window title appropriately.
While it might sound wrong (as /etc/issue is used only for local terminals), serial consoles do count as local. Thus, the output may hit either a real console which since Linux 3.16 ignores these sequences, or a terminal emulator. I thus propose to set default /etc/issue to: \e]0;⭍\n\e\\Debian GNU/Linux \n \l Explanation: '\e' means ESC (0x1b). '\e]0; foo bar baz \e\\' means "set window title to ' foo bar baz '. '⭍' is my marker that the console is serial rather than ssh; you may or may not want to keep this bit. '\n' is counterintuitively machine name rather than 0x0a. 'Debian GNU/Linux \n \l' is the old /etc/issue -- kept unchanged. Meow! -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: arm64 (aarch64) Kernel: Linux 5.6.4-00079-g239f7f3e0278 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages base-files depends on: ii mawk [awk] 1.3.4.20200120-2 base-files recommends no packages. base-files suggests no packages. -- Configuration Files: /etc/issue changed: \e]0;⭍\n\e\\Debian GNU/Linux \n \l -- no debconf information