Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Unix Power Tools -book recommends to use the following command if you do not want to get any notification of running process

stty -topstop


stty -topstop

Both commands give me

stty: illegal option -- topstop
usage: stty [-a|-e|-g] [-f file] [options]

How can you use the command in OS/X's Zsh?

share|improve this question
up vote 2 down vote accepted

This does not seem to be a zsh issue. This is an issue with the specific implementation of the command stty on your system.

To investigate a new command, remember:

 $ man [command]

There are also manual pages online, so if your particular system does not have the man pages installed, you can still get the needed info.

Many modern utilities have built-in help info. Try

$ [command] -h 


$ [command] --help

to figure out what options the [command] you're interested in has on your system.

I am also suspecting that you have a typo. Do you really mean "topstop"? This does not seem to be a valid option.

share|improve this answer

Before running the command, you must tell zsh to unlock your terminal:

ttyctl -u
stty -tostop
share|improve this answer
I get the same error message. -- I need to try your code in Ubuntu. It will likely work. – Masi Jun 3 '09 at 12:36

stty doesn't seem to have a -topstop option; is it supposed to be -tostop? Use

man stty

for details on the stty command and its options.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.