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

How to send command in PTY shell #83

Open
Kwasow opened this issue Jun 11, 2020 · 0 comments
Open

How to send command in PTY shell #83

Kwasow opened this issue Jun 11, 2020 · 0 comments

Comments

@Kwasow
Copy link

Kwasow commented Jun 11, 2020

Hi,

I've managed to figure out how to start a shell using this library, but I don't know how to execute commands inside it (exactly as the connectbot app does).

I'm listening to stdout on one thread and the connection is active on a different one. The stdout's output is displayed in a TextView using a mono font.

I'd like to input a command through a dialog and execute it. I tried writing to stdin, but that's missing the "ENTER" signal of course.

Maybe the documentation on interacting with the shell should be expanded a bit?

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

No branches or pull requests

1 participant