Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: The humble and other editing keys Date: Fri, 14 Feb 2003 21:33:07 +0100 Lines: 49 Message-ID: References: <5 DOT 2 DOT 0 DOT 9 DOT 0 DOT 20030214122902 DOT 04314a88 AT rogue DOT codemeta DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 0 DOT 20030214141643 DOT 04a3e380 AT rogue DOT codemeta DOT com> <021501c2d462$06157bf0$ab7886d9 AT webdev> <024e01c2d462$bd846850$ab7886d9 AT webdev> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: 40tude_Dialog/2.0.3.1 * Elfyn McBratney (03-02-14 19:52 +0100) > One thing that I forgot: Bash does have a system-wide inputrc but you have > to define an environment variable to the location of the file, INPUTRC > > export INPUTRC=/etc/inputrc bash doesn't have a "system-wide inputrc" (although you /could/ make one that way). The only file mentioned in the man page is ~/.inputrc. If you set the environment variable INPUTRC to /etc/inputrc, ~/.inputrc won't be parsed. You can include any file with "$include". So if /etc/inputrc exists, you may want to source it with... ,--- * .bashrc | # Make *my* settings work (despite of any "export INPUTRC=" in | # /etc/profile) | | unset INPUTRC `--- ,--- * ~/.inputrc | # But only my settings where opposed to /etc/inputrc | $include /etc/inputrc | | "\e[3~": delete-char | | # etc., etc. `--- or... ,--- * /etc/profile | export INPUTRC=/etc/inputrc `--- ,--- * /etc/inputrc | "\e[3~": delete-char | | $include ~/.inputrc `--- Thorsten -- Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory) Content-Transfer-Warning: message contains innuendos not suited for children under the age of 18 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/