Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2296

Summary: keyboard keys don't do expected function
Product: Gentoo Linux Reporter: Matt Taylor <liverbugg>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matt Taylor 2002-04-30 23:00:21 UTC
This is a strange problem.  It's probably a simple fix somewhere but I have no
idea where to look.

When on a real console, the home key goes to the begining of the line, as
expected.  But the end key just beeps and outputs ~, as do the page up, page
down, and delete keys.  Also, in a terminal in X, none of home, end, delete,
page up, and page down work right.  They work fine in all programs in X, just
not terminals.  Also, the backspace key doesn't work right in programs that run
in a terminal, like less.  If I press / to do a search and I mistype something
and go to backspace, it prints ^H as a character in my search.  Less works fine
on a real console thou.
Comment 1 Michael Terry 2002-04-30 23:05:16 UTC
I can confirm this bug, running Gentoo 1.1a (and I've seen this bug since I
first installed Gentoo 1.0rc6).  To my knowledge, I haven't manually changed any
keyboard settings or set anything to be non-default.

It's really annoying.  Anyone have a clue?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-14 17:35:41 UTC
Try to set $INPUTRC ?
Comment 3 Matt Taylor 2002-05-16 14:27:22 UTC
ok that did it.  I added export INPUTRC="/etc/inputrc" to my .bashrc and it
works now.  Maybe there could be a line for INPUTRC in /etc/env.d/00basic?  

One problem still thou, in less when I press "/" to search, if I use backspace
it prints ^H instead of backspacing.  All the other keys work now thanks to
INPUTRC.  I've also noticed on other distros theres a init script that sets up
the backspace key to send ^?.  Where would I change that?
Comment 4 Matt Taylor 2002-05-17 17:09:47 UTC
ok, the update to aterm 0.4.2-r2 fixed the backspace issue.  Thanks guys.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-19 07:12:48 UTC
OK, great.