Binding mouse wheel scroll and cursor keys in screen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to bind mouse wheel scroll and cursor keys with modifier keys in
screen but I am not sure what key code or termcap capability to
use. This is what I have tried so far with no luck.

For mouse wheel scroll:

  bindkey -k SF copy
  bindkey -k SR copy
  bindkey -k sf copy
  bindkey -k sr copy
  bindkey -k cs copy
  bindkey -k kF copy
  bindkey -k kR copy

The following works for now: bindkey -k k8 copy (for Fn 8)

Cursor keys:

+ Here I expect to switch window with C-o <left/right>
  bind \033[C next
  bind \033[D prev
+ Here I expect to switch window with C-<left/right>
  bindkey -d ^[[1;5D prev
  bindkey -d ^[[1;5C next
+ This one was just to see if binding arrow keys work. I expected just
  <left/right> to switch windows.
  bindkey -d ^[[D prev
  bindkey -d ^[[C next

This works however:

  bindkey -k kr next
  bindkey -k kl prev

What am I missing here? Thanks for any pointers,

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux