You are not logged in.

#1 2011-01-28 11:33:58

thiagoc
Member
From: Brazil
Registered: 2009-02-14
Posts: 33
Website

[SOLVED] Gnome-terminal and history-search-backward

I'm using the folowing in my ~/.inputrc (from https://wiki.archlinux.org/index.php/Ba … ory_search):

"\e[A":history-search-backward
"\e[B":history-search-forward

It works fine, but now when I write a command or anything else in terminal and want to go some words backward with <CONTROL> + <LEFT ARROW> I can't:

colossus [09:29:48] [~]: echo hello world;5D

Anyone know a workaround for this?

Last edited by thiagoc (2011-03-11 16:53:52)

Offline

#2 2011-03-11 16:53:01

thiagoc
Member
From: Brazil
Registered: 2009-02-14
Posts: 33
Website

Re: [SOLVED] Gnome-terminal and history-search-backward

Just found the solution:

$include /etc/inputrc
"\e[A":history-search-backward
"\e[B":history-search-forward

Offline

#3 2011-03-28 14:21:32

Markus00000
Member
Registered: 2011-03-27
Posts: 308

Re: [SOLVED] Gnome-terminal and history-search-backward

thiagoc, did you have to change permissions for /etc/inputrc? I cannot include it:

bash: /etc/inputrc: Permission denied

Offline

#4 2011-09-05 06:37:35

mrman
Member
Registered: 2010-02-05
Posts: 26

Re: [SOLVED] Gnome-terminal and history-search-backward

Markus00000 wrote:

thiagoc, did you have to change permissions for /etc/inputrc? I cannot include it:

bash: /etc/inputrc: Permission denied

Make sure you are editing ~/.inputrc and not ~/.bashrc.

I received this error when doing the latter.

Offline

#5 2011-09-05 09:02:07

Markus00000
Member
Registered: 2011-03-27
Posts: 308

Re: [SOLVED] Gnome-terminal and history-search-backward

Thanks for the late help! smile

I haven't thought of this issue since then. Obviously, I am no longer doing anything that needs /etc/inputrc included.

Anyways, I think I tried to execute "source .inputrc" back then to apply the changes which couldn't work.

Offline

Board footer

Powered by FluxBB