[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Andy Bradford
Subject: Re: [Nmh-workers] show message number scrolls off terminal?
Date: 14 Feb 2015 00:22:00 -0700

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)

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.

TAI64 timestamp: 4000000054def7bb

reply via email to

[Prev in Thread] Current Thread [Next in Thread]