[RFC, PATCH] new applet resize [was: Re: How do I get vi to know my window size?]

Dave Hylands dhylands at gmail.com
Thu Sep 21 23:16:32 UTC 2006


Hi Bernhard,

Replying to the list this time.

> The attached should actually work for settion the w/h.
> Dave, can you test this please?

I hacked the bits into my busybox 1.1.2 and verified that it works on
my gumstix.

# winsize
Width = 0, Height = 0
# busybox.new resize
# winsize
Width = 111, Height = 79

winsize is my test program that calls ioctl with TIOCGWINSZ, and the
width and height indeed match my current settings, and I verified that
vi behaves as expected.

Thanks

-- 
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/



More information about the busybox mailing list