[BUG] multiline select behaviour of busybox shell in xterm

John Spencer maillist-busybox at barfooze.de
Fri Feb 1 18:25:28 UTC 2013


everytime i chroot into a busybox environment, i notice a weird 
behaviour in xterm:

1) selecting text that spans over more than one line using a 
double-click will only select the half of the text that is in the 
currently selected line

for example, if the terminal width is 10 chars:
12345678 A
BCD
where ABCD is a complete word without line breaks, double-clicking on A 
will only select A, whereas using coreutils+bash, ABCD will be selected.


2) the other case is selecting multiple lines, for example a long gcc 
statement, using the busybox environment the copied text has embedded 
newline characters on the terminal line boundaries whereas on a typical 
gnu system it does not.

so if you want to copy/paste such a long command to reuse it in another 
terminal, you have to paste it into an editor first, remove the line 
breaks and copy it from there again. this is quite annoying.

i dont know what could cause this behaviour, so any hint to the 
whereabouts and possible causes of this bug is highly appreciated.

best regards,
--JS


More information about the busybox mailing list