On Sun, Apr 07, 2002 at 10:08:28AM -0500, ramzez wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi... > A lot of thanks... I'm going to probe this.. but this FAQ looks terrific, > can you send me it or sayme where I can donwload this
Take a look at www.whitefang.com/unix for the current version of that FAQ. There are lots of other newsgroup-related FAQ documents at ftp://rtfm.mit.edu. Fred > > Paul > > El Sáb 06 Abr 2002 12:57, escribió: > > On Sat, Apr 06, 2002 at 11:38:28AM -0500, ramzez wrote: > > > Hi > > > I'm newbie in C and I want to write a string and later read a char... > > > but i don't want to see this char (I mean don't echo only for this)... > > > <.../...> > > > printf("Hi, i am a string\n") > > > key=getchar(); //but I don't want to see the character pressed > > > > This isn't a C question so much as it is a Unix/Linux question. Why? > > Because there's no portable way to do do this cross-platform, the C > > language does not provide the mechanisms you need. > > > > However, as long as you're on Linux (or any other reasonably modern Unix > > platform) you CAN do it. I've added below some excerpts from a rather old > > copy of the unix.programming.FAQ, one or more of which discusses the sort > > of thing I think you're driving at: > > > > > > 3. Terminal I/O > > *************** > > <.../...> > > - -- > Linux User > Registered #232544 > http://counter.li.org/ > my GnuPG-key at > www.keyserver.net > - --- rm -rf /bin/laden --- > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE8sGD9s4dF9gl05swRAgpdAJ9VaetqO3+wqgLZMFDH/OoqWT/CxQCeOMZV > 4YgbN4/uLZGtovN4v7SAzgM= > =rTXb > -----END PGP SIGNATURE----- > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- ---- Fred Smith -- [EMAIL PROTECTED] ----------------------------- The eyes of the Lord are everywhere, keeping watch on the wicked and the good. ----------------------------- Proverbs 15:3 (niv) ----------------------------- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list