This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: readline-5.1 && CGDB


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
> initscr.

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             ebb9@byu.net
-----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

iD8DBQFD3h6h84KuGfSFAYARAksIAJ9elsYMWPiSZHWpanbnBv6nJHpw5QCgwmEQ
floUSXqiaA0uiBNLyKGqa/Q=
=vmkr
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]