This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
ioctl terminal functions.
- To: <Gnu-Win32 at cygnus dot com>
- Subject: ioctl terminal functions.
- From: "Mark Landis" <deyes at san dot rr dot com>
- Date: Sat, 28 Mar 1998 02:46:45 -0800
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".