TERM(1)TERM(1)NAMEterm - turn PC into a dumb terminal [IBM]
SYNOPSISterm [baudrate] [parity] [bits_per_character] [-dial_string] [-ckcmd]
[device]
EXAMPLESterm 2400 # Talk to modem at 2400 baud
term 1200 7 even # 1200 baud, 7 bits/char, even parity
term 8 9600 /dev/tty01
# 9600 baud, 8 bits/char, no parity, use tty01
term-atdt12345 /dev/tty01
# Start with a command to dial out
term -cH'echo Hello World!' ...
# Bind a shell command to the 'H' key
DESCRIPTION
Term allows MINIX 3 to talk to a terminal or modem over RS232 port 1.
The program first sets the baudrate, parity and character length, and
then forks. The parent sits in a loop copying from stdin (usually the
console's keyboard), to the terminal or modem (/dev/tty00). The child
sits in a loop copying from the terminal or modem (/dev/tty00) to stan‐
dard output. Thus when RS232 port 1 is connected to a modem, every
keystroke typed on the keyboard is sent to the modem, and every charac‐
ter arriving from the modem is displayed. Standard input and output
may be redirected, to provide a primitive file transfer program, with
no checking. Any argument that starts with -at is sent out to the
modem, usually to dial out. Term accepts several commands that are
formed by typing the escape character, CTRL-], and a letter. Type
CTRL-]? to see a list of commands. The subshell command is very impor‐
tant, it allows you to type in a ZMODEM command to transfer data. Do
not quit term to do this, or your modem line will be reset! Term keeps
the modem line open on file descriptor 9 while running the subshell, so
you can type
<&9 >&9
at the end of your ZMODEM command to connect it to the modem. With
-ckcmd arguments you can bind shell commands to keys. The character
just after -c is the key to use, the rest of the characters form the
command to bind to the key. This command also has the modem open on
file descriptor 9.
Important note: to use term, it is essential that /etc/ttytab is con‐
figured so that there is no login session started on the modem line.
If there is, both the login session and term will try to read from the
modem, and nothing will work.
SEE ALSOrz(1), sz(1).
TERM(1)