zsh-workers
 help / color / mirror / code / Atom feed
* One big and one little problem with ZSH-3.1.5-pws-25
@ 1999-07-23 10:34 Jeremie Petit
  0 siblings, 0 replies; 2+ messages in thread
From: Jeremie Petit @ 1999-07-23 10:34 UTC (permalink / raw)
  To: zsh-workers

Hello,

  I have two problems to report about ZSH-3.1.5-pws-25 compiled
on Digital Unix 4.0D, with the native C compiler:

  Big Problem:
  ============

  One thing that worked with -pwd-20 and no more with -pwd-25
(I don't know in which version the problem happened), is that
when I do loops where I call ls for example, at a moment I get
a "job table full" error message. An example as:

    while true
>-> do
>->   ls a_file
>-> done

  leads to "zsh: job table full" after 48 times "ls" was performed.

  Light Problem:
  ==============

  I've configured my prompt to use colors:

  PROMPT="%{^[[38;5;47;1m%}[%m]%{^[[38;5;225m%}%~%{^[[m%}:
%{^[[38;5;210;1m%}"

  (Escape codes may not be visible here, but they work!)
  I've compiled last xterm-112 with 256 colors support.

  When I write my command after the prompt, It's of the good color, but
when
I try to complete with "TAB", the texts becomes as the default (not bold
&
white for me)

  If I use a %B at the end, even when completing, the command (not the 
completion list, I don't care about it) on the command line is bold, so
it behaves correctly.

  Any idea why this doesn't work (FYI, I removed the RPROMPT for this
test 
purpose)

Best regards, continue the good work on this shell I've been using for
6 years now with great pleasure!

 Jeremie Petit.

-- 
		Jeremie Iahhel PETIT <jeremie_petit@geocities.com>
		http://www.geocities.com/Broadway/3525/cds


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: One big and one little problem with ZSH-3.1.5-pws-25
@ 1999-07-23 10:55 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 1999-07-23 10:55 UTC (permalink / raw)
  To: zsh-workers; +Cc: jeremie_petit


Jeremie Petit wrote:

> Hello,
> 
>   I have two problems to report about ZSH-3.1.5-pws-25 compiled
> on Digital Unix 4.0D, with the native C compiler:
> 
>   Big Problem:
>   ============
> 
>   One thing that worked with -pwd-20 and no more with -pwd-25
> (I don't know in which version the problem happened), is that
> when I do loops where I call ls for example, at a moment I get
> a "job table full" error message. An example as:

Yes, we had a bit of trouble with the execution code lately
(sigh). This has already been fixed, though, try the latest version
available at ftp.zsh.org/testing/zsh-3.1.6-test-1.tar.gz (there is
also a patch file for test-2).

>   I've configured my prompt to use colors:
> 
>   PROMPT="%{^[[38;5;47;1m%}[%m]%{^[[38;5;225m%}%~%{^[[m%}:
> %{^[[38;5;210;1m%}"
> 
>   (Escape codes may not be visible here, but they work!)
>   I've compiled last xterm-112 with 256 colors support.
> 
>   When I write my command after the prompt, It's of the good color, but
> when
> I try to complete with "TAB", the texts becomes as the default (not bold
> &
> white for me)
> 
>   If I use a %B at the end, even when completing, the command (not the 
> completion list, I don't care about it) on the command line is bold, so
> it behaves correctly.
> 
>   Any idea why this doesn't work (FYI, I removed the RPROMPT for this
> test 
> purpose)

Hm, one problem might be that the refresh code doesn't know about the
stuff in the %{...%} and thus gets confused because the prompt itself
is not re-displayed after printing a completion list. Personally I
only use a highlighted prompt with the turn-off-stuff in POSTEDIT and
normal %B stuff in the prompt, which, of course, works fine.

Dunno if we should change the code to print the stuff inside %{... %}
pairs after a list has been displayed.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-07-23 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-23 10:34 One big and one little problem with ZSH-3.1.5-pws-25 Jeremie Petit
1999-07-23 10:55 Sven Wischnowsky

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).