aboutsummaryrefslogtreecommitdiff
path: root/jim-aio.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2019-08-08 20:32:40 +1000
committerSteve Bennett <steveb@workware.net.au>2019-11-12 07:33:05 +1000
commit76ddbec17c6084ab3333e4d5fa177241af1a91bb (patch)
tree7abd10133047033961b60e2ba25a22b6dbda2eeb /jim-aio.c
parent1618bed21e516633dcad123ed9149a05612b0c28 (diff)
downloadjimtcl-76ddbec17c6084ab3333e4d5fa177241af1a91bb.zip
jimtcl-76ddbec17c6084ab3333e4d5fa177241af1a91bb.tar.gz
jimtcl-76ddbec17c6084ab3333e4d5fa177241af1a91bb.tar.bz2
aio: tty: allow setting echo
set-only e.g. to disable echo on stdin: stdin tty echo 0 This allows disabling echo while otherwise keeping cooked mode. Setting input to cooked or raw will overwrite this setting Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-aio.c')
-rw-r--r--jim-aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jim-aio.c b/jim-aio.c
index 5557797..ddfc486 100644
--- a/jim-aio.c
+++ b/jim-aio.c
@@ -1762,7 +1762,7 @@ static const jim_subcmd_type aio_command_table[] = {
#endif
#if defined(HAVE_TERMIOS_H)
{ "tty",
- "?baud rate? ?data bits? ?stop bits? ?parity even|odd|none? ?handshake xonxoff|rtscts|none? ?input raw|cooked? ?output raw|cooked? ?vmin n? ?vtime n?",
+ "?baud rate? ?data bits? ?stop bits? ?parity even|odd|none? ?handshake xonxoff|rtscts|none? ?input raw|cooked? ?output raw|cooked? ?echo 0|1? ?vmin n? ?vtime n?",
aio_cmd_tty,
0,
-1,