Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!UUNET.UU.NET!jclark!jjc From: jclark!jjc@UUNET.UU.NET (James Clark) Newsgroups: gnu.bash.bug Subject: ^ word designator Message-ID: <8906131046.AA24780@jclark.uucp> Date: 13 Jun 89 10:46:25 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21 bash 0.99 doesn't correctly deal with ^ as a word designator. This fixes the problem: *** history.c.dist Tue Jun 13 11:06:56 1989 --- history.c Tue Jun 13 11:35:04 1989 *************** *** 985,990 **** --- 985,991 ---- get_last: if (spec[i] == '^') { + i++; last = 1; goto get_args; } It would be nice if the key binding mechanism was able to cope with the escape sequences generated by arrow keys. James Clark jjc@jclark.uucp