This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ioctl terminal functions.



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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]