* Stdout and stderr of remote cmd not returned in acme window
@ 2019-12-12 8:26 Alexander Kapshuk
2019-12-13 9:39 ` [9fans] " Sergey Zhilkin
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kapshuk @ 2019-12-12 8:26 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] Stdout and stderr of remote cmd not returned in acme window
2019-12-12 8:26 Stdout and stderr of remote cmd not returned in acme window Alexander Kapshuk
@ 2019-12-13 9:39 ` Sergey Zhilkin
2019-12-13 9:50 ` Alexander Kapshuk
0 siblings, 1 reply; 3+ messages in thread
From: Sergey Zhilkin @ 2019-12-13 9:39 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1779 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] Stdout and stderr of remote cmd not returned in acme window
2019-12-13 9:39 ` [9fans] " Sergey Zhilkin
@ 2019-12-13 9:50 ` Alexander Kapshuk
0 siblings, 0 replies; 3+ messages in thread
From: Alexander Kapshuk @ 2019-12-13 9:50 UTC (permalink / raw)
To: 9fans
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-13 9:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12 8:26 Stdout and stderr of remote cmd not returned in acme window Alexander Kapshuk
2019-12-13 9:39 ` [9fans] " Sergey Zhilkin
2019-12-13 9:50 ` Alexander Kapshuk
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).