From: James Gray Date: 2007-12-24T14:59:47+09:00 Subject: Re: [HighLine] stty: stdin isn't a terminal On Dec 23, 2007, at 9:46 PM, thefed wrote: > I'm in the middle of writing shell as a part of Rubyunix, I am using > HighLine::SystemExtensions to get each character (so that I may > check to see if it is a reserved keystroke). > > Basically, here's my error: > http://pastie.caboo.se/132010 I can't seem to see this paste at the moment. :/ > I absolutely cannot figure this out. In all of the other times that > I've used this piece of code and tested it out, it has never done > this to me before. > > To clarify what is happening, it is thorwing the 'stty: stdin isn't > a terminal' AFTER it processes the command and is redisplaying the > prompt. > > If there's anything else you need me to disclose, please tell me. Do you have the termios gem installed? That's the preferred method for HighLine to handle these issues. Can you try installing it and see if it helps? James Edward Gray II