Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: emacs -batch -l ~/.emacs -f gnus-agent-batch
Date: Tue, 03 Sep 2002 18:13:42 +0200	[thread overview]
Message-ID: <iluwuq3dpah.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87it1na5d5.fsf@pale.loc> (Alexander Kotelnikov's message of "Tue, 03 Sep 2002 11:40:06 +0400")

Alexander Kotelnikov <sacha@giotto.sj.ru> 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 </dev/null
> 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




  parent reply	other threads:[~2002-09-03 16:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-03  7:40 Alexander Kotelnikov
2002-09-03  9:26 ` Kai Großjohann
2002-09-03 10:14   ` Alexander Kotelnikov
2002-09-03 12:18     ` Kai Großjohann
2002-09-03 13:23       ` Alexander Kotelnikov
2002-09-03 14:15         ` Kai Großjohann
2002-09-03 18:40           ` Alexander Kotelnikov
2002-09-03 18:53             ` Simon Josefsson
2002-09-03 19:11               ` Alexander Kotelnikov
2002-09-03 20:12                 ` Simon Josefsson
2002-09-04 18:13                   ` Alexander Kotelnikov
2002-09-03 20:31             ` Kai Großjohann
2002-09-03 16:13 ` Simon Josefsson [this message]
2002-09-03 18:34   ` Alexander Kotelnikov
2002-09-03 18:49     ` Simon Josefsson
2002-09-03 19:12       ` Alexander Kotelnikov

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=iluwuq3dpah.fsf@latte.josefsson.org \
    --to=jas@extundo.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).