Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 1995 21:06:26 +0100 (BST)
From:      Doug Rabson <dfr@nlsys.demon.co.uk>
To:        Bob Willcox <bob@obiwan.pmr.com>
Cc:        "Andrey A. Chernov Black Mage" <ache@astral.msk.su>, freebsd-current@freefall.cdrom.com
Subject:   Re: tgetnum wierdness on -current
Message-ID:  <Pine.BSF.3.91.950327210025.301A-100000@nlsys.demon.co.uk>
In-Reply-To: <m0rtEff-00030WC@obiwan.pmr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Mar 1995, Bob Willcox wrote:

> [snip]
> 
> to get the new window sizes (which works). Then it does an initscr()
> which calls setterm() which attempts an
> 
>     ioctl(STDERR_FILENO, TIOCGWINSZ, &win)

This is bogus.  It should be using the internal variable __tty_fileno 
which is set up when curses initialises.  Unless anyone can think of a 
good reason that it is using stderr, I will change this.

> [snip]

--
Doug Rabson				Mail:  dfr@nlsys.demon.co.uk
					Phone: +44 181 951 1891




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950327210025.301A-100000>