Hi Isaac,
> Oh yes! I want about the same thing as you, and I did some
> preliminary looking-around earlier and posted to the
> mailing-list. I just didn't find time to look into it
> more closely than to guess that it would take a fair amount
> of effort to implement
Thank you for your answer. Sorry I missed your earlier post I just read it now.
It is clear indeed that it is not a thing that can be implemented very quickly.
I took a quick look at the readline library. I think it should be possible to
change readline's commands "history-search-forward" and
"history-search-backward", so that they match "real substrings" instead of
"left substrings". [I don't feel very comfortable with "reverse-search-history"
and "forward-search-history".]
The other part, "on the fly highlighting and underlining" will be a lot more
difficult to implement.
> (for example, it may depend on how good Bash's parsing code
> is -- if it's good enough for our purposes, we may be able
> to re-use it for syntax hilighting)
I am not fluent at c, I guess the language in which Bash is written. So I am
afraid that would be beyond my capabilities.
> It might also be a good step to ask the Bash devs what they
> think of the idea(s), because one approach might be to
> incrementally add patches to Bash such that it natively
> supports these features. (In some cases these patches
> might use parts of fish code, if it turned out to be
> helpful.)
Very good idea! Many more regular Bash users will probably be interested in
these Fish features. I will write up a draft this for an email that we may send
to the Bash devs. I will first drop it here to collect comments from you and
other Fish users.
Best wishes,
Guido
------------------------------------------------------------------------------
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