🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Chris Thewalt Sat, 11 Nov 1989 17:40
history bug, and suggestions
#697
Author: 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
history bug, and suggestions
#698
Author: Brian Fox
Date: Sat, 11 Nov 1989 17:59
25 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads