diff options
author | Chet Ramey <chet.ramey@case.edu> | 2022-02-21 10:06:44 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2022-02-21 10:06:44 -0500 |
commit | e7a56619a2f8d8d8e49ba96b9febc22bce1f74f0 (patch) | |
tree | 04a2243f46adeebadb323ebdd9ae417c402ed336 /lib/readline/doc/rltech.texi | |
parent | 6d69b625471182f226993aa977c9f4c49d9dbba1 (diff) | |
download | bash-e7a56619a2f8d8d8e49ba96b9febc22bce1f74f0.tar.gz |
changes to make EOF state available to readline applications; fix for command substitution parsing inside conditional command
Diffstat (limited to 'lib/readline/doc/rltech.texi')
-rw-r--r-- | lib/readline/doc/rltech.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/readline/doc/rltech.texi b/lib/readline/doc/rltech.texi index 01343edc..6f7ffb93 100644 --- a/lib/readline/doc/rltech.texi +++ b/lib/readline/doc/rltech.texi @@ -323,6 +323,14 @@ and point define a @emph{region}. @deftypevar int rl_done Setting this to a non-zero value causes Readline to return the current line immediately. +Readline will set this variable when it has read a key sequence bound +to @code{accept-line} and is about to return the line to the caller. +@end deftypevar + +@deftypevar int rl_eof_found +Readline will set this variable when it has read an EOF character (e.g., the +stty @samp{EOF} character) on an empty line or encountered a read error and +is about to return a NULL line to the caller. @end deftypevar @deftypevar int rl_num_chars_to_read @@ -597,6 +605,9 @@ and is about to return the line to the caller. Readline has timed out (it did not receive a line or specified number of characters before the timeout duration specified by @code{rl_set_timeout} elapsed) and is returning that status to the caller. +@item RL_STATE_EOF +Readline has read an EOF character (e.g., the stty @samp{EOF} character) +or encountered a read error and is about to return a NULL line to the caller. @end table @end deftypevar |