Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: since 4.3.4, artifact-appearance at prompt
- X-seq: zsh-users 12185
- From: Benjamin Andresen <bandresen@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: since 4.3.4, artifact-appearance at prompt
- Date: Sun, 04 Nov 2007 15:51:58 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=uB8oEi/dUI90ejTvhd1HY45eMzp9pD8ZDH9lWME0NKA=; b=L0azu0xGRHBZOiYPAUGdK9lTah8qK8fI3ktcQQn0LFeThoIjeNwATjidXMd2B0yI+ts2SncWP2PsGH/8MMYsYxKq/MFnNWn2It+/YvBgvjDRx78HRWTrj5wepMPH3PM3PJViJgE5I75OIIO8sLXcEWnwZc3u++tFHc4YIInlqfA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=GZM62zoZCjZN5vSIJQ60JYt3818JzHsA+92oAvR861SPdX3st9fKUfa120PFEI7StqWk3fQf80OR3vmeDhJpanAfVhx9PLZqAq0RV8mFPq9uVzz+Encq9i9PPwuJJSBHhyAGEj2wRbn+mvmf5P7R/WPPvXHtP2XBN+s7eOg/Zbo=
- In-reply-to: <20071103234335.GB10499@xxxxxxxxx> (Russell Hoover's message of "Sat\, 3 Nov 2007 19\:43\:35 -0400")
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071103234335.GB10499@xxxxxxxxx>
Russell Hoover <rj@xxxxxxxxx> writes:
> I always now get, at the leftmost column of the blank line, the
> appearance of a percent-sign backgrounded in orange.
I have the same problem. But the percent sign is inverted for me,
always the inverted terminal backgroud colour. I tried to ask people
in #zsh, but nobody could reproduce it...
It especially often happens when I exit applications with ^D.
(Currently I can _only_ reproduce it that way.)
For instance, take this example:
$ PROMPT='zsh%% ' zsh -f
zsh% rc
% % (Inverted colour, after pressing ^D)
zsh%
the same happens with sbcl, irb and some other line based application.
(Not ed though. And if I strace =rc, it doesn't show the percent sign,
but it does when I strace zsh. So I guess it's related to zsh.)
<snip from strace>
rt_sigaction(SIGINT, {0x80a2fc0, [], SA_INTERRUPT}, NULL, 8) = 0
write(10, "\33[1m\33[3m%\33[23m\33[1m\33[0m "..., 167%
) = 167
rt_sigaction(SIGINT, {0x80a2fc0, [], SA_INTERRUPT}, NULL, 8) = 0
<snap>
(Important, the percent sign above is inverted.)
rc is the smallest binary I could get to show the problem and it looks
as if it isn't related to readline as I first thought.
zsh% ldd =rc
linux-gate.so.1 => (0xb7f5a000)
libm.so.6 => /lib/libm.so.6 (0xb7f24000)
libutil.so.1 => /lib/libutil.so.1 (0xb7f20000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7f08000)
libc.so.6 => /lib/libc.so.6 (0xb7dd2000)
/lib/ld-linux.so.2 (0xb7f5b000)
I accepted the fate, I just wanted to give additional information. :-)
hth,
benny
Messages sorted by:
Reverse Date,
Date,
Thread,
Author