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

Ctrl+O not working with SSM start-session #79

Closed
jbbarth opened this issue Sep 13, 2023 · 2 comments
Closed

Ctrl+O not working with SSM start-session #79

jbbarth opened this issue Sep 13, 2023 · 2 comments

Comments

@jbbarth
Copy link

jbbarth commented Sep 13, 2023

When using ipython (an improved shell in the python ecosystem), "Ctrl+O" is the canonical way to add a new line in a given cell, so you can add multiple instructions before executing.

It turns out Ctrl+O doesn't work within a aws ssm start-session session:

  • expected behaviour: a new line is added to the cell
  • observed behaviour: nothing happens

Version: 1.2.497.0 (latest stable), installed via Homebrew

Steps to reproduce:

  • aws ssm start-session --target <an instance with linux>
  • sudo pip3 install ipython
  • /usr/local/bin/ipython
  • Ctrl+O (should add a new line)

I'm more than happy to help in the resolution, do you have any pointer where I should start to look at? I saw #29 but it seems to be more about signal handling.

@jbbarth jbbarth changed the title Ctrl+O not working with SSM Ctrl+O not working with SSM start-session Sep 13, 2023
@justinmk3
Copy link

justinmk3 commented Sep 13, 2023

I saw #29 but it seems to be more about signal handling.

The title of that issue might be misleading. I think it's the same general issue: handling of control codes, possibly related to termios.

@jbbarth
Copy link
Author

jbbarth commented Sep 15, 2023

Closing this one in favour of #29, I didn't read til the end, it looks like it's the same issue indeed. Thanks @justinmk3!

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