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

add child.interact() e.g. to resize window when got SIGWINCH signal? #10

Open
hujianxin opened this issue Dec 10, 2019 · 5 comments
Open
Labels
enhancement Improve the expected

Comments

@hujianxin
Copy link

No description provided.

@philippkeller
Copy link
Collaborator

what do you want to accomplish?

Rexpect is no tty client in the sort that you can draw windows etc. So it cannot resize window. But you should be able to listen to signals and expect the SIGWINCH signal, but I did not check this out yet

@hujianxin
Copy link
Author

Thanks for your replying. After looking around the doc, I found that rexpect has no the feature child.interact() which exists in pexpect. I'll give pexpect a try, thanks anyway.

@philippkeller
Copy link
Collaborator

that's actually a good one, I'm reopening the ticket, maybe there are more people interested so I can motivate myself to implement it or maybe there's a contributor adding this feature

@philippkeller philippkeller reopened this Dec 11, 2019
@philippkeller philippkeller changed the title can rexpect resize window when got SIGWINCH signal? feature request: add child.interact() e.g. to resize window when got SIGWINCH signal? Dec 11, 2019
@philippkeller philippkeller added the enhancement Improve the expected label Dec 11, 2019
@philippkeller philippkeller changed the title feature request: add child.interact() e.g. to resize window when got SIGWINCH signal? add child.interact() e.g. to resize window when got SIGWINCH signal? Dec 11, 2019
@allquixotic
Copy link

I'll have to fall back to pexpect too because I am also looking for an interact() method equivalent...

@rumbleFTW
Copy link

Hey! Is the child.interact() implemented yet? I've been waiting for this feature for a long time.

epage added a commit to epage/rexpect that referenced this issue Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve the expected
Projects
None yet
Development

No branches or pull requests

4 participants