DITTY(1)
NAME
ditty - utility program that sets and displays the termi-
nal options for Digi intelligent serial products.
SYNOPSIS
ditty [-a][-p][-n ttyname][option(s)][ttyname]
DESCRIPTION
Ditty with no options, displays all Digi special driver
settings, modem signals, and all standard parameters dis-
played by stty(1) for the tty device referenced by stan-
dard input.
Command options are provided to change flow control set-
tings, force modem control lines, and display all tty set-
tings. Any unrecognized options are passed to stty(1) for
interpretation.
The options are:
-a Display all of the unique Digi option set-
tings, as well as all of the standard tty
settings reported by stty -a.
-p Interpret the port as a parallel printer
port. This flag should only be used for the
ninth port of a PORTS 8emp module.
-n ttyname Set and display options for the given
tty device, instead of standard input. This
option may be used on a modem control line
when no carrier is present.
The following options specify transient actions to be per-
formed immediately.
break Send a 250 MS break signal out on the tty
line.
flush Immediately flush (discard) tty input and
output.
flushin Flush tty input only.
flushout Flush tty output only.
The following options specify actions which are not
"sticky," meaning that the changes are reset when the
device is closed, and that the device will use the default
values the next time it is opened.
stopout Stop output exactly as if an XOFF character
was received.
startout Restart stopped output exactly as if an XON
character was received.
stopin Activate flow control to stop input.
startin Release flow control to resume stopped input.
[-]dtr Raise [drop] the DTR modem control line,
unless RTS hardware flow control is selected.
[-]rts Raise [drop] the RTS modem control line,
unless RTS hardware flow control is selected.
The following options are "sticky" -- the affects continue
until the system is rebooted or until the options are
changed.
[-]fastbaud Alter the baud rate tables , such that 50
baud becomes 57,600 baud, 75 baud becomes
76,800 baud and 110 baud becomes 115,200
baud.
[-]rtspace Enable [disable] RTS hardware input flow con-
trol, so RTS drops to pause remote transmis-
sion.
[-]ctspace Enable [disable] CTS hardware output flow
control, so local transmission pauses when
CTS drops.
[-]dsrpace Enable [disable] DSR hardware output flow
control, so local transmission pauses when
DSR drops.
[-]dcdpace Enable [disable] DCD hardware output flow
control, so local transmission pauses when
DCD drops.
[-]dtrpace Enable [disable] DTR hardware input flow con-
trol, so DTR drops to pause remote transmis-
sion.
[-]forcedcd Disable [re-enable] carrier sense, so the tty
may be opened and used even when carrier is
not present.
[-]altpin Switches the function of the DSR and the DCD
inputs on the interface connector, so that
DCD is available when using an 8-pin RJ-45
connector instead of a 10-pin RJ-45 connec-
tor.
startc c Sets the XON flow control character. The
character may be given as a decimal, octal,
or hexadecimal number. Octal numbers are
recognized by the presence of a leading zero,
and hexadecimal numbers are denoted by a
leading "0x". For example, the standard XON
character <CTRL-Q>, can be entered as "17"
(decimal), "021" (octal), or "0x11" hexadeci-
mal.
stopc c Sets the XOFF flow control character. The
character may be given as a decimal, octal,
or hexadecimal number (See startc, above, for
format of octal and hexadecimal numbers).
astartc c Sets the auxiliary XON flow control charac-
ter. The character may be given as a deci-
mal, octal, or hexadecimal number (See
startc, above, for format of octal and hex-
adecimal numbers).
astopc c Sets the auxiliary XOFF flow control charac-
ter. The character may be given as a deci-
mal, octal, or hexadecimal number (See
startc, above, for format of octal and hex-
adecimal numbers).
[-]aixon Enables auxiliary flow control, so that two
unique characters are used for XON and XOFF.
If both XOFF characters are received, trans-
mission will not resume until both XON char-
acters are received.
SEE ALSO
stty(1) ioctl(2) termio(4) and terminfo(5).
BUGS
None that we are aware of.