Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     TTY(C)                   XENIX System V                    TTY(C)



     Name
          tty - Gets the terminal's name.

     Syntax
          tty [ -s ]

     Description
          The tty command prints the pathname of the user's terminal
          on the standard output.  The -s option inhibits printing,
          allowing you to test just the exit code.

     Exit Codes
          0 if the standard input is a terminal, 1 otherwise.

     Diagnostics
          not a tty   If the standard input is not a terminal and -s
                      is not specified






































     Page 1                                           (printed 8/7/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026