Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-29-2004, 02:41 PM   #1
Registered: Feb 2004
Posts: 40

Rep: Reputation: 15
Wierd keyboard and mouse behaviour in vi and emacs...

Fresh installation of Slackware 9.1....

In the terminals, the home and end keys work fine. However when I use vi to edit a file, the home and end keys output the 'F' and 'H' characters instead..... whats up with that?

Its similar in emacs, the home and end keys don't function correctly. Also in emacs, when I move the mouse around without pushing any of the buttons, it randomly copies lines of text and deletes text, occasionally quits emacs.

What do I need to do to get the mouse and keyboard to behave nicely in vi and emacs?

Thanks in advance..

Old 08-21-2005, 07:07 PM   #2
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234

Seriously, the general problem is that many, many such programs were written for older keyboards by and for people who thought that a quadruple bucky was normal for "real men".

So, you can learn the intricacies of termcap & the like, find a terminal / 104-key keyboard friendly version of these editors, or perhaps swich to something else.

Pesonally I try to know just enough vi for emergencies; but use mcedit, kedit, kwrite, or kate otherwise.


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
very wierd ntop behaviour takahaya Linux - Networking 2 05-19-2005 03:02 AM
Really wierd mouse behaviour esteeven Linux - Hardware 1 12-06-2004 04:11 PM
strange mouse behaviour with logitech pilot mouse in debian 3.0r2 g-string 3 Debian 0 11-12-2004 06:27 AM
Wierd behaviour using fork() and pipe() cybermix Programming 4 01-08-2004 03:44 AM
Emacs gives a wierd error using the xterm window on my windows 98se machine direwolf20 Linux - Newbie 1 10-08-2003 08:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:34 PM.

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