[4146] in testers

home help back first fref pref prev next nref lref last post

Re: more nmh show greif

daemon@ATHENA.MIT.EDU (Dan Winship)
Fri May 28 12:03:10 1999

Message-Id: <199905281603.QAA61498@antharia.mit.edu>
To: Camilla R Fox <cfox@MIT.EDU>
Cc: testers@MIT.EDU
In-Reply-To: Your message of "Thu, 27 May 1999 21:02:46 EDT."
             <199905280102.VAA106284@smoke-screen.mit.edu> 
Date: Fri, 28 May 1999 12:03:01 -0400
From: Dan Winship <danw@MIT.EDU>

> I often do "show `badmail`" where badmail is an alias to pick with some
> arguments, and returns a list of message numbers.  Under nmh, and with
> a particular set of messages, this behaves badly; essentially, one
> message seems to eat the others, as the top message flips past too fast
> to read.

That would be because that message is MIME and gets handed off to
mhshow. mhshow pipes it though more, but it's less than one screen, so
the more never prompts you. Then regular show shows the rest of them,
one by one in more, like it would normally.

You can avoid this by using "show -nocheckmime", but then you don't
get MIME processing. You could also avoid it by using "mhshow" instead
of "show" so they all get treated like MIME messages. Those are the
only workarounds I can think of. (I'm suspecting that Richard Coleman
didn't use the idiom "show x y z" much, because it doesn't interact
well with a lot of the new nmh features...)

> On a related note, more does pretty headers for the files you give it
> if you give it multiple files under 8.2, while on this 8.3 machine, it
> doesn't do the pretty headers (this might be an irix thing).

When you say "pretty headers", you mean "pretty footers"? IRIX had
"-d" in the default more options in the 8.2 dotfiles, which was a bug
(it was removed from the Solaris dotfiles a few releases ago). If you
like them, do 'setenv MORE "$MORE -d"' in your .environment.

> when running show, with a message list, I now have to hit 'q' once for
> every message left to be read, if I want to exit, while simply more
> with a message list only needs 'q' once to exit.

Is this a change from the 8.2 behavior?

> In addition, I tried setting my showproc to cat or less.  Whether I
> specify this in ~/.mh_profile or on the command line, this seems to be
> ignored, and I get more.

Try setting "moreproc" instead.

> I also notice a bunch of files sitting in ~/Mail/

If you can find a way to reliably cause these to appear, I'd like to
know. (They're supposed to be cleaned up when show exits).

-- Dan

home help back first fref pref prev next nref lref last post