Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14937
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Bize Ma <binaryzebra@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | readline fails to understand options. |
| Date | Fri, 21 Dec 2018 00:52:07 -0500 |
| Lines | 34 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.6036.1545371542.1284.bug-bash@gnu.org> (permalink) |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Trace | usenet.stanford.edu 1545371542 11079 208.118.235.17 (21 Dec 2018 05:52:22 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | Chester Ramey <chet.ramey@case.edu>, bug-bash <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=Qdv/a5nEMDDzcxw4R2yW8HB4f8H8SCXscrB5RacFnj0=; b=IKACZU3RxEkpKwxWfJPoTLgqATiS3DjarzwYnIiDVJo+A1L1yboyMT5RShigysThZd ohJjR2cHV0nikysYbwOtFGrZOq0uBMeSxJOysiYKiRnFKGu/ePQDyLeHP3pHFlZ28iPr d70hCa1od4GJFQxyNamXPJHXxJkmr1MhC22oY/Bh36zaNa1xnks2SOugJDFNTBbwkBuz 97gavLamwY+/Dukziwu/+1ovjqgmdsT+KHcRc4xmkQVSRTaiR7NqjIberMKaiYjNHe/8 DRxqA+v3lyG8xnLTM3pvwjYnT34mWNiO9JfB6jKVkHuEGDgNG0MWblkHcXj1x2W/0gn3 wwSQ== |
| 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=Qdv/a5nEMDDzcxw4R2yW8HB4f8H8SCXscrB5RacFnj0=; b=RiBn5Hxo9A38Xf195/zxLLQ/58cbBuT2VhrmPoCI32cU5HP8eDBO7mITjFxG3spqpo w4JxcWbWYMPjZHz5el2xiGZxbpg8gyjQFqKqa+nT2oBFJ1Mu+CJ3hbuICgVOjRr8siqm R/y+n6M/Ep+OMWHQx19678jMBQVRVxBUZFf+3Tp3MiZ2NTinegYiAfswrpJpZAluAPhJ nl2qcE9F2H+2mD89Bsdss1yMmrDODDMTMJ+pkRhA+ffXe3rm9KjW59X1mnY2da0LIW+2 JZ6/F0Valw5bHhkBEftCCWc0t/retm0vDqJSL4xN+4UnRRE1L/3oOMK7cebFEaeNWds3 o0UA== |
| X-Gm-Message-State | AJcUukeyxsVN2vvl6E5WYMaBWVdpoO0vgVs8rZjXDk7KoWRYyRNQvnNT KGEutinPTRKVwH1ev8pVdJ54R7CIbLXeDfj0UU4= |
| X-Google-Smtp-Source | ALg8bN6aesPf5tgSgjBZ2UA1rm/aVpl2VFrJ50PcQOQAxbJRsIpYhQrWauCqEGs7aaiqS1TXijq2gpeB45KqJfiWz5g= |
| X-Received | by 2002:a9d:2aa5:: with SMTP id e34mr673735otb.67.1545371538751; Thu, 20 Dec 2018 21:52:18 -0800 (PST) |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2607:f8b0:4864:20::32e |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.21 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.21 |
| 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 | <http://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> |
| Xref | csiph.com gnu.bash.bug:14937 |
Show key headers only | View raw
This works:
$ bind 'set enable-bracketed-paste on'; bind -v | grep 'bracketed'
set enable-bracketed-paste on
However, almost any variation of the parameter "on" is not understood by
readline:
$ bind 'set enable-bracketed-paste on .'; bind -v | grep 'bracketed'
set enable-bracketed-paste off
$ bind 'set enable-bracketed-paste "on"'; bind -v | grep 'bracketed'
set enable-bracketed-paste off
Without any error or warning !!
It appears to fall to default value, while this:
$ bind 'set bell-style on' ; bind -v | grep 'bell-style'
set bell-style audible
$ bind 'set bell-style onf' ; bind -v | grep 'bell-style'
set bell-style audible
Stays at its last value.
It seems that the parser for this options is unable to process anything
after a valid parameter. And it doesn't emit an error or warning either.
Since the parser needs some improvement: Could it be possible to add the
capability to detect a `#` after the options as a comment ?
Please read:
https://unix.stackexchange.com/questions/487037/why-is-my-readline-inputrc-configuration-being-ignored/487285#487285
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
readline fails to understand options. Bize Ma <binaryzebra@gmail.com> - 2018-12-21 00:52 -0500
csiph-web