This is the mail archive of the
mailing list for the Cygwin project.
Re: readline-5.1 && CGDB
-----BEGIN PGP SIGNED MESSAGE-----
According to Bob Rossi on 1/28/2006 9:19 PM:
> On Linux, something totally different happens. When I initialize
> readline, it eventually calls tgetent, which happens to set LINES and
> COLS to the correct size of the terminal. On cygwin this doesn't happen.
> The call readline makes to tgetent leaves LINES and COLS alone. Then,
> in Cygwin when I get to initscr, LINES and COLS is set to 25x80, unless
> I set the LINES and COLUMNS environment variables before the call to
http://www.die.net/doc/linux/man/man3/tgetent.3.html does not document
that tgetent() messes with the environment, but if that is the case, you
may be onto something. Perhaps it really is something cygwin1.dll needs
to patch to be more similar to linux.
Life is short - so eat dessert first!
Eric Blake firstname.lastname@example.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html