TTYSRV(8)

πŸ“¦ version 4.0, in debian bookworm, ubuntu jammy

πŸ’– TTYSRV(8) β€” like, the serial port bestie πŸ’–

System Manager's Manual ✨ section 8, system administration, we love a sysadmin era


🌸 NAME 🌸

ttysrv β€” connect to a serial port and log output 🫢


✨ SYNOPSIS ✨

ttysrv [-o option] [-s sock] [-l log] -t tty [-b baud] [-p parity] [-w
wordsize] [-i pidfile]

πŸŽ€ DESCRIPTION πŸŽ€

okay so ttysrv is the backend for rconsole πŸ’… no cap, it's the whole backbone of the operation.

Here's the vibe: it connects to the serial port, handles the log file, and then just... waits πŸ’€ patiently, like a bestie holding your spot in line. It's waiting for connections from rconsole so you can peep what's happening on the serial console. Main character energy, honestly. πŸ‘‘


πŸ’œ OPTIONS πŸ’œ

  • -t tty β€” tell it which device to connect to. literally the one thing you actually gotta give it, bestie 🫢
  • -s sock β€” the name of the socket to listen for connections from rconsole on 🧚
  • -o option β€” specify any ttyios options to open the port with. rn only nolocal is supported, that's it, that's the list πŸ™ˆ
  • -l log β€” the logfile to write to. if you don't set it, no log is kept 😭 so like, set it fr fr
  • -b baud β€” set the baud rate to talk to the port at. defaults to 9600 ✨
  • -p parity β€” set the parity for the serial port. defaults to none 🌸
  • -w wordsize β€” set the word size for the serial port. defaults to 8 bits πŸ’–
  • -i pidfile β€” the file to write the pid of ttysrv to. if you don't specify it, no such file is written, no biggie πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

rconsole(1), remote-tty(1). go read those too, they're the supporting cast πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

rtty was written by Paul Vixie <vixie@isc.org>. This manual page was written by Jonathan McDowell <noodles@earth.li> for the Debian project (but may be used by others). iconic behavior, we stan 🫢


and that's the whole page bestie!! this one's from May 23, 2006, and it lives in the TTYSRV(8) corner of your man pages πŸ’–βœ¨πŸ¦‹πŸŽ€πŸŒΈπŸ’…

πŸ“¦ where this page comes from