Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: History key bindings



Bart Schaefer wrote:
> 
> When you first press up-arrow, there (normally) won't be any mark on
> the line, so ^X^X does nothing.  

Confirmed - this works with (beta) version 3.1.2, not with (released)
version 3.0 (which seems to put the mark at the start of the line when
it is first edited or something).

BTW, it was not very easy to compile on the Dec Alpha under OSF/1 
version 3.2.  In Src/Zle/zle_tricky.c line 1551 the parameters to
yp_all() are not the same (the third parameter is the callback structure
on OSF1, not a pointer to it as in the code.  As a diff -c:

*** Src/Zle/zle_tricky.c.old    Fri Nov 28 13:06:33 1997
--- Src/Zle/zle_tricky.c        Fri Nov 28 12:44:51 1997
***************
*** 1548,1554 ****
      if (getdomainname(domain, YPMAXDOMAIN) == 0) {
        cb.foreach = (int ((*) _((void)))) match_username;
        cb.data = (char *)&data;
!       yp_all(domain, PASSWD_MAP, &cb);
  /*    for (n = firstnode(matches); n; incnode(n))
            if (getpwnam(getdata(n)) == NULL)
                uremnode(matches, n);*/
--- 1548,1554 ----
      if (getdomainname(domain, YPMAXDOMAIN) == 0) {
        cb.foreach = (int ((*) _((void)))) match_username;
        cb.data = (char *)&data;
!       yp_all(domain, PASSWD_MAP, cb);
  /*    for (n = firstnode(matches); n; incnode(n))
            if (getpwnam(getdata(n)) == NULL)
                uremnode(matches, n);*/

It also required GNU make (missing .SUFFIXES in several of the makefiles)
not the OSF1 version.  But lots of GNU and GNU-is stuff needs that...

Thanks,
    Chris C



Messages sorted by: Reverse Date, Date, Thread, Author