On Wed, Aug 5, 2009 at 19:11, <[email protected]> wrote:
>
> Hi Beni,
>
> Thank you for your comments!
>
>> And don't forget:
>> 3) MULTI-LINE editing!
>
> As far as I know Bash supports multi-line editing as well. (see e.g. 
> http://www.talug.org/events/20030709/cmdline_history.html)

Bash fakes it by saving multi-line commands in history as a single
line with semicolons ("for f in *; do mv $f $f~; done").  And when you
type them for the first time, entry is line-by-line - you can't go up
once you press Enter.  So you just learn to always use semicolons.
This gets 90% functionality, but it's not nearly as pretty as fish :-).
Granted, that's less important.

I *am* interested in adding multi-line editing to readline because I'd
love to have it in Python (which has significant indentation, so
semicolon-faking is unworkable).

> And to be honest, even if Bash did not it, this would not be my top priority 
> anyway. Why not use an editor to do multi-line editing!?
>
I'm talking about loops typed at the shell prompt.  I'm not going to
fire an external editor in the middle of typing!

> Can I count you as a signer of the "coloring and underlining" feature request?
>
Sure.  (But don't count me as a code contributor, I'm too swamped.)

-- 
Beni <[email protected]>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to