From: Geoff Wing <mason@primenet.com.au>
To: borsenkow.msk@sni.de
Cc: zsh-workers@math.gatech.edu
Subject: Re: 3.0.4 bug: wrong character in hungetc()
Date: Fri, 25 Jul 1997 00:40:04 +1000 [thread overview]
Message-ID: <19970725004004.01951@primenet.com.au> (raw)
In-Reply-To: <Pine.SV4.3.95.970724171954.22407B-100000@itsrm1>; from Andrej Borsenkow on Thu, Jul 24, 1997 at 05:30:37PM +0400
Andrej Borsenkow wrote about Re: 3.0.4 bug: wrong character in hungetc():
:On 24 Jul 1997, Geoff Wing wrote:
:> I might have missed this previously. Has this bug been dealt with?
:> % while ( [[ $I bug 10 ]] ) ; do ; done
:> zsh: condition expected: bug
:> BUG: wrong character in hungetc()
:> BUG: wrong character in hungetc()
:> BUG: wrong character in hungetc()
:Hmmm ... My ZSH 3.0.4 doesn't say "BUG: wrong character in hungetc()", but
:acts somewhat strange:
:
:bor@itsmx1:~%> while ( [[ $I bug 10 ]] ) ; do ; done
:zsh: condition expected: bug
: Now UpArrow and
:bor@itsmx1:~%> while ( [[ $I bug 1
: ^ where is the rest of string?
One of the things I like least, and would probably require a big patch, is
that when parsing fails or gets interrupted, eg. CTRL-C during spelling
confirmation, the line only gets stored in history up to (approximately)
where it got up to.
:I don't recall to use any patches for 3.0.4
You're getting the same bug. "BUG:" lines don't appear unless you have the
right debug define set, eg. via configure, and I presumed that most of us
working on it would, like me, define them all. But it's good that you get
reproduce it. It'll mean that most other people probably can too, which
means we'll let them fix it :-)
--
Geoff Wing [mason@primenet.com.au] Phone : +61-3-9818 2977
Technical Manager: PrimeNet Computer Consultants Facsimile: +61-3-9819 3788
Web: <URL:http://www.primenet.com.au/> Mobile : 0412 162 441
next prev parent reply other threads:[~1997-07-24 14:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-24 12:19 Geoff Wing
1997-07-24 13:30 ` Andrej Borsenkow
1997-07-24 14:40 ` Geoff Wing [this message]
1997-07-29 6:42 ` Zoltan Hidvegi
1997-07-29 7:30 ` Zoltan Hidvegi
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=19970725004004.01951@primenet.com.au \
--to=mason@primenet.com.au \
--cc=borsenkow.msk@sni.de \
--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).