Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stty: standard input: unable to perform all requested operations #62

Closed
tuomasj opened this issue Jun 13, 2014 · 5 comments
Closed

stty: standard input: unable to perform all requested operations #62

tuomasj opened this issue Jun 13, 2014 · 5 comments

Comments

@tuomasj
Copy link

tuomasj commented Jun 13, 2014

Any idea what outputs the following into the console when running rerun?
"stty: standard input: unable to perform all requested operations"

I'm running on OS X Maverick, ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0] with rbenv and homebrew.

Everything works just fine, but the console gets filled with the warning.

Here is the log:

rerun --dir .,data,lib,views -- unicorn -E development

00:58:09 [rerun] App launched
stty: standard input: unable to perform all requested operations
I, [2014-06-14T00:58:10.137072 #28734]  INFO -- : listening on addr=0.0.0.0:8080 fd=9
I, [2014-06-14T00:58:10.137220 #28734]  INFO -- : worker=0 spawning...
I, [2014-06-14T00:58:10.138324 #28734]  INFO -- : master process ready
I, [2014-06-14T00:58:10.139132 #28736]  INFO -- : worker=0 spawned pid=28736
I, [2014-06-14T00:58:10.139568 #28736]  INFO -- : Refreshing Gem list
I, [2014-06-14T00:58:10.421355 #28736]  INFO -- : worker=0 ready
stty: standard input: unable to perform all requested operations
stty: standard input: unable to perform all requested operations
00:58:12 [rerun] Watching data, lib, views for **/*.{rb,js,coffee,css,scss,sass,erb,html,haml,ru,yml,slim,md} using Darwin adapter
stty: standard input: unable to perform all requested operations
stty: standard input: unable to perform all requested operations
stty: standard input: unable to perform all requested operations
stty: standard input: unable to perform all requested operations
^Crake aborted!
Interrupt:
@tuomasj
Copy link
Author

tuomasj commented Jun 19, 2014

Using -b switch will disable the stty-message but you cannot use on-the-fly commands.
This is enough for me, so I'm closing this issue.

@tuomasj tuomasj closed this as completed Jun 19, 2014
@amikula
Copy link

amikula commented Sep 17, 2015

I found this same problem on OSX Yosemite. For me, it turned out to be that I had GNU coreutils installed with homebrew, and rerun was finding that version of stty on my system. It's the "stty -raw" call in runner.rb that's printing that message. I took that version of stty out of my path, and the problem went away.

Incidentally, calling stty -raw from the command line never causes that message. I'm not sure what the problem is exactly.

@alexch
Copy link
Owner

alexch commented Sep 18, 2015 via email

@jikkujose
Copy link

Any solution for this?

@alexch
Copy link
Owner

alexch commented Apr 12, 2017

@jikkujose did you try using the -b switch or making sure the PATH prefers the system tty command? Unfortunately if the TTY controls don't work, we can't look for on-the-fly key input.

jkoelndorfer added a commit to jkoelndorfer/dotfiles that referenced this issue Mar 22, 2018
This is used to override binaries provided by GNU coreutils.

I found that irb spat out an error message due to the non-native stty
utility:

    stty: standard input: unable to perform all requested operations

See alexch/rerun#62.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants