ruby 1.6.8 (2002-12-24) [i586-mswin32] I'm using scite 1.41. I decided to try 1.6.8, hoping that it would behave differently. At present, I have great suspicions about my machine, and plan to try it on a couple of others. Leon -----Original Message----- From: Shashank Date [mailto:sdate / kc.rr.com] Sent: Tuesday, January 14, 2003 7:37 PM To: ruby-talk ML Subject: Re: Segmentation fault on gets I know that I get this error if I run it in SciTe 1.41 on Windows XP: >ruby tst.rb tst.rb:2:in `gets': Bad file descriptor (Errno::EBADF) from tst.rb:2 What is your name?>Exit code: 1 But I have ** always ** got it to work in command shell (at the C:\> prompt). On your machine, what does the output of "ruby -v" look like, Leon ? -- shanko "Dr. Leon Stevens" <stevensl / lincolnu.edu> wrote in message news:NFBBKIJCMLMMEMOCCCDLCEKJCCAA.stevensl / lincolnu.edu... > I'm trying to do simple keyboard input: > > a = "" > a = gets > puts a > > I'm running Ruby 1.6.7, under Win 98 SE. > > When I type the first letter, I receive the message > > [bug] Segmentation Fault. > > I've removed Ruby and reinstalled it several times, with consistent > failures. > > 1. What do I need to do? > > 2. There MUST be a better way. What is it? > > Leon > >