Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Bize Ma 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: 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 , bug-bash 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:14937 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