Re: Dealing with growing FAQs

---------

Kent Landfield (Kent_Landfield@sterling.com)
Tue, 28 Jun 94 9:57:26 CDT


>
> Just to clarify things - the 60k limit _for me_ IS a matter of software -
> something here refuses to process files larger than that. We have some
> versiono f C/News in place. I have had two other C News folk (one is
> an author of part of the code) confirm the 60k limit.

Just to clarify a bit further... :-)

In the C News version of inews there is a section of script that checks if
the article is a "polite" article.

---------
# 64512 = 63*1024 to allow for Path: growth
max=64512
if test "`wc -c <$censart`" -gt $max; then
echo "$0: your article is over $max bytes, which makes it likely to be"
>&2
echo "$0: dropped by older sites (and it's impolite to post such big ">&2
echo "$0: articles). Try splitting it up, if you must." >&2
exit 1 # clean up
fi
---------

Make max what you want. This is for initial injection into the systems and
not for passing it on at the next site. This is not a restriction with
INN. This is policy in software as far as I am concerned. Henry wrote it
in script so that it would be easy to change the policy to match local needs.
The inews script's comment at the top...

# Yes, it's big, slow and awkward. The alternative is casting a lot of
# local policy in C.

If this is a show stopper... :-)

-Kent+

-- 
Kent Landfield                        INTERNET: kent_landfield@sterling.com
Sterling Software                     UUCP:     uunet!kent || sparky!kent
Phone: (402) 291-8300                 FAX:     (402) 291-4362
Please send comp.sources.misc-related mail to kent@uunet.uu.net.


[ Usenet Hypertext FAQ Archive | Search Mail Archive | Authors | Usenet ]
[ 1993 | 1994 | 1995 | 1996 | 1997 ]

---------

faq-admin@landfield.com

© Copyright The Landfield Group, 1997
All rights reserved