Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tty(1) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ps(1)

stty(1)

who(1)



tty(1)                         DG/UX 5.4R3.00                         tty(1)


NAME
       tty - get the name of the terminal

SYNOPSIS
       tty [ -s ]

DESCRIPTION
       tty prints the path name of the user's terminal.

   Option
       -s     Inhibit printing of the terminal path name, allowing one to
              test just the exit code.

DIAGNOSTICS
       ``not a tty'' if the standard input is not a terminal and -s is not
       specified.

   Exit Codes
         2    if invalid options were specified
         0    if standard input is a terminal
         1    otherwise.

SEE ALSO
       ps(1), stty(1), who(1).

































Licensed material--property of copyright holder(s)                         1


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