mcneill@eplrx7.uucp (Keith McNeill) (10/25/90)
Sometimes I can't post to moderated groups. I can have multiple windows open and I'll be able to post from some of the windows but not others. As far as I can tell everything is the same on all the windows...same login.. same environment...etc.. I turned on bourne shell debugging in inews (added -x flag). The problem seems to occur at the point when inews forks off into the background around the lines: # run the remainder in the background for the benefit of impatient people # who lack a window system When posting doesn't work inews seems to stop right around canonhdr. additional notes: - The problem doesn't occur when posting to unmoderated groups. - I'm running the latest patchlevel of cnews (7-Sep-1990). - happens with different posting programs, postnews, Pnews, vn... Enclosed is a shar file with 2 files, cnews.works & cnews.noworks. cnews.* are logs of the output of sh -x from inews. Is this a know problem? Is this a cnews bug? Is this a sh bug? Thanks for any help! Keith Keith D. McNeill | Du Pont Company eplrx7!mcneill@uunet.uu.net | Engineering Physics Laboratory (302) 695-9353/7395 | P.O. Box 80357 | Wilmington, Delaware 19880-0357 #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of shell archive." # Contents: cnews.works cnews.noworks # Wrapped by mcneill@eplrx7 on Wed Oct 24 14:22:28 1990 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'cnews.works' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'cnews.works'\" else echo shar: Extracting \"'cnews.works'\" \(3918 characters\) sed "s/^X//" >'cnews.works' <<'END_OF_FILE' X What now? [send, edit, list, quit, write, append] send Posting article... X+ . /usr/usenet/lib/bin/config NEWSCTL=/usr/usenet/lib NEWSBIN=/usr/usenet/bin NEWSARTS=/usr/usenet/news NEWSPATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin NEWSUMASK=002 NEWSMASTER=usenet NEWSCONFIG=/usr/usenet/lib/bin/config X+ export NEWSCTL NEWSBIN NEWSARTS NEWSPATH NEWSUMASK NEWSMASTER NEWSCONFIG PATH=/usr/usenet/lib/bin:/usr/usenet/bin/inject:/usr/usenet/bin/relay:/usr/usenet/bin:/bin:/usr/bin:/usr/ucb:/usr/local/bin X+ export PATH PASSEDFROM= X+ export PASSEDFROM debug= exclusion= hdrspresent=no autopost=no waitcmd=status=0 relayopts=-r -d fhlmt input=/tmp/in15535in inhdrs=/tmp/in15535hdr inbody=/tmp/in15535body censart=/tmp/in15535cens nglist=/tmp/in15535ngs modroute=/tmp/in15535route exitflag=/tmp/in15535exit outfile=/tmp/in15535out rmlist=/tmp/in15535hdr /tmp/in15535body /tmp/in15535in /tmp/in15535cens /tmp/in15535ngs /tmp/in15535route /tmp/in15535exit /tmp/in15535out grpok=/tmp/in15535grp X+ umask 002 cleanup=test ! -f /k/home/mcneill/dead.article -o -w /k/home/mcneill/dead.article && X cat /tmp/in15535in >>/k/home/mcneill/dead.article && X { echo /usr/usenet/lib/inews: article in /k/home/mcneill/dead.article >&2; rm -f /tmp/in15535hdr /tmp/in15535body /tmp/in15535in /tmp/in15535cens /tmp/in15535ngs /tmp/in15535route /tmp/in15535exit /tmp/in15535out; }; exit 1 X+ trap test ! -f /k/home/mcneill/dead.article -o -w /k/home/mcneill/dead.article && X cat /tmp/in15535in >>/k/home/mcneill/dead.article && X { echo /usr/usenet/lib/inews: article in /k/home/mcneill/dead.article >&2; rm -f /tmp/in15535hdr /tmp/in15535body /tmp/in15535in /tmp/in15535cens /tmp/in15535ngs /tmp/in15535route /tmp/in15535exit /tmp/in15535out; }; exit 1 0 1 2 3 15 X+ : hdrspresent=yes X+ shift X+ : X+ break X+ tear /tmp/in15535 X+ test -s /tmp/in15535hdr hdrspresent=yes X+ cat /tmp/in15535hdr /tmp/in15535body X+ : far out X+ trap 1 2 15 X+ trap test ! -f /k/home/mcneill/dead.article -o -w /k/home/mcneill/dead.article && X cat /tmp/in15535in >>/k/home/mcneill/dead.article && X { echo /usr/usenet/lib/inews: article in /k/home/mcneill/dead.article >&2; rm -f /tmp/in15535hdr /tmp/in15535body /tmp/in15535in /tmp/in15535cens /tmp/in15535ngs /tmp/in15535route /tmp/in15535exit /tmp/in15535out; }; exit 1 0 X+ eval status=0 status=0 X+ trap 0 X+ exit 0 Article posted successfully. X+ tear /tmp/in15535 X[mcneill@eplrx7 .../mcneill] + canonhdr X+ mv /tmp/in15535realtmp /tmp/in15535hdr X+ test ! -s /tmp/in15535body X+ + trecho A-ZB a-z X trversion=v7 X+ export trversion X+ anne.jones X+ tr -d \1-\7\13\15-\37 X+ test -r /k/home/mcneill/.signature X+ echo -- X+ sed 4q /k/home/mcneill/.signature X+ grep -s ^Control: /tmp/in15535hdr X+ sed -n X/^Newsgroups:[ ]/{ s/^Newsgroups:[ ]*\(.*\)$/\1/p q X} X X+ test ! -s /tmp/in15535ngs X+ sed -e s/[.+*()|[]/\\&/g -e s/,/|/g egreppat=^(comp\.sys\.sun) X+ egrep ^(comp\.sys\.sun) /usr/usenet/lib/active X+ rm -f /tmp/in15535grp X+ read ng high low flag junk X+ egrep ^(comp\.sys\.sun) /usr/usenet/lib/active X+ grep -s ^Approved:[ ] /tmp/in15535hdr X+ + trecho .comp.sys.sun - X X+ sed s/^backbone[ ]/all / /usr/usenet/lib/mailpaths X+ + catsed /tmp/in15535ngs -n X 1{s/^[^ ]*[ ][ ]*// X s/%s/comp-sys-sun/;p;q;} + gngp -a -r comp.sys.sun X+ echo default %s X+ cat /tmp/in15535route moderator=uunet!comp-sys-sun X+ echo /usr/usenet/lib/inews: mailing your article to uunet!comp-sys-sun X/usr/usenet/lib/inews: mailing your article to uunet!comp-sys-sun X+ mail uunet!comp-sys-sun X+ trap 0 X+ echo 0 X+ exit 0 X+ test ! -r /tmp/in15535grp X+ rm -f /tmp/in15535grp X+ test -f /tmp/in15535exit X+ cat /tmp/in15535exit exitstatus=0 X+ rm -f /tmp/in15535hdr /tmp/in15535body /tmp/in15535in /tmp/in15535cens /tmp/in15535ngs /tmp/in15535route /tmp/in15535exit /tmp/in15535out X+ trap 0 X+ exit 0 X X[mcneill@eplrx7 .../mcneill] END_OF_FILE if test 3918 -ne `wc -c <'cnews.works'`; then echo shar: \"'cnews.works'\" unpacked with wrong size! fi # end of 'cnews.works' fi if test -f 'cnews.noworks' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'cnews.noworks'\" else echo shar: Extracting \"'cnews.noworks'\" \(2419 characters\) sed "s/^X//" >'cnews.noworks' <<'END_OF_FILE' What now? [send, edit, list, quit, write, append] send Posting article... X+ . /usr/usenet/lib/bin/config NEWSCTL=/usr/usenet/lib NEWSBIN=/usr/usenet/bin NEWSARTS=/usr/usenet/news NEWSPATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin NEWSUMASK=002 NEWSMASTER=usenet NEWSCONFIG=/usr/usenet/lib/bin/config X+ export NEWSCTL NEWSBIN NEWSARTS NEWSPATH NEWSUMASK NEWSMASTER NEWSCONFIG PATH=/usr/usenet/lib/bin:/usr/usenet/bin/inject:/usr/usenet/bin/relay:/usr/usenet/bin:/bin:/usr/bin:/usr/ucb:/usr/local/bin X+ export PATH PASSEDFROM= X+ export PASSEDFROM debug= exclusion= hdrspresent=no autopost=no waitcmd=status=0 relayopts=-r -d fhlmt input=/tmp/in15457in inhdrs=/tmp/in15457hdr inbody=/tmp/in15457body censart=/tmp/in15457cens nglist=/tmp/in15457ngs modroute=/tmp/in15457route exitflag=/tmp/in15457exit outfile=/tmp/in15457out rmlist=/tmp/in15457hdr /tmp/in15457body /tmp/in15457in /tmp/in15457cens /tmp/in15457ngs /tmp/in15457route /tmp/in15457exit /tmp/in15457out grpok=/tmp/in15457grp X+ umask 002 cleanup=test ! -f /k/home/mcneill/dead.article -o -w /k/home/mcneill/dead.article && X cat /tmp/in15457in >>/k/home/mcneill/dead.article && X { echo /usr/usenet/lib/inews: article in /k/home/mcneill/dead.article >&2; rm -f /tmp/in15457hdr /tmp/in15457body /tmp/in15457in /tmp/in15457cens /tmp/in15457ngs /tmp/in15457route /tmp/in15457exit /tmp/in15457out; }; exit 1 X+ trap test ! -f /k/home/mcneill/dead.article -o -w /k/home/mcneill/dead.article && X cat /tmp/in15457in >>/k/home/mcneill/dead.article && X { echo /usr/usenet/lib/inews: article in /k/home/mcneill/dead.article >&2; rm -f /tmp/in15457hdr /tmp/in15457body /tmp/in15457in /tmp/in15457cens /tmp/in15457ngs /tmp/in15457route /tmp/in15457exit /tmp/in15457out; }; exit 1 0 1 2 3 15 X+ : hdrspresent=yes X+ shift X+ : X+ break X+ tear /tmp/in15457 X+ test -s /tmp/in15457hdr hdrspresent=yes X+ cat /tmp/in15457hdr /tmp/in15457body X+ : far out X+ trap 1 2 15 X+ trap test ! -f /k/home/mcneill/dead.article -o -w /k/home/mcneill/dead.article && X cat /tmp/in15457in >>/k/home/mcneill/dead.article && X { echo /usr/usenet/lib/inews: article in /k/home/mcneill/dead.article >&2; rm -f /tmp/in15457hdr /tmp/in15457body /tmp/in15457in /tmp/in15457cens /tmp/in15457ngs /tmp/in15457route /tmp/in15457exit /tmp/in15457out; }; exit 1 0+ X+ tear /tmp/in15457 eval status=0 status=0 X+ trap 0 X+ exit 0 Article posted successfully. X+ canonhdr X[mcneill@eplrx7 .../lib] END_OF_FILE if test 2419 -ne `wc -c <'cnews.noworks'`; then echo shar: \"'cnews.noworks'\" unpacked with wrong size! fi # end of 'cnews.noworks' fi echo shar: End of shell archive. exit 0 -- Keith D. McNeill | Du Pont Company eplrx7!mcneill@uunet.uu.net | Engineering Physics Laboratory (302) 695-9353/7395 | P.O. Box 80357 | Wilmington, Delaware 19880-0357 -- The UUCP Mailer