[plug] C codeing .... a question.

Anthony J. Breeds-Taurima tony at cantech.net.au
Tue Dec 1 09:52:13 WST 1998


Thanks to all those that replied to my C problems.

The answer seem to lie in termios ... by adding:
....
#include <termios.h>
....
        struct termios terminal_settings;
        tcgetattr(fileno(stdout),&terminal_settings);
        terminal_settings.c_lflag ^= ECHO;
        tcsetattr(fileno(stdin),TCSANOW,&terminal_settings);
....

That turns echo off :)

Once again thanks to all.

Yours Tony.



More information about the plug mailing list