Article View: gnu.bash.bug
Article #698history bug, and suggestions
From: Brian Fox
Date: Sat, 11 Nov 1989 17:59
Date: Sat, 11 Nov 1989 17:59
25 lines
1410 bytes
1410 bytes
Posted-Date: 11 Nov 89 17:40:02 GMT
Date: 11 Nov 89 17:40:02 GMT
From: thewalt@PT.CS.CMU.EDU (Chris Thewalt)
Organization: Dept. of Civil Engineering, Carnegie Mellon University,
Sender: bug-bash-request@prep.ai.mit.edu
First an apparent bug (1.04 on Microvax II, Ultrix 2.2). The !*
history mechanism expands to the zero'th word if the previous line was a
single word. It should expand to the null string in that case.
Thanks, I have received this bug report, and fixed the relevant bug.
Suggestions:
1) add a prompt string code similar to \w that just includes the basename
of the current directory (the last part after the final /).
\W does exactly that already.
2) provide a mechanism to rebind keys on the fly, .inputrc is nice but I
would like to able to do this from the shell.
C-x C-r re-reads the ~/.inputrc file. Clumsy, but possible.
Brian Fox
Technical Details
Message-ID:
<8911111759.AA21595@hub.ucsb.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!HUB.UCSB.EDU!bfox%visionReferences:
<THEWALT.89Nov11124002@RITZ.ce.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!HUB.UCSB.EDU!bfox%vision From: bfox%vision@HUB.UCSB.EDU (Brian Fox) Newsgroups: gnu.bash.bug Subject: history bug, and suggestions Message-ID: <8911111759.AA21595@hub.ucsb.edu> Date: 11 Nov 89 17:59:11 GMT References: <THEWALT.89Nov11124002@RITZ.ce.cmu.edu> Sender: daemon@tut.cis.ohio-state.edu Reply-To: bfox%cornu@hub.ucsb.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25