[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Single Page

Top Document: [news.software.readers] trn newsreader FAQ, part 2: Advanced
Previous Document: ACNB: Trn thinks certain newsgroups are bogus; TIN doesn't
Next Document: OSTR: What's strn?


APNU: Why might trn 3.6 prompt newsgroups with 0 unread articles?


        Wayne Davison <trn@clari.net>,
        Mike Iglesias <iglesias@draco.acs.uci.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.
> Trn 3.5 didn't do this.  Is there any way to get the old behavior?

This is a restoration of the old behavior. Instead of typing "trn group"
start trn and type "O group" (capital O). Another solution is to
reinstall trn, removing the only line in sw.c that sets "emptyOnly" to
TRUE. Here's the patch in case someone needs it, from Mike Iglesias:

*** 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 ----



Top Document: [news.software.readers] trn newsreader FAQ, part 2: Advanced
Previous Document: ACNB: Trn thinks certain newsgroups are bogus; TIN doesn't
Next Document: OSTR: What's strn?

Part1 - Part2 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
@tigerden.com (Peter J. Kappesser)

Last Update December 05 2008 @ 00:13 AM

© 2008 FAQS.ORG. All rights reserved.