Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

More than one parameters in .mh_profile

13 views
Skip to first unread message

AMX

unread,
May 25, 2012, 2:12:46 PM5/25/12
to
In the .mh_profile some entries specifies programs like:

#v+
Editor: vim-mail
moreproc: less
postproc: /usr/lib/mh/post
#v-

Some of those programs require options or parameters but
apparently this is not accepted.

I need moreproc to be "less -force" but show (nmh-1.3) refuses this.

Workaround is to make the shell script like vim-mail which is in
fact invocation vim -c ":set ft=mail" $@.

Is it possible to do such thigs simpler?

AMX

--
adres w rot13
Nyrxfnaqre Znghfmnx r-...@b2.cy

Jerry Heyman

unread,
May 26, 2012, 2:42:26 PM5/26/12
to
AMX wrote:

> In the .mh_profile some entries specifies programs like:
>
> #v+
> Editor: vim-mail
> moreproc: less
> postproc: /usr/lib/mh/post
> #v-
>
> Some of those programs require options or parameters but
> apparently this is not accepted.
>
> I need moreproc to be "less -force" but show (nmh-1.3) refuses this.
>
> Workaround is to make the shell script like vim-mail which is in
> fact invocation vim -c ":set ft=mail" $@.
>
> Is it possible to do such thigs simpler?

Better place to ask is the mailing list,

nmh-w...@nongnu.org.

I'm the only one watching here - and if the answer to your question
isn't in Jerry Peek's book

http://rand-mh.sourceforge.net/book/

then the mailing list is the best place to ask.
>
> AMX
>

--
// Jerry Heyman | "Three types of people spend other
// Amigan Forever :-) | peoples money: Children, criminals,
\\ // heymanj at acm dot org | and politicians. And they all require
\X/ http://www.hobbeshollow.com | adult supervision" - Dick Armey
0 new messages