From 49fc6b036cbc1f42966ddcd246de61712962b576 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Mon, 6 Nov 2000 06:24:27 +0000 Subject: Make zpty more like eval. --- Doc/Zsh/mod_zpty.yo | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Doc/Zsh/mod_zpty.yo') diff --git a/Doc/Zsh/mod_zpty.yo b/Doc/Zsh/mod_zpty.yo index e90b36d09..24139a83f 100644 --- a/Doc/Zsh/mod_zpty.yo +++ b/Doc/Zsh/mod_zpty.yo @@ -5,12 +5,13 @@ The tt(zsh/zpty) module offers one builtin: startitem() findex(zpty) -item(tt(zpty) [ tt(-e) ] [ tt(-b) ] var(name) var(command) [ var(args ...) ])( -In the first form, the var(command) is started with the var(args) as -arguments. The command runs under a newly assigned pseudo-terminal; this -is useful for running commands non-interactively which expect an -interactive environment. The var(name) is used to refer to this command -in later calls to tt(zpty). +item(tt(zpty) [ tt(-e) ] [ tt(-b) ] var(name) [ var(arg ...) ])( +The arguments following var(name) are concatenated with spaces between, +then executed as a command, as if passed to the tt(eval) builtin. The +command runs under a newly assigned pseudo-terminal; this is useful for +running commands non-interactively which expect an interactive +environment. The var(name) is not part of the command, but is used to +refer to this command in later calls to tt(zpty). With the tt(-e) option, the pseudo-terminal is set up so that input characters are echoed. -- cgit 1.4.1