Re: question on executing executable in mailcap

Todd Zullinger <[email protected]>
Newsgroups gmane.mail.mutt.user
Message-ID <[email protected]>
Ranjan Maitra via Mutt-users wrote:
> On Sun Aug16'26 07:22:46PM, Michael Kjörling wrote:
>> Then check the environment from within mutt. <shell-escape> something
>> like `env | less` and look closely at $PATH. Does it include ~/bin?
> 
> Thanks! I am sorry, but what does this mean? I tried
> hitting ESC but did not get anything that can work. Sorry
> about that.

By '<shell-escape>' Michael means the mutt function which
runs a shell command.  It is bound to the '!' key by
default.

If you type '!' and mutt will prompt with 'Shell command: '
and then you'd put in 'env | less' (no quotes) or 'printenv
PATH | less' or any number of other ways to inspect the
environment for the PATH variable as mutt sees it.

If you start mutt via ssh or as a direct command in some
terminal's profile, this may well differ from what you get
if you directly start a shell.  That can easily be the
reason that PATH contains ~/bin in your shell sessions but
not mutt's.

-- 
Todd
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSvlwC4tRNlCF6x+moHOcdGE+n45gUCaoI96AAKCRAHOcdGE+n4
5ng+AQDIFcNOOV960TD6hldl41NS0+74V08OGYVLpFPj+m85xAEAlZxpamgQCKYl
ypTuaB0ix2v4RUtj0tgdkVPQRjdMKws=
=yiu2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.