🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Paul Homchick Mon, 04 Jul 1994 14:53
Trn 3.5 on Nextstep 3.2
#9804
Author: Paul Homchick
Date: Mon, 04 Jul 1994 14:53
37 lines
2179 bytes
I have a NeXT Cube running NS 3.2.  I have been running trn v2.2 and
the mthreads that came with trn 2.0 for quite a while now (3 years?).
I just tried upgrading to trn v3.5 and mthreads v3.1 and had a
terrible time.

If I compile trn 3.5 (only one change needed to what Configure wanted:
"-D_POSIX_SOURCES") it "runs" fine, but it can't find any articles.
Every news group comes back with "No unread articles".  If I force it
by giving specific article numbers, I get a thread tree, but no
numbers in it:
           ( )-( )
              \-( )
... etc.

When the new mthreads runs through its -e pass, it creates empty
.thread files, which cause trn v2.2 to get a SIGSEGV.  If I run trn
v3.5 on the new .thread files, there are no core dumps, but everything
(of course) is still empty.

I restored the old trn and mthreads and am pondering what to do next.
A Guess: something with the NeXT <dirent> support and the new article
reading code in mthreads/trn is amiss.  It is as if the new programs
cannot open any articles.

How does my guess sound?  Any others?

Does anyone have any configuration or debugging hints to get this
configuration working?  How about using the ndir code that is included
with trn?

Thanks!!!!
-- 
Paul Homchick                    :UUCP     {rutgers | uunet} !cbmvax!cgh!paul
Chimitt Gilman Homchick, Inc.    :Internet                       paul@cgh.com
1111 West DeKalb Pike, Suite 101 :
Wayne, PA  19087-2179            :
Re: Trn 3.5 on Nextstep 3.2
#9835
Author: Wayne Davison
Date: Tue, 05 Jul 1994 16:51
26 lines
1583 bytes
According to Paul Homchick <paul@cgh.cgh.com>:
> It is as if the new programs cannot open any articles.

No, the readdir routines that trn/mthreads is trying to use aren't returning
any files, so trn/mthreads are led to believe that there is nothing in the
directory to even try to open.  This is something that I'd really like to
get Configure to figure out for itself, but I'm at a loss as to what sort
of brain-damaged library causes the thing to link but not run correctly.

To work around the problem you need to fiddle with config.sh manually and
change the dirent/direct setting and maybe some of the ndir settings.
Check for the lines:

d_libndir='undef'
d_usendir='undef'
libndir=''
ndirc=''
ndiro=''
[...]
i_dirent='define'

(This is the config for SunOS 4.1.1.)
-- 
Wayne Davison
davison@borland.com
Re: Trn 3.5 on Nextstep 3.2
#9856
Author: Kurt Werle
Date: Wed, 06 Jul 1994 17:05
24 lines
1933 bytes
In article <CsH85G.39L@borland.com>, Wayne Davison <davison@borland.com> wrote:
>According to Paul Homchick <paul@cgh.cgh.com>:
>> It is as if the new programs cannot open any articles.
>
>No, the readdir routines that trn/mthreads is trying to use aren't returning
>any files, so trn/mthreads are led to believe that there is nothing in the
>directory to even try to open.  This is something that I'd really like to
>get Configure to figure out for itself, but I'm at a loss as to what sort
>of brain-damaged library causes the thing to link but not run correctly.

This is correct.  I just wrestled with this one myself.  I believe that all
that needs doing is for the dirent variable to be undefined.  The problem
seems to be that there are 2 types of directory entries that the NeXT
believes in...  BSD and POSIX.  Config finds the DIR entry because "it's a
BSD box", then it finds the dirent entry because the file exists (so we
should use it, right???)...

As soon as you undef the dirent entry it should work.

Ideally, Configure should say "I've found an entry for directory structures,
no need to look for the dirent stuff as well...".

Kurt
Re: Trn 3.5 on Nextstep 3.2
#9901
Author: Larry W. Virden
Date: Thu, 07 Jul 1994 19:31
8 lines
1477 bytes
Should the default for programs like this be to look for POSIX first, and
then, if it can't find that, look for BSD (or perhaps System V, then BSD)?
-- 
:s Great net resources sought...
:s Larry W. Virden                 INET: lvirden@cas.org
:s Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
The task of an educator should be to irrigate the desert not clear the forest.
Re: Trn 3.5 on Nextstep 3.2
#9995
Author: Paul Homchick
Date: Mon, 11 Jul 1994 18:27
15 lines
1673 bytes
In article <1994Jul7.193104.24204@chemabs.uucp>,
Regarding POSIX and TRN 3.5, Larry W. Virden <lvirden@cas.org> wrote:
> Should the default for programs like this be to look for POSIX first, and
> then, if it can't find that, look for BSD (or perhaps System V, then BSD)?

Perhaps this is how it should be, but if you use the POSIX header and
link in the POSIX library, TRN 3.5 doesn't work.  Either Nextstep is
broken, the Nextstop library is broken or trn is broken.  I am sort of
curious as to which it is.
-- 
Paul Homchick                    :UUCP                         dsinc!cgh!paul
Chimitt Gilman Homchick, Inc.    :                      pitt!amanue!-/
1111 West DeKalb Pike, Suite 101 :Internet                       paul@cgh.com
Wayne, PA  19087-2179            :Sometimes/Internet     phomchic@wpo.hcc.com
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