On Sun, Dec 06, 2009 at 06:34:44PM -0700, Makmiller Martins Pedroso wrote:

[...]

> *1.* When I'm at the terminal prompt inside of GNU Screen, I can move
> between words using Ctrl + arrows without any problem. However, if I call
> Emacs (with the command "emacs-snapshot-gtk -nw"), and I press Ctrl-<right>
> I get the characters "5D." I get the characters "5C" when I press
> Ctrl-<left>.

I can replicate this behavior. It looks like a escape code translation
error, but I can't pin it down. As you are using gnome-terminal which
seems to be setting TERM=xterm, you should be able to get away with
locally changing TERM for emacs, not a perfect workaround but it seems
to work here. For example you could run this within screen:

TERM=xterm emacs -nw somefile

[...]

-- 
HTH
Thor


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to