diff options
author | Steve Bennett <steveb@workware.net.au> | 2019-08-08 20:32:40 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2019-11-12 07:33:05 +1000 |
commit | 76ddbec17c6084ab3333e4d5fa177241af1a91bb (patch) | |
tree | 7abd10133047033961b60e2ba25a22b6dbda2eeb /jim-aio.c | |
parent | 1618bed21e516633dcad123ed9149a05612b0c28 (diff) | |
download | jimtcl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |