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

Cisco Ctrl-^ Escape Sequence #286

Open
GoogleCodeExporter opened this issue Jan 22, 2016 · 2 comments
Open

Cisco Ctrl-^ Escape Sequence #286

GoogleCodeExporter opened this issue Jan 22, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

[ Before posting bugs, please check
https://code.google.com/p/hackerskeyboard/wiki/FrequentlyAskedQuestions and
the existing bugs for known issues - my responses may be delayed since I have 
very little time to work on this project. ]

What steps will reproduce the problem?
1. CTRL-SHIFT-6
2.
3.

What is the expected behavior? What do you see instead?

Using a Prolific USB serial adapter, Slick USB, and hackerskeyboard I can 
connect to and issue commands to a Cisco IOS device (switch/router).  However, 
the CRTL-SHIFT-6 (CTRL-^) doesn't break the session.  For example, if I issue a 
ping command for 1000 retries, I can stop it using this key sequence on the PC 
using putty.  

The keyboard doesn't allow CTRL and SHIFT to be pressed at the same time, you 
can lock on the SHIFT then hit CTRL-^ but it seems that the CTRL-^ isn't being 
sent right.  This could either be the keyboard not sending the right code to 
Slick USB or Slick USB not passing on the code to the terminal session.

see:  http://rekrowten.wordpress.com/2011/11/11/change-ctrl-shift-6-in-ios/

What version of Hacker's Keyboard are you using? (See "Debug" section at the 
bottom of the app's Settings menu.)  1.33.132 d27b5144b8e2 2012-07-03

On what phone or tablet?  Asus Transformer Infinity

If applicable, does this affect the 4-row or 5-row layout, or both? Which?  
5-row

language(s)?  English

Please provide any additional information below.


Original issue reported on code.google.com by dave.a.h...@gmail.com on 4 Sep 2012 at 4:35

@GoogleCodeExporter
Copy link
Author

Is the Ctrl-^ combination supposed to create a single byte "\x1E" (similar to 
Ctrl-] which does work), or a more complex combination? See issue 149 for the 
more general issue of complex modifier combinations.

Original comment by Klaus.We...@gmail.com on 22 Jan 2013 at 7:46

  • Changed title: Cisco Ctrl-^ Escape Sequence
  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Hm, turns out this may be a bit tricky to implement without breaking other 
applications. Currently, the keyboard restricts the Ctrl/Alt modifiers to the 
main symbols, since it can't send a key event for Ctrl + ^ - the caret doesn't 
exist as a keyboard key for events since it's only reachable via shift. It 
would need to send Ctrl-Shift-6, but the resulting translation is dependent on 
the OS keymap which is independent of the software keyboard's map, and I doubt 
this would work correctly.

I'll think about it, but I'm unsure if there's a good general workaround. Maybe 
as an opt-in option. Does it work if you use a hardware keyboard?

Original comment by Klaus.We...@gmail.com on 23 Jan 2013 at 6:34

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

No branches or pull requests

1 participant