From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46371 Path: main.gmane.org!not-for-mail From: Alexander Kotelnikov Newsgroups: gmane.emacs.gnus.general Subject: Re: emacs -batch -l ~/.emacs -f gnus-agent-batch Date: Tue, 03 Sep 2002 22:40:46 +0400 Organization: Debian Project Sender: owner-ding@hpc.uh.edu Message-ID: <874rd69as1.fsf@pale.loc> References: <87it1na5d5.fsf@pale.loc> <87elcb9y7n.fsf@pale.loc> <87ptvvurzj.fsf@giotto.sj.ru> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1031078570 13977 127.0.0.1 (3 Sep 2002 18:42:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 18:42:50 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mIdT-0003d1-00 for ; Tue, 03 Sep 2002 20:42:47 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17mIdC-0001zZ-00; Tue, 03 Sep 2002 13:42:30 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 03 Sep 2002 13:43:03 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA26015 for ; Tue, 3 Sep 2002 13:42:36 -0500 (CDT) Original-Received: (qmail 4865 invoked by alias); 3 Sep 2002 18:41:55 -0000 Original-Received: (qmail 4854 invoked from network); 3 Sep 2002 18:41:55 -0000 Original-Received: from pet-relcom.softjoys.ru (HELO pet.softjoys.ru) (212.113.101.73) by gnus.org with SMTP; 3 Sep 2002 18:41:55 -0000 Original-Received: from pale.loc (mail@pale.softjoys.ru [212.113.101.137]) by pet.softjoys.ru (8.11.0/8.11.0) with ESMTP id g83Ii1o06243 for ; Tue, 3 Sep 2002 22:44:01 +0400 (MSD) Original-Received: from sacha by pale.loc with local (Exim 3.36 #1 (Debian)) id 17mIcY-0006HG-00 for ; Tue, 03 Sep 2002 22:41:50 +0400 Original-To: ding@gnus.org X-Face: (uU)eOi[yT~l(bwno'Pl_Z-MbLa:<"SX"r]IQb3zJ8G[n(PGcwS^;\?oSN~iz{IrR3`=_A- ]ghp.+wSOFa}KX@4m{Nl!yP)&v;o8~ (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 03 Sep 2002 16:15:01 +0200") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.2 (i386-debian-linux-gnu) Original-Lines: 25 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46371 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46371 >>>>> On Tue, 03 Sep 2002 16:15:01 +0200 >>>>> "KG" =3D=3D Kai Gro=DFjohann wro= te: KG>=20 KG> Alexander Kotelnikov writes: >> Hm... I think something is wrong here. emacs/gnus should read not the >> input on console, but the output of ssh -q %s /usr/sbin/imapd. The >> latter command do not want any input, since ssh auth is made via keys. KG>=20 KG> So "ssh -q %s /usr/sbin/imapd works, when invoked outside of Emacs? It should not, since gnus would like to pass some commands to _imapd_ instead of /dev/null, while I am not going to pass anything to=20 emacs -f gnus-agent-batch KG> If you invoke "emacs -batch -l ~/.emacs -f gnus-agent-batch" without KG> the redirection, what kind of input is expected from stdin? I never type anything ot emacs when it evaluates gnus-agent-batch. gnus-agent-synchronize-flags is t (means 'always sync flags'). --=20 Alexander Kotelnikov Saint-Petersburg, Russia