/etc/inputrc default?

2007-08-17 Thread John Pye
Hi there

I was just wondering if there's a case for the file /etc/inputrc to be
read by default in the case where ~/.inputrc is not present?

My reason for asking is that on MSYS, which runs 'bash' in a ported
'rxvt' terminal, the terminal does not behave correctly with END and
HOME keys unless the user adds a ~/.inputrc file. If /etc/inputrc were
read as a fallback default, then this file could be installed once per
system, and no need to for each user to create that file.

Or is there a saner way to solve this problem that you can see?

Cheers
JP




Re: /etc/inputrc default?

2007-08-17 Thread Chet Ramey
John Pye wrote:

> I was just wondering if there's a case for the file /etc/inputrc to be
> read by default in the case where ~/.inputrc is not present?

There's a great case for it.  So good, in fact, that that's how
current versions of readline work.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
   Live Strong.  No day but today.
Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://cnswww.cns.cwru.edu/~chet/