Syntax highlighting in IRB

I would like to know if there is a way of changing colors for IRB
standard input ($stdin). What I am interested in "is having IRB
highlighting syntax as I type". Among other stuff, I would like to be
able to:

    * set its background colours
    * have differing colours for strings, variables, keywords, e.t.c.

I do use Wirble and Term-ansicolor gems, and they are fine when it comes
to output. But, I am interested in colouring irb terminal input, i.e.
I'm looking forward to having something like "vim_animated-irb".

Ceekays

···

--
Posted via http://www.ruby-forum.com/.

Hi,

···

On Wed, Sep 1, 2010 at 7:14 AM, Edmond Kachale <kachaleedmond@gmail.com> wrote:

I would like to know if there is a way of changing colors for IRB
standard input ($stdin). What I am interested in "is having IRB
highlighting syntax as I type". Among other stuff, I would like to be
able to:

* set its background colours
* have differing colours for strings, variables, keywords, e.t.c.

I do use Wirble and Term-ansicolor gems, and they are fine when it comes
to output. But, I am interested in colouring irb terminal input, i.e.
I'm looking forward to having something like "vim_animated-irb".

Ceekays
--
Posted via http://www.ruby-forum.com/\.

IIRC Utility Belt may have what you're looking for...
http://utilitybelt.rubyforge.org/

Regards,
Bob

How about running Vim within IRB[1]? Perhaps it is not "having IRB
highlighting syntax as [you] type" in a direct way, but it's as close
as it gets.

[1]: Running Vim within IRB

···

On Wed, Sep 1, 2010 at 2:14 PM, Edmond Kachale wrote:

I am interested in colouring irb terminal input, i.e.
I'm looking forward to having something like "vim_animated-irb".

Bob Nadler wrote:

Hi,

I'm looking forward to having something like "vim_animated-irb".

Ceekays
--
Posted via http://www.ruby-forum.com/\.

IIRC Utility Belt may have what you're looking for...
http://utilitybelt.rubyforge.org/

Thanks Bob for your reply, but I have ever tried Utility Belt. It's a
cool gem, but it just does the same stuff as Wirble and Term-ansicolor.
I am interested in colouring irb terminal input, not necessarily the
terminal output.

···

On Wed, Sep 1, 2010 at 7:14 AM, Edmond Kachale <kachaleedmond@gmail.com> > wrote:

Regards,
Bob

--
Posted via http://www.ruby-forum.com/\.