🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by James Clark Tue, 13 Jun 1989 10:46
^ word designator
#80
Author: 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
Re: ^ word designator
#83
Author: Chet Ramey
Date: Tue, 13 Jun 1989 22:14
17 lines
1215 bytes
In article <8906131046.AA24780@jclark.uucp> jclark!jjc@UUNET.UU.NET (James Clark) writes:
>
>It would be nice if the key binding mechanism was able to cope with
>the escape sequences generated by arrow keys.

The patches I posted added this capability.  I talked to Brian about it, and
they might be in 1.00, though the way I did it isn't really "right" (I should
have used indirected keymaps to allow binding to multi-character strings,
but took the easy way out.  Hey, it works for me.).

Chet Ramey


Chet Ramey     Network Services Group, CWRU    chet@{cwjcc,pirate}.INS.CWRU.Edu

"The flagon with the dragon has the potion with the poison;
	the vessel with the pestle holds the brew that is true!"
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