From: cgf AT cygnus DOT com (Christopher Faylor) Subject: Re: fhandler_tty.cc fix. 23 Sep 1998 05:48:45 -0700 Message-ID: <19980923084315.A179.cygnus.cygwin32.developers@cygnus.com> References: <01BDE6EE DOT CEAED090 AT sos> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Sergey Okhapkin , "'cygwin32-developers AT cygnus DOT com'" On Wed, Sep 23, 1998 at 12:36:36PM +0400, Sergey Okhapkin wrote: >With current dll "stty size" always reports 25x80:-) > >fhandler_tty.cc (process_ioctl): call fhandler_console::ioctl(). > >--- fhandler_tty.cc.orig Fri Sep 11 10:15:22 1998 >+++ fhandler_tty.cc Wed Sep 23 11:29:15 1998 >@@ -479,7 +479,7 @@ process_ioctl (void *arg) > WaitForSingleObject (tty_master->ioctl_request_event, INFINITE); > termios_printf ("ioctl() request"); > tty_master->ttyp->ioctl_retval = >- tty_master->ioctl (tty_master->ttyp->cmd, >+ tty_master->console->ioctl (tty_master->ttyp->cmd, > (void *) &tty_master->ttyp->arg); > SetEvent (tty_master->ioctl_done_event); > } Thanks for tracking this one down. It's been applied. -- cgf AT cygnus DOT com http://www.cygnus.com/