On Wed, Aug 08, 2001 at 09:00:40AM -0700, Chris Fuchs wrote:
> on Wed,08 Aug 2001, Brian Salter-Duke wrote:
>
> > To get these to work I had replace ~/.mutt etc with a full path to the
> > file. ~ does not seem to work in mutt macros for me.
>
> Does mutt use 'sh' when executing macros? It does for me even
> though I have set the mutt 'shell' variable to bash in my muttrc
> file and the SHELL environment variable is set to bash in my bashrc.
> This means I may not have configured mutt properly ie I could try
> running config again with --with-exec-shell ...
>
> I found a reference in a book called "Think Unix" by Jon Lasser
> in which he mentions that '~' is not supported by the Bourne shell and
> that for compatibility all occurences of '~' in the $PATH or other
> environment variables should be replaced by $HOME. This has also
> solved a similiar problem I was having with my mailcap file in which I
> had to have full pathnames when '~' was used in my $PATH environment
> variable.
>
> HTH
>
> Chris
>
> --
> You can only be young once, but you can be immature forever. -Anonymous
I use /bin/ksh - the Korn shell - and define it my muttrc. Maybe that is
the problem.
--
Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED]
Chemistry, School of BECS, SITE, NT University, Darwin, NT 0909, Australia.
Phone 08-89466702. Fax 08-89466847. http://www.smps.ntu.edu.au/