Re: Syntax coloring/highlighting in gnu-readline

2014-03-05 Thread Chet Ramey
On 3/5/14 3:41 AM, solr...@gmail.com wrote: > On Monday, March 3, 2014 3:06:57 PM UTC+1, Chet Ramey wrote: >> I have not done any work in this area, and have no immediate plans to. The >> >> readline internals do not lend themselves to this very well: the line >> >> buffer management and display e

Re: Syntax coloring/highlighting in gnu-readline

2014-03-05 Thread solros9
On Monday, March 3, 2014 3:06:57 PM UTC+1, Chet Ramey wrote: > I have not done any work in this area, and have no immediate plans to. The > > readline internals do not lend themselves to this very well: the line > > buffer management and display engines assume that every character in the > > li

Re: Syntax coloring/highlighting in gnu-readline

2014-03-03 Thread Chet Ramey
On 3/2/14 7:16 PM, Solros wrote: > On Friday, February 10, 2012 4:25:22 PM UTC+1, LanX wrote: >> >> I'm trying to interactively add colors while typing in readline and >> >> using rl_event_hook to change rl_line_buffer seems to work. >> >> >> >> Alas the ANSI escape codes for formatting which are a

Re: Syntax coloring/highlighting in gnu-readline

2014-03-02 Thread Solros
On Friday, February 10, 2012 4:25:22 PM UTC+1, LanX wrote: > > I'm trying to interactively add colors while typing in readline and > > using rl_event_hook to change rl_line_buffer seems to work. > > > > Alas the ANSI escape codes for formatting which are allowed in the > > prompt are not inte

Syntax coloring/highlighting in gnu-readline

2012-03-28 Thread LanX
Hi >From my understanding of >http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html it's OK to ask gnu-readline questions in this list. I'm trying to interactively add colors while typing in readline and using rl_event_hook to change rl_line_buffer seems to work. Alas the ANSI escape codes f