You can type:

 

Cmd

Echo off

Cd \ruby\bin

Irb

Ruby code here

 

But this is just a command window inside SciTE.  It is a much better experience via a command window.  If you want an IRB window inside your editor, download the latest version if FreeRide and it has one built in.

 

 

--Mark

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eli Smith
Sent: Tuesday, April 04, 2006 12:39 PM
To: [email protected]
Subject: Re: [Wtr-general] SciTE Repeats Input Chars in IRB

 

Fair enough, Paul. Lemme spill my guts.

I’m using Ruby 1.8.2, Watir 1.4.1, and SciTE 1.59 on a Winserver 2003 with SP1.

To see the problem:

  1. Start SciTE on Windows.
  2. Select Tools > Run irb from the menu system.
  3. Type into the command window provided.

Each character entered it displayed twice. Guess what this is?

rreeqquuiirree  ''wwaattiirr''

 

Makes you wanna start a command prompt!

Any known workarounds? I like the near-IDE SciTE provides.

 

~Eli->

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Carvalho
Sent: Tuesday, April 04, 2006 12:34 PM
To: [email protected]
Subject: Re: [Wtr-general] SciTE Repeats Input Chars in IRB

 

Hello Eli, there's a lot of information you didn't offer to allow us to help you better.

What version of Ruby are you using (so we know the version of SciTE)?  What version of Watir?

How are you executing the scripts?  Which "input chars" are being echoed?  Can you include a sample of your code and the corresponding annoying output?

Help us out a bit here. ;-)

Cheers.  Paul.

On 04/04/06, Eli Smith <[EMAIL PROTECTED] > wrote:

Greetings, Rubyists.

Ruby newbie here with an SciTE question.

How do I stop SciTE from repeating my input chars in IRB?

I can't figure out which bit to flip off but it's got me crazed.

The suggestions at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/143959 didn't solve it.

 

adTHANKSvance,

~Eli->

 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to