19990503 snapshot failing to scroll screen

Corinna Vinschen corinna@vinschen.de
Wed May 12 08:20:00 GMT 1999

Chris Faylor wrote:
> Can anyone duplicate this?
> I've tried this on Windows 95 and it works fine.
> For me.
> cgf
> On Mon, May 10, 1999 at 09:31:13PM -0400, N8TM@aol.com wrote:
> >In a message dated 5/10/99 10:00:26 AM Pacific Daylight Time, cgf@cygnus.com
> >writes:
> >>  Can you generate a simple test case which always fails to scroll?
> >>
> >>  -chris
> >>
> >pwd displays cleanly when there are empty lines below the prompt in the
> >window.  When it is typed on the bottom line of the window, there is no
> >scrolling; the response writes over the command line and the new prompt
> >writes over that.

I'm able, to reproduce it:

NT4 SP4,
CYGWIN=binmode notty ntea ntsec,
tcsh as login shell,
standard NT cmd window,
window size:        80 cols x 25 lines
window buffer size: 80 cols x 250 lines
The effect _only_ happens after resizing the window to,
say,                80 cols x 30 lines.

Output of `stty -a':
speed 38400 baud; rows 30; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase =
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig icanon iexten echo echoe -echok -echonl -noflsh -tostop echoctl

As mentioned by N8TM@aol.com, the effect is visible only, if the
command line is on the last window line. So, if you use `clear'
from the ncurses package, it's not visible until the command line
reaches the lower window bound again.

Hope, this helps,

new mail address:

More information about the Cygwin-developers mailing list