On Saturday 09 June 2012 22:54, John Spencer wrote:
> 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.

":set noai" turns it off.
I am making it the default...

> 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.

Please explain more, I don't understand the problem.
-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to