From: Keller, Robert on 9 Aug 2010 14:31 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
From: Roger Pack on 9 Aug 2010 20:47 > 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/.
From: Robert Keller on 10 Aug 2010 09:46 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/.
From: Roger Pack on 10 Aug 2010 10:58 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/.
From: Keller, Robert on 10 Aug 2010 11:09 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(a)gmail.com [mailto:rogerpack2005(a)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/.
|
Pages: 1 Prev: error messages from bash aren't captured by ruby interpreter Next: modules |