windows stty IRB question

K

Keller, Robert

I am on windows XP and when I run IRB ruby version 1.8.7-p249 I get a STTY =
error




G:\>irb
stty: Unknown mode: g
stty: Unknown mode: icrnl
irb(main):001:0>


Where can I fix the IRB sty call?

Thanks
 
R

Roger Pack

G:\>irb
stty: Unknown mode: g
stty: Unknown mode: icrnl
Where can I fix the IRB sty call?

Which stty.exe is it calling? It's probably calling into a wrong one,
like cygwin or something...
 
R

Robert Keller

Roger said:
Which stty.exe is it calling? It's probably calling into a wrong one,
like cygwin or something...

It is calling the wks version....., is there a way to edit what irb is
calling?

robert
 
R

Roger Pack

Robert said:
It is calling the wks version....., is there a way to edit what irb is
calling?

I think it calls out to "stty.exe" and "if it's there, uses it, if not
ignores it" (I'm just guessing here, but I think so).

Anyway work arounds might be to remove the wks version from your path,
possibly to set the TERM variable to something different...

-r
 
K

Keller, Robert

That was the answer. Windows in this case works if you set the TERM to not=
hing:

C:\set TERM=3D

Thanks

Robert Keller

-----Original Message-----
From: (e-mail address removed) [mailto:[email protected]]=20
Sent: Tuesday, August 10, 2010 9:58 AM
To: ruby-talk ML
Subject: Re: windows stty IRB question

Robert said:
=20
It is calling the wks version....., is there a way to edit what irb is=20
calling?

I think it calls out to "stty.exe" and "if it's there, uses it, if not=20
ignores it" (I'm just guessing here, but I think so).

Anyway work arounds might be to remove the wks version from your path,=20
possibly to set the TERM variable to something different...

-r
--=20
Posted via http://www.ruby-forum.com/.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top