delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/01/06:54:32

From: deyes AT san DOT rr DOT com (Mark Landis)
Subject: ioctl terminal functions.
1 Apr 1998 06:54:32 -0800 :
Message-ID: <000f01bd5a36$ceafbf40$8b33d2cc.cygnus.gnu-win32@markland.san.rr.com>
Mime-Version: 1.0
To: <Gnu-Win32 AT cygnus DOT com>

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019