LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-30-2009, 04:59 AM   #1
openSauce
Member
 
Registered: Oct 2007
Distribution: Fedora, openSUSE
Posts: 252

Rep: Reputation: 39
emacs+gnome-terminal+KDE+openSUSE - ctrl+arrow keys not working


I'm using openSUSE 10.3 with KDE and having a problem with Emacs in console mode (no X window).

If I use Konsole or gnome-terminal to run Emacs, ctrl+arrow keys don't work, instead they just cause the characters A,B,C,D to be printed. It's only the combination of these terminal emulators + emacs that causes the problem: the arrow keys work fine for emacs in gui mode, or for bash on the terminal emulators, or emacs in console mode in a tty obtained by hitting Ctrl+Alt+F1. Can anyone suggest how to change this?
 
Old 04-02-2009, 04:52 AM   #2
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Rep: Reputation: 15
I had similar problem before.

I found that running this command before vi enables the arrow keys, but then it causes some other weird behavior in vi.

Code:
export TERM=linux
Hope someone can explain it.
 
Old 04-02-2009, 07:17 AM   #3
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Rep: Reputation: 15
Exclamation Solved

Hi Sauce

I was able to solve this problem completely by installing vim-common. Hope this works for you to.

FNC
 
Old 04-03-2009, 02:22 AM   #4
openSauce
Member
 
Registered: Oct 2007
Distribution: Fedora, openSUSE
Posts: 252

Original Poster
Rep: Reputation: 39
Thanks for your replies, I'm switching between distros a fair bit at the moment and probably won't be using suse now for a few weeks, but I'll try these when I get the chance and report back if they don't work. Wouldn't have thought vim-common had anything to do with emacs though?
 
Old 04-03-2009, 04:31 AM   #5
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Rep: Reputation: 15


Ok I just realise you are right. You are having problems with emacs, my
problem was with vi.

Sorry I'm all confused. But perhaps you can find a similar package for emacs to resolve the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
terminal arrow keys not playing nice madivad Solaris / OpenSolaris 4 03-11-2008 08:35 PM
gnome-terminal: vi and arrow keys psychobyte Ubuntu 7 05-02-2007 10:10 PM
Arrow keys not working flamingvan Solaris / OpenSolaris 5 10-03-2006 05:47 AM
Ctrl+ arrow keys is termianl and copy with keyboard chesss Linux - General 1 06-18-2006 03:45 AM
Scroll with arrow keys in the terminal window? halfpower Debian 1 09-28-2005 04:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration