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

hmmm... so you're saying that I was using a custom built fish version
rather than the 
standard builtin version from ubuntu? Maybe I made the mistake of
executing
'fish -v" where I should have '/usr/bin/fish -v'. Also I can not 100%
exclude the 
possibility of accidentally overwriting the system installation of fish. 
If 2.2.0-455-gb4b5c21 isn't an official release I guess you're right,
sorry for that inconvenience.

Conclusion:
1. It was not my intention to make things harder for you to understand
2. My intention was to say that I do have a problem with the "standard
version of ubuntu"

I can reproduce the problem with the ubuntus version of fish:

sudo apt-get remove --purge fish
sudo apt-get update
sudo apt-get install fish
 /usr/bin/fish -v
fish, version 2.2.0-473-g8a6f26f

$ cat readtest.sh 
#!/bin/bash
stty -a
echo "Your name please"
read input
echo hello $input
echo "Press enter to quit ..."
read k


$ /usr/bin/fish -c "/home/ben/readtest.sh"
speed 38400 baud; rows 40; columns 136; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z;
rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff -iuclc -ixany imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig -icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop
-echoprt echoctl echoke
Your name please

<Ctrl-C>

I hope this helps

On Fri, Dec 18, 2015, at 03:59 AM, Kurtis Rader wrote:
> 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