Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
getty — initialize a terminal sessionSYNOPSIS
getty | [-5678beflnoR] [-h height] [-s speed] [-t term] [-w width] terminal program [arguments ...] |
DESCRIPTION
getty creates a new session and executes the specified program inside the session.- -5
- Receive 5 bits per word (CS5 in c_cflag).
- -6
- Receive 6 bits per word (CS6 in c_cflag).
- -7
- Receive 7 bits per word (CS7 in c_cflag).
- -8
- Receive 8 bits per word (CS8 in c_cflag).
- -b
- Always fork and run the new session in the background without waiting for it to exit.
- -e
- Enable even parity bits (PARENB in c_cflag).
- -f
- Forcefully take ownership of the terminal even if another session already owns it.
- -h height
- Set the terminal window rows to height.
- -l
- Output the operating system logo before running the program.
- -n
-
Disable parity bits (
~
(PARENB | PARODD) in c_cflag). - -o
- Enable odd parity bits (PARENB | PARODD in c_cflag).
- -R
-
Disable receiving data (
~
(CREAD) in c_cflag). This option is useful to prevent a race condition where the user may type ^C or ^ to send SIGINT or SIGQUIT before the program is ready to handle input. - -s speed
- Set the terminal input and output speeds to speed.
- -t term
- Set the TERM environment variable to term.
- -w width
- Set the terminal window columns to width.