rexpect icon indicating copy to clipboard operation
rexpect copied to clipboard

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

Open hujianxin opened this issue 6 years ago • 5 comments

hujianxin avatar Dec 10 '19 14:12 hujianxin

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

philippkeller avatar Dec 11 '19 08:12 philippkeller

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.

hujianxin avatar Dec 11 '19 14:12 hujianxin

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 avatar Dec 11 '19 15:12 philippkeller

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

allquixotic avatar Apr 14 '20 17:04 allquixotic

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

rumbleFTW avatar Feb 05 '24 17:02 rumbleFTW