Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ifconfig do not print output when connecting via ssh #56

Open
tzach opened this issue May 28, 2014 · 1 comment
Open

ifconfig do not print output when connecting via ssh #56

tzach opened this issue May 28, 2014 · 1 comment

Comments

@tzach
Copy link
Member

tzach commented May 28, 2014

ifconfig print output to console just fine, but when also connecting using ssh, output is still going to the console.

@nyh
Copy link
Contributor

nyh commented May 28, 2014

This is happening because ifconfig is a C program.

If ifconfig was a Java program using JNI for the low-level stuff, we
wouldn't have this problem.

If we want to leave it in C, we either need per-thread stdout (see
cloudius-systems/osv#90), or, as an ugly hack:
change ifconfig into a JNI which returns all its output as one string - and
have Java code print it.

On Wed, May 28, 2014 at 8:23 PM, Tzach Livyatan [email protected]
wrote:

ifconfig print output to console just fine, but when also connecting using
ssh, output is still going to the console.


Reply to this email directly or view it on GitHub
#56.

Nadav Har'El
[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants