I have opened issue https://github.com/fish-shell/fish-shell/issues/2619

I don't see how you reproduced this problem using a "unbuntu standard
version" of the fish shell. The only reason I could reproduce the problem
on Ubuntu server is because I had installed a custom fish shell built from
a recent GitHub commit that included my change to disable ICRNL tty mode. I
couldn't reproduce the problem on Mac OS X because I was using a version
built from an older commit.

It would have helped a lot if in your original problem report you explicitly
said that you were using a fish binary built from a specific GitHub version
rather than whatever ships with your distro. That was implicit in your
statement about using version "fish, version 2.2.0-455-gb4b5c21". But you
shouldn't expect people to recognize such a subtle assertion.


On Wed, Dec 16, 2015 at 5:46 PM, Kurtis Rader <kra...@skepticism.us> wrote:

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



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

Reply via email to