Gnus development mailing list
 help / color / mirror / Atom feed
* agent batching function
@ 1999-04-18 23:23 lconrad
  0 siblings, 0 replies; 2+ messages in thread
From: lconrad @ 1999-04-18 23:23 UTC (permalink / raw)


I finally have the agent more or less working, thanks to a lot of help 
from Harry Putnam <reader@newsguy.com>. 

I am using RedHat Linux 5.2, and in order to automatically download my 
news, I have the following line in my /etc/ppp/ip-up.local:

su -c "/usr/local/xemacs/usr/bin/xemacs -batch -l ~gnus/.emacs -f \
      gnus-agent-batch 2>/tmp/xemacs-batch.log" gnus

(gnus is the dummy account I am using to check out the agent with.)

The log file /tmp/xemacs-batch.log says:

Reading /home/gnus/.newsrc.eld...
Reading active file from news.std.com via nntp...
Checking new news...
Opening nndraft server...

Checking new news...done
No more unread newsgroups

but the xemacs batch process never seems to exit, even after
ip-up.local does:

# ps ax | grep xemacs
22619  p2 S    0:00 grep xemacs 
 1325   1 S   13:23 xemacs (lconrad's xemacs)
21943  p0 S    0:04 xemacs -nw -debug-init  (the gnus xemacs)
22497  ?  S    0:03 /usr/local/xemacs/usr/bin/xemacs -batch -l /home/gnus/.emacs  (the xemacs started from /etc/ppp/ip-up.local,
which I would have expected to exit.)
#

Is this what's supposed to happen?

This is currently happening with pgnus-0.83.
-- 
Laura (mailto:lconrad@world.std.com , http://www.world.std.com/~lconrad/ )
(617) 661-8097	 
233 Broadway, Cambridge, MA 02139


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: agent batching function
       [not found] <m3ogklzf5p.fsf_-_@serpent.laymusic.>
@ 1999-04-19  6:32 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-04-19  6:32 UTC (permalink / raw)


lconrad@world.std.com writes:

> but the xemacs batch process never seems to exit, even after
> ip-up.local does:

Perhaps adding ">/dev/null </dev/null" would help, so that the XEmacs
isn't waiting for tty input anywhere.  I'm just guessing, though.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-04-19  6:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-18 23:23 agent batching function lconrad
     [not found] <m3ogklzf5p.fsf_-_@serpent.laymusic.>
1999-04-19  6:32 ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).