[gnu.bash.bug] a suggestion

mikem+@andrew.cmu.edu (Michael Meyer) (10/27/89)

I would like to be able to bind ESC-[-A to the previous history
function.  However I have been unable to do this. What I would need is
the ability to set  ESC-[ to be a prefix (say myprefix) and then bind
myprefix-A to the command I want.  Is this too much to ask from a shell?

Regards,
--Mike

bfox@AI.MIT.EDU (Brian Fox) (10/28/89)

   Date: Thu, 26 Oct 89 16:54:20 -0400 (EDT)
   From: Michael Meyer <mikem+@andrew.cmu.edu>

   I would like to be able to bind ESC-[-A to the previous history
   function.  However I have been unable to do this. What I would need is
   the ability to set  ESC-[ to be a prefix (say myprefix) and then bind
   myprefix-A to the command I want.  Is this too much to ask from a shell?

   Regards,
   --Mike

This is done in Bash-1.04.  Sorry I haven't yet released it.

Brian

andy@CSVAX.CALTECH.EDU (Andy Fyfe) (11/30/89)

Csh will expand "*/" to a list of all directories.  Sh and bash both
just return "*/".  I think the csh behaviour is nicer.  (And also
consistent, since directory names do end in a "/" (sort of) -- csh
does keep the trailing "/" on all the names after the expansion.)