On Tue, Feb 11, 2003 at 07:25:43AM +0000, Matthias Scheler wrote:
> In article <20030210140917.Z7389@snowdrop.l8s.co.uk>,
> David Laight <david@l8s.co.uk> writes:
> > + if (ioctl(1, TIOCGWINSZ, &win) != -1) {
>
> Please use "STDOUT_FILENO" instead of "1".
The commited code does.
David
--
David Laight: david@l8s.co.uk