zsh-workers
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayne@clari.net>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: zsh-3.0.6-pre-2: clear list
Date: Thu, 06 May 1999 04:34:43 -0700	[thread overview]
Message-ID: <199905061134.EAA07181@bebop.clari.net> (raw)
In-Reply-To: wischnow's message of Tue, 04 May 1999 17:37:20 +0200. <199905041537.RAA01787@beta.informatik.hu-berlin.de>

Sven Wischnowsky writes:
> --- Src/zle_refresh.c.old	Tue May  4 17:06:35 1999
> +++ Src/zle_refresh.c	Tue May  4 17:26:22 1999
> @@ -61,6 +61,16 @@
>  static unsigned pmpt_attr = 0,	/* text attributes after displaying pro
> mpt  */
>      rpmpt_attr = 0;		/* text attributes after displaying rprompt */
>  
> +/* Non-zero if a completion list was displayed. */
> +
> +/**/
> +int listshown;
> +
> +/* Non-zero if refresh() should clear the list below the prompt. */
> +
> +/**/
> +int clearlist;
> +
>  /**/
>  void
>  resetvideo(void)

I don't think this is the right way to do this for 3.0.6.  These
variables don't get prefixed with "extern" in the .pro file, and I
believe that this will fail on a system whose linker doesn't merge
duplicate data definitions.  I moved these lines to globals.h (sans
the /**/ tags) and prefixed them with "EXTERN".

..wayne..


      reply	other threads:[~1999-05-06 11:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-04 15:37 Sven Wischnowsky
1999-05-06 11:34 ` Wayne Davison [this message]

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=199905061134.EAA07181@bebop.clari.net \
    --to=wayne@clari.net \
    --cc=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).