when i select the following 4 lines of text in one xterm:

check_opts() {
        while [ ! -z "$1" ] ; do
                case $1 in
                        --clear-builds)

and paste it into another xterm window (using middle mouse button) that has busybox vi open,
the following gets pasted:

check_opts() {
        while [ ! -z "$1" ] ; do
                        case $1 in
                                                --clear-builds)

somehow the leading whitespace seem to confuse vi or maybe it's trying to auto-indent...

this is pretty disturbing because any pasted script will grow an immense amount of whitespace with every additional line.

another annoyance is that it doesnt reset the terminal on exit, effectively deleting the last H lines from the screen, where H is the height of the term.

--JS
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to