Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setport(1M) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

init(1M)

mknod(1M)

tty_add(1M)

inittab(4)




setport(1M) setport(1M)
NAME setport - set a serial port SYNOPSIS setport -r [-s speed] device-file... setport -o [-s speed] device-file... DESCRIPTION setport adds or modifies entries for serial ports in /etc/inittab. The placeholder device-file is the name of an existing serial port device in /dev. For a given device- file, setport creates an entry in /etc/inittab, if neces- sary, and sets the port to allow, or disallow logins as desired. Since setport creates entries in /etc/inittab, it may be used by a device initialization routine called by /etc/autoconfig. In this case, it is important to ensure that a device node exists in /dev before running setport from an autoconfig initialization routine. FLAG OPTIONS setport interprets the following arguments -r Respawn: set the port to permit login ses- sions. -o Set the port to off to disallow login ses- sions. -s speed Specify the initial baud speed to be used. The default is 9600. For modems, 1200 should usually be specified. EXAMPLE The following command setport -r -s 19200 tty0 enables login sessions on serial port 0 (the "modem" port), with the initial speed set to 19200 baud. NOTES setport supercedes an earlier program, tty_add and should be used in place of tty_add. FILES /etc/setport /etc/inittab The initialization table April, 1990 1



setport(1M) setport(1M)
SEE ALSO init(1M), mknod(1M), tty_add(1M), inittab(4). 2 April, 1990

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