07-18-2001
Use:
stty -echo
What you type will not be displayed. To undo this:
stty echo
Regards
HTT
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I entered the command cat 401328 in an attempt to see a file. Now, my screen is displaying machine language. The properties of the file say that it is a postgres application. Is there a command I can enter so everything gets back to normal?
Thanks, (2 Replies)
Discussion started by: Debbie
2 Replies
2. Shell Programming and Scripting
Hi all,
I tried searching for similar threads. Couldn't get any for Expect scripting.
I am trying automate a task which requires login to a machine. The user
would be prompted for the password. Now, I want this input to be hidden
from being displayed on the screen.
Is there... (1 Reply)
Discussion started by: sudhir_onweb
1 Replies
3. Shell Programming and Scripting
Hello,
I used the command
osascript -e 'tell app "Finder" to display dialog "Hey!"'
to display a dialog box..it works fine, it displays a dialog box with 'OK' and 'CANCEL' buttons..i want to get the button returned value how can i do that using terminal command?
is there any command to get... (1 Reply)
Discussion started by: keshav.murthy@r
1 Replies
4. Cybersecurity
My knowledge of Unix input/output/devices is very hazy so could someone please tell me if the following is secure?
I log on to an account on a shared Unix server (Linux 2.6.18-6-686) using ssh (PuTTY). I start a python program and then type into it (python raw_input command) the... (2 Replies)
Discussion started by: pnp
2 Replies
5. UNIX for Dummies Questions & Answers
Hello everybody!!!
I am writing my own rm command in unix.
I prompt the user to type if he wants to delete a file and then read what he typed.
But how do i check what he typed?
This is my program so far:
echo 'Delete prog1.c (y/n)?'
read yesOrNo
if yesOrNo == 'y'
then
rm prog1.c... (6 Replies)
Discussion started by: mskart
6 Replies
6. Programming
stupid question (0 Replies)
Discussion started by: puttster
0 Replies
7. Shell Programming and Scripting
Is there a way to display the default answer when accepting input from the user in the unix script..
e.g.
ans="n"
read $ans?"Enter y to continue n to exit:"
altough ans contains n the message doesn't display the current contents on ans .. you get
Enter y to continue n to exit: (8 Replies)
Discussion started by: flopster
8 Replies
8. Shell Programming and Scripting
Hi,
I'm working on a project that requires formatted text to be displayed on the screen plugged into a Linux machine. I want to be able to control this text via a bash script and format it in a particular font and size. Changing the background colour would also be beneficial.
Does anyone know... (3 Replies)
Discussion started by: lcoor65
3 Replies
9. IP Networking
Hi folks,
Considering the configuration of an AP in the hostapd.conf file:
As GMK is used like a seed for the generation of GTK(Group Temporal Key), does setting a lower value for GMK timer enforce the generation of a new GTK right away or does the time interval for GTK have to elapse anyway... (0 Replies)
Discussion started by: Ms. T
0 Replies
10. What is on Your Mind?
I've always used code tags for code but not for showing terminal input and output. I noticed a mod edited one of my threads and now I'm confused as to proper protocol.
Mike (5 Replies)
Discussion started by: Michael Stora
5 Replies
STTY(3) BSD Library Functions Manual STTY(3)
NAME
stty, gtty -- set and get terminal state (defunct)
LIBRARY
Compatibility Library (libcompat, -lcompat)
SYNOPSIS
#include <sgtty.h>
stty(int fd, struct sgttyb *buf);
gtty(int fd, struct sgttyb *buf);
DESCRIPTION
These interfaces are obsoleted by ioctl(2). They are available from the compatibility library, libcompat.
The stty() function sets the state of the terminal associated with fd. The gtty() function retrieves the state of the terminal associated
with fd. To set the state of a terminal the call must have write permission.
The stty() call is actually 'ioctl(fd, TIOCSETP, buf)', while the gtty() call is 'ioctl(fd, TIOCGETP, buf)'. See ioctl(2) and tty(4) for an
explanation.
DIAGNOSTICS
If the call is successful 0 is returned, otherwise -1 is returned and the global variable errno contains the reason for the failure.
SEE ALSO
ioctl(2), tty(4)
HISTORY
The stty() and gtty() functions appeared in 4.2BSD.
BSD
June 4, 1993 BSD