emacs-devel
[Top][All Lists]
Advanced

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

keys that work on terminals (was: Re: propose adding Icicles to Emacs)


From: Dan Nicolaescu
Subject: keys that work on terminals (was: Re: propose adding Icicles to Emacs)
Date: Tue, 12 Jun 2007 07:06:00 -0700

address@hidden writes:

  > address@hidden (Kim F. Storm) writes:
  > 
  > > address@hidden writes:
  > >
  > >> C-RET is kind of difficult to produce in a terminal, meaning that some
  > >> of these emacs features are difficult to test for us emacs terminal
  > >> users.
  > >
  > > Since C-SPC toggles the normal mark, I was looking for "similar bindings"
  > > to toggle the rectangle mark (C-RET) and global mark (S-C-SPC).
  > >
  > > I chose C-RET to set the rectangle mark, since RET has a nice
  > > mostly-rectangle shape, and C-RET is easy to type.
  > >
  > >
  > > Do you have any suggestions for alternative bindings on a terminal?
  > 
  > No I dont really.
  > 
  > I dont really understand why C-RET doesnt work either.

Because C-RET does not correspond to an ASCII character like for
example C-j. 

xterm after version 216 has been changed to generate different strings
for the key combinations that were not usable before. You need to set
the "modifyOtherKeys" resource to 1 in order to enable this feature.
This change was done at my request, with the main intention was to
help emacs key bindings. AFAIK in such an xterm all useful key
combinations work: things like C-RET, C-. C-, work just fine.  
Unfortunately "modifyOtherKeys" is not set by default, to emacs users
cannot benefit from this by default.

Can we do something to have other terminal emulators support these key
bindings?

  > I use a terminal emulator called Putty sometimes, and an xterm
  > sometimes. They differ in which keys are acceptable. For instance I
  > use shift-arrows for moving between windows using
  > (windmove-default-keybindings). I need to patch Putty to make
  > shift-arrows work, but it works directly with xterm.

IMHO you need to try to convince the putty maintainers to generate the
shift-arrow keys by default, all modern terminal emulators do that
(xterm, rxvt, gnome-terminal, konsole).





reply via email to

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