[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't just hold down ^K to clean up history
From: |
Chet Ramey |
Subject: |
Re: can't just hold down ^K to clean up history |
Date: |
Thu, 17 Oct 2013 07:54:47 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
On 10/17/13 12:37 AM, jidanni@jidanni.org wrote:
>>> Also why can't we just hold down ^K^K^K^K^K^K^K^K^K ?
>
> CD> Why do you expect to be able to do that? C-k in readline deletes to the
> end of
> CD> the current line. There's no reason why it should also get the next line.
>
> Ah ha, but there is also no reason why it should not!
It's the difference between a line-oriented command editing tool and
a screen editor.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/