Xref: utzoo comp.lang.c:6634 comp.unix.questions:5186 Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!hao!ames!sdcsvax!ucsdhub!esosun!seismo!uunet!mcvax!eutrc3!wswietse From: wswietse@eutrc3.UUCP (Wietse Venema) Newsgroups: comp.lang.c,comp.unix.questions Subject: Re: no echo? Summary: portable way to turn echo off under unix Keywords: help Message-ID: <173@eutrc3.UUCP> Date: 22 Jan 88 10:37:03 GMT References: <128@dcrbg1.UUCP> Organization: Tech. Univ. Eindhoven, Neth. Lines: 11 In article <128@dcrbg1.UUCP>, bcf2303@dcrbg1.UUCP (Wing Chow) writes: > > can you tell me how to avoid 'echoing' back to the user what he/she > is typing in? > > thanks again for any help as i am new to unix and c. Questions of this nature often show up in the news group comp.unix.questions. Try system("stty -echo"); it should work on all unixes, tho it not very efficiently. Try `man tty' for a more efficient implementation.