mahaju Posted November 2, 2021 Posted November 2, 2021 I apologize if this is not specific to armbian but it's really becoming a problem for me I am using Orange pi Zero LTS board and the Armbian image provided in the official downloads page (Armbian_21.08.1_Orangepizero_focal_current_5.10.60.img). I use the serial terminal and Putty in a Windows 10 PC to use this board uname -a result: Linux orangepizero 5.10.60-sunxi #21.08.1 SMP Wed Aug 25 18:19:32 UTC 2021 armv7l armv7l armv7l GNU/Linux I am using the serial console to control the board. If I type in a long string in one line, after a certain number of characters the string wraps to the beginning of the line by itself. The command itself is still correct it just doesn't display properly, and pressing backspace messes up the display further. This is especially annoying if I am in multiple subfolders and the path of current location takes up a good number of characters in one line. Is there any setting in the OS that can fix this? I would ideally like to remove any limitations on the number of characters in a single line. This problem apparently doesn't happen if I ssh into this board, but there is a noticeable delay when I type anything while using ssh. I would like to know if there is a fix for this in the serial terminal.
Werner Posted November 2, 2021 Posted November 2, 2021 Moved to Common issues / peer to peer technical support due to insufficient information as suggested by armbian.com/bugs
Heisath Posted November 2, 2021 Posted November 2, 2021 This is a problem with the echo behaviour of putty and serial ports. I have the same, it is not armbian related. Try to test out other ssh clients (Windows has built in ssh for example), maybe they handle these linebreaks better. As a workaround you can configure bash to not list the complete path you're in at the moment
tparys Posted November 5, 2021 Posted November 5, 2021 The bash PS1 variable (see man bash) may also be worthwhile looking into. You should be able to control how many directories are shown in the prompt, or even put them on the previous line, so you have more room to type commands.
mahaju Posted November 5, 2021 Author Posted November 5, 2021 Thanks to everyone Looks like this can't be fixed in the serial console so I am using Putty/SSH in windows as a workaround
Recommended Posts