🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #80

^ word designator

#80
From: James Clark
Date: Tue, 13 Jun 1989 10:46
21 lines
862 bytes
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
Technical Details
Message-ID: <8906131046.AA24780@jclark.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!UUNET.UU.NET!jclark!jjc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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