I have a fairly large Rails project that always returns the following after every command in the Rails console:
stty: 'standard input': unable to perform all requested operations
This only happens within TMUX. Without using TMUX I don't see this output.
I'm also not seeing this behavior with smaller Rails projects within TMUX.
I'm on Mac OS Mojave with iTerm 2 (nightly build) and am using vanilla TMUX (i.e. no special configs).
Any ideas?
In response to Joseph Tingiris question:
In TMUX I get:
› stty -a
speed 9600 baud; rows 47; columns 178;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; rprnt = ^R; werase = ^W; lnext = ^V;
discard = ^O; status = ^T; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff ixany imaxbel iutf8
opost -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe -echok -echonl -noflsh -tostop -echoprt echoctl echoke -flusho -extproc
› echo $TERM
screen-256color
Outside of TMUX I get:
› stty -a
speed 38400 baud; rows 48; columns 178;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; rprnt = ^R; werase = ^W; lnext = ^V;
discard = ^O; status = ^T; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff ixany imaxbel iutf8
opost -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -tostop -echoprt echoctl echoke -flusho -extproc
› echo $TERM
xterm-256color
stty -a
within tmux and without? – Joseph Tingiris Dec 13 '18 at 22:55stty -a
(more thanstty
)? – Joseph Tingiris Dec 14 '18 at 00:44~/.tmux.conf
file:set-option -g default-shell "/bin/bash"
and restart your tmux. – shivams Dec 30 '18 at 05:19