🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Erik Oliver Wed, 16 Jun 1993 17:55
trn 3.0 problem w/ groups starting in _
#4553
Author: Erik Oliver
Date: Wed, 16 Jun 1993 17:55
13 lines
1192 bytes
At our local site, our newsgroups start with an _, e.g.
_bico.news.suggestions, etc.

As of version 3.0, trn doesn't seem to accept goups starting with _, and
perhaps anywhere in the name although I haven't tried this.  I don't
remember this being a problem with trn 2.5.XX.  

NB: THE PROBLEM IS ONLY WITH THE 'g' command to add the group as far as
I can tell.

-Erik
-- 
Erik Oliver                       Erik_Oliver@ralph.cs.haverford.edu
Re: trn 3.0 problem w/ groups starting in _
#4618
Author: Eiji Hirai
Date: Mon, 21 Jun 1993 21:32
30 lines
1660 bytes
eoliver@ralph.cs.haverford.edu (Erik Oliver) writes:
: As of version 3.0, trn doesn't seem to accept goups starting with _

Apply this patch:

*** trn.c.old	Tue Jun  1 14:48:58 1993
--- trn.c	Tue Jun  8 16:27:29 1993
***************
*** 349,355 ****
  		    if (!*s && *buf == 'm' && ngname && ng < nextrcline)
  			strcpy(s,ngname);
  #endif
! 		    if (isalnum(*s)) {
  		        char *_s;
  			for (_s=s; isdigit(*_s); _s++)
  			    ;
--- 349,355 ----
  		    if (!*s && *buf == 'm' && ngname && ng < nextrcline)
  			strcpy(s,ngname);
  #endif
! 		    if (isalnum(*s) || *s == '_') {
  		        char *_s;
  			for (_s=s; isdigit(*_s); _s++)
  			    ;

--
hirai@cc.swarthmore.edu (Eiji Hirai) | Unix Geek for Swarthmore College
I don't speak for Swarthmore College | Computing Center, Swarthmore, PA, USA

"I post, therefore I am." -Rene Descartes on Usenet
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