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
···
-----------------------------------------------
Robert Keller
x7-5628
------------------------------------------------------------------
If you can't explain it simply, you don't understand it well enough.
Albert Einstein
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...
···
--
Posted via http://www.ruby-forum.com/\.
Roger Pack wrote:
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...
It is calling the wks version....., is there a way to edit what irb is
calling?
robert
···
--
Posted via http://www.ruby-forum.com/\.
Robert Keller wrote:
Roger Pack wrote:
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...
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
···
--
Posted via http://www.ruby-forum.com/\.
That was the answer. Windows in this case works if you set the TERM to nothing:
C:\set TERM=
Thanks
Robert Keller
···
-----Original Message-----
From: rogerpack2005@gmail.com [mailto:rogerpack2005@gmail.com]
Sent: Tuesday, August 10, 2010 9:58 AM
To: ruby-talk ML
Subject: Re: windows stty IRB question
Robert Keller wrote:
Roger Pack wrote:
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...
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
--
Posted via http://www.ruby-forum.com/\.