[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] More than one parameters in .mh_profile
From: |
Aleksander Matuszak |
Subject: |
Re: [Nmh-workers] More than one parameters in .mh_profile |
Date: |
Wed, 30 May 2012 20:27:27 +0200 |
Ken Hornstein writes:
> >I need moreproc to be "less -force" but show (nmh-1.3) refuses
> >this.
>
> Yeah, I guess what happens there is mhl (or whatever) is trying to
> exec("less -force"). Which as you've noted doesn't work.
>
> Other people have complained about this as well. But in this case you
> could just set the environment variable LESS to "f", right?
>
Not quite. In fact I need -force only in show, to enforce
silently displaying incompatibile charsets.
> >Workaround is to make the shell script like vim-mail which is in
> >fact call to vim -c ":set ft=mail" .
> >
> >Is it possible to do such thigs simpler?
>
> Right now ... no. To start, I have no idea how this interface should
> look like. Suggestions here are welcome; code is even more welcome :-)
>
It does not seem too difficult to implement function which splits
any string into separate pieces and prepend them to exec*
parameters. But discussion shows that fundamental question is
rather: should it be passed to the shell (and gives chance to use
!$ or some such) or replace the shell job and interpret string inside
the code?
Finally, I think it is not worth to solve it now.
max
- Re: [Nmh-workers] More than one parameters in .mh_profile, (continued)
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ralph Corderoy, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Tethys, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Jerrad Pierce, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Paul Vixie, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Lyndon Nerenberg, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Paul Fox, 2012/05/30
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ralph Corderoy, 2012/05/30
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ken Hornstein, 2012/05/30
Re: [Nmh-workers] More than one parameters in .mh_profile,
Aleksander Matuszak <=
Re: [Nmh-workers] More than one parameters in .mh_profile, David Levine, 2012/05/30