🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by dent Wed, 06 Jun 1990 06:37
Angle-Brackets (from Hell, of course)
#531
Author: dent
Date: Wed, 06 Jun 1990 06:37
25 lines
1969 bytes
I appoligize if this is a silly question... 

I'm running 'nn 6.4.4 #7' on a DECstation 3100 running ULTRIX.
Also, I'm using the built-in NNTP support for read-only access
to an NNTP-server.

When 'nn' displays the subjects for a newsgroup, it seems to add in a
'<>' periodically, in place of some character.  (This character is not
anything specific; it occurs in some places and not others.)

Also, there certainly are a lot of '>>>>>Something' -type subjects...
(meaning subjects with lots of '>' at the beginning, which I thought
was supposed to signify 'Re:'?  The only reason I bring this up is
because when I was using nn 6.3.(4?) on another machine (the one I'm
posting this from, acctually), I seemed to recall that the '>' should
only appear once at the front of a subject line.

I checked the PROBLEMS file, the NNTP file, and the NN-6.4 file, as well
as RELEASE-NOTES and all the old posts here on news.software.nn I could
get ahold of, but nothing mentioned this that I saw, so I figured I might
as well post... :-)

-/ Dave Caplinger /---------------------------------------------------------
  President, Student Chapter of ACM at the University of Nebraska at Omaha 
  acmpres@zeus.unomaha.edu       ..!uunet!unocss!dent       ACMPRES@UNOMA1
Re: Angle-Brackets (from Hell, of course)
#536
Author: Peter Andersen
Date: Wed, 06 Jun 1990 14:36
31 lines
2222 bytes
> When 'nn' displays the subjects for a newsgroup, it seems to add in a 
> '<>' periodically, in place of some character.  (This character is not 
> anything specific; it occurs in some places and not others.) 

This is because the subject is too long to fit on one subject line. You can
control the behaviour in these cases by setting the collapse-subject variable
in your ~/.nn/init file:

collapse-subject offset (integer, default 25)
     When set (non-negative), subject lines which are too long to be presented
     in full on the menus will be "collapsed" by removing a sufficient number
     of characters from the subject starting at the given offset in the
     subject. This is useful in source groups where the "Part (01/10)" string
     sometimes disappears from the menu. When not set (or negative), the
     subjects are truncated.

> Also, there certainly are a lot of '>>>>>Something' -type subjects...

Again the behaviour is controlled by a variable, re-layout:

re-layout N             (integer, default 0)
     Normally on the menu, nn will prefix the subject a number of `>'s
     corresponding to the number of references on the References: line. The
     re-layout variable may be set to use a different prefix on the subjects:
           0: One `>' per reference is shown (default).
           1: A single `>' is shown if the Subject contains Re:.
           2: The number of references is shown as `n>'
           3: A single Re: is shown.

---
Peter Andersen
Re: Angle-Brackets Answer + Question
#538
Author: Jaap Vermeulen
Date: Wed, 06 Jun 1990 16:29
80 lines
4254 bytes
dent@unocss.unomaha.edu (dent) writes:

>When 'nn' displays the subjects for a newsgroup, it seems to add in a
>'<>' periodically, in place of some character.  (This character is not
>anything specific; it occurs in some places and not others.)

dent@unocss.unomaha.edu (dent) writes:

>Ok, ok, now I feel silly.  I really should have done this before I posted
>that last message, but now I realize that the number of '>' in the subject
>is directly related to the number of articles in the "Refrences:" header
>of the article.

>So now curiosity has got me and I just have to ask:  Is that /intentional/?

I searched through the manual in order to find this, but I could not easily
find it. I think that the manual, although already quite large and quite
extensive, could be enhanced a bit so questions like this can be answered
by reading the manual. Any volunteers? :-)

Be careful, I'm not saying that the manual is no good, I do say that writing
a manual in a way that you can find things easily is an art.

Anyways, here are some quotes from the manual related to you questions:

From the ``SELECTION MODE'' section:

     Related variables: collapse-subject, columns, confirm-entry,
     confirm-entry-limit, entry-report-limit, fsort, kill, lay-
     out, limit, lines, long-menu, re-layout, repeat, slow-mode,
     sort, sort-mode, split, subject-match-limit, subject-match-
     offset, subject-match-parts.

From the ``VARIABLES AND OPTIONS'' section:

     collapse-subject offset  (integer, default 25)
          When set (non-negative), subject lines which are too
          long to be presented in full on the menus will be "col-
          lapsed" by removing a sufficient number of characters
          from the subject starting at the given offset in the
          subject.  This is useful in source groups where the
          "Part (01/10)" string sometimes disappears from the
          menu.  When not set (or negative), the subjects are
          truncated.

It is not stated explicitly, but the removed substring is bracketed by '<>'.
So a subject line like:
	This is a really very long subject line
will be shown as:
	This is a r<>ong subject line

From the ``SELECTION MODE'' section:

     One a usual 80 column terminal, the Subject is limited to
     about 60 characters (75 in layout 3) and is thus only an
     approximation to the actual subject line which may be much
     longer.  To get as much out of this space, Re: prefixes (in
     various forms) are recognized and replaced by a single `>'
     character (see the re-layout variable).

From the ``VARIABLES AND OPTIONS'' section:

     re-layout N         (integer, default 0)
          Normally on the menu, nn will prefix the subject a
          number of `>'s corresponding to the number of refer-
          ences on the References: line.  The re-layout variable
          may be set to use a different prefix on the subjects:
               0:  One `>' per reference is shown (default).
               1:  A single `>' is shown if the Subject contains Re:.
               2:  The number of references is shown as `n>'
               3:  A single Re: is shown.

Hope this helps,

	-Jaap-
-- 
"Some call me Jaaper"				+--------------------------+
						| Sequent Computer Systems |
	Internet : jaap@sqnt.com		| Beaverton, Oregon	   |
	Uucp	 : ...uunet!sequent!jaap	+--------------------------+
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads