about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-11-06 06:24:27 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-11-06 06:24:27 +0000
commit49fc6b036cbc1f42966ddcd246de61712962b576 (patch)
tree1c5145a13ce14a3d4dd5a7bbbc107eecb201e81c /Doc
parentdbc0aebcd44a028ed5c5c392fa2b354a1b562955 (diff)
downloadzsh-49fc6b036cbc1f42966ddcd246de61712962b576.tar.gz
zsh-49fc6b036cbc1f42966ddcd246de61712962b576.tar.xz
zsh-49fc6b036cbc1f42966ddcd246de61712962b576.zip
Make zpty more like eval.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/mod_zpty.yo13
1 files changed, 7 insertions, 6 deletions
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.