On 02Nov2011 09:59, Tim Johnson <t...@akwebsoft.com> wrote: | * Cameron Simpson <c...@zip.com.au> [111101 17:55]: | > On 01Nov2011 16:53, Tim Johnson <t...@akwebsoft.com> wrote: | > | From bash - linus:~ tim$ echo $PATH | > | /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin | > | From mutt echo $PATH | > | /usr/bin:/bin:/usr/sbin:/sbin | > | that is, where mutt is launched from iTerm2. | > | > This discrepancy is odd, and a little troubling. We probably need to | > investigate that a little. | I think this has to do with the way that iTerm2 passes the | environment to mutt... but I am just guessing.
Hmm. I'm using iTerm (didn't know iTerm2 existed; now _I_ have something to investigate). In my iTerm "bookmarks" (imagining iterm2 to be a similar model) I have a "cs" bookmark which is my default; it runs "zsh --login", i.e. a login shell. And that sources my environment setup. | > | So when I run /usr/local/bin/ah, the first thing I get is an error | > | message about `rm' not being recognized. Well it ain't in $PATH, | > | > "rm"? That's a pretty standard command - something isn't right. It is | > normally in /bin. | Yes, and /bin _is_ in mutt's $PATH. Go figure. Maybe has something | to with the fact that I am using /usr/local/bin for my scripts. | Perhaps this is not the "darwinish" way to do things. Darwin's not very special - it is all UNIX. /usr/local/bin is a reasonable place for third party scripts. I infer from stuff earlier that you're already using MacPorts. [...] | > BUT: keep your personal current copy of withstdin - the one in the tarball | > does not yet have the --keepfor option. | > | > So: | > - fetch tarball | > - put it in place as /opt/css | > - source /opt/css/env.sh | > - test apphelper again | > | > This doesn't _need_ to go as /opt/css, but that is the easiest way. | Cool! I will check this stuff out today. Great. I'll look at iTerm2 meanwhile; iterm has some annoying performance issues (CPU spins) with big windows and long histories, and I would welcome something saner (Terminal doesn't misbehave like that, but iTerm has a better feature set). Cheers, -- Cameron Simpson <c...@zip.com.au> DoD#743 http://www.cskk.ezoshosting.com/cs/ Well personally I see nothing wrong with cannibalism - gra...@maths.su.oz.au (Graham Matthews)