OpenPandora Main OS

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category Core
  • Operating System All
  • Severity Low
  • Reported Version SuperZaxxon Beta 3
Attached to Project: OpenPandora Main OS
Opened by dreamer - 13.06.2012

FS#288 - add functionality to inputrc

Since the default inputrc doesn't contain any functionality (simple cli movements like ctrl-left or crtrl-right to skip words don't work) this diff may be useful to add to the cli-experience. I've also been trying to get the delete-key to work, but this is apparently already a known issue (see FS#227). I can remove this from the diff if you want. (I couldn't attach a file to the task somehow)

31,32c31,33
< # "\e[3~": delete-char
< # "\e[2~": quoted-insert
---
> #"\e[3~": delete-char
> "\e[^?": delete-char
> "\e[2~": quoted-insert
44,47c45,50
< # "\e[5C": forward-word
< # "\e[5D": backward-word
< # "\e\e[C": forward-word
< # "\e\e[D": backward-word
---
> "\e[1;5C": forward-word
> "\e[1;5D": backward-word
> "\e[5C": forward-word
> "\e[5D": backward-word
> "\e\e[C": forward-word
> "\e\e[D": backward-word

Admin
porg commented on 13.06.2012 12:30

Does the alteration of inputrc affect keyboard input in general, for every app, regardless in which CLI or GUI environment? Would it resolve FS#227? Or is this only for the CLI input?

This does not resolve the other bug (I ran in to that bug while trying to get the delete-button to work in the cli) and only affects bash.

It should not alter any scripts etc as it pertains to the ctrl-sequences only.

Admin
porg commented on 13.06.2012 18:40

Ok, thanks for that info.
I hope that the DEL key will one day work in the normal GUI applications.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing