diff options
author | June McEnroe <june@causal.agency> | 2020-12-08 23:39:50 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-08 23:39:50 -0500 |
commit | 42822ca572b43a83aaa1e1042e9546d366dca831 (patch) | |
tree | 12652c67c3737038979b1655ea2c9d5fa3e6a37b /bin/man1 | |
parent | Clean up variable expansions in c.sh (diff) | |
download | src-42822ca572b43a83aaa1e1042e9546d366dca831.tar.gz src-42822ca572b43a83aaa1e1042e9546d366dca831.zip |
Add modem -r flag to set baud rate
Also fix it to continue reading output, rather than exiting as soon as the child exits... Except on macOS this still doesn't seem to work correctly for some reason.
Diffstat (limited to 'bin/man1')
-rw-r--r-- | bin/man1/modem.1 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/bin/man1/modem.1 b/bin/man1/modem.1 index 522242b3..a4bbc3f1 100644 --- a/bin/man1/modem.1 +++ b/bin/man1/modem.1 @@ -1,4 +1,4 @@ -.Dd July 8, 2019 +.Dd December 8, 2020 .Dt MODEM 1 .Os . @@ -8,6 +8,7 @@ . .Sh SYNOPSIS .Nm +.Op Fl r Ar rate .Ar command ... . .Sh DESCRIPTION @@ -15,8 +16,15 @@ runs the .Ar command in a new PTY -with a fixed baud rate -of 19.2 kbps. +with a fixed baud rate. +. +.Pp +The arguments are as follows: +.Bl -tag -width Ds +.It Fl r Ar rate +Set the baud rate. +The default is 19200. +.El . .Sh BUGS Window size changes are not propagated |