From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46366 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: emacs -batch -l ~/.emacs -f gnus-agent-batch Date: Tue, 03 Sep 2002 18:13:42 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87it1na5d5.fsf@pale.loc> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031069602 13286 127.0.0.1 (3 Sep 2002 16:13:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 16:13:22 +0000 (UTC) Cc: ding@gnus.org 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 17mGIp-0003Rm-00 for ; Tue, 03 Sep 2002 18:13:19 +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 17mGJn-0001WQ-00; Tue, 03 Sep 2002 11:14:19 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 03 Sep 2002 11:14:54 -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 LAA25854 for ; Tue, 3 Sep 2002 11:14:42 -0500 (CDT) Original-Received: (qmail 1618 invoked by alias); 3 Sep 2002 16:14:02 -0000 Original-Received: (qmail 1613 invoked from network); 3 Sep 2002 16:14:02 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 3 Sep 2002 16:14:02 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id g83GDin3009167 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 3 Sep 2002 18:13:45 +0200 Original-To: Alexander Kotelnikov Mail-Copies-To: nobody X-Hashcash: 0:020903:sacha@giotto.sj.ru:1789efd472c5d5ac X-Hashcash: 0:020903:ding@gnus.org:d91bcfa59f792eb1 In-Reply-To: <87it1na5d5.fsf@pale.loc> (Alexander Kotelnikov's message of "Tue, 03 Sep 2002 11:40:06 +0400") Original-Lines: 22 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46366 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46366 Alexander Kotelnikov writes: > This command could not be run for imap backend without controlling > terminal: > 11:39 pts/0 sacha@pale:~ 41> emacs -batch -l ~/.emacs -f gnus-agent-batch imap: Connecting to giotto.sj.ru... > imap: Opening IMAP connection with `ssh -q %s /usr/sbin/imapd'... > zsh: hangup emacs -batch -l ~/.emacs -f gnus-agent-batch < /dev/null Does this patch together with frobing `imap-process-connection-type' help? (Line numbers might differ, it is in `imap-shell-open'.) --- imap.el.~6.39.~ 2002-08-12 23:09:16.000000000 +0200 +++ imap.el 2002-08-27 12:17:32.000000000 +0200 @@ -681,6 +689,7 @@ (let* ((port (or port imap-default-port)) (coding-system-for-read imap-coding-system-for-read) (coding-system-for-write imap-coding-system-for-write) + (process-connection-type imap-process-connection-type) (process (start-process name buffer shell-file-name shell-command-switch (format-spec