On Wed, Dec 16, 2015 at 2:14 AM, ben yakawp <ben.li...@yakawp.com> wrote:
> > 2.a) A bash script 'test.sh' with the minimal content of: > ~~~~~~~~~~~~~~ > #!/bin/bash > #stty echo > echo "Your name please" > read input > echo hello $input > echo "Press enter to quit ..." > read k > ~~~~~~~~~~~~~~~ > 2.b) Save the script under ~/test.sh and make it executable with chmod > 0755 test.sh > > 3.) A '~/.tmux.conf' configuration with the minimal content of > ~~~~~~~~~~ > set -g default-shell /usr/bin/fish > ~~~~~~~~~~~ > > Steps to reproduce: > -------------------------- > 1.) Open a terminal emulator and call 'tmux'. As soon as tmux opens, you > can test the script by executing "~/test.sh". If the script works, > continue with step 2. > > 2.) Write the following command and press enter: > tmux split-window "~/test.sh" > > 3.) Try to enter characters and try to press 'Enter'. If nothing > happens, you have to quit with Ctrl-C Thanks, those directions helped a lot; especially step 2 which clarified what you're doing. I cannot reproduce this on Mac OS X. I can reproduce this on my Ubuntu server when logged in via ssh (I'll try on the console later tonight).There's definitely something weird going on with the setup of the tty. I also noticed that if I replace #!/bin/bash with #!/usr/bin/fish the script fails with a tcsetpgrp() syscall failure. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank
------------------------------------------------------------------------------
_______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users