Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

TTY(1)                               BSD                                TTY(1)



NAME
     tty - get terminal name

SYNOPSIS
     tty [ -s ]

DESCRIPTION
     tty prints the pathname of the user's terminal unless the -s (silent)
     option is given. In either case, the exit value is 0 if the standard
     input is a terminal and 1 if it is not.

     Returns  "/dev/display" if you are in a Display Manager pad, not the
     device associated with that pad.

DIAGNOSTICS
     Displays "not a tty" if the standard input file is not a terminal.

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