Article View: aus.computers.linux
Article #57854Re: using bind in .bashrc
From: William Edward Webber
Date: Fri, 16 Aug 1996 00:00
Date: Fri, 16 Aug 1996 00:00
19 lines
1343 bytes
1343 bytes
Kent Tong (freemant@wr.com.au) opined: : : I'm trying to use the built-in command bind to bind ^? (ie, del) : to the readline function delete-char. It works if I enter the : command directly. It doesn't work if I put it into .bashrc. I : can use "bind -q delete-char" in .bashrc to verify that it does : bind the key successfully in .bashrc but somehow the effect is : gone when .bashrc has been processed. Any idea why? : Are we talking XWindow or a VC here? On my VCs, at least, the 'delete' key produces a literal of '^[[3~'. Also note that the bindings you do for the shell mightn't work for programs the shell calls. -- William Webber Postgrad. Dip. in CS, RMIT, Australia wew@yallara.cs.rmit.edu.au Interests: linux, chess, Glenn Gould "Well, I'll say this for you, the quality of your stupidity is rising" - Lucy, from Peanuts.
Technical Details
Message-ID:
<4v1ddq$c31@goanna.cs.rmit.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4v0siu$pqh@metro.usyd.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,340287e4490ce5da X-Google-Attributes: gid102983,public From: wew@yallara.cs.rmit.edu.au (William Edward Webber) Subject: Re: using bind in .bashrc Date: 1996/08/16 Message-ID: <4v1ddq$c31@goanna.cs.rmit.edu.au> X-Deja-AN: 174507442 distribution: inet references: <4v0siu$pqh@metro.usyd.edu.au> organization: Comp Sci, RMIT, Melbourne, Australia newsgroups: aus.computers.linux