[Fish-users] Fwd: delays in showing prompt
On 6 May 2010 14:05, i...@whywouldwe.com i...@whywouldwe.com wrote: I get that as well and find it very annoying. I got it with the normal version so currently I'm using Ben Hoskins OS X version (http://github.com/benhoskings/fish), but I also happens for me with that (on OS X 10.6.3). No idea why it happens. That's odd. Can you double check the version you're using is built from my fork? I'm pretty confident it fixes the problem. Try this: echo test ^/dev/null If that prints test ^/dev/null, you're running my fork. If it prints test, you're not. —Ben -- ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] what's the fish equivalent of mkdir foo cd foo
2010/4/12 i...@whywouldwe.com i...@whywouldwe.com what's the fish equivalent of mkdir foo cd foo? I can't find it in the docs mkdir foo; and cd foo —ben_h -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Fixing title setting in OS X
2010/4/3 David Frascone d...@frascone.com I need to check out a linux tree from darcs and apply these changes to make sure I'm not breaking anything . . . My git repo (and yours if you cloned from mine) contains the full history, so to get the current state of the darcs repo (i.e. Axel's latest code), you can just do something like git commit -a -m 'Temp' # if you have uncommitted changes git checkout -b axel git reset --hard 1eb089d # That's axel's latest commit, from early '09 —Ben -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] Setting PATH?
2010/3/31 David Frascone d...@frascone.com And, my path is set completely differently. Ok -- so -- that could just be some weird login -vs- interactive shell setting. I get that. But, here's the really strange part. In my home directory's config.fish, I have this snippet: if [ -d ~/bin ] echo PATH before: $PATH set -g PATH $PATH ~/bin echo PATH after: $PATH end So, if my ~/bin exists, it will be appended to the path. For the login shell, this works. For all other shells, the code executes, but the path does NOT change -- WTF?!?!?! Setting the PATH fails if any of the component dirs don't exist. And it fails with a broken error message - 'value too large to be stored in data type'. —ben_h -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] fish project homepage
On 08/10/2009, at 3:56 AM, the jimmybot wrote: If this problem persists and the fish shell in fact is an abandoned project, might it be a good idea to take the existing source and put up say, a Mercurial repository on bitbucket? I used darcs-to-git to convert the official darcs repo a few months ago, and put it up on GitHub: http://github.com/benhoskings/fish I've made some commits of my own since then, this is the most recent commit from the official repo: http://github.com/benhoskings/fish/commit/1eb089d722f1b873f1db6a23da1d14fe94b50050 Cheers Ben -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] can't run simple shell scripts in 1.23.1 port on Mac OS X 10.4.11
On 25/08/2009, at 12:46 AM, Al Chou wrote: I feel like I must be missing something really basic, as simple (1- line) shell scripts always fail and make fish say: exec: Value too large to be stored in data type. In my experience, 'Value too large to be stored in data type' can be caused by nonexistent files (check my recent bugreport about setting the PATH when one of the elements doesn't exist). Cheers Ben -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] Patch: fixing command delays on OS X
Hi all, I sent this to Axel a little while ago but realised this list is probably a better destination for it. -- Hi Axel, Firstly, fish rocks :) I started using fish a few months ago when a friend at a RailsCamp showed it to me, and since then I've got a few mates using it. We've all had an issue where sometimes a command stalls for a few seconds before the prompt returns. There's no CPU or disc activity, just a delay. It's sometimes an explicitly run command, and sometimes just happens when hitting enter—i.e. one of the commands that run within fish_prompt(). I did some investigating, turning on debugging output, and I found that the select() call in select_try() was taking 5 seconds to return. When it returns, the loop in job_continue() from which select_try() is called immediately re-calls it, and it generally returns immediately the second time. I don't really understand how select() works, but it seems that if the subcommand doesn't have output (or EOF) available at the point that select is called, then it will never return before the 5sec timeout. My patch:http://github.com/benhoskings/fish/commit/b064d8c6916b54688103d0d8df63a3aed0aca75e (http://github.com/benhoskings/fish is a direct import of your darcs repo using darcs-to-git.) I changed the timeout to 10 milliseconds, and it solved the problem completely. select_try() polls repeatedly until the command finishes or has output ready, and the prompt delay has disappeared for all of us. The 10msec delay is still long enough that fish doesn't use any CPU during the loop. I'm interested to see what you think of this patch, because although it's completely fixed the problem for us, there might be a more correct way to solve it. Cheers Ben Hoskings -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] Setting PATH fails for non-existent directories
Hi folks, Just found what looks like a bug: set PATH '/usr/local/bin' '/usr/bin' '/bin' '/usr/sbin' '/sbin' '/ usr/X11R6/bin' set: Could not add component /usr/local/bin to PATH. set: Value too large to be stored in data type sudo mkdir /usr/local/bin Password: set PATH '/usr/local/bin' '/usr/bin' '/bin' '/usr/sbin' '/sbin' '/usr/ X11R6/bin' When a component in the array doesn't exist, the entire command fails, which caused the value of PATH to be completely different to what I was setting it to in ~/.config/fish/config.fish. Cheers Ben Hoskings -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users