help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to bind (shift Fx) for emacs in putty?


From: Peter Dyballa
Subject: Re: How to bind (shift Fx) for emacs in putty?
Date: Sun, 25 Dec 2005 18:53:36 +0100


Am 25.12.2005 um 16:33 schrieb c.c:

And I am using Putty to connect the debian box. Are there some special
things I need to notice about that?


Oh, that can be! All your local keyboard activity is stolen by putty and transferred to the remote debian system. What (remote, debian?) Emacs receives is filtered by the shell and its TERM setting (as with my Emacs on Mac OS X which cannot distinguish between fn and S-Fn).

I think you either need to find a terminal emulation on the debian system that knows to make a difference between Fn and Shift-Fn, and/or you need to teach putty to send too the 'modified' keyboard event. This can be a second cause. I think starting with DEC vt320 or using xterm you might become a happy human ... But: I just tried an Emacs in an xterm. It receives two different key events, what you can prove in *scratch* buffer by typing C-q and then pressing the F or Shift-F key. You might see two different ANSI strings starting with Esc (or '^[') each, as I do, but my Emacs, running without windows in xterm, does not look up two different key bindings. So it's Emacs itself that needs to be set up better, I mean, by loading TERM specific Elisp files?

Do you see in your remote Emacs two different events? I presume before you tested in Losedows ...

--
Greetings

  Pete

If you're not confused, you're not paying attention





reply via email to

[Prev in Thread] Current Thread [Next in Thread]