Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16272
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Greg Price <gnprice@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | [PATCH] bash.1: document /etc/inputrc |
| Date | Sun, 3 May 2020 20:01:13 -0700 |
| Lines | 35 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.2029.1588561288.3066.bug-bash@gnu.org> (permalink) |
| References | <CAFCC3eubY1eDgi5gqcz0XctjqtrPRVN+15oxwfLtsULCR+1ffw@mail.gmail.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Trace | usenet.stanford.edu 1588561289 24093 209.51.188.17 (4 May 2020 03:01:29 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash@gnu.org |
| Envelope-to | bug-bash@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=jDInJKXfbwJ5ifgknBWnUWYaw714175lbVdGjVlboQc=; b=mt7KB3rHN+4zdQgh4sNU9yZIf6U4S4pP9J8ITzzCCM9yFXslyWud1Jxq+ckvZUgNRX zhC59Kt+AY5hWqUDO7kZ7e5KCVGOd71K6xuMbDE6xxMfB6jZXcSBtslxyi0ERTEIS4Co tV6zzplaSOBdw5e8kaVqUSvCsE8LvEkSMBv5Ktq6EFVFLeqA4fxJHoRbaCUQC7n7S3VJ JpoJoP4a3By5LXqfJ7RKNkDB5WEV4zGNPAWQdh9WGmDNXOhr+CykSNAaytlV6gKMr17g jTwBZvodvKRPFPD/DULsfvBnKMOxScrVBg1z9G3f8ufW0pTGMfXcB+Ho7MEqDOxwgeZd f53w== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jDInJKXfbwJ5ifgknBWnUWYaw714175lbVdGjVlboQc=; b=CCO8CHbIZTI4+9rQrTGcXfTMnuZWcXYbRuoNOTVGr7q1lbsjySHciKWkLxkhnpo5KG HqQwRi/3alJA5nCog4OJ5RrtLcG/s+FmXNcBx9xZY4mb0eIhQDSEX4uT/WPhLH/tKfdN nwcij4C9i5GAEh7rN2KRCvYnYqB3CiJJSlzHu0UTvw04QD//rTOOB4EJVXaY1FuDQXaL Fd0lsK1q5cfRXPpzKbzHGNzj06UpAG91CU+t5tYqSKkoG0bizEnYQOsCwSnz2n7jqT5e jeqbyEInEirMsRt7LsZgTN5S5jFrABgxAwcpumWaevl7/4yPnCCG8OBfvqAeRLhzxHcp nXWw== |
| X-Gm-Message-State | AGi0PuY+Nr6jZ+9gfcF9DIsVMqIffw2hF6MSJkCr6ofGvmjFjPOUM8DW P8R0huv0udnt5CvaoLCydcXEBcCR1Wd/ss8ka2Z/BhyJbs0= |
| X-Google-Smtp-Source | APiQypIZqMVal7/J3sJ1JzHEqkNhVkr5g//1qM9bQEsih+JbfwshIq/cNIdh0ufI45rwbbYCCNpUWA9cm4lZoVTy4kk= |
| X-Received | by 2002:a1c:7f86:: with SMTP id a128mr12093147wmd.95.1588561283904; Sun, 03 May 2020 20:01:23 -0700 (PDT) |
| Received-SPF | pass client-ip=2a00:1450:4864:20::343; envelope-from=gnprice@gmail.com; helo=mail-wm1-x343.google.com |
| X-detected-operating-system | by eggs.gnu.org: No matching host in p0f cache. That's all we know. |
| X-Spam_score_int | -20 |
| X-Spam_score | -2.1 |
| X-Spam_bar | -- |
| X-Spam_report | (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN |
| X-Spam_action | no action |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <CAFCC3eubY1eDgi5gqcz0XctjqtrPRVN+15oxwfLtsULCR+1ffw@mail.gmail.com> |
| Xref | csiph.com gnu.bash.bug:16272 |
Show key headers only | View raw
This patch amends bash.1 to explain the sequence of places the inputrc is found (INPUTRC, ~/.inputrc, /etc/inputrc) in the same way as in readline.3 and bash.info. The existing text had me puzzled for a bit, as it seemed to say that /etc/inputrc wasn't part of Bash's own behavior, even though I knew I'd seen it take effect when I didn't have a ~/.inputrc. I spent a few minutes searching to see where in my dotfiles or in /etc/ the convention of /etc/inputrc might have come from, before finding it in a grep of the Bash source tree. :-) Hopefully this patch can prevent the same confusion for others. Thanks, regards, Greg --- doc/bash.1 | 2 ++ 1 file changed, 2 insertions(+) diff --git doc/bash.1 doc/bash.1 index 151c14cb5..7ba22b614 100644 --- doc/bash.1 +++ doc/bash.1 @@ -5492,6 +5492,8 @@ The name of this file is taken from the value of the .B INPUTRC variable. If that variable is unset, the default is .IR ~/.inputrc . +If that file does not exist or cannot be read, the ultimate default is +.IR /etc/inputrc . When a program which uses the readline library starts up, the initialization file is read, and the key bindings and variables are set. --
Back to gnu.bash.bug | Previous | Next | Find similar
[PATCH] bash.1: document /etc/inputrc Greg Price <gnprice@gmail.com> - 2020-05-03 20:01 -0700
csiph-web