From 968c9f5f9952f24c322fc638c4af73c2d9a58dd5 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Tue, 29 Aug 2000 06:35:39 +0000 Subject: 12716: Document and index REPLY/reply paramters properly. --- Doc/Zsh/params.yo | 43 ++++++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 15 deletions(-) (limited to 'Doc/Zsh/params.yo') diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 0ba4b37b2..c3e8c4679 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -679,6 +679,21 @@ item(tt(POSTEDIT) )( This string is output whenever the line editor exits. It usually contains termcap strings to reset the terminal. ) +vindex(PROMPT) +xitem(tt(PROMPT) ) +vindex(PROMPT2) +xitem(tt(PROMPT2) ) +vindex(PROMPT3) +xitem(tt(PROMPT3) ) +vindex(PROMPT4) +item(tt(PROMPT4) )( +Same as tt(PS1), tt(PS2), tt(PS3) and tt(PS4), +respectively. +) +vindex(prompt) +item(tt(prompt) )( +Same as tt(PS1). +) vindex(PS1) item(tt(PS1) )( The primary prompt string, printed before a command is read. @@ -705,17 +720,6 @@ The execution trace prompt. Default is `tt(PLUS()%N:%i> )', which displays the name of the current shell structure and the line number within it. In sh or ksh emulation, the default is `tt(PLUS() )'. ) -vindex(PROMPT) -xitem(tt(PROMPT) ) -vindex(PROMPT2) -xitem(tt(PROMPT2) ) -vindex(PROMPT3) -xitem(tt(PROMPT3) ) -vindex(PROMPT4) -item(tt(PROMPT4) )( -Same as tt(PS1), tt(PS2), tt(PS3) and tt(PS4), -respectively. -) vindex(psvar) vindex(PSVAR) item(tt(psvar) (tt(PSVAR) ))( @@ -723,10 +727,6 @@ An array (colon-separated list) whose first nine values can be used in tt(PROMPT) strings. Setting tt(psvar) also sets tt(PSVAR), and vice versa. ) -vindex(prompt) -item(tt(prompt) )( -Same as tt(PS1). -) vindex(READNULLCMD) item(tt(READNULLCMD) )( The command name to assume if a single input redirection @@ -738,6 +738,19 @@ If nonnegative, commands whose combined user and system execution times (measured in seconds) are greater than this value have timing statistics printed for them. ) +vindex(REPLY) +item(tt(REPLY))( +This parameter is reserved by convention to pass string values between +shell scripts and shell builtins in situations where a function call or +redirection are impossible or undesirable. The tt(read) builtin and the +tt(select) complex command may set tt(REPLY), and filename generation both +sets and examines its value when evaluating certain expressions. Some +modules also employ tt(REPLY) for similar purposes. +) +vindex(reply) +item(tt(reply))( +As tt(REPLY), but for array values rather than strings. +) vindex(RPROMPT) xitem(tt(RPROMPT) ) vindex(RPS1) -- cgit 1.4.1