Hi Everyone,

I'm trying out the fish shell in my cygwin environment. As far as I can 
tell this is not available as a package so I built it myself. Here are 
the steps I used to build fish.  Some of this is from a post a year or 
so ago from Scott Wadden ( 
http://thread.gmane.org/gmane.comp.shells.fish.user/1188 ) but neither 
my methods or results were exactly the same as his.  I started with a 
recent and complete cygwin installation.

1. iconv 1.12 : download, configure, make, make install
2. download & unpack fish 1.23.0
3. remove iconv_open check from configure.ac - I didn't remove the whole 
AC_SEARCH_LIBS line like Scott - just the iconv_open part.
4. "export LDFLAGS=-liconv" - Scott added this to the makefile, I set it 
in the shell, either should work.
5. replace ARG_MAX in exec.c with _POSIX_ARG_MAX (this appears to be 
optional in limits.h so I think this could be changed in the fish source 
code. )
6. configure, make, make install

Once I had it built it seems to work with a couple of minor problems:

1. fishd does not always seem to start properly which leads to this 
complaint:

[EMAIL PROTECTED]:~$ fish
fish: Could not connect to universal variable server, already tried 
manual restart (or no command supplied). You will not be able to share 
variable values between fish sessions. Is fish properly installed?
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
[EMAIL PROTECTED] ~> ps -ef | grep fishd
[EMAIL PROTECTED] ~>

But if I start another interactive shell while this one is running, 
fishd gets started ok:

[EMAIL PROTECTED]:~$ fish
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
[EMAIL PROTECTED] ~> ps -ef | grep fishd
    dave    3328       1   ?  10:25:30 /usr/local/bin/fishd
[EMAIL PROTECTED] ~>

2.  I can't retrieve previously typed commands.  When I use the up arrow 
or alt-leftarrow, all I get is a y with two dots over it. 

The command history problem is more of an issue for me so if anyone 
knows or can suggest a possible work around, I would be interested in 
trying it out.

Thanks.

- Dave



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to