From: Alexander Kotelnikov <sacha@giotto.sj.ru>
Subject: Re: emacs -batch -l ~/.emacs -f gnus-agent-batch
Date: Tue, 03 Sep 2002 17:23:28 +0400 [thread overview]
Message-ID: <87ptvvurzj.fsf@giotto.sj.ru> (raw)
In-Reply-To: <vafwuq39shi.fsf@lucy.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 03 Sep 2002 14:18:17 +0200")
>>>>> On Tue, 03 Sep 2002 14:18:17 +0200
>>>>> "KG" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> wrote:
KG>
KG> 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.
KG>
KG> Yes, I meant whether it is possible to run
KG>
KG> ssh -q %s /usr/sbin/imapd </dev/null
KG> ^^^^^^^^^^
KG>
KG> I underlined the important part, and the %s needs to be replaced with
KG> something else, of course.
KG>
KG> Now here is my reasoning:
KG>
KG> It does not work to let "ssh -q ... /usr/sbin/imapd" read from
KG> /dev/null, probably because the command needs some input. The need
KG> for input doesn't go away by letting it run under Emacs, so you
KG> shouldn't be surprised that letting Emacs (and thus, sshd) read from
KG> /dev/null doesn't work, either.
KG>
KG> Or am I misunderstanding something?
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.
--
Alexander Kotelnikov
Saint-Petersburg, Russia
next prev parent reply other threads:[~2002-09-03 13:23 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 [this message]
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=87ptvvurzj.fsf@giotto.sj.ru \
--to=sacha@giotto.sj.ru \
/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).