Results 1 to 6 of 6

Thread: Opensuse 11.2 console HOME END keys

  1. #1

    Default Opensuse 11.2 console HOME END keys

    Hello!

    just install opensuse 11.2 and notice that i cant use HOME, END keys in console over ssh, and cant find any anwser on forum or the internet.
    i did have /etc/ from my last install opensuse 11.0 and try diff inputrc and was identical! anything else i can try?

    Kristijan

  2. #2
    Join Date
    Jan 2010
    Location
    Nizhny Novgorod
    Posts
    4

    Default Re: Opensuse 11.2 console HOME END keys

    Hi,

    What are the values for the \e[1~, \e[4~ keys in your inputrc? Would be something like that:
    "\e[1~": beginning-of-line
    "\e[4~": end-of-line

    Regards

  3. #3

    Default Re: Opensuse 11.2 console HOME END keys


  4. #4

    Default Re: Opensuse 11.2 console HOME END keys

    The Xorg version in 11.1 still uses the kbd driver while the one in 11.2 uses evdev. As a consequence, keyboard mappings are slightly different.

    cat /var/log/Xorg.0.log (on 11.1)

    (II) LoadModule: "kbd"
    (II) Loading /usr/lib/xorg/modules//input/kbd_drv.so
    (II) Module kbd: vendor="X.Org Foundation"

    cat /var/log/Xorg.0.log (on 11.2)

    (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    (II) LoadModule: "evdev"
    (II) Loading /usr/lib64/xorg/modules//input/evdev_drv.so
    (II) Module evdev: vendor="X.Org Foundation"

  5. #5

    Default Re: Opensuse 11.2 console HOME END keys

    i dont use xorg on my opensuse 11.2
    the HOME and END key doesnt work over ssh in console
    any ideas for console?

  6. #6

    Default Re: Opensuse 11.2 console HOME END keys

    I have the same problem, try the below patch

    Code:
    --- /etc/inputrc~       2009-01-21 08:59:33.000000000 -0800
    +++ /etc/inputrc        2011-05-10 09:37:00.000000000 -0700
    @@ -136,8 +136,8 @@ $if term=xterm
     #
     # Normal keypad and cursor of xterm
     #
    -"\e[1~":       history-search-backward
    -"\e[4~":       set-mark
    +#"\e[1~":      history-search-backward
    +#"\e[4~":      set-mark
     "\e[H":                beginning-of-line
     "\e[F":                end-of-line
     "\e[1;2H":     beginning-of-line

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •