Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16617
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Daniel Molina <lluvia@autistici.org> |
| Newsgroups | gnu.bash.bug |
| Subject | apparent inconsistencies in readline documentation |
| Date | Sat, 25 Jul 2020 18:21:14 +0200 |
| Lines | 33 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.49.1595694085.2739.bug-bash@gnu.org> (permalink) |
| References | <74580fd0-3f5c-6aab-ec65-815ec18d6781@autistici.org> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | base64 |
| X-Trace | usenet.stanford.edu 1595694086 30747 209.51.188.17 (25 Jul 2020 16:21:26 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=autistici.org; s=stigmate; t=1595694075; bh=NrC+f05BK72VC9qoF6Mi2RFzY5giKo4+CQzr5Z0Z6vE=; h=To:From:Subject:Date:From; b=JIP0XQOu3MlMdZKMdqkvn3KCcSpumV833l+4XrQtjsLvhppaAvaNQmqdOpqlt7Ioi cfsxEFld+yt9uGYireF7sKRENmWgU2xiPByRRIDwH2fgNxUp3QhrQJYwDFCoijPK4w jRASuOctc0f91zf8PL+83HiAbSSQ/oZVVHQJeWnU= |
| Autocrypt | addr=lluvia@autistici.org; keydata= mDMEXoeR3RYJKwYBBAHaRw8BAQdAmr3tZyvyItPdG+8oatTGRhfNtufi1UNhrp2Rkv76HAu0 JERhbmllbCBNb2xpbmEgPGxsdXZpYUBhdXRpc3RpY2kub3JnPoiWBBMWCAA+FiEEHm1z74XJ mJ4BKDf35qT7BGKNX8EFAl6Hkd0CGwMFCQlmAYAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA CgkQ5qT7BGKNX8HgDwEA5tK60QwM95BRbN2RG2VLnjk4Ot8RCzyA9pAJ4DVfQ1sBAKNBZr+g D6oNVbZFTwQWs+dgsDqzKzDrhZgu6Z2QN1sOuDgEXoeR3RIKKwYBBAGXVQEFAQEHQEQyX/6Y G3vNha9Zl0B7hcrRR76r2Cnsqv7EbODDZidSAwEIB4h+BBgWCAAmFiEEHm1z74XJmJ4BKDf3 5qT7BGKNX8EFAl6Hkd0CGwwFCQlmAYAACgkQ5qT7BGKNX8E6FwD/eutehycYLRbp1PpsfGs4 SbTA7zxHtYgxfecD4lyMxosBAMbpgEEOhQs4wl+S+Azu9E8HxC8l2WENAZiwLD8He7oC |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
| Content-Language | en-US |
| Received-SPF | pass client-ip=198.167.222.108; envelope-from=lluvia@autistici.org; helo=devianza.investici.org |
| X-detected-operating-system | by eggs.gnu.org: First seen = 2020/07/25 12:21:15 |
| X-ACL-Warn | Detected OS = Linux 2.2.x-3.x [generic] |
| 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no |
| X-Spam_action | no action |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.23 |
| 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 | <74580fd0-3f5c-6aab-ec65-815ec18d6781@autistici.org> |
| Xref | csiph.com gnu.bash.bug:16617 |
Show key headers only | View raw
Hi,
I found some aspects of readline documentation that seem inconsistent to
me and I wanted to share them.
1. The difference between backward-kill-line and unix-line-discard
readline commands.
Documentation states:
backward-kill-line (C-x Rubout)
Kill backward to the beginning of the line.
unix-line-discard (C-u)
Kill backward from point to the beginning of the
line. The
killed text is saved on the kill-ring.
In both cases they kill from the point and killed text is saved in the
kill-ring.
2. Default key sequences vs. emacs key bindings [the default].
It is confusing to me that there are two defaults. Firstly, it can be read:
EDITING COMMANDS
The following is a list of the names of the commands and
the default
key sequences to which they are bound. Command names without
an accom‐
panying key sequence are unbound by default.
On the other hand, emacs editing command are default:
readline offers editing capabilities while the user is entering the
line. By default, the line editing commands are similar to
those of
emacs. A vi-style line editing interface is also available.
An explicit list of emacs commands is maintained and commands do not
always coincide (both being valid defaults in practice). For example,
instead of C-x Rubout for backward-kill-line, emacs has
"C-XC-?" backward-kill-line
3. Key-bindings in the emacs/vi list are written with capital letters
(C-A), but not in the section with the description (C-a).
Best regards,
Daniel
Back to gnu.bash.bug | Previous | Next | Find similar
apparent inconsistencies in readline documentation Daniel Molina <lluvia@autistici.org> - 2020-07-25 18:21 +0200
csiph-web