ioctl terminal functions.

Mark Landis deyes@san.rr.com
Sat Mar 28 02:46:00 GMT 1998


I need some way to set the terminal into non-echo mode.  I normally do that
with this chunk of code:


  ioctl(f, TCGETS, &ttyb);
  ioctl(f, TCGETS, &ttysav);
  ttyb.c_lflag &= ~(ECHO|ISIG);
  ioctl(f, TCSETS, &ttyb);


... or something similiar to it.  The above, however doesn't work.  TCGETS
is undefined.  Is there any way to correctly do this?



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list