bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] Control-O keybinding does not work [with patch]


From: Chet Ramey
Subject: Re: [Bug-readline] Control-O keybinding does not work [with patch]
Date: Thu, 18 Jan 2018 07:59:53 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 1/17/18 12:16 PM, Rhialto wrote:
> On Wed 17 Jan 2018 at 18:02:42 +0100, Rhialto wrote:
>> I don't understand what you're getting at. Any user of readline can make
>> a mapping of ^O to do something. Bash is just where I discovered that it
>> doesn't work. As it is, ^O is interpreted by the operating system, and
>> readline will never see it.
> 
> Oh, adding to that: I just tried it on a linux box. There the ^O works
> despite still being enabled as the discard character (I checked with
> stty -a </dev/pts/0 where pts/0 was a terminal with bash sitting in a
> prompt). I suppose Linux handles the discard character different than
> NetBSD in this scenario.

Linux doesn't support VDISCARD and doesn't recognize it unless IEXTEN is
set in lflags, which readline doesn't do.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]