Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Bash-Completion] Comportement page up différent [Résolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
jerep6
Apprentice
Apprentice


Joined: 02 Aug 2006
Posts: 215
Location: Landes

PostPosted: Sun Feb 03, 2008 10:03 pm    Post subject: [Bash-Completion] Comportement page up différent [Résolu] Reply with quote

Salut, j'ai installé bash-complétion et depuis le comportement de la touche "Page up" est différent. Maintenant ça affiche "~" dans la console au lieu de compléter la commande en cours (comportement normal chez gentoo).

Comment retrouver le comportement normal ?

P.S. J'ai désinstallé bash-complétion mais c'est tjs pareil => "~".


Last edited by jerep6 on Mon Feb 04, 2008 7:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
angela
Apprentice
Apprentice


Joined: 16 Feb 2005
Posts: 150

PostPosted: Sun Feb 03, 2008 10:50 pm    Post subject: Reply with quote

Hum, normalement c'est dans ton /etc/inputrc. Dans le mien j'ai ça:
Code:
"\e[5~": history-search-backward
"\e[6~": history-search-forward
Back to top
View user's profile Send private message
jerep6
Apprentice
Apprentice


Joined: 02 Aug 2006
Posts: 215
Location: Landes

PostPosted: Mon Feb 04, 2008 7:18 pm    Post subject: Reply with quote

C'est bon, j'ai trouvé.

En fait quand tu crées un fichier .inputrc tu n'as plus le fonctionnement des touches page up et page down. Il faut que tu mettes
Code:
"\e[5~": history-search-backward
"\e[6~": history-search-forward

dans le fichier ~/.inputrc pour retrouver le comportement normal.

Est ce que l'effet du /etc/inputrc est annulé quand on a un ~/.inputrc ?

Merci.
Back to top
View user's profile Send private message
angela
Apprentice
Apprentice


Joined: 16 Feb 2005
Posts: 150

PostPosted: Mon Feb 04, 2008 7:36 pm    Post subject: Reply with quote

jerep6 wrote:


Est ce que l'effet du /etc/inputrc est annulé quand on a un ~/.inputrc ?


En général oui, les fichiers de configuration locaux priment sur les globaux.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum