Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: emacs -batch -l ~/.emacs -f gnus-agent-batch
Date: Tue, 03 Sep 2002 14:18:17 +0200	[thread overview]
Message-ID: <vafwuq39shi.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <87elcb9y7n.fsf@pale.loc>

Alexander Kotelnikov <sacha@giotto.sj.ru> writes:

>>>>>> On Tue, 03 Sep 2002 11:26:00 +0200
>>>>>> "KG" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> wrote:
> KG> 
> KG> Alexander Kotelnikov <sacha@giotto.sj.ru> writes:
>>> imap: Opening IMAP connection with `ssh -q %s /usr/sbin/imapd'...
> KG> 
> KG> Can you run this command from the shell with no controlling terminal?
>
> Actually, I do not understand the question.
>
> I am able to run the command throm shell. But I am not able to run it,
> for instance, with cron. Simple way to replroduce the problem is to
> put /dev/null on the command's stdin while running it from shell.

Yes, I meant whether it is possible to run

    ssh -q %s /usr/sbin/imapd </dev/null
                              ^^^^^^^^^^

I underlined the important part, and the %s needs to be replaced with
something else, of course.

Now here is my reasoning:

It does not work to let "ssh -q ... /usr/sbin/imapd" read from
/dev/null, probably because the command needs some input.  The need
for input doesn't go away by letting it run under Emacs, so you
shouldn't be surprised that letting Emacs (and thus, sshd) read from
/dev/null doesn't work, either.

Or am I misunderstanding something?

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)



  reply	other threads:[~2002-09-03 12:18 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 [this message]
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
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=vafwuq39shi.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --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).