🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.admin.technical
1 messages
1 total messages Started by John Locke Tue, 26 Jan 1993 02:31
C News Posting w/ Sun OS
#67
Author: John Locke
Date: Tue, 26 Jan 1993 02:31
20 lines
1319 bytes
This is a weird one. I have Pnews talking to the nntpd which calls on the
C news subsystem to inject a local post. My posts were disappearing
into the chain of Bourne shell scripts and not returning any error
messages. I traced the failure to this line in injnews:

	pnews /tmp/in$$ <$input >$censart

The syntax is fine. pnews creates stdout with cat and/or echo, but it goes
nowhere. $censart is created but receives no data. Extracting the case
into two simplified scripts fails to reproduce the error. So it seems that
the Bourne shell is failing for some set of conditions. It's the shell
with Sun OS 4.1.1. Has anyone else had this problem?

I have a temporary solution which has pnews output to /tmp/filename.
injnews then uses that name instead of $censart. Not a perfect answer,
since it creates a race condition for near-simultaneous posters. Does
anyone have any suggestions, or is this between me and Sun?

Thanks.
John
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