for Ozo

Posted on 1998-09-19
Last Modified: 2013-12-26
I'm sorry man, I deleted the question again when I saw that It hadn't been answered.  Then I went to my mailbox and got a message.  Thats the last time I'll delete without checking comments first.
Could you please comment again?

How can I stop stdin from echoing to the screen in UNIX?

Question by:bod_1
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 84

Expert Comment

ID: 1293316
getch() is supported in
#include <curses.h>
but that may come with more bagage than you want.
You may want to check Q.10025757 if you know what flavor of unix this is for.
you might also try
system("stty -echo");

Author Comment

ID: 1293317
Thanks Ozo,
kind of answered two questions for me;
   I was wondering about system's() implementation in UNIX as well.


Author Comment

ID: 1293318
I searched for curses.h and couldn't find it (I have BorlandC++4 and MSDEV4).
How can I find Q.10025757?

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 84

Expert Comment

ID: 1293319
If you're on Unix, you should be able to say
 man curses
 man getch

Author Comment

ID: 1293320
Thanks Ozo.

I think you have to enter an answer for the question before I can give you the points (these show up as comments for me).
I don't see a button asking me to accept answer.
LVL 84

Accepted Solution

ozo earned 50 total points
ID: 1293321
I hope you've found everything you need to know.

Author Comment

ID: 1293322
Yep, getch has a manual entry on my server.
I'm going to have to take a look at their curses header to see what I'm missing.

Thanks again Ozo.


Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : All lightning effects with instructions : http://www.mediaf…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question