fix for readline redisplay issue in C locale; fix for small memory leak in termcap replacement library; updates to formatted documentation; fix problem with distclean and y.tab.h; Makefile clean targets updates

This commit is contained in:
Chet Ramey
2024-11-08 11:13:57 -05:00
parent 0075715b29
commit b116cfe57d
22 changed files with 3163 additions and 38546 deletions
+163 -162
View File
@@ -4997,7 +4997,7 @@ parameters, or to display the names and values of shell variables.
non-interactive shell will exit.
-v
Print shell input lines as they are read.
Print shell input lines to standard error as they are read.
-x
Print a trace of simple commands, for commands, case
@@ -5774,13 +5774,14 @@ Variables::).
BASH_XTRACEFD
If set to an integer corresponding to a valid file descriptor, Bash
will write the trace output generated when set -x is enabled to
that file descriptor. This allows tracing output to be separated
from diagnostic and error messages. The file descriptor is closed
when BASH_XTRACEFD is unset or assigned a new value. Unsetting
BASH_XTRACEFD or assigning it the empty string causes the trace
output to be sent to the standard error. Note that setting
BASH_XTRACEFD to 2 (the standard error file descriptor) and then
unsetting it will result in the standard error being closed.
that file descriptor instead of the standard error. This allows
tracing output to be separated from diagnostic and error messages.
The file descriptor is closed when BASH_XTRACEFD is unset or
assigned a new value. Unsetting BASH_XTRACEFD or assigning it
the empty string causes the trace output to be sent to the standard
error. Note that setting BASH_XTRACEFD to 2 (the standard error
file descriptor) and then unsetting it will result in the standard
error being closed.
CHILD_MAX
Set the number of exited child status values for the shell to
@@ -12880,21 +12881,21 @@ D.3 Parameter and Variable Index
(line 79)
* CDPATH: Bourne Shell Variables.
(line 9)
* CHILD_MAX: Bash Variables. (line 215)
* CHILD_MAX: Bash Variables. (line 216)
* colored-completion-prefix: Readline Init File Syntax.
(line 84)
* colored-stats: Readline Init File Syntax.
(line 94)
* COLUMNS: Bash Variables. (line 222)
* COLUMNS: Bash Variables. (line 223)
* comment-begin: Readline Init File Syntax.
(line 100)
* COMP_CWORD: Bash Variables. (line 228)
* COMP_KEY: Bash Variables. (line 234)
* COMP_LINE: Bash Variables. (line 240)
* COMP_POINT: Bash Variables. (line 245)
* COMP_TYPE: Bash Variables. (line 253)
* COMP_WORDBREAKS: Bash Variables. (line 263)
* COMP_WORDS: Bash Variables. (line 269)
* COMP_CWORD: Bash Variables. (line 229)
* COMP_KEY: Bash Variables. (line 235)
* COMP_LINE: Bash Variables. (line 241)
* COMP_POINT: Bash Variables. (line 246)
* COMP_TYPE: Bash Variables. (line 254)
* COMP_WORDBREAKS: Bash Variables. (line 264)
* COMP_WORDS: Bash Variables. (line 270)
* completion-display-width: Readline Init File Syntax.
(line 104)
* completion-ignore-case: Readline Init File Syntax.
@@ -12905,18 +12906,18 @@ D.3 Parameter and Variable Index
(line 122)
* completion-query-items: Readline Init File Syntax.
(line 129)
* COMPREPLY: Bash Variables. (line 276)
* COMPREPLY: Bash Variables. (line 277)
* convert-meta: Readline Init File Syntax.
(line 140)
* COPROC: Bash Variables. (line 282)
* DIRSTACK: Bash Variables. (line 286)
* COPROC: Bash Variables. (line 283)
* DIRSTACK: Bash Variables. (line 287)
* disable-completion: Readline Init File Syntax.
(line 152)
* echo-control-characters: Readline Init File Syntax.
(line 157)
* editing-mode: Readline Init File Syntax.
(line 162)
* EMACS: Bash Variables. (line 296)
* EMACS: Bash Variables. (line 297)
* emacs-mode-string: Readline Init File Syntax.
(line 168)
* enable-active-region The: Readline Init File Syntax.
@@ -12927,72 +12928,72 @@ D.3 Parameter and Variable Index
(line 200)
* enable-meta-key: Readline Init File Syntax.
(line 205)
* ENV: Bash Variables. (line 301)
* EPOCHREALTIME: Bash Variables. (line 306)
* EPOCHSECONDS: Bash Variables. (line 314)
* EUID: Bash Variables. (line 321)
* EXECIGNORE: Bash Variables. (line 325)
* ENV: Bash Variables. (line 302)
* EPOCHREALTIME: Bash Variables. (line 307)
* EPOCHSECONDS: Bash Variables. (line 315)
* EUID: Bash Variables. (line 322)
* EXECIGNORE: Bash Variables. (line 326)
* expand-tilde: Readline Init File Syntax.
(line 215)
* FCEDIT: Bash Variables. (line 337)
* FIGNORE: Bash Variables. (line 340)
* FCEDIT: Bash Variables. (line 338)
* FIGNORE: Bash Variables. (line 341)
* force-meta-prefix: Readline Init File Syntax.
(line 219)
* FUNCNAME: Bash Variables. (line 346)
* FUNCNEST: Bash Variables. (line 363)
* GLOBIGNORE: Bash Variables. (line 368)
* GLOBSORT: Bash Variables. (line 375)
* GROUPS: Bash Variables. (line 413)
* histchars: Bash Variables. (line 419)
* HISTCMD: Bash Variables. (line 433)
* HISTCONTROL: Bash Variables. (line 439)
* HISTFILE: Bash Variables. (line 457)
* HISTFILESIZE: Bash Variables. (line 463)
* HISTIGNORE: Bash Variables. (line 474)
* FUNCNAME: Bash Variables. (line 347)
* FUNCNEST: Bash Variables. (line 364)
* GLOBIGNORE: Bash Variables. (line 369)
* GLOBSORT: Bash Variables. (line 376)
* GROUPS: Bash Variables. (line 414)
* histchars: Bash Variables. (line 420)
* HISTCMD: Bash Variables. (line 434)
* HISTCONTROL: Bash Variables. (line 440)
* HISTFILE: Bash Variables. (line 458)
* HISTFILESIZE: Bash Variables. (line 464)
* HISTIGNORE: Bash Variables. (line 475)
* history-preserve-point: Readline Init File Syntax.
(line 232)
* history-size: Readline Init File Syntax.
(line 238)
* HISTSIZE: Bash Variables. (line 498)
* HISTTIMEFORMAT: Bash Variables. (line 505)
* HISTSIZE: Bash Variables. (line 499)
* HISTTIMEFORMAT: Bash Variables. (line 506)
* HOME: Bourne Shell Variables.
(line 13)
* horizontal-scroll-mode: Readline Init File Syntax.
(line 248)
* HOSTFILE: Bash Variables. (line 514)
* HOSTNAME: Bash Variables. (line 525)
* HOSTTYPE: Bash Variables. (line 528)
* HOSTFILE: Bash Variables. (line 515)
* HOSTNAME: Bash Variables. (line 526)
* HOSTTYPE: Bash Variables. (line 529)
* IFS: Bourne Shell Variables.
(line 18)
* IGNOREEOF: Bash Variables. (line 531)
* IGNOREEOF: Bash Variables. (line 532)
* input-meta: Readline Init File Syntax.
(line 256)
* INPUTRC: Bash Variables. (line 540)
* INSIDE_EMACS: Bash Variables. (line 544)
* INPUTRC: Bash Variables. (line 541)
* INSIDE_EMACS: Bash Variables. (line 545)
* isearch-terminators: Readline Init File Syntax.
(line 267)
* keymap: Readline Init File Syntax.
(line 274)
* LANG: Creating Internationalized Scripts.
(line 51)
* LANG <1>: Bash Variables. (line 550)
* LC_ALL: Bash Variables. (line 554)
* LC_COLLATE: Bash Variables. (line 558)
* LC_CTYPE: Bash Variables. (line 565)
* LANG <1>: Bash Variables. (line 551)
* LC_ALL: Bash Variables. (line 555)
* LC_COLLATE: Bash Variables. (line 559)
* LC_CTYPE: Bash Variables. (line 566)
* LC_MESSAGES: Creating Internationalized Scripts.
(line 51)
* LC_MESSAGES <1>: Bash Variables. (line 570)
* LC_NUMERIC: Bash Variables. (line 574)
* LC_TIME: Bash Variables. (line 578)
* LINENO: Bash Variables. (line 582)
* LINES: Bash Variables. (line 589)
* MACHTYPE: Bash Variables. (line 595)
* LC_MESSAGES <1>: Bash Variables. (line 571)
* LC_NUMERIC: Bash Variables. (line 575)
* LC_TIME: Bash Variables. (line 579)
* LINENO: Bash Variables. (line 583)
* LINES: Bash Variables. (line 590)
* MACHTYPE: Bash Variables. (line 596)
* MAIL: Bourne Shell Variables.
(line 24)
* MAILCHECK: Bash Variables. (line 599)
* MAILCHECK: Bash Variables. (line 600)
* MAILPATH: Bourne Shell Variables.
(line 29)
* MAPFILE: Bash Variables. (line 607)
* MAPFILE: Bash Variables. (line 608)
* mark-modified-lines: Readline Init File Syntax.
(line 304)
* mark-symlinked-directories: Readline Init File Syntax.
@@ -13003,46 +13004,46 @@ D.3 Parameter and Variable Index
(line 321)
* meta-flag: Readline Init File Syntax.
(line 256)
* OLDPWD: Bash Variables. (line 611)
* OLDPWD: Bash Variables. (line 612)
* OPTARG: Bourne Shell Variables.
(line 36)
* OPTERR: Bash Variables. (line 614)
* OPTERR: Bash Variables. (line 615)
* OPTIND: Bourne Shell Variables.
(line 40)
* OSTYPE: Bash Variables. (line 619)
* OSTYPE: Bash Variables. (line 620)
* output-meta: Readline Init File Syntax.
(line 326)
* page-completions: Readline Init File Syntax.
(line 335)
* PATH: Bourne Shell Variables.
(line 44)
* PIPESTATUS: Bash Variables. (line 622)
* POSIXLY_CORRECT: Bash Variables. (line 628)
* PPID: Bash Variables. (line 638)
* PROMPT_COMMAND: Bash Variables. (line 642)
* PROMPT_DIRTRIM: Bash Variables. (line 648)
* PS0: Bash Variables. (line 654)
* PIPESTATUS: Bash Variables. (line 623)
* POSIXLY_CORRECT: Bash Variables. (line 629)
* PPID: Bash Variables. (line 639)
* PROMPT_COMMAND: Bash Variables. (line 643)
* PROMPT_DIRTRIM: Bash Variables. (line 649)
* PS0: Bash Variables. (line 655)
* PS1: Bourne Shell Variables.
(line 53)
* PS2: Bourne Shell Variables.
(line 58)
* PS3: Bash Variables. (line 659)
* PS4: Bash Variables. (line 664)
* PWD: Bash Variables. (line 672)
* RANDOM: Bash Variables. (line 675)
* READLINE_ARGUMENT: Bash Variables. (line 683)
* READLINE_LINE: Bash Variables. (line 687)
* READLINE_MARK: Bash Variables. (line 691)
* READLINE_POINT: Bash Variables. (line 697)
* REPLY: Bash Variables. (line 701)
* PS3: Bash Variables. (line 660)
* PS4: Bash Variables. (line 665)
* PWD: Bash Variables. (line 673)
* RANDOM: Bash Variables. (line 676)
* READLINE_ARGUMENT: Bash Variables. (line 684)
* READLINE_LINE: Bash Variables. (line 688)
* READLINE_MARK: Bash Variables. (line 692)
* READLINE_POINT: Bash Variables. (line 698)
* REPLY: Bash Variables. (line 702)
* revert-all-at-newline: Readline Init File Syntax.
(line 348)
* search-ignore-case: Readline Init File Syntax.
(line 355)
* SECONDS: Bash Variables. (line 705)
* SHELL: Bash Variables. (line 715)
* SHELLOPTS: Bash Variables. (line 720)
* SHLVL: Bash Variables. (line 729)
* SECONDS: Bash Variables. (line 706)
* SHELL: Bash Variables. (line 716)
* SHELLOPTS: Bash Variables. (line 721)
* SHLVL: Bash Variables. (line 730)
* show-all-if-ambiguous: Readline Init File Syntax.
(line 360)
* show-all-if-unmodified: Readline Init File Syntax.
@@ -13051,15 +13052,15 @@ D.3 Parameter and Variable Index
(line 375)
* skip-completed-text: Readline Init File Syntax.
(line 381)
* SRANDOM: Bash Variables. (line 734)
* SRANDOM: Bash Variables. (line 735)
* TEXTDOMAIN: Creating Internationalized Scripts.
(line 51)
* TEXTDOMAINDIR: Creating Internationalized Scripts.
(line 51)
* TIMEFORMAT: Bash Variables. (line 743)
* TMOUT: Bash Variables. (line 782)
* TMPDIR: Bash Variables. (line 794)
* UID: Bash Variables. (line 798)
* TIMEFORMAT: Bash Variables. (line 744)
* TMOUT: Bash Variables. (line 783)
* TMPDIR: Bash Variables. (line 795)
* UID: Bash Variables. (line 799)
* vi-cmd-mode-string: Readline Init File Syntax.
(line 394)
* vi-ins-mode-string: Readline Init File Syntax.
@@ -13508,82 +13509,82 @@ Node: Bourne Shell Builtins151901
Node: Bash Builtins178454
Node: Modifying Shell Behavior214905
Node: The Set Builtin215250
Node: The Shopt Builtin227189
Node: Special Builtins244244
Node: Shell Variables245236
Node: Bourne Shell Variables245673
Node: Bash Variables248184
Node: Bash Features286496
Node: Invoking Bash287513
Node: Bash Startup Files293942
Node: Interactive Shells299237
Node: What is an Interactive Shell?299648
Node: Is this Shell Interactive?300313
Node: Interactive Shell Behavior301140
Node: Bash Conditional Expressions304904
Node: Shell Arithmetic310126
Node: Aliases313458
Node: Arrays316596
Node: The Directory Stack323662
Node: Directory Stack Builtins324462
Node: Controlling the Prompt328910
Node: The Restricted Shell331797
Node: Bash POSIX Mode334682
Node: Shell Compatibility Mode352747
Node: Job Control361757
Node: Job Control Basics362217
Node: Job Control Builtins368498
Node: Job Control Variables375183
Node: Command Line Editing376417
Node: Introduction and Notation378123
Node: Readline Interaction380478
Node: Readline Bare Essentials381669
Node: Readline Movement Commands383480
Node: Readline Killing Commands384479
Node: Readline Arguments386505
Node: Searching387565
Node: Readline Init File389829
Node: Readline Init File Syntax391136
Node: Conditional Init Constructs417886
Node: Sample Init File422274
Node: Bindable Readline Commands425398
Node: Commands For Moving426939
Node: Commands For History429169
Node: Commands For Text434425
Node: Commands For Killing438553
Node: Numeric Arguments441344
Node: Commands For Completion442499
Node: Keyboard Macros447002
Node: Miscellaneous Commands447706
Node: Readline vi Mode454262
Node: Programmable Completion455242
Node: Programmable Completion Builtins463291
Node: A Programmable Completion Example474959
Node: Using History Interactively480307
Node: Bash History Facilities480991
Node: Bash History Builtins484729
Node: History Interaction491203
Node: Event Designators496160
Node: Word Designators497741
Node: Modifiers500052
Node: Installing Bash501996
Node: Basic Installation503115
Node: Compilers and Options506994
Node: Compiling For Multiple Architectures507747
Node: Installation Names509503
Node: Specifying the System Type511740
Node: Sharing Defaults512489
Node: Operation Controls513206
Node: Optional Features514228
Node: Reporting Bugs526611
Node: Major Differences From The Bourne Shell527972
Node: GNU Free Documentation License549395
Node: Indexes574575
Node: Builtin Index575029
Node: Reserved Word Index582130
Node: Variable Index584578
Node: Function Index601994
Node: Concept Index615853
Node: The Shopt Builtin227207
Node: Special Builtins244262
Node: Shell Variables245254
Node: Bourne Shell Variables245691
Node: Bash Variables248202
Node: Bash Features286548
Node: Invoking Bash287565
Node: Bash Startup Files293994
Node: Interactive Shells299289
Node: What is an Interactive Shell?299700
Node: Is this Shell Interactive?300365
Node: Interactive Shell Behavior301192
Node: Bash Conditional Expressions304956
Node: Shell Arithmetic310178
Node: Aliases313510
Node: Arrays316648
Node: The Directory Stack323714
Node: Directory Stack Builtins324514
Node: Controlling the Prompt328962
Node: The Restricted Shell331849
Node: Bash POSIX Mode334734
Node: Shell Compatibility Mode352799
Node: Job Control361809
Node: Job Control Basics362269
Node: Job Control Builtins368550
Node: Job Control Variables375235
Node: Command Line Editing376469
Node: Introduction and Notation378175
Node: Readline Interaction380530
Node: Readline Bare Essentials381721
Node: Readline Movement Commands383532
Node: Readline Killing Commands384531
Node: Readline Arguments386557
Node: Searching387617
Node: Readline Init File389881
Node: Readline Init File Syntax391188
Node: Conditional Init Constructs417938
Node: Sample Init File422326
Node: Bindable Readline Commands425450
Node: Commands For Moving426991
Node: Commands For History429221
Node: Commands For Text434477
Node: Commands For Killing438605
Node: Numeric Arguments441396
Node: Commands For Completion442551
Node: Keyboard Macros447054
Node: Miscellaneous Commands447758
Node: Readline vi Mode454314
Node: Programmable Completion455294
Node: Programmable Completion Builtins463343
Node: A Programmable Completion Example475011
Node: Using History Interactively480359
Node: Bash History Facilities481043
Node: Bash History Builtins484781
Node: History Interaction491255
Node: Event Designators496212
Node: Word Designators497793
Node: Modifiers500104
Node: Installing Bash502048
Node: Basic Installation503167
Node: Compilers and Options507046
Node: Compiling For Multiple Architectures507799
Node: Installation Names509555
Node: Specifying the System Type511792
Node: Sharing Defaults512541
Node: Operation Controls513258
Node: Optional Features514280
Node: Reporting Bugs526663
Node: Major Differences From The Bourne Shell528024
Node: GNU Free Documentation License549447
Node: Indexes574627
Node: Builtin Index575081
Node: Reserved Word Index582182
Node: Variable Index584630
Node: Function Index602046
Node: Concept Index615905

End Tag Table