🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Rich Thomson Tue, 01 Oct 1991 20:51
Why does inews truncate at 8192 bytes into an article?
#658
Author: Rich Thomson
Date: Tue, 01 Oct 1991 20:51
28 lines
1990 bytes
[Note: followups directed to news.software.readers]

I have been posting an article from my crontab file via inews.  I have
fully-prepared the article with the appropriate headers, etc.  When I
run the inews command from the shell, the entire article appears
intact.  When the exact same command is run from the crontab entry,
the article is always truncated 8192 bytes into the file fed to inews,
with my signature tacked onto the end.

Has anyone else had experience with this problem?  It would seem to be
an interaction with cron, but I can't imagine why this would be.  I
haven't had any other problems with cron in this fashion.

Here's the crontab entry (line breaks inserted for readability):

30 12 1,15 * * \
	/usr/local/bin/inews -h /syssoft4/rthomson/.News/bbs-list 2>&1 \
	| /usr/ucb/mail -s "crontab: inews output" $LOGNAME

Any help would be appreciated.

							-- Rich
-- 
  ``Read my MIPS -- no new VAXes!!'' -- George Bush after sniffing freon
	    Disclaimer: I speak for myself, except as noted.
UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer
Re: Why does inews truncate at 8192 bytes into an article?
#668
Author: Rich Thomson
Date: Fri, 04 Oct 1991 05:28
19 lines
1698 bytes
In article <1991Oct1.205133.4350@dsd.es.com> I wrote:
>
>I have been posting an article from my crontab file via inews.  I have
>fully-prepared the article with the appropriate headers, etc.  When I
>run the inews command from the shell, the entire article appears
>intact.  When the exact same command is run from the crontab entry,
>the article is always truncated 8192 bytes into the file fed to inews,
>with my signature tacked onto the end.

Well, putting the inews command into a shell script and having the
shell script run from the crontab seems to have solved the problem.
Really wierd, though.

						-- Rich
-- 
  ``Read my MIPS -- no new VAXes!!'' -- George Bush after sniffing freon
	    Disclaimer: I speak for myself, except as noted.
UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer
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