zsh-users
 help / color / mirror / code / Atom feed
From: Christopher Croughton <crough45@amc.de>
To: schaefer@brasslantern.com (Bart Schaefer)
Cc: crough45@amc.de, zsh-users@math.gatech.edu
Subject: Re: History key bindings
Date: Fri, 28 Nov 1997 13:30:18 +0100	[thread overview]
Message-ID: <97Nov28.143140gmt+0100.17031@internet01.amc.de> (raw)
In-Reply-To: <971127095558.ZM2955@candle.brasslantern.com> from "Bart Schaefer" at Nov 27, 97 06:55:58 pm

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


  parent reply	other threads:[~1997-11-28 12:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-26 17:10 Christopher Croughton
1997-11-27 17:55 ` Bart Schaefer
1997-11-27 18:21   ` Christopher Croughton
1997-11-27 18:43     ` Bart Schaefer
1997-11-28  8:57       ` Christopher Croughton
1997-11-28 12:30   ` Christopher Croughton [this message]
1997-11-28 17:18     ` Bart Schaefer
1997-11-29 13:49       ` Christopher Croughton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=97Nov28.143140gmt+0100.17031@internet01.amc.de \
    --to=crough45@amc.de \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).