From 1918b1febae9add1edda2fe1b410617002b8afdc Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Mon, 6 Mar 2023 18:27:18 +0100 Subject: debvm-create: autodetect size of serial consoles We now extend /etc/profile to invoke setterm -resize when detecting an interactive login on a serial console. This should fix 90% of wrongly sized serial consoles. --- bin/debvm-run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/debvm-run b/bin/debvm-run index 81114e6..e45f350 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -67,7 +67,8 @@ F, resulting in an ephemeral run. Make sure C<$TERM> is set to a value known inside the VM. You may need to install B for more definitions. -It also helps to run C after boot and when resizing the terminal emulator. +The serial console will miss events of resizing the terminal emulator. +You may run C in that case. =item How can I kill debvm-run? -- cgit v1.2.3