ldattach --version (return code: 0)
ldattach from util-linux 2.27.1
ldattach --help (return code: 0)
Usage:
ldattach [options] <ldisc> <device>
Attach a line discipline to a serial line.
Options:
-d, --debug print verbose messages to stderr
-s, --speed <value> set serial line speed
-c, --intro-command <string> intro sent before ldattach
-p, --pause <seconds> pause between intro and ldattach
-7, --sevenbits set character size to 7 bits
-8, --eightbits set character size to 8 bits
-n, --noparity set parity to none
-e, --evenparity set parity to even
-o, --oddparity set parity to odd
-1, --onestopbit set stop bits to one
-2, --twostopbits set stop bits to two
-i, --iflag [-]<iflag> set input mode flag
-h, --help display this help and exit
-V, --version output version information and exit
Known <ldisc> names:
TTY SLIP MOUSE PPP STRIP
AX25 X25 6PACK R3964 IRDA
HDLC SYNC_PPP SYNCPPP HCI GIGASET_M101
M101 GIGASET PPS GSM0710
Known <iflag> names:
IGNBRK BRKINT IGNPAR PARMRK INPCK
ISTRIP INLCR IGNCR ICRNL IUCLC
IXON IXANY IXOFF IMAXBEL IUTF8
For more details see ldattach(8).