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
  • 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?

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa‚Ķ
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.

791 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