CPM Plugin - Keyboard shortcuts for CLI plugins.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

CPM Plugin - Keyboard shortcuts for CLI plugins.

L1 Bithead

Hello,

 

I have a use-case in my SSH/CLI based CPM plugin where i need to send "ctrl+c" keyboard shortcut to "exit" currently opened program/menu.

 

I didn't found anything in the documentation about keyboard shortcuts - so I'm wondering if they are supported? Did anyone of you manage to solve similar problem? if so how would the line of code looks like for sending keyboard shortcut ?

 

Best Regards,

Kamil.

 

 

3 REPLIES 3

L6 Presenter

Try sending \x03 which means you would have an state in your Process file that looks like

SendCtrlC=\x03

Note: I haven't tried this myself so I'd be interested to see if this works.

Hello,

 

Thank you for the suggestion - i have tried it but it doesnt seems to work as intended:

 

Field_Content_versions_oct20__068Ht00000RkLtDIAV.pngAfter sending the \x03 i'm still in the menu. (where selecting ctrl+c manually in putty session does close the menu).

What about ^C?

  • 235 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!