From: mason@primenet.com.au (Geoff Wing)
To: zsh-workers@math.gatech.edu
Subject: Patch for zle_refresh.c
Date: 19 Jun 1997 08:24:32 GMT [thread overview]
Message-ID: <slrn5qhr60.g19.mason@coral.primenet.com.au> (raw)
In-Reply-To: <199706190704.DAA05872@hzoli.home>
On 19 Jun 1997 17:09:00 +1000, Zoltan Hidvegi <hzoli@ny.frontiercomm.net> wrote:
:And I should apologize for the delay of zsh-3.0.4. I have almost made a
:release but then came two new fixes from Peter az Zefram.
Well, I better give you this patch then. It's against 3.0.3 (I think).
Note: this is a fix to avoid a coredump - it's a kludge because I haven't
looked into the reasons behind it yet so I don't know if something else is
buggy or just this. Also, a couple of people - Andrej Borsenkow & Zefram -
have indicated another problem with the display which I haven't got round to
investigating properly yet; I can't reproduce it from their methods.
*** zle_refresh.c.org Tue Jun 3 15:11:25 1997
--- zle_refresh.c Thu Jun 19 18:13:46 1997
***************
*** 758,763 ****
--- 758,765 ----
void
moveto(int ln, int cl)
{
+ int c;
+
if (vcs == winw) {
vln++, vcs = 0;
if (!hasam) {
***************
*** 765,776 ****
zputc('\n', shout);
} else {
if ((vln < nlnct) && nbuf[vln] && *nbuf[vln])
! zputc(*nbuf[vln], shout);
else
! zputc(' ', shout);
zputc('\r', shout);
if ((vln < olnct) && obuf[vln] && *obuf[vln])
! *obuf[vln] = *nbuf[vln];
}
}
--- 767,779 ----
zputc('\n', shout);
} else {
if ((vln < nlnct) && nbuf[vln] && *nbuf[vln])
! c = *nbuf[vln];
else
! c = ' ';
! zputc(c, shout);
zputc('\r', shout);
if ((vln < olnct) && obuf[vln] && *obuf[vln])
! *obuf[vln] = c;
}
}
--
Geoff Wing [mason@primenet.com.au] Technical Manager
Phone : +61-3-9818 2977 PrimeNet - Internet Consultancy
Facsimile: +61-3-9819 3788 Web : <URL:http://www.primenet.com.au/>
Mobile : 0412 162 441
next prev parent reply other threads:[~1997-06-19 8:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-19 6:24 zsh-3.0.3: another problem in Src/jobs.c SUZUKI Hisao
1997-06-19 7:04 ` Zoltan Hidvegi
1997-06-19 7:26 ` Andrei Tcherepanov
1997-06-19 8:24 ` Geoff Wing [this message]
1997-06-19 23:32 ` SUZUKI Hisao
1997-06-20 3:45 ` Zoltan Hidvegi
1997-06-20 8:20 ` SUZUKI Hisao
1997-06-19 8:58 ` Peter Stephenson
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=slrn5qhr60.g19.mason@coral.primenet.com.au \
--to=mason@primenet.com.au \
--cc=zsh-workers@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).