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
+1
View File
@@ -181,6 +181,7 @@ examples/loadables/print
examples/loadables/printenv
examples/loadables/push
examples/loadables/pushd
examples/loadables/pushd.c
examples/loadables/realpath
examples/loadables/rm
examples/loadables/rmdir
+34
View File
@@ -10597,3 +10597,37 @@ lib/readline/readline.c
- rl_initialize: reset rl_eof_found to 0 at the same time we reset
the EOF state
Report and fix from Andrew Burgess <aburgess@redhat.com> (GDB)
11/6
----
lib/readline/display.c
- rl_redisplay: if we changed screen lines during the redisplay and
we need to return to the line with the cursor, make sure to account
for differing numbers of invisible characters in the two lines
- rl_redisplay: if we need to redisplay the prompt because we moved
into a portion of it containing invisible characters while moving
to the line containing the cursor, make sure to account for the
cursor being on a line other than 0 and the prompt wrapping lines.
If it wraps, we only want to redisplay the portion after the line
wrap before the line the cursor is on
Fix for C locale issues reported by Grisha Levit <grishalevit@gmail.com>
11/7
----
lib/termcap/termcap.c
- tgetent: fix small memory leak on file open error
Makefile.in
- y.tab.h: move from CREATED_HEADERS to INSTALLED_HEADERS so we don't
clean it
- maybe-clean: slightly chnage the syntax of the recipe
doc/Makefile.in
- PSFILES: split into CREATED_PS and ps files from the distro
so we just remove CREATED_PS in maintainer-clean target
- PDFFILES: split into CREATED_PDF and ps files from the distro
so we just remove CREATED_PDF in maintainer-clean targets
- clean,mostlyclean: swap
- mostlyclean: don't remove Makefile
- maybe-clean: use realpath equivalent like in top-level Makefile.in
Report from Mike Jonkmans <bashbug@jonkmans.nl>
+1 -1
View File
@@ -730,7 +730,7 @@ support/mkversion.sh f 755
support/mksignames.c f
support/signames.c f
support/siglen.c f
support/bashbug.sh f
#support/bashbug.sh f
support/bashbug.sh.in f
support/man2html.c f
support/recho.c f
+6 -4
View File
@@ -1,4 +1,4 @@
# Makefile for bash-5.3, version 5.7
# Makefile for bash-5.3, version 5.8
#
# Copyright (C) 1996-2024 Free Software Foundation, Inc.
@@ -498,7 +498,7 @@ INSTALLED_HEADERS = shell.h bashjmp.h command.h syntax.h general.h error.h \
bashtypes.h xmalloc.h config-top.h config-bot.h \
bashintl.h bashansi.h bashjmp.h alias.h hashlib.h \
conftypes.h unwind_prot.h jobs.h siglist.h \
execute_cmd.h
execute_cmd.h y.tab.h
INSTALLED_BUILTINS_HEADERS = bashgetopt.h common.h getopt.h
INSTALLED_INCFILES = posixstat.h ansi_stdlib.h filecntl.h posixdir.h \
memalloc.h stdc.h posixjmp.h posixwait.h posixtime.h systimes.h \
@@ -605,7 +605,7 @@ CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \
examples/loadables/Makefile.inc examples/loadables/Makefile.sample \
examples/loadables/perl/Makefile support/Makefile \
lib/intl/Makefile po/Makefile po/Makefile.in
CREATED_HEADERS = signames.h config.h pathnames.h version.h y.tab.h \
CREATED_HEADERS = signames.h config.h pathnames.h version.h \
${DEFDIR}/builtext.h
OTHER_DOCS = $(srcdir)/CHANGES $(srcdir)/COMPAT $(srcdir)/NEWS $(srcdir)/POSIX \
@@ -1013,7 +1013,9 @@ maintainer-clean: basic-clean
$(RM) -rf $(CREATED_MACOS)
maybe-clean:
-if test X"`cd $(topdir) && pwd -P`" != X"`cd $(BUILD_DIR) && pwd -P`" ; then \
-TD=$$(cd $(topdir) && pwd -P); \
BD=$$(cd $(BUILD_DIR) && pwd -P); \
if test X"$$TD" != X"$$BD" ; then \
$(RM) parser-built y.tab.c y.tab.h ; \
fi
+14 -9
View File
@@ -157,12 +157,14 @@ all: info dvi text html pdf $(MAN2HTML)
nodvi: ps info text html
everything: all ps
PSFILES = bash.ps article.ps
DVIFILES = bashref.dvi bashref.ps
CREATED_PS = bash.ps bashref.ps
PSFILES = ${CREATED_PS} article.ps
DVIFILES = bashref.dvi
INFOFILES = bashref.info bash.info
MAN0FILES = bash.0 bashbug.0 builtins.0 rbash.0
HTMLFILES = bashref.html bash.html
PDFFILES = bash.pdf bashref.pdf builtins.pdf rbash.pdf article.pdf rose94.pdf
CREATED_PDF = bash.pdf bashref.pdf builtins.pdf rbash.pdf
PDFFILES = ${CREATED_PDF} article.pdf rose94.pdf
ps: ${PSFILES}
dvi: ${DVIFILES}
@@ -220,25 +222,28 @@ OTHER_INSTALLED_DOCS = FAQ INTRO
$(MAN2HTML): ${topdir}/support/man2html.c
-( cd ${BUILD_DIR}/support ; ${MAKE} ${BASH_MAKEFLAGS} man2html)
clean:
mostlyclean:
$(RM) *.aux *.bak *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps \
*.pgs *.bt *.bts *.rw *.rws *.fns *.kys *.tps *.vrs *.o
${RM} core *.core
mostlyclean: clean
$(RM) Makefile
clean: mostlyclean
distclean: clean maybe-clean
$(RM) Makefile
maintainer-clean: clean
${RM} ${PSFILES} ${DVIFILES} ${INFOFILES} ${MAN0FILES} ${HTMLFILES}
${RM} ${DVIFILES} ${INFOFILES} ${MAN0FILES} ${HTMLFILES}
${RM} ${CREATED_PS} ${CREATED_PDF}
${RM} ${CREATED_FAQ}
$(RM) Makefile
# I'd like to use realpath here, but it's not universal
maybe-clean:
-if test "X$(topdir)" != "X$(BUILD_DIR)"; then \
$(RM) ${PSFILES} ${DVIFILES} ${INFOFILES} ${MAN0FILES} ${HTMLFILES}; \
-TD=$$(cd $(topdir) && pwd -P) ; \
BD=$$(cd $(BUILD_DIR) && pwd -P) ; \
if test "X$$TD" != "X$$BD"; then \
$(RM) ${CREATED_PS} ${DVIFILES} ${INFOFILES} ${MAN0FILES} ${HTMLFILES} ${CREATED_PDF}; \
fi
installdirs:
+2690 -2689
View File
File diff suppressed because it is too large Load Diff
+5 -4
View File
@@ -2886,7 +2886,8 @@ is not used to search for the resultant filename.
If set to an integer corresponding to a valid file descriptor, <B>bash</B>
will write the trace output generated when
is enabled to that file descriptor.
is enabled to that file descriptor,
instead of the standard error.
The file descriptor is closed when
<FONT SIZE=-1><B>BASH_XTRACEFD</B>
@@ -3266,7 +3267,7 @@ split lines into words with the
<B>read</B>
builtin command.
Word splitting is described above under
Word splitting is described below under
<FONT SIZE=-1><B>EXPANSION</B>.
</FONT>
@@ -16506,7 +16507,7 @@ Array variables may not (yet) be exported.
<DT><A HREF="#lbDJ">BUGS</A><DD>
</DL>
<HR>
This document was created by man2html from /usr/local/src/bash/bash-20241031/doc/bash.1.<BR>
Time: 01 November 2024 18:25:05 EDT
This document was created by man2html from /usr/local/src/bash/bash-20241104/doc/bash.1.<BR>
Time: 04 November 2024 18:15:00 EST
</BODY>
</HTML>
+163 -162
View File
@@ -4996,7 +4996,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
@@ -5773,13 +5773,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
@@ -12879,21 +12880,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.
@@ -12904,18 +12905,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.
@@ -12926,72 +12927,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.
@@ -13002,46 +13003,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.
@@ -13050,15 +13051,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.
@@ -13507,82 +13508,82 @@ Node: Bourne Shell Builtins151742
Node: Bash Builtins178292
Node: Modifying Shell Behavior214740
Node: The Set Builtin215082
Node: The Shopt Builtin227018
Node: Special Builtins244070
Node: Shell Variables245059
Node: Bourne Shell Variables245493
Node: Bash Variables248001
Node: Bash Features286310
Node: Invoking Bash287324
Node: Bash Startup Files293750
Node: Interactive Shells299042
Node: What is an Interactive Shell?299450
Node: Is this Shell Interactive?300112
Node: Interactive Shell Behavior300936
Node: Bash Conditional Expressions304697
Node: Shell Arithmetic309916
Node: Aliases313245
Node: Arrays316380
Node: The Directory Stack323443
Node: Directory Stack Builtins324240
Node: Controlling the Prompt328685
Node: The Restricted Shell331569
Node: Bash POSIX Mode334451
Node: Shell Compatibility Mode352513
Node: Job Control361520
Node: Job Control Basics361977
Node: Job Control Builtins368255
Node: Job Control Variables374937
Node: Command Line Editing376168
Node: Introduction and Notation377871
Node: Readline Interaction380223
Node: Readline Bare Essentials381411
Node: Readline Movement Commands383219
Node: Readline Killing Commands384215
Node: Readline Arguments386238
Node: Searching387295
Node: Readline Init File389556
Node: Readline Init File Syntax390860
Node: Conditional Init Constructs417607
Node: Sample Init File421992
Node: Bindable Readline Commands425113
Node: Commands For Moving426651
Node: Commands For History428878
Node: Commands For Text434131
Node: Commands For Killing438256
Node: Numeric Arguments441044
Node: Commands For Completion442196
Node: Keyboard Macros446696
Node: Miscellaneous Commands447397
Node: Readline vi Mode453950
Node: Programmable Completion454927
Node: Programmable Completion Builtins462973
Node: A Programmable Completion Example474638
Node: Using History Interactively479983
Node: Bash History Facilities480664
Node: Bash History Builtins484399
Node: History Interaction490870
Node: Event Designators495824
Node: Word Designators497402
Node: Modifiers499710
Node: Installing Bash501651
Node: Basic Installation502767
Node: Compilers and Options506643
Node: Compiling For Multiple Architectures507393
Node: Installation Names509146
Node: Specifying the System Type511380
Node: Sharing Defaults512126
Node: Operation Controls512840
Node: Optional Features513859
Node: Reporting Bugs526239
Node: Major Differences From The Bourne Shell527597
Node: GNU Free Documentation License549017
Node: Indexes574194
Node: Builtin Index574645
Node: Reserved Word Index581743
Node: Variable Index584188
Node: Function Index601601
Node: Concept Index615457
Node: The Shopt Builtin227036
Node: Special Builtins244088
Node: Shell Variables245077
Node: Bourne Shell Variables245511
Node: Bash Variables248019
Node: Bash Features286362
Node: Invoking Bash287376
Node: Bash Startup Files293802
Node: Interactive Shells299094
Node: What is an Interactive Shell?299502
Node: Is this Shell Interactive?300164
Node: Interactive Shell Behavior300988
Node: Bash Conditional Expressions304749
Node: Shell Arithmetic309968
Node: Aliases313297
Node: Arrays316432
Node: The Directory Stack323495
Node: Directory Stack Builtins324292
Node: Controlling the Prompt328737
Node: The Restricted Shell331621
Node: Bash POSIX Mode334503
Node: Shell Compatibility Mode352565
Node: Job Control361572
Node: Job Control Basics362029
Node: Job Control Builtins368307
Node: Job Control Variables374989
Node: Command Line Editing376220
Node: Introduction and Notation377923
Node: Readline Interaction380275
Node: Readline Bare Essentials381463
Node: Readline Movement Commands383271
Node: Readline Killing Commands384267
Node: Readline Arguments386290
Node: Searching387347
Node: Readline Init File389608
Node: Readline Init File Syntax390912
Node: Conditional Init Constructs417659
Node: Sample Init File422044
Node: Bindable Readline Commands425165
Node: Commands For Moving426703
Node: Commands For History428930
Node: Commands For Text434183
Node: Commands For Killing438308
Node: Numeric Arguments441096
Node: Commands For Completion442248
Node: Keyboard Macros446748
Node: Miscellaneous Commands447449
Node: Readline vi Mode454002
Node: Programmable Completion454979
Node: Programmable Completion Builtins463025
Node: A Programmable Completion Example474690
Node: Using History Interactively480035
Node: Bash History Facilities480716
Node: Bash History Builtins484451
Node: History Interaction490922
Node: Event Designators495876
Node: Word Designators497454
Node: Modifiers499762
Node: Installing Bash501703
Node: Basic Installation502819
Node: Compilers and Options506695
Node: Compiling For Multiple Architectures507445
Node: Installation Names509198
Node: Specifying the System Type511432
Node: Sharing Defaults512178
Node: Operation Controls512892
Node: Optional Features513911
Node: Reporting Bugs526291
Node: Major Differences From The Bourne Shell527649
Node: GNU Free Documentation License549069
Node: Indexes574246
Node: Builtin Index574697
Node: Reserved Word Index581795
Node: Variable Index584240
Node: Function Index601653
Node: Concept Index615509

End Tag Table
BIN
View File
Binary file not shown.
-11551
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+3 -2
View File
@@ -6619,7 +6619,7 @@ shell will exit.
</p>
</dd>
<dt><code class="code">-v</code></dt>
<dd><p>Print shell input lines as they are read.
<dd><p>Print shell input lines to standard error as they are read.
</p>
</dd>
<dt><code class="code">-x</code></dt>
@@ -7591,7 +7591,8 @@ Bash (e.g., 5.2.37(3)-release).
<dt><a id="index-BASH_005fXTRACEFD"></a><span><code class="code">BASH_XTRACEFD</code><a class="copiable-link" href="#index-BASH_005fXTRACEFD"> &para;</a></span></dt>
<dd><p>If set to an integer corresponding to a valid file descriptor, Bash
will write the trace output generated when &lsquo;<samp class="samp">set -x</samp>&rsquo;
is enabled to that file descriptor.
is enabled to 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 <code class="code">BASH_XTRACEFD</code> is unset or assigned
+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
View File
+53 -29
View File
@@ -1,12 +1,11 @@
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/MacPorts 2024.70613_0) (preloaded format=etex 2024.4.9) 1 NOV 2024 18:25
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/MacPorts 2024.70613_0) (preloaded format=pdfetex 2024.4.9) 4 NOV 2024 18:15
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**\nonstopmode \input /usr/local/src/bash/bash-20241031/doc/bashref.texi \input
/usr/local/src/bash/bash-20241031/doc/bashref.texi
(/usr/local/src/bash/bash-20241031/doc/bashref.texi
(/usr/local/src/bash/bash-20241031/doc/texinfo.tex
**\input /usr/local/src/bash/bash-20241104/doc/bashref.texi
(/usr/local/src/bash/bash-20241104/doc/bashref.texi
(/usr/local/src/bash/bash-20241104/doc/texinfo.tex
Loading texinfo [version 2015-11-22.14]:
\outerhsize=\dimen16
\outervsize=\dimen17
@@ -162,20 +161,23 @@ This is `epsf.tex' v2.7.4 <14 February 2011>
texinfo.tex: doing @include of version.texi
(/usr/local/src/bash/bash-20241031/doc/version.texi) [1] [2]
(/usr/local/build/bash/bash-20241031/doc/bashref.toc [-1] [-2] [-3]) [-4]
Chapter 1
(/usr/local/src/bash/bash-20241104/doc/version.texi) [1{/opt/local/var/db/texmf
/fonts/map/pdftex/updmap/pdftex.map}] [2]
(/usr/local/build/bash/bash-20241104/doc/bashref.toc [-1] [-2] [-3]) [-4]
(/usr/local/build/bash/bash-20241104/doc/bashref.toc)
(/usr/local/build/bash/bash-20241104/doc/bashref.toc) Chapter 1
\openout0 = `bashref.toc'.
(/usr/local/build/bash/bash-20241031/doc/bashref.aux)
(/usr/local/build/bash/bash-20241104/doc/bashref.aux)
\openout1 = `bashref.aux'.
[1] Chapter 2
[2]
[1] Chapter 2 [2]
@cpindfile=@write2
\openout2 = `bashref.cp'.
[3] Chapter 3 [4] [5] [6] [7]
[3] Chapter 3 [4] [5] [6] [7]
@vrindfile=@write3
\openout3 = `bashref.vr'.
@@ -219,15 +221,16 @@ Overfull \hbox (5.95723pt too wide) in paragraph at lines 741--742
@rwindfile=@write4
\openout4 = `bashref.rw'.
[10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]
[24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38]
[39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] Chapter 4 [50]
[10] [11] [12] [13] [14] [15] [16] [17] [18] [19{/opt/local/share/texmf-texliv
e/fonts/enc/dvips/cm-super/cm-super-t1.enc}] [20] [21] [22] [23] [24]
[25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39]
[40] [41] [42] [43] [44] [45] [46] [47] [48] [49] Chapter 4 [50]
@btindfile=@write5
\openout5 = `bashref.bt'.
[51]
[52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66]
[67] [68] [69] [70] [71]
[51] [52]
[53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67]
[68] [69] [70] [71]
Overfull \hbox (38.26585pt too wide) in paragraph at lines 5747--5747
[]@texttt set [-abefhkmnptuvxBCEHPT] [-o @textttsl option-name@texttt ] [--] [
-] [@textttsl ar-gu-ment []@texttt ][]
@@ -261,7 +264,7 @@ Overfull \hbox (38.26585pt too wide) in paragraph at lines 5748--5748
texinfo.tex: doing @include of rluser.texi
(/usr/local/src/bash/bash-20241031/lib/readline/doc/rluser.texi Chapter 8
(/usr/local/src/bash/bash-20241104/lib/readline/doc/rluser.texi Chapter 8
[127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138]
Underfull \hbox (badness 7540) in paragraph at lines 959--965
[]@textrm In the ex-am-ple above, @textttsl C-u[] @textrm is bound to the func
@@ -310,10 +313,10 @@ gnored[]
texinfo.tex: doing @include of hsuser.texi
(/usr/local/src/bash/bash-20241031/lib/readline/doc/hsuser.texi Chapter 9
(/usr/local/src/bash/bash-20241104/lib/readline/doc/hsuser.texi Chapter 9
[164] [165] [166] [167] [168] [169] [170]) Chapter 10 [171] [172] [173]
[174] [175]
Underfull \hbox (badness 10000) in paragraph at lines 10389--10398
Underfull \hbox (badness 10000) in paragraph at lines 10390--10399
[]@textrm All of the fol-low-ing op-tions ex-cept for `@texttt alt-array-implem
entation[]@textrm '[],
@@ -326,7 +329,7 @@ entation[]@textrm '[],
.etc.
Underfull \hbox (badness 10000) in paragraph at lines 10389--10398
Underfull \hbox (badness 10000) in paragraph at lines 10390--10399
@textrm `@texttt disabled-builtins[]@textrm '[], `@texttt direxpand-default[]@t
extrm '[], `@texttt strict-posix-default[]@textrm '[], and
@@ -343,16 +346,37 @@ extrm '[], `@texttt strict-posix-default[]@textrm '[], and
texinfo.tex: doing @include of fdl.texi
(/usr/local/src/bash/bash-20241031/doc/fdl.texi [189] [190] [191] [192]
(/usr/local/src/bash/bash-20241104/doc/fdl.texi [189] [190] [191] [192]
[193] [194] [195]) Appendix D [196] [197] [198] [199] [200] [201] [202]
[203] [204] [205] )
Here is how much of TeX's memory you used:
3531 strings out of 495850
40273 string characters out of 6172145
88589 words of memory out of 5000000
4879 multiletter control sequences out of 15000+600000
4113 strings out of 495840
47653 string characters out of 6171739
144767 words of memory out of 5000000
5048 multiletter control sequences out of 15000+600000
34315 words of font info for 116 fonts, out of 8000000 for 9000
701 hyphenation exceptions out of 8191
16i,6n,16p,402b,942s stack positions out of 10000i,1000n,20000p,200000b,200000s
16i,6n,16p,331b,983s stack positions out of 10000i,1000n,20000p,200000b,200000s
</opt/local/share/texmf-texlive/fonts/type1/public/amsfonts/
cm/cmbx12.pfb></opt/local/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cm
csc10.pfb></opt/local/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmmi10
.pfb></opt/local/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmmi12.pfb>
</opt/local/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmmi9.pfb></opt/
local/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmr10.pfb></opt/local/
share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmr9.pfb></opt/local/share/t
exmf-texlive/fonts/type1/public/amsfonts/cm/cmsl10.pfb></opt/local/share/texmf-
texlive/fonts/type1/public/amsfonts/cm/cmsltt10.pfb></opt/local/share/texmf-tex
live/fonts/type1/public/amsfonts/cm/cmsy10.pfb></opt/local/share/texmf-texlive/
fonts/type1/public/amsfonts/cm/cmti10.pfb></opt/local/share/texmf-texlive/fonts
/type1/public/amsfonts/cm/cmtt10.pfb></opt/local/share/texmf-texlive/fonts/type
1/public/amsfonts/cm/cmtt12.pfb></opt/local/share/texmf-texlive/fonts/type1/pub
lic/amsfonts/cm/cmtt9.pfb></opt/local/share/texmf-texlive/fonts/type1/public/cm
-super/sfrm1095.pfb></opt/local/share/texmf-texlive/fonts/type1/public/cm-super
/sfrm1440.pfb>
Output written on bashref.pdf (211 pages, 845976 bytes).
PDF statistics:
2927 PDF objects out of 2984 (max. 8388607)
2668 compressed objects within 27 object streams
339 named destinations out of 1000 (max. 500000)
1157 words of extra memory for PDF output out of 10000 (max. 10000000)
Output written on bashref.dvi (211 pages, 885144 bytes).
BIN
View File
Binary file not shown.
View File
-23906
View File
File diff suppressed because it is too large Load Diff
-19
View File
@@ -1,19 +0,0 @@
This text is a brief description of the features that are present in
the Bash shell (version @value{VERSION}, @value{UPDATED}).
This is Edition @value{EDITION}, last updated @value{UPDATED},
of @cite{The GNU Bash Reference Manual},
for @code{Bash}, Version @value{VERSION}.
Copyright @copyright{} 1988--2014 Free Software Foundation, Inc.
@quotation
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled
``GNU Free Documentation License''.
@end quotation
@empty
View File
+26 -7
View File
@@ -1474,13 +1474,22 @@ rl_redisplay (void)
changed_screen_line = _rl_last_v_pos != cursor_linenum;
if (changed_screen_line)
{
int physpos;
/* The physpos calculation is to account for lines with differing
numbers of invisible characters. */
if (mb_cur_max == 1 || rl_byte_oriented)
physpos = _rl_last_c_pos - WRAP_OFFSET (_rl_last_v_pos, visible_wrap_offset);
/* Move to the line where the cursor will be. */
_rl_move_vert (cursor_linenum);
/* If we moved up to the line with the prompt using _rl_term_up,
the physical cursor position on the screen stays the same,
but the buffer position needs to be adjusted to account
for invisible characters. */
if ((mb_cur_max == 1 || rl_byte_oriented) && cursor_linenum == 0 && wrap_offset)
_rl_last_c_pos += wrap_offset;
if ((mb_cur_max == 1 || rl_byte_oriented) && cursor_linenum == prompt_last_screen_line)
_rl_last_c_pos = physpos + WRAP_OFFSET (cursor_linenum, wrap_offset);;
}
/* Now we move the cursor to where it needs to be. First, make
@@ -1492,20 +1501,29 @@ rl_redisplay (void)
only need to reprint it if the cursor is before the last
invisible character in the prompt string. */
/* XXX - why not use local_prompt_len? */
/* XXX - This is right only if the prompt is a single line. */
nleft = prompt_visible_length + wrap_offset;
if (cursor_linenum == 0 && wrap_offset > 0 && _rl_last_c_pos > 0 &&
_rl_last_c_pos < PROMPT_ENDING_INDEX && local_prompt)
if (cursor_linenum == prompt_last_screen_line && wrap_offset > 0 &&
_rl_last_c_pos > 0 && local_prompt &&
_rl_last_c_pos < PROMPT_ENDING_INDEX)
{
int pmt_offset;
_rl_cr ();
if (modmark)
_rl_output_some_chars ("*", 1);
_rl_output_some_chars (local_prompt, nleft);
/* If the number of characters in local_prompt is greater than
the screen width, the prompt wraps. We only want to print the
portion after the line wrap. */
pmt_offset = local_prompt_newlines[cursor_linenum];
if (cursor_linenum > 0 && pmt_offset > 0 && nleft > pmt_offset)
_rl_output_some_chars (local_prompt + pmt_offset, nleft - pmt_offset);
else
_rl_output_some_chars (local_prompt, nleft);
if (mb_cur_max > 1 && rl_byte_oriented == 0)
_rl_last_c_pos = _rl_col_width (local_prompt, 0, nleft, 1) - wrap_offset + modmark;
else
_rl_last_c_pos = nleft + modmark;
_rl_last_c_pos = nleft + modmark; /* buffer position */
}
/* Where on that line? And where does that line start
@@ -1524,6 +1542,7 @@ rl_redisplay (void)
the prompt, and there's no good way to tell it, we compensate for
those characters here and call _rl_backspace() directly if
necessary */
/* XXX - might need to check cursor_linenum == prompt_last_screen_line like above. */
if (wrap_offset && cursor_linenum == 0 && nleft < _rl_last_c_pos)
{
/* TX == new physical cursor position in multibyte locale. */
+4 -1
View File
@@ -536,7 +536,10 @@ tgetent (bp, name)
fd = open (termcap_name, O_RDONLY, 0);
#endif
if (fd < 0)
return -1;
{
free (indirect);
return -1;
}
buf.size = BUFSIZE;
/* Add 1 to size to ensure room for terminating null. */