Attached is a minor patch that uses the screen buffer width rather than the
window width to calculate the number of spaces to clear.
Brad Town
> The trouble appears to be due to the way it calculates how
> many spaces to
> clear. I'll look into it and submit a patch.
>
> Brad Town
>
>
> > Problem: Bottom portion of screen is not cleared by 'clear'
> > if the visible
> > screen width is less than the actual (buffer) screen width.
> This also
> > affects vim because the bottom portion of screen in vim is
> not cleared
> > before redrawing. This leaves the existing characters on the
> > screen in the
> > areas where no next is written (i.e. after the ends of
> lines and blank
> > lines).
> >
> > To reproduce the problem:
> >
> > 1. From any bash shell, resize the window narrower so that
> a scrollbar
> > appears at the bottom of the screen.
> > 2. vim a file or run 'clear'
> >
> > Win2000
> > version 1.1.4
> >
> > Jim Hickey
> > [EMAIL PROTECTED]
fhandler_console.cc.patch
--
Want to unsubscribe from this list?
Send a message to [EMAIL PROTECTED]