Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ disable(C) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

login(M)

enable(C)

ttys(M)

getty(M)

init(M)

lp(C)

lpinit(C)

lpstat(C)

ungetty(M)



     DISABLE(C)               XENIX System V                DISABLE(C)



     Name
          disable - Turns off terminals and printers.

     Syntax
          disable tty ...
          disable [-c][-r[reason]] printers

     Description
          For terminals, this program manipulates the /etc/ttys file
          and signals init to disallow logins on a particular
          terminal.  For printers, disable stops print requests from
          being sent to the named printer.  The following options can
          be used:

          -c          Cancels any requests that are currently
                      printing.

          -r[reason]  Associates a reason with disabling the printer.
                      The reason applies to all printers listed up to
                      the next -r option.  If the -r option is not
                      present or the -r option is given without a
                      reason, then a default reason is used.  Reason
                      is reported by lpstat(C).

     Examples
          In this example, a printer named linepr is disabled because
          of a paper jam:

               disable -r"paper jam" linepr

     Files
          /dev/tty*

          /etc/ttys

          /usr/spool/lp/*

     See Also
          login(M), enable(C), ttys(M), getty(M), init(M), lp(C),
          lpinit(C), lpstat(C), ungetty(M)















     Page 1                                           (printed 8/7/87)



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