🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #697

history bug, and suggestions

#697
From: Chris Thewalt
Date: Sat, 11 Nov 1989 17:40
17 lines
1148 bytes
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.

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 /).

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.

Chris (thewalt@ce.cmu.edu)
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Christopher Robin Thewalt		These opinions are not necessarily
thewalt@ce.cmu.edu			shared by my employer...
Carnegie Mellon University
Technical Details
Message-ID: <THEWALT.89Nov11124002@RITZ.ce.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!pt.cs.cmu.edu!thewalt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!pt.cs.cmu.edu!thewalt
From: thewalt@RITZ.ce.cmu.edu (Chris Thewalt)
Newsgroups: gnu.bash.bug
Subject: history bug, and suggestions
Message-ID: <THEWALT.89Nov11124002@RITZ.ce.cmu.edu>
Date: 11 Nov 89 17:40:02 GMT
Distribution: gnu
Organization: Dept. of Civil Engineering, Carnegie Mellon University,
 Pittsburgh, PA
Lines: 17