aboutsummaryrefslogtreecommitdiff
path: root/jim_tcl.txt
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2017-09-15 12:05:28 +1000
committerSteve Bennett <steveb@workware.net.au>2017-09-15 12:12:03 +1000
commita5877cb1c624597f340fe5268c2ff8e61f6de4b0 (patch)
treee86e672f9320cacfeca5cd93ee11339aeaea72ae /jim_tcl.txt
parent93af9c4cfbf383f5cf146a95711008dcb052b278 (diff)
downloadjimtcl-a5877cb1c624597f340fe5268c2ff8e61f6de4b0.zip
jimtcl-a5877cb1c624597f340fe5268c2ff8e61f6de4b0.tar.gz
jimtcl-a5877cb1c624597f340fe5268c2ff8e61f6de4b0.tar.bz2
docs: Update documentation for recent changes
Add aio sockopt Add history completion Remove aio tcp_nodelay Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim_tcl.txt')
-rw-r--r--jim_tcl.txt16
1 files changed, 13 insertions, 3 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt
index cce8369..7a736c1 100644
--- a/jim_tcl.txt
+++ b/jim_tcl.txt
@@ -58,6 +58,8 @@ Changes between 0.77 and 0.78
2. Add support for 'jimsh -'
3. Add hidden '-commands' option to many commands
4. Add scriptable autocompletion support in interactive mode with `tcl::autocomplete`
+5. Add `aio sockopt`
+6. Add scriptable autocompletion support with `history completion`
Changes between 0.76 and 0.77
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -4551,9 +4553,6 @@ aio
Note that in general ANSI I/O interacts badly with non-blocking I/O.
Use with care.
-+$handle *tcp_nodelay* boolean+::
- Enable or disable TCP_NODELAY (Nagle's) algorithm.
-
+$handle *puts ?-nonewline?* 'str'+::
Write the string, with newline unless -nonewline
@@ -4575,6 +4574,13 @@ aio
ways for other handle types.
Returns the number of bytes written.
++$handle *sockopt* '?name value?'+::
+ With no arguments, returns a dictionary of socket options currently set for the handle
+ (will be empty for a non-socket). With +'name'+ and +'value'+, sets the socket option
+ to the given value. Currently supports the following boolean socket options:
+ +broadcast, debug, keepalive, nosigpipe, oobinline, tcp_nodelay+, and the following
+ integer socket options: +sndbuf, rcvbuf+
+
+$handle *sync*+::
Flush the stream, then fsync(2) to commit any changes to storage.
Only available on platforms that support fsync(2).
@@ -5010,6 +5016,10 @@ the remaining subcommands do nothing.
if +'varname'+ is given, it receives the line and the length of the line is returned,
or -1 on EOF. If +'varname'+ is not given, the line is returned directly.
++*history completion* 'command'+::
+ Sets an autocompletion command (see `tcl::autocomplete`) that is active during `history getline`.
+ If the command is empty, autocompletion is disabled.
+
+*history add* 'line'+::
Adds the given line to the history buffer.