Patch for line draw characters problem & screen scrolling

Igor Pechtchanski
Wed May 21 17:06:00 GMT 2003

On Wed, 21 May 2003, Christopher Faylor wrote:

> On Wed, May 21, 2003 at 05:32:33PM +0200, Micha Nelissen wrote:
> >Hi,
> >
> >Several problems encountered and tried to fix:
> >
> >1) line draw characters not showing up in combination Command Prompt with
> >bash.
> >2) screen scrolling fixed for termcap entry 'cs' -> screen split is very
> >fast and cool.
> >3) end-of-buffer cursor out of range; see changelog for more details.
> >
> >This is my first patch, so please don't flame ;). I am open to suggestions.
> >
> >Regards,
> >2003-05-21  Micha Nelissen  <>
> >[snip]
> >* (write_normal): end of buffer check enables cursor to be
> >out of range; it better emulates *nix terminal behaviour; ie. it is now
> >possible to write a single character at right bottom of console buffer without
> >the console scrolling the buffer.
> How is this similar to UNIX?  If I do a:
> sleep 5; echo hello
> and then scroll my xterm up, xterm scrolls down when hello is printed.  It
> sounds like your patch would not cause this to happen.


This behavior is controlled, at least in an xterm, by the "Scroll to
Bottom on Tty Output" resource.  In the Windows console, no such control
is available, and it does scroll to bottom on output (just verified that).
I think that's what Micha is trying to fix...  Please correct me if I'm

Micha, if the above is correct, you'll probably want to introduce some
sort of control that will let users switch back and forth, according to
their preferences.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

More information about the Cygwin-patches mailing list