Re: Problem with GNU Screen when using control + right/left arrows
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
Re: Problem with GNU Screen when using control + right/left arrows
Thanks so much for your answer. Attached is my screenlog.0 file. Cheers, mak On Mon, Dec 7, 2009 at 11:07 AM, Sadrul Habib Chowdhury ima...@gmail.comwrote: * Makmiller Martins Pedroso had this to say on [06 Dec 2009, 18:34:44 -0700]: Hi all, I've been having the following problem with GNU Screen. I like using Ctrl + left/right arrows to move between words How/Where did you set this up (e.g. I set it up in my .vimrc since that's where I used to use this binding)? but it sometimes doesn't work if I'm within GNU Screen. More specifically, I noticed the following: *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. Could you please turn logging on for a window, start and then terminate emacs from that window and send us the log it creates? (If you are not familiar with turning logging on etc. then start screen using the following command: 'screen -L -c /dev/null emacs-snapshot-gtk -nw' you can then close emacs. That will leave a 'screenlog.0' file.) Cheers, Sadrul screenlog.0 Description: Binary data ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users
Re: Problem with GNU Screen when using control + right/left arrows
* Makmiller Martins Pedroso had this to say on [07 Dec 2009, 19:55:28 -0700]: Thanks so much for your answer. Attached is my screenlog.0 file. You're welcome, and thanks! [snip] I've been having the following problem with GNU Screen. I like using Ctrl + left/right arrows to move between words How/Where did you set this up (e.g. I set it up in my .vimrc since that's where I used to use this binding)? I still need to know this! Cheers, Sadrul ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users
Re: Problem with GNU Screen when using control + right/left arrows
Hi Sadrul, I've been having the following problem with GNU Screen. I like using Ctrl + left/right arrows to move between words How/Where did you set this up (e.g. I set it up in my .vimrc since that's where I used to use this binding)? I still need to know this! I've been using Ctrl+right/left to move between words in emacs without having to do any further set up. Does it answer your question? Please let me know if I'm missing something here. Thanks! mak ___ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users