Keyboard issue

Arnaud Boissinot arnaud.boissinot at wanadoo.fr
Sat Jul 5 02:04:44 PDT 2003


thunderben at free.fr wrote:

> Hi List,
> 
> 
> Apparently, not all my keyboard key are mapped !
> 
> Most of character are ok ("a" -> "z", num keys, etc), but
> not "end", "PageUp", "del", etc.
> For example, when I press "end", or "delete" a tilde (~) appear instead
> the corresponding task.
> 
> I found a hint in LFS FAQ (the one about delkey), and I created
> /etc/inputrc as listed.
> But nothing changed.
> 
> My confirguration is :
> LFS 4.0, PC keyboard (102 keys).
> defkeymap.map.gz symlink is linked to "i386/azerty/fr-pc.map.gz"
> I have Bash 2.05a.
> 
> 
> Any idea or advice ?
> 
> 
> 

See the post just behind yours, it works for me, it should work for you too.

This is what I've done:

--> In /etc/profile add the following

INPUTRC=/etc/inputrc

if tty --quiet ; then
    stty erase '^H'
fi

export INPUTRC


--> My /etc/inputrc looks like

# Début /etc/inputrc

# S'assure que nous ne sortons pas tout sur une ligne
set horizontal-scroll-mode Off

# Active l'entre 8bit
set meta-flag On
set input-meta On

# Désactive la suppression du 8me bit
set convert-meta Off

# Conserve le 8me bit pour l'affichage
set output-meta On

# rien, visible ou audible
set bell-style none

# Toutes les indications ci-dessous font correspondre une squence
d'chappement
#  une fonction readline spcifique

"\eOd": backward-word
"\eOc": forward-word

# pour la console linux
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[3~": delete-char
"\e[2~": quoted-insert

# pour xterm
"\eOH": beginning-of-line
"\eOF": end-of-line

# pour bash
"\e[H":beginning-of-line
"\e[F":end-of-line

# pour rxvt
"\e[7~":beginning-of-line
"\e[8~":end-of-line

# Fin /etc/inputrc

--> Then reboot your LFS system

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list