From owner-freebsd-current Mon Mar 27 12:15:59 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA06347 for current-outgoing; Mon, 27 Mar 1995 12:15:59 -0800 Received: from nlsys.demon.co.uk (nlsys.demon.co.uk [158.152.125.33]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA06340 for ; Mon, 27 Mar 1995 12:15:54 -0800 Received: (from dfr@localhost) by nlsys.demon.co.uk (8.6.10/8.6.9) id VAA05203; Mon, 27 Mar 1995 21:06:26 +0100 Date: Mon, 27 Mar 1995 21:06:26 +0100 (BST) From: Doug Rabson To: Bob Willcox cc: "Andrey A. Chernov Black Mage" , freebsd-current@freefall.cdrom.com Subject: Re: tgetnum wierdness on -current In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: current-owner@FreeBSD.org Precedence: bulk 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