Just popped up in my head. Didn't try actually.

- Do not use fish as login shell for remote host. Run from .bashrc
when interactive mode.
- You could run those program via wrapping `sh -c` or `bash -c`

On Fri, Jan 3, 2014 at 2:54 AM,  <fishmailing.jexp...@recursor.net> wrote:
> Hi there & thanks for this the great fish shell!
>
> A (maybe) silly questions from someone not grown up in Linux world: Some
> programs offering remote SSH functionality do open & expect a SSH
> connection and try to execute commands using POSIX syntax.
>
> As I switched to fish those programs do fail. Examples are sshuttle [1]
> and Back in Time [2] i.e. like this:
>
>    fish: Unknown command 'd=0'. Did you mean 'set d 0'? See the help
>    section on the set command by typing 'help set'.
>    Standard input: d=0;test -e /tmp || d=1;test $d -eq 1 && mkdir /tmp;
>    err=$?;test $d -eq 1 && exit $err;test -d /tmp || exit 11;test -w
>    /tmp || exit 12;test -x /tmp || exit 13;exit 20
>
>
> Obviously those programs expect a POSIX compliant shell on the remote side.
>
> What does fish think is the 'correct' way to tackle this?
>
> Thanks
> - Ben
>
>
> [1] https://github.com/brianmay/sshuttle
> [2] http://backintime.le-web.org
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users



-- 
Mait

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to