Gnus development mailing list
 help / color / mirror / Atom feed
From: anhnmncb <anhnmncb@sina.com>
To: ding@gnus.org
Subject: Make gnus-agent-batch non-interactive at all?
Date: Fri, 04 Jul 2008 19:03:25 +0800	[thread overview]
Message-ID: <877ic1di82.fsf@gentoo.hasee.cpu> (raw)

Hi, list,
I encounter an annoying problem with gnus-agent-batch. My script is:
    -----------------------------
    #!/bin/sh
    emacs -batch -l ~/.emacs -f -l ~/.gnus.el gnus-agent-batch >/dev/null 2>&
    -----------------------------

Sometimes when my networking is bad, it can't reach severs, in this
case, this script should ask me: 
    -----------------------------
    Mail source (pop :server pop.sina.com :user anhnmncb :port pop3
    :password ********) error (stringp).  Continue? (yes or no) 
     -----------------------------
and wait for my answer, because it's a non-interactive script, I can't
type yes at all, so this script will be hung on, how to let
gnus-agent-batch always assume the yes answer, so it will go on always?

Any hints will be appreciated!

-- 
Regards,

  anhnmncb
 gpg key: 44A31344




             reply	other threads:[~2008-07-04 11:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-04 11:03 anhnmncb [this message]
2008-07-05  0:57 ` Miles Bader
2008-07-05  1:18   ` anhnmncb
2008-07-05  1:29     ` Miles Bader
2008-07-05  1:33       ` anhnmncb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ic1di82.fsf@gentoo.hasee.cpu \
    --to=anhnmncb@sina.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).