🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Fletcher Mattox Wed, 07 Dec 1994 13:17
trn 3.6 prompts for "0 unread articles"
#13546
Author: Fletcher Mattox
Date: Wed, 07 Dec 1994 13:17
18 lines
1247 bytes
If you specify a restriction on the command line, trn 3.6 prompts you
to read a newsgroup even when there are no unread articles in it.
Trn 3.5 didn't do this.  Was this change intentional?  Is there any way 
to get the old behaviour?

cs.utexas.edu$ trn utcs

======   0 unread articles in utcs.general -- read now? [ynq]
======   0 unread articles in utcs.grad -- read now? [ynq]
======   0 unread articles in utcs.under -- read now? [ynq]

cs.utexas.edu$ trn.old utcs

No articles under restriction.
Restriction utcs removed.

****** End of newsgroups -- what next? [npq]
cs.utexas.edu$ 
trn and solaris 2.3
#13554
Author: Yann Kieffer
Date: Wed, 07 Dec 1994 18:34
5 lines
941 bytes
Does anyone know where I can find a trn version
working w/ Solaris 2.3? (the latest one, eg). 
trn 3.5 would not compile on my system.

Please reply by e-mail.
Re: trn 3.6 prompts for "0 unread articles"
#13600
Author: Wayne Davison
Date: Fri, 09 Dec 1994 01:39
14 lines
1261 bytes
According to Fletcher Mattox <fletcher@cs.utexas.edu>:
> If you specify a restriction on the command line, trn 3.6 prompts you
> to read a newsgroup even when there are no unread articles in it.

This is a restoration of the old behavior before I changed it.  I restored
it because people complained about the new behavior.  Now I have people
complaining about the old behavior.  Such is life.

Anyway, the solution is, instead of typing "trn group" start trn and type
"O group" (capital O).  Another solution is to remove the only line in
sw.c that sets "emptyOnly" to TRUE.
-- 
Wayne Davison
davison@borland.com
Re: trn 3.6 prompts for "0 unread articles"
#13603
Author: Mike Iglesias
Date: Fri, 09 Dec 1994 06:29
33 lines
2035 bytes
In article <D0IsM3.Jnp@borland.com>, Wayne Davison <davison@borland.com> wrote:
>This is a restoration of the old behavior before I changed it.  I restored
>it because people complained about the new behavior.  Now I have people
>complaining about the old behavior.  Such is life.

Documenting the change might have cut down the number of complaints
you got.  I know that I would not have sent you email about it if
there had been a note in NEW about it.

>Anyway, the solution is, instead of typing "trn group" start trn and type
>"O group" (capital O).  Another solution is to remove the only line in
>sw.c that sets "emptyOnly" to TRUE.

I chose to change sw.c.  Here's the patch in case someone needs it.

*** sw.c.dist	Fri Nov 18 22:01:26 1994
--- sw.c	Thu Dec  8 22:27:48 1994
***************
*** 164,170 ****
  #endif
      if (*s != '-' && *s != '+') {	/* newsgroup pattern */
  	setngtodo(s);
- 	emptyOnly = TRUE;
      }
      else {				/* normal switch */
  	bool upordown = *s == '-' ? TRUE : FALSE;
--- 164,169 ----

-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069
Central Computing Support        
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