On 2/3/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote: > Wait can make a parent wait for a child, I need a way for a child to > stop until the parent gives up control of the terminal and puts the > child in it's own process group. Actually, a child can do both these > things itself and just ignore the parent, but I seem to remember some > kind of problem when setting up a pipeline when the first command > would exit before the parent forks the second command, this would > cause occasional (very rare) strangeness.
This is before the child exec()s, right? Well, presumably some method of IPC could be used by the shell to tell the child that it's ready to go, but I don't know if any are cheap enough. If it is sleep(), I don't see why the behaviour would be present in 1.20.0 and 1.20.2, but go away in 1.20.1. OS X hasn't changed, the way fish is calling sleep hasn't changed (right?) so why should it behave differently? My intuition is more inclined to blame something relating to the OS X sed command. Because you changed something in the handling for that between 1.20.0 and 1.20.1, and it worked. And now 1.20.2 uses more sed calls when building the prompt, and something has gone all weird again. > Does it not find the gettext _command_ or the gettext C function? IS > the former in your PATH? I'm fairly certain it's the gettext command, as it complains about line 85 of /usr/local/etc/fish, which calls the gettext command. I'm not sure if it's in my PATH at that point. The only gettexts on my system are installed by fink/darwinports, so they're not in the "usual" places. (They're in /sw/bin and /opt/local/bin) But then why would 1.20.1 find it and 1.20.2 not? (Also, we may want to consider no longer Cc-ing Sean, as this has moved a little ways away from his original problem.) -- -Nick Pilon ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
