Re: Re : Wirble 0.1.1: Irb Enhancements for the Masses

From: Paul D. [mailto:[email protected]]

http://www.windowsnetworking.com/kbase/WindowsTips/Windows2000
/UserTips/Miscellaneous/CommandInterpreterAnsiSupport.html

I’ll add this to the documentation for future releases. Thanks!

FWIW, that page doesn’t explicitly mention that while command.com
supposedly works with ansi.sys (I’ve been unable to get it working
myself, but that’s probably just me) cmd.exe, the console most people
use with Win2k/XP, has no way to support ANSI codes. Surprising, but
true (at least, as far as I can tell from various MS and external web
pages).

I came up with the same conclusion, Gavin:
-browsing around taught me that cmd.exe could not handle ansi codes
-I also have troubles with command.com

What’s the preferred ruby console for winXP?

Eric.


Eric T.
LTG - Product Manager
LEIRIOS
tel: 33(0)6.61.48.57.65/33(0)3.81.88.62.02
e-mail: [email protected]
blog: http://etorreborre.blogspot.com

----- Message d’origine ----
De : Gavin K. [email protected]
Ã? : ruby-talk ML [email protected]
Envoyé le : Vendredi, 8 Septembre 2006, 8h46mn 15s
Objet : Re: Re : Wirble 0.1.1: Irb Enhancements for the Masses

From: Paul D. [mailto:[email protected]]

http://www.windowsnetworking.com/kbase/WindowsTips/Windows2000
/UserTips/Miscellaneous/CommandInterpreterAnsiSupport.html

I’ll add this to the documentation for future releases. Thanks!

FWIW, that page doesn’t explicitly mention that while command.com
supposedly works with ansi.sys (I’ve been unable to get it working
myself, but that’s probably just me) cmd.exe, the console most people
use with Win2k/XP, has no way to support ANSI codes. Surprising, but
true (at least, as far as I can tell from various MS and external web
pages).

On 9/8/06, Eric T. [email protected] wrote:

I came up with the same conclusion, Gavin:
-browsing around taught me that cmd.exe could not handle ansi codes
-I also have troubles with command.com

What’s the preferred ruby console for winXP?

Eric.

Hi!

I’ve installed the 0.1.2 gem on Win XP, but I don’t get anything
special (except that screwed output mentioned in this thread).

Here is my .irb file:

#IRB.conf[:AUTO_INDENT] = true
IRB.conf[:USE_READLINE] = true
IRB.conf[:LOAD_MODULES] = []  unless IRB.conf.key?(:LOAD_MODULES)
unless IRB.conf[:LOAD_MODULES].include?('irb/completion')
  IRB.conf[:LOAD_MODULES] << 'irb/completion'
end

# load rubygems and wirble
require 'rubygems' rescue nil
require 'wirble'

# load wirble
Wirble.init
Wirble.colorize

Also, I wanted to take a look at the page “RubyGarden “Irb Tips and
Tricks” page” linked from http://pablotron.org/software/wirble/, but
the link points back to your page.

I am doing something wrong?

./alex

.w( the_mindstorm )p.