]> git.sur5r.net Git - tio/blobdiff - man/tio.1.in
New upstream version 2.6
[tio] / man / tio.1.in
index 52523ee6074ccc94f0d3a267ca5550a7fbf5bb96..ba2a9ad87cbb7b0591335c8649d8d7f0da4ee325 100644 (file)
@@ -131,13 +131,21 @@ List available serial devices by ID.
 
 Enable log to file.
 
-If no filename is provided the filename will be automatically generated.
+The filename will be automatically generated using the following format
+tio_DEVICE_YYYY-MM-DDTHH:MM:SS.log.
+
+The filename can be manually set using the \-\-log-file option.
 
 .TP
 .BR "    \-\-log-file \fI<filename>
 
 Set log filename.
 
+.TP
+.BR "    \-\-log-append
+
+Append to log file.
+
 .TP
 .BR "    \-\-log-strip
 
@@ -220,8 +228,8 @@ At present there is a hardcoded limit of 16 clients connected at one time.
 .TP
 .BR \-r ", " \-\-response-wait
 
-Wait for line response then quit. A line is considered any string ending with
-either CR or NL character. If no line is received tio will quit after response
+Wait for line response then quit. A line is considered any string terminated
+with a NL character. If no line is received tio will quit after response
 timeout.
 
 Any tio text is automatically muted when piping a string to tio while in
@@ -280,7 +288,7 @@ Display help.
 .SH "KEYS"
 .PP
 .TP 16n
-In session, the following key sequences, a prefix key (default: ctrl-t) followed by a command key, are intercepted as tio commands:
+In session, all key strokes are forwarded to the serial device except the following key sequence: a prefix key (default: ctrl-t) followed by a command key. These sequences are intercepted as tio commands:
 .IP "\fBctrl-t ?"
 List available key commands
 .IP "\fBctrl-t b"
@@ -502,12 +510,12 @@ correct serial device if it is disconnected and then reconnected.
 .TP
 Redirect serial device I/O to Unix file socket for scripting:
 
-$ tio -S unix:/tmp/tmux-socket0 /dev/ttyUSB0
+$ tio -S unix:/tmp/tio-socket0 /dev/ttyUSB0
 
 .TP
 Then, to issue a command via the file socket simply do:
 
-$ echo "ls -la" | nc -UN /tmp/tmux-socket0 > /dev/null
+$ echo "ls -la" | nc -UN /tmp/tio-socket0 > /dev/null
 
 .TP
 Or use the expect command to script an interaction: