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 replicate Fn+p key #36

Closed
umrsrakesh opened this issue Mar 19, 2020 · 1 comment
Closed

How to replicate Fn+p key #36

umrsrakesh opened this issue Mar 19, 2020 · 1 comment

Comments

@umrsrakesh
Copy link

umrsrakesh commented Mar 19, 2020

I am trying to automate ssh terminal operations. I am trying to replicate a Fn+P key on the ssh console using child.send()

The terminal I use has a macro recording option, from that I was able to capture the character it sends which is chr(27) + "~[29~~".
I tried to use the same in child.send(chr(27) + "~[29~~") in wexpect, the console throws a message saying unmapped key
I do not understand what "~[29~~" means.

@raczben
Copy link
Owner

raczben commented Mar 29, 2020

Sorry for the delay, I had no time. Can you send a code snipped (a minimal-reproducible-example), which reproduces the issue?

@raczben raczben closed this as completed Feb 1, 2021
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

2 participants