summary refs log tree commit diff
path: root/bin/man1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-08 23:39:50 -0500
committerJune McEnroe <june@causal.agency>2020-12-08 23:39:50 -0500
commit3411d53d4993cbc54531687492d530b8422d4fac (patch)
treeeb12dfa5fa845f3970a9871fa748a7cfe01f3abd /bin/man1
parentClean up variable expansions in c.sh (diff)
downloadsrc-3411d53d4993cbc54531687492d530b8422d4fac.tar.gz
src-3411d53d4993cbc54531687492d530b8422d4fac.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.114
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