diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2020-02-16 03:29:05 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2020-02-16 03:29:05 +0100 |
commit | 94c033d2e281eb1f49e8366d21fc259ce8c0c4f5 (patch) | |
tree | 701ad2fd3a7867e97689d1349d46ca25a92297b4 /Doc/help/ttyctl | |
parent | 643de931640e01aa246723d2038328ef33737965 (diff) | |
parent | 77d203f3fbbd76386bf197f9776269a1de580bb5 (diff) | |
download | zsh-94c033d2e281eb1f49e8366d21fc259ce8c0c4f5.tar.gz zsh-94c033d2e281eb1f49e8366d21fc259ce8c0c4f5.zip |
New upstream version 5.8
Diffstat (limited to 'Doc/help/ttyctl')
-rw-r--r-- | Doc/help/ttyctl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Doc/help/ttyctl b/Doc/help/ttyctl new file mode 100644 index 000000000..6736658f2 --- /dev/null +++ b/Doc/help/ttyctl @@ -0,0 +1,21 @@ +ttyctl [ -fu ] + The -f option freezes the tty (i.e. terminal or terminal emula- + tor), and -u unfreezes it. When the tty is frozen, no changes + made to the tty settings by external programs will be honored by + the shell, except for changes in the size of the screen; the + shell will simply reset the settings to their previous values as + soon as each command exits or is suspended. Thus, stty and sim- + ilar programs have no effect when the tty is frozen. Freezing + the tty does not cause the current state to be remembered: in- + stead, it causes future changes to the state to be blocked. + + Without options it reports whether the terminal is frozen or + not. + + Note that, regardless of whether the tty is frozen or not, the + shell needs to change the settings when the line editor starts, + so unfreezing the tty does not guarantee settings made on the + command line are preserved. Strings of commands run between + editing the command line will see a consistent tty state. See + also the shell variable STTY for a means of initialising the tty + before running external commands. |