public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  readline and inputrc
@ 2006-02-22  8:18 Harry Putnam
  2006-02-22  8:43 ` Anthony E. Caudel
  2006-02-22 15:10 ` [gentoo-user] " Richard Fish
  0 siblings, 2 replies; 5+ messages in thread
From: Harry Putnam @ 2006-02-22  8:18 UTC (permalink / raw
  To: gentoo-user

Anyone know why entries in ~/.inputrc (or for that matter)
/etc/inputrc are ignored in xterms?

I find that inputrc entries work in console mode but not in X.

Further, testing just now with a silly test entry:

cat ~/.inputrc:

  ## C-x C-r reread init files
  Control-o: "now what"

That even in console mode I get really bad behavior.

Ctrl-o inserts `now what' as expected but then I find that any
attempts thereafter to do some command like ls or whatever, when I
press <ENTER> instead of running the command `ls'  I get

`lsnow what'  and the ls command doesn't fire  any press of <ENTER>
prints `now what'.

I'm guessing some kind of conflict with keyboard settings but mine are
totally stock.  I've done no customizing in that area.

I'd be interested to here what others see when they use ~/.inputrc.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user]  readline and inputrc
  2006-02-22  8:18 [gentoo-user] readline and inputrc Harry Putnam
@ 2006-02-22  8:43 ` Anthony E. Caudel
  2006-02-22  8:57   ` [gentoo-user] " Harry Putnam
  2006-02-22 15:10 ` [gentoo-user] " Richard Fish
  1 sibling, 1 reply; 5+ messages in thread
From: Anthony E. Caudel @ 2006-02-22  8:43 UTC (permalink / raw
  To: gentoo-user

Harry Putnam wrote:
> Anyone know why entries in ~/.inputrc (or for that matter)
> /etc/inputrc are ignored in xterms?
> 
> I find that inputrc entries work in console mode but not in X.
> 
> Further, testing just now with a silly test entry:
> 
> cat ~/.inputrc:
> 
>   ## C-x C-r reread init files
>   Control-o: "now what"
> 
> That even in console mode I get really bad behavior.
> 
> Ctrl-o inserts `now what' as expected but then I find that any
> attempts thereafter to do some command like ls or whatever, when I
> press <ENTER> instead of running the command `ls'  I get
> 
> `lsnow what'  and the ls command doesn't fire  any press of <ENTER>
> prints `now what'.
> 
> I'm guessing some kind of conflict with keyboard settings but mine are
> totally stock.  I've done no customizing in that area.
> 
> I'd be interested to here what others see when they use ~/.inputrc.
> 
> 
They work fine for me under KDE's konsole.

-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: readline and inputrc
  2006-02-22  8:43 ` Anthony E. Caudel
@ 2006-02-22  8:57   ` Harry Putnam
  0 siblings, 0 replies; 5+ messages in thread
From: Harry Putnam @ 2006-02-22  8:57 UTC (permalink / raw
  To: gentoo-user

"Anthony E. Caudel" <acaudel@gt.rr.com> writes:

> Harry Putnam wrote:
>> Anyone know why entries in ~/.inputrc (or for that matter)
>> /etc/inputrc are ignored in xterms?
>> 
>> I find that inputrc entries work in console mode but not in X.
>> 
>> Further, testing just now with a silly test entry:
>> 
>> cat ~/.inputrc:
>> 
>>   ## C-x C-r reread init files
>>   Control-o: "now what"
>> 
>> That even in console mode I get really bad behavior.
>> 
>> Ctrl-o inserts `now what' as expected but then I find that any
>> attempts thereafter to do some command like ls or whatever, when I
>> press <ENTER> instead of running the command `ls'  I get
>> 
>> `lsnow what'  and the ls command doesn't fire  any press of <ENTER>
>> prints `now what'.
>> 
>> I'm guessing some kind of conflict with keyboard settings but mine are
>> totally stock.  I've done no customizing in that area.
>> 
>> I'd be interested to here what others see when they use ~/.inputrc.
>> 
>> 
> They work fine for me under KDE's konsole.

Interesting... yes they do here too.  I greatly prefer working from
xterms though.  Just a matter of years of use.   

I suspect there is something I can set so that inputrc works in xterm
to, do you have any idea what?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] readline and inputrc
  2006-02-22  8:18 [gentoo-user] readline and inputrc Harry Putnam
  2006-02-22  8:43 ` Anthony E. Caudel
@ 2006-02-22 15:10 ` Richard Fish
  2006-02-22 16:07   ` [gentoo-user] " Harry Putnam
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Fish @ 2006-02-22 15:10 UTC (permalink / raw
  To: gentoo-user

On 2/22/06, Harry Putnam <reader@newsguy.com> wrote:
> Anyone know why entries in ~/.inputrc (or for that matter)
> /etc/inputrc are ignored in xterms?

The .inputrc settings are part of the readline library, which is
linked to bash.  So any place you are running bash should have
readline capabilities.  Are you sure you are running bash in your
xterms?

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: readline and inputrc
  2006-02-22 15:10 ` [gentoo-user] " Richard Fish
@ 2006-02-22 16:07   ` Harry Putnam
  0 siblings, 0 replies; 5+ messages in thread
From: Harry Putnam @ 2006-02-22 16:07 UTC (permalink / raw
  To: gentoo-user

"Richard Fish" <bigfish@asmallpond.org> writes:

> On 2/22/06, Harry Putnam <reader@newsguy.com> wrote:
>> Anyone know why entries in ~/.inputrc (or for that matter)
>> /etc/inputrc are ignored in xterms?
>
> The .inputrc settings are part of the readline library, which is
> linked to bash.  So any place you are running bash should have
> readline capabilities.  Are you sure you are running bash in your
> xterms?

Yes,  I don't really use any other shells.  And just to make sure
typing echo $SHELL returns the expected /bin/bash.

But it turns out to be something of a false alarm.  I went on about my
business and in the course of things have closed several xterms and
later opened new ones.  Just now while preparing to respond to your
reply I discover the newer xterms all work as expected.

I happened to have logged clear out of X and back in so none of the
other batch are around to check what was happening.  It entirely
possible it was all user induced somehow.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-22 16:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-22  8:18 [gentoo-user] readline and inputrc Harry Putnam
2006-02-22  8:43 ` Anthony E. Caudel
2006-02-22  8:57   ` [gentoo-user] " Harry Putnam
2006-02-22 15:10 ` [gentoo-user] " Richard Fish
2006-02-22 16:07   ` [gentoo-user] " Harry Putnam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox