[HighLine] stty: stdin isn't a terminal

T

thefed

Hey

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 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.

Thanks,
-------------------------------------------------------|
~ Ari
seydar: it's like a crazy love triangle of Kernel commands and C code
 
J

James Gray

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
 

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
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top