SDN> can actually use PageUp/Down and Home/End for scrolling through
SDN> the header display, at least if you use the NCL

indeed -- I wasn't aware of this.  What am always using, and this
is applicable to stock nail and may help Jan, too:  page with
"z[+|-]" which is covered by posix, too.

Anybody messing around with ^W^W^W implementing "h[eaders]" arguments
should take a look at the posix definition, too.  It asks for few
but non-obvious things:

        h[eaders] [message]

        Write the page of headers that includes the message specified. If
        the message argument is not specified, the current message shall
        not change. However, if the message argument is specified, the
        current message shall become the message that appears at the top
        of the page of headers that includes the message specified. The
        screen variable sets the number of headers per page. See also
        the z command.

In more explicit words: if you address a specific message, that message

(a) is *not* required to be the one heading the new header list (it
    is just somewhere within the list).

(b) it is likely not the "." current message.  (Whatever is at top
    is the new ".";   This also runs counter to the usual convention

so, implementors should also be aware that "+" and "-" are message
addresses in the standard and that a new h+ / h- for paging may in
conflict with "h +" / "h -" as required by the standard.  (And at least
I routinely leave off an intervening space in commands such as "d-"
or "f:n".)  I didn't Steffen's recent message not closely enough -
I believe he already pointed this out, too.

(If I am not mistaken, stock nail was always confusing me by printing
the header listing with ">" flagging another message than what was
current afterwards.)

                                                                Martin

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to