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

Unable to access the connman_curses help with F1 #8

Open
javier-lopez opened this issue Feb 1, 2015 · 1 comment
Open

Unable to access the connman_curses help with F1 #8

javier-lopez opened this issue Feb 1, 2015 · 1 comment

Comments

@javier-lopez
Copy link
Contributor

Hello,

Some window environments (kde, gnome, and also some terminal emulators) map F1 and other Fn keys to default actions and therefore it gets difficult to access some connman_curses features through those means.

I think than allowing to access connman_curses features through a vim-ex type interface could make easier to bypass those restrictions.

In vim:

  1. Open vim
  2. Type :help<Enter>
    • A help window is shown

Also it could make easier to create a connman_curses configuration file where users could define their own shortcuts, eg:

"hypotetical ~/.connman_cursesrc file
map Shift+h :help "now mapped to F1
map r :scan "now mapped to F6
map p :redraw "now mapped to F5
map c :configure "now mapped to s
map l :select "now mapped to Enter
map x :remove_favorite "now mapped to r
map h :go_back "now mapped to Esc
map j :move_down "now mapped to the `below arrow key`
map k :move_up "now mapped to the `up arrow key`
map Ctrl+c :quit "now mapped to Ctrl+c
@alan-mushi
Copy link
Contributor

Hi,
A vim-like solution is quite complex. I might be able to offer you the letter h though.

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