summaryrefslogtreecommitdiffstats
path: root/call/call.1
diff options
context:
space:
mode:
authorThomas Osterried <thomas@osterried.de>2009-08-24 21:13:18 +0000
committerThomas Osterried <thomas@osterried.de>2009-08-24 21:13:18 +0000
commit235fa050403c7335fb2287a280dc6ea8d2d7183b (patch)
tree6d052365eda6fd7f2919d7f217df85c75bdf59f6 /call/call.1
parentf49602e6c64ec74c4a4d23b5babd1cdb8d7d829b (diff)
fix: on read through closed pipe, call did endless select(),
read() = 0, wht consumed 100% CPU power. New options: -W: waits after EOF on stdin. Useful for scripting, for waiting for data coming via fd 3 (ax25 connection) -T secs: idle timout after secs seconds.
Diffstat (limited to 'call/call.1')
-rw-r--r--call/call.18
1 files changed, 7 insertions, 1 deletions
diff --git a/call/call.1 b/call/call.1
index a10465b..2786975 100644
--- a/call/call.1
+++ b/call/call.1
@@ -4,7 +4,7 @@ call \- make an AX.25, NET/ROM or Rose connection.
.SH SYNOPSIS
For AX.25
.br
-.B call [-b l|e] [-d] [-h] [-m s|e] [-p paclen] [-s mycall] [-r] [-t] [-v] [-w window] port callsign [[via] digipeaters.....]
+.B call [-b l|e] [-d] [-h] [-m s|e] [-p paclen] [-s mycall] [-r] [-t] [-T timeout] [-v] [-w window] [-W] port callsign [[via] digipeaters.....]
.sp 1
For NET/ROM
.br
@@ -74,6 +74,9 @@ Connect using the specified source call (you may need to be root).
.BI \-S
Be silent. Useful for using call in shellscripts (together with option \-r) in order to be really transparent.
.TP 10
+.BI "\-T timeout"
+Set idle timeout seconds after a connection will be closed automaticaly when there's no data being transferred (in- and outbound). If timeout is set to 3600, the connection will close after 1h inactivity. A value of 0.5 is 500ms.
+.TP 10
.BI \-r
Selects Raw mode.
.TP 10
@@ -85,6 +88,9 @@ Display the version.
.TP 10
.BI "\-w window"
Specify a specific AX.25 window for this connection. Only valid in AX.25 mode.
+.TP 10
+.BI "\-W"
+Wait for remote disconnect even if stdin is closed. Normaly, "echo q | call ax0 db0fhn" closes immediately after "echo q" terminates; thus we never see the greeting from db0fhn. With the -W option, call waits until the ax25-connection is disconnected (i.e. db0fhn disconnects after "q" command). Very useful for scripting. You might like to combine it with the -T option.
.LP
The call program interprets lines beginning with a '~' specially.
The following '~' escapes are available.