[plug] C codeing .... a question.
Steve Baker
bakes at corona.iinet.net.au
Fri Nov 27 18:20:49 WST 1998
On Fri, 27 Nov 1998, Anthony J. Breeds-Taurima wrote:
> Its the telling the terminal to "-echo" && "echo" I'm having troubles with ...
> I'm sure I can do it with ncurses BUT I'd like to avoid that if at all
> possible.
>
> I'd took a stab in the dark and looked in to ioctl ... But I couldn't find
> much info ...
>
you can use the system call in C (not really the most efficient option,
but very simple)
system ("stty -echo");
or have a look at the termios system call
$ man termios
bakes
--
Steve Baker, aka bakes at corona.iinet.net.au
Open your mind, then check out http://www.peg.apc.org/~nexus
No-one can tell you exactly what you have gotta be -- Jimmy Barnes
More information about the plug
mailing list