SLEEPER(1)

NAME
sleeper - acquire a graphics terminal and hang around

SYNOPSIS
sleeper

DESCRIPTION
Certain programs such as magic(1) can require the use of a graphics terminal separate from the terminal used to run the program. If the graphics terminal has an ordinary login process running on it, it is necessary to run sleeper to acquire ownership of the terminal, set up its modes appropriately, and prevent the login process from eating input destined for the CAD tool.

When sleeper is run, it will print a message of the form:

tty is:
/dev/ttyname

Here, /dev/ttyname is the device name of the graphics terminal. This is particularly useful when sleeper is run over the network, or when using fsleeper(1) or rsleeper(1).

Sleeper may be killed by sending it two QUIT signals within ten seconds of each other. This is most easily done by typing two quit characters (usually CTRL-\ or CTRL-SHIFT-L) in a row on the graphics terminal.

For sleeper to work best, there should be an account named sleeper, whose login shell is ~cad/bin/sleeper and with no password. This enables users to log in as the user sleeper, and is also necessary for the programs fsleeper(1) and rsleeper(1) to work. (Note that you will have to include the full pathname of ~cad/bin/sleeper in /etc/passwd; the initial ~cad does not get expanded).

SEE ALSO

fsleeper(1), magic(1), rsleeper(1)