LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-26-2002, 04:22 PM   #1
diminutive
LQ Newbie
 
Registered: Dec 2002
Posts: 5

Rep: Reputation: 0
Question Keyboard Selection


Hello,

Sorry if this has been asked before. I looked around, but I don't know
of a way to describe it in a few terms, which limits the usability of searching,
so I've resorted to posting.

I've installed Slackware 8.1 on two different systems. On one system the
keyboard works as expected. On my main system, however, typing in a
terminal doesn't delete characters properly. For example, "vi" doesn't delete
the character when I press "delete" or "backspace", it simply moves the
cursor; I also can't use the delete key when I'm not in "Insert" mode. Also,
I flat out can't use my "Home" and "End" keys, as they put me into an
unknown mode and I have to press escape a couple times so I can get back
into "Command" mode.
I'm using the same keyboard on both systems; a Microsoft Natural. I am
using the default "qwerty.us" keyboard layout on both systems. One system
is a Pentium2; I can't remember what chipset. My main system is an AMD
with the VIA MVP3 chipset, if that makes a difference.

TIA,
-- Peter Heatwole
"Murphy was just a well known pessimist."
 
Old 12-26-2002, 04:44 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Well, the first thing I would check would be the sym link for "vi".

ls -l /usr/bin/vi

Mine points to /usr/bin/elvis

Are these two systems compared using regular console mode, no X running, or is it a Konsole screen under KDE, etc.?

If Konsole under KDE, then I know that the keyboard setting can be changed via Settings->Keyboard. I always set it to Linux console mode myself. But I do not use vi, I use emacs most of the time.

Also, check your terminal setting:

echo $TERM

Somewhere among these three things you might find what is set different between the two machines.

Good luck.
 
Old 12-26-2002, 05:09 PM   #3
diminutive
LQ Newbie
 
Registered: Dec 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Xterms

Thanks for the response.

I am using xterms in GNOME. I checked /usr/bin/vi, and it is linked to
"elvis". So, I tried vim and "delete", "home", and "end" work as expected.
Unfortunately, when in "Insert" mode the arrow keys now produce "\nA\n",
"\nB\n", "\nC\n", and "\nD\n" one line above the cursor; I have to go to
"Command" mode to move the cursor.

The arrow keys work fine in vim when using the root console. (not in X)
"echo $TERM" reveals "xterm" and "linux", when in an xterm or the root
console.



-- Peter Heatwole
"Murphy was just a well known pessimist."
 
Old 12-26-2002, 05:50 PM   #4
diminutive
LQ Newbie
 
Registered: Dec 2002
Posts: 5

Original Poster
Rep: Reputation: 0
More Information

I just noticed something else. Not only do the arrow keys misbehave when
in "Insert" mode, but also "delete", "end", and "home".

When I press "delete", it overwrites the character just left of the cursor with
a "F" and kicks me back to command mode. "End" and "home" print a "F"
and an "H", but leave me in insert mode.


-- Peter Heatwole
"Murphy was just a well known pessimist."
 
Old 12-26-2002, 11:37 PM   #5
rufius
Member
 
Registered: Oct 2002
Location: Miami, FL
Distribution: Ubuntu
Posts: 184

Rep: Reputation: 30
http://slackware.duffs.org/ <---- The Slackware Doc project might answer some things, I believe there's an area in there somewhere on the keys and how they misbehave.
 
  


Reply



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
Interface selection mksd Linux - Networking 1 05-11-2005 07:37 AM
Help With Selection of Monitor neoAThome Linux - Hardware 0 01-17-2005 03:26 AM
A little Motherboard selection help? Shade Linux - Hardware 9 05-15-2004 07:55 PM
Motherboard selection help Wags Linux - Hardware 0 04-22-2004 11:49 PM
Linux Selection softair Linux - Newbie 4 06-19-2003 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:17 PM.

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