From: Alexander Kapshuk <alexander.kapshuk@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Stdout and stderr of remote cmd not returned in acme window
Date: Fri, 13 Dec 2019 11:50:04 +0200 [thread overview]
Message-ID: <CAJ1xhMXf27ATHPg4C_PTRAEaTa9wGpgxnS6HuPt-xqXx_fSv0w@mail.gmail.com> (raw)
In-Reply-To: <CAOFTvPL804d0JugXa2v2JNs97v1iWA_SWM088L=4iU8hGn6oLw@mail.gmail.com>
Sure.
By remotely, I meant executing a command via ssh2 and returning stdout
of the command executed on a remote host in an acme window by typing
'<ssh2 host cmd' in a new or existing acme window, and executing it
via mouse button 2.
By acme/win, I meant win(1):
Support programs
Win creates a new acme window and runs a command (default
/bin/rc) in it, turning the window into something analogous
to an rio(1) window. Executing text in a win window with
button 2 is similar to using Send.
Hope this clarifies things.
Thanks.
On Fri, Dec 13, 2019 at 11:41 AM Sergey Zhilkin <szhilkin@gmail.com> wrote:
>
> I'm bit confused, but, what mean:
> - remotely
> - acme/win
> - acme window
>
> Could you, please, give more details. :)
>
> чт, 12 дек. 2019 г. в 11:27, Alexander Kapshuk <alexander.kapshuk@gmail.com>:
>>
>> When running a command remotely via ssh2 in acme/win, I get both
>> stdout and stderr:
>> % ssh2 host date
>> Thu Dec 12 10:21:27 EET 2019
>> % ssh2 host nodate
>> ksh: nodate: not found.
>>
>> However, when running those same commands in an acme window,
>> stdout/stderr are not returned:
>> <ssh2 host date
>> <nothing returned here>
>>
>> Running a command locally in an acme window works fine though.
>> What could be causing this?
>>
>> Any pointers would be much appreciated.
>> Alexander Kapshuk.
>>
>> ------------------------------------------
>> 9fans: 9fans
>> Permalink: https://9fans.topicbox.com/groups/9fans/T8c9b5df754a4a88a-M1d6884165fcda39814941962
>> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
>
>
>
> --
> С наилучшими пожеланиями
> Жилкин Сергей
> With best regards
> Zhilkin Sergey
> 9fans / 9fans / see discussions + participants + delivery options Permalink
prev parent reply other threads:[~2019-12-13 9:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-12 8:26 Alexander Kapshuk
2019-12-13 9:39 ` [9fans] " Sergey Zhilkin
2019-12-13 9:50 ` Alexander Kapshuk [this message]
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=CAJ1xhMXf27ATHPg4C_PTRAEaTa9wGpgxnS6HuPt-xqXx_fSv0w@mail.gmail.com \
--to=alexander.kapshuk@gmail.com \
--cc=9fans@9fans.net \
/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).