zsh-workers
 help / color / mirror / code / Atom feed
* Re: Something wrong with prompt themes
@ 1999-12-06 13:19 Sven Wischnowsky
  1999-12-06 16:44 ` Bart Schaefer
  1999-12-07  1:44 ` Adam Spiers
  0 siblings, 2 replies; 7+ messages in thread
From: Sven Wischnowsky @ 1999-12-06 13:19 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> Some prompt themes (e.g. elite) explicitly use characters with 8th bit set. This
> looks really ugly here - tested on dtterm and console (AT386 terminal - dunno if
> it specific to SINIX or is in common use) with ISO-8859-1 and ISO-8859-5
> charsets.

Irritating, isn't it? ;-)

But that reminded me... Adam, have you ever thought about extending
your prompt themes stuff to include definitions for the format styles
used by the completion code (so that they look appropriate for the
prompt style used)?

> ...
> 
> Or use style(s) to switch them on/off. Themes may look nicely even without these
> characters - and users may conditionally switch them on/off depending on current
> terminal.

Which brings us back to the idea of using a generic package code, sigh.

Bye
 Sven


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


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Something wrong with prompt themes
@ 1999-12-07  9:10 Sven Wischnowsky
  0 siblings, 0 replies; 7+ messages in thread
From: Sven Wischnowsky @ 1999-12-07  9:10 UTC (permalink / raw)
  To: zsh-workers


Adam Spiers wrote:

> ...
> 
> Eek.  I wasn't really aware that there were any particular conflicts
> between completion format styles and prompt themes ... actually that's
> not true, since the `adam2' prompt theme, which I use the most, makes
> user input bold initially, and I use:
> 
>   compstyle '*:descriptions' format "$fg_bold[white]%d$fg_no_bold[white]"
> 
> But I suspect I'm missing more significant issues here.  Could you
> give a practical example or two where the extension suggested above
> would be worthwhile?

I didn't mean to say that there are conflicts, I was just wondering if 
thought about including defs for the format styles to make them
look-alike with the prompt themes. Probably resulting in a nicer or
more consistent user interface.

> ...
> 
> Yep :-) While I'm not convinced more flexibility is needed in this
> (prompt themes) case, there's no denying that a generic customization
> system would be very worthwhile.  In my mind, the ideal goal would be
> an extension of compstyle for general zsh customization (excepting
> options, of course, because they're fine left as is), and then to have
> some sort of simple front-end customization program (perhaps something
> like the sort of UI the `dialog' program generates?) which harnesses
> this in a user-friendly way.  The upshot behind this would be that
> someone can download, install and have running very quickly a version
> of zsh with all the funky stuff enabled, and actually (roughly)
> understand what all the funky bits do, without having to spend hours
> uploading the zshcompsys man page to their brain.  That would be
> great, IMO.

Any suggestions about how this should/could/would look like?

> Back to the topic in hand.  These 8-bit characters seem to be causing
> several people to wrinkle up their noses, so I should change something
> I guess.

For me at least: only until I had a look at your screen shots...


Bye
 Sven


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


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Something wrong with prompt themes
@ 1999-12-06 12:37 Andrej Borsenkow
  0 siblings, 0 replies; 7+ messages in thread
From: Andrej Borsenkow @ 1999-12-06 12:37 UTC (permalink / raw)
  To: ZSH workers mailing list

Some prompt themes (e.g. elite) explicitly use characters with 8th bit set. This
looks really ugly here - tested on dtterm and console (AT386 terminal - dunno if
it specific to SINIX or is in common use) with ISO-8859-1 and ISO-8859-5
charsets.

What are these characters for? I believe, they are for semi-grafic with standard
IBM 437 codepage. Unfortunately, you cannot expect everybody to use it.

May be, 'prompt -p' or even 'prompt -l' should at least print warning if the
theme expects particular character set.

Or use style(s) to switch them on/off. Themes may look nicely even without these
characters - and users may conditionally switch them on/off depending on current
terminal.

/andrej



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

end of thread, other threads:[~1999-12-07 17:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-06 13:19 Something wrong with prompt themes Sven Wischnowsky
1999-12-06 16:44 ` Bart Schaefer
1999-12-07  1:59   ` Adam Spiers
1999-12-07  1:44 ` Adam Spiers
1999-12-07 17:54   ` Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
1999-12-07  9:10 Sven Wischnowsky
1999-12-06 12:37 Andrej Borsenkow

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