Loading ...
Sorry, an error occurred while loading the content.

1712Re: [jasspa] me -n ?

Expand Messages
  • Thomas Hundt
    Nov 12, 2005
    • 0 Attachment
      See if any of these help or give you ideas. (Code from my company
      file.) I use various different xterms, ssh clients (e.g., putty), etc.
      and the kinds of problems you are having are not unusual.


      ; fix Backspace using Putty
      -1 translate-key "C-h" ; remove translation to "backspace"
      translate-key "\x7F" "backspace" ; Backspace key

      ; fix del, home keys termcap/Putty/Solaris ME20040403
      translate-key "C-[ [ 3 ~" "delete" ; ^[[3~ ('cat' output)
      translate-key "C-[ [ 1 ~" "home" ; ^[[1~

      ; add support for termcap/Putty/Solaris
      translate-key "C-[ O A" "C-up" ; ctrl up ^[OA
      translate-key "C-[ O B" "C-down" ; ctrl down ^[OB
      translate-key "C-[ O D" "C-left" ; ctrl left ^[OD
      translate-key "C-[ O C" "C-right" ; ctrl right ^[OC




      Meino Christian Cramer wrote:
      > From: Jon Green <jon@...>
      > Subject: Re: [jasspa] me -n ?
      > Date: Sat, 12 Nov 2005 20:16:56 +0000
      >
      > Hi,
      >
      > I did a describe-key in a "me -n" started ME and pressed
      > "HOME".
      >
      > The minibuffer does show nothing special ( a "normally" started ME
      > shows '"home" beginning-of-buffer instead ) and I got a "1~" into
      > the (main) buffer as mentioned in my first mail.
      >
      > Kind regards,
      > Meino
      >
      >> Meino Christian Cramer wrote:
      >>> From: Thomas Hundt <thundt@...>
      >>> Subject: Re: [jasspa] me -n ?
      >>> Date: Sat, 12 Nov 2005 00:11:25 -0800
      >>>
      >>> Just to clearify...
      >>>
      >>> Your suggested "C-h k" command does nothing at least with my ME
      >>> started as "me -n".
      >>>
      >> What is C-h in a termcap terminal?
      >> It happens to be "BACKSPACE".
      >>
      >> So there is no such key visible to ME in this environment so the binding
      >> will never work. termcap honours the keys that it can, there are some
      >> that you just cannot do and have to use the "M-x name" combination.
      >>
      >> Jon.
      >>
    • Show all 10 messages in this topic