nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] show message number scrolls off terminal?

2015-02-14 01:29:40
Thus said Ken Hornstein on Sun, 08 Feb 2015 14:23:46 -0500:

       The component "MessageName"  (case-insensitive) will output
       the actual message name (file  name) preceded by the folder
       name if one is speci- fied or found in the environment. The
       format  is identical  to  that pro-  duced  by the  -header
       option to show.

I think that's what you want?

Yes, this  does look closer, however,  I had to comment  out my showproc
(which was currently set to mhshow).

I did some more experimentation  and discovered that show already prints
the header (without  using MessageName) for a  multi message invocation,
e.g. show 1 2  3 will print the message number  before each message, but
does not print the header for a single message invocation.

Also, if I include MessageName in my  mhl.format, I get 2 headers when I
use a multi message show, even with -noheader:

ML/nongnu/nmh-workers:1


(Message ML/nongnu/nmh-workers:1)
<headers>...

But with MessageName and -noheader, at  least I get the header only once
when showing a single message.

$ grep show /home/amb/.mh_profile
show: -noheader

Thanks for remembering this option.

Someone  else  asked if  anyone  would  notice  a difference  if  mhshow
replaced  show...  well,  at  least  in this  regard,  it  certainly  is
different. I bet  the time that my multi message  headers disappeared is
the time that I (for whatever reason) added mhshow as the showproc.

Andy
-- 
TAI64 timestamp: 4000000054def7bb



_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>