help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Readline when using “<<”? Is it recent?


From: Chet Ramey
Subject: Re: [Help-bash] Readline when using “<<”? Is it recent?
Date: Wed, 31 Jan 2018 09:41:29 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 1/31/18 8:21 AM, Garreau, Alexandre wrote:
> Hi,
> 
> Recently I noticed that when I typed text after “<<”, I could delete
> text, go back with arrow keys, or with emacs-like keystrokes, use M-u,
> M-l, etc.  Yet I think I can remember a time where when using “<<” you
> couldn’t go back and any attempt to del would result in printing a
> control sequence that would need to do Ctrl+C and redo everything again
> with “<<” (also including its whole stdin text in the history)>
> Was readline support added for this recently? or was it possible to
> enable/disable and disabled until recently in Debian? or maybe some
> other corner case that made me miss it until now?

It's been this way for a very long time. The idea is that the here-document
lines come from whatever input source is current. If that's an interactive
shell, with readline enabled, they come from readline.

-- 
``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/



reply via email to

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