aboutsummaryrefslogtreecommitdiff
path: root/jim_tcl.txt
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2020-04-20 20:59:04 +1000
committerSteve Bennett <steveb@workware.net.au>2020-05-06 11:23:14 +1000
commit46bbf5470e373d3b2a8282fe7b90d30c8da598fa (patch)
tree6190bde00c8a446fcab7c977b40500c2e17fd1c3 /jim_tcl.txt
parent3c99fff83e7224ebe348c4840e13444e74f185a3 (diff)
downloadjimtcl-46bbf5470e373d3b2a8282fe7b90d30c8da598fa.zip
jimtcl-46bbf5470e373d3b2a8282fe7b90d30c8da598fa.tar.gz
jimtcl-46bbf5470e373d3b2a8282fe7b90d30c8da598fa.tar.bz2
aio: Add socket pty
Allows a psuedo-tty pair to be created. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim_tcl.txt')
-rw-r--r--jim_tcl.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt
index 73c0593..24c380b 100644
--- a/jim_tcl.txt
+++ b/jim_tcl.txt
@@ -62,6 +62,7 @@ Changes between 0.78 and 0.79
6. Add support for `json::encode` and `json::decode`
7. `aio tty` now allows setting +echo+ without full +raw+ mode
8. `regsub` now fully supports +{backslash}A+
+9. Add `socket pty` to create a pseudo-tty pair
Changes between 0.77 and 0.78
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -4981,6 +4982,10 @@ Various socket types may be created.
A socketpair (see socketpair(2)). Like `pipe`, this command returns
a list of two channels: {s1 s2}. These channels are both readable and writable.
++*socket pty*+::
+ A pseudo-tty pair (see openpty(3)). Like `pipe`, this command returns
+ a list of two channels: {master slave}. These channels are both readable and writable.
+
This command creates a socket connected (client) or bound (server) to the given
address.