zsh-users
 help / color / mirror / code / Atom feed
* Remarks on Alex Polite's color names
@ 2006-07-04  7:17 Bart Schaefer
  2006-07-04  7:47 ` Archive delays (Was: Remarks on Alex Polite's color names) Geoff Wing
  2006-07-04  9:23 ` Remarks on Alex Polite's color names Phil Pennock
  0 siblings, 2 replies; 9+ messages in thread
From: Bart Schaefer @ 2006-07-04  7:17 UTC (permalink / raw)
  To: zsh-users

[Why are none of Alex's messages in the zsh-users archive, even though
all the messages that reference them are there?  The original one is in
gmane, marked as expiring on July 17, but none of the followups.]

The recent discussion about colored prompts with newlines included a
number of parameter declarations such as

fg_brown=$'%{\e[0;33m%}'
fg_purple=$'%{\e[0;35m%}'

I wanted to point out a few things about this, before someone looks at
the "colors" function in the zsh distribution and says "Hey, why are
brown and purple not defined in the $fg array?"

Colors 33 and 35 are defined by the ANSI terminal spec as yellow and
magenta, respectively, not brown and purple.  In order to make "normal"
and "bold" yellow distinct while still making them both readable, many
terminal emulators now render "normal yellow" as a shade of tan rather
than as a true yellow.  For similar reasons (and as commented in the
"colors" function source), "white" is frequently a very faint grey and
"bold white" is truly white, and "black" is a very dark grey to appear
different from 'bold black".  This also applies to magenta -- against
a (not quite) white background, the "normal" magenta looks purple, and
"bold magenta" really is magenta (which Alex calls fg_light_purple).

You can see all this better against a black (bold black) background;
the color that looks tan/brown on white, looks much yellower on black.

As for the exact escape sequence in $fg_brown above: the zero before
the semicolon has the effect of resetting all color attributes before
setting the foreground to yellow.  This means that you can't combine
Alex's $fg_brown with a background color.  If the "0;" is omitted, the
same foreground color is set, without first resetting the background or
other attributes.

In fact the form with the semicolon is a shortcut.  You can set all the
attributes sequentially instead, e.g. $'\e[0m\e[33m'.  You can also use
more than one semicolon, e.g.$'\e[5;40;33m' is black background with
blinking yellow foreground.

Look in the "colors" function file for other attribute values.  You'll
see there that "1" (as in "1;31" for Alex's fg_light_red) is meant to
describe "bold", not "light" colors.


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

* Archive delays (Was: Remarks on Alex Polite's color names)
  2006-07-04  7:17 Remarks on Alex Polite's color names Bart Schaefer
@ 2006-07-04  7:47 ` Geoff Wing
  2006-07-04  9:23 ` Remarks on Alex Polite's color names Phil Pennock
  1 sibling, 0 replies; 9+ messages in thread
From: Geoff Wing @ 2006-07-04  7:47 UTC (permalink / raw)
  To: Zsh Users

On Tuesday 2006-07-04 17:17 +1000, Bart Schaefer output:
:[Why are none of Alex's messages in the zsh-users archive, even though
:all the messages that reference them are there?  The original one is in
:gmane, marked as expiring on July 17, but none of the followups.]

People who send html or multipart/alternative messages have been
having delayed (manual) processing for years - dating back to when
lots more spam was able to pass through, before qconfirm and other
spam checks were put it place.  That measure's still in place.

Regards,
Geoff


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

* Re: Remarks on Alex Polite's color names
  2006-07-04  7:17 Remarks on Alex Polite's color names Bart Schaefer
  2006-07-04  7:47 ` Archive delays (Was: Remarks on Alex Polite's color names) Geoff Wing
@ 2006-07-04  9:23 ` Phil Pennock
  2006-07-06 19:17   ` Alex Polite
  1 sibling, 1 reply; 9+ messages in thread
From: Phil Pennock @ 2006-07-04  9:23 UTC (permalink / raw)
  To: zsh-users

On 2006-07-04 at 00:17 -0700, Bart Schaefer wrote:
> [Why are none of Alex's messages in the zsh-users archive, even though
> all the messages that reference them are there?  The original one is in
> gmane, marked as expiring on July 17, but none of the followups.]

X-No-Archive: yes
-- 
VISTA: Viruses, Infections, Spyware, Trojans & Adware


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

* Re: Remarks on Alex Polite's color names
  2006-07-04  9:23 ` Remarks on Alex Polite's color names Phil Pennock
@ 2006-07-06 19:17   ` Alex Polite
  2006-07-06 19:58     ` Nikolai Weibull
  2006-07-07 11:33     ` Phil Pennock
  0 siblings, 2 replies; 9+ messages in thread
From: Alex Polite @ 2006-07-06 19:17 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 700 bytes --]

On 7/4/06, Phil Pennock <phil.pennock@globnix.org> wrote:
>
> On 2006-07-04 at 00:17 -0700, Bart Schaefer wrote:
> > [Why are none of Alex's messages in the zsh-users archive, even though
> > all the messages that reference them are there?  The original one is in
> > gmane, marked as expiring on July 17, but none of the followups.]
>
> X-No-Archive: yes



I'm using gmail for  most lists.  Kind of ironic that gmail sets that header
considering their own policy of refusing to allow users to make mass
removals.

As to the colors that was just something I cut and paste from from the net.
Thanks for the clarifications.


alex

-- 
Alex Polite
http://flosspick.org - finding the right open source

[-- Attachment #2: Type: text/html, Size: 1089 bytes --]

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

* Re: Remarks on Alex Polite's color names
  2006-07-06 19:17   ` Alex Polite
@ 2006-07-06 19:58     ` Nikolai Weibull
  2006-07-07 11:33     ` Phil Pennock
  1 sibling, 0 replies; 9+ messages in thread
From: Nikolai Weibull @ 2006-07-06 19:58 UTC (permalink / raw)
  To: Alex Polite; +Cc: zsh-users

On 7/6/06, Alex Polite <notmyprivateemail@gmail.com> wrote:

> On 7/4/06, Phil Pennock <phil.pennock@globnix.org> wrote:

> > X-No-Archive: yes

> I'm using gmail for  most lists.  Kind of ironic that gmail sets that header
> considering their own policy of refusing to allow users to make mass
> removals.

I had no idea they did this.  That sucks; I want my postings to show
up in archives.  "If you can't stand by what you've said, then perhaps
you shouldn't be saying it at all."  And I certainly have posted many
mails I've later come to regret...

Politely yours,

  nikolai


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

* Re: Remarks on Alex Polite's color names
  2006-07-06 19:17   ` Alex Polite
  2006-07-06 19:58     ` Nikolai Weibull
@ 2006-07-07 11:33     ` Phil Pennock
  2006-07-07 12:46       ` Alex Polite
  1 sibling, 1 reply; 9+ messages in thread
From: Phil Pennock @ 2006-07-07 11:33 UTC (permalink / raw)
  To: zsh-users

On 2006-07-06 at 21:17 +0200, Alex Polite wrote:
> On 7/4/06, Phil Pennock <phil.pennock@globnix.org> wrote:
> >X-No-Archive: yes

> I'm using gmail for  most lists.  Kind of ironic that gmail sets that header
> considering their own policy of refusing to allow users to make mass
> removals.

They're not.  I hadn't noticed that the list management software was
setting it.  Sorry for the false alarm (and thanks to Bart for pointing
this out to me).

The other cause mentioned, that of text/html being present, was the
actual cause.
-- 
VISTA: Viruses, Infections, Spyware, Trojans & Adware


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

* Re: Remarks on Alex Polite's color names
  2006-07-07 11:33     ` Phil Pennock
@ 2006-07-07 12:46       ` Alex Polite
  2006-07-07 20:39         ` Vin Shelton
  2006-07-10  1:05         ` djh
  0 siblings, 2 replies; 9+ messages in thread
From: Alex Polite @ 2006-07-07 12:46 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

On 7/7/06, Phil Pennock <phil.pennock@globnix.org> wrote:
>
>
> The other cause mentioned, that of text/html being present, was the
> actual cause.


I see. I  didn't even realise that gmail wasn't plaintext. I'm most sorry.
I'll be moving away from gmail presently.

alex




-- 
Alex Polite
http://flosspick.org - finding the right open source

[-- Attachment #2: Type: text/html, Size: 715 bytes --]

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

* Re: Remarks on Alex Polite's color names
  2006-07-07 12:46       ` Alex Polite
@ 2006-07-07 20:39         ` Vin Shelton
  2006-07-10  1:05         ` djh
  1 sibling, 0 replies; 9+ messages in thread
From: Vin Shelton @ 2006-07-07 20:39 UTC (permalink / raw)
  To: Alex Polite; +Cc: zsh-users

On 7/7/06, Alex Polite <notmyprivateemail@gmail.com> wrote:
>
>
>
> On 7/7/06, Phil Pennock <phil.pennock@globnix.org> wrote:
> >
> > The other cause mentioned, that of text/html being present, was the
> > actual cause.
>
>
> I see. I  didn't even realise that gmail wasn't plaintext. I'm most sorry.
> I'll be moving away from gmail presently.

It depends on whether you select 'Rich formatting' or not.  'Rich
formatting' means 'use HTML'.

This email was sent from gmail.  I believe it will appear as text/plain.

HTH,
  Vin Shelton
-- 
Whoever you are, no matter how lonely,
the world offers itself to your imagination,
calls to you like the wild geese, harsh and exciting--
over and over announcing your place
in the family of things.			Mary Oliver


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

* Re: Remarks on Alex Polite's color names
  2006-07-07 12:46       ` Alex Polite
  2006-07-07 20:39         ` Vin Shelton
@ 2006-07-10  1:05         ` djh
  1 sibling, 0 replies; 9+ messages in thread
From: djh @ 2006-07-10  1:05 UTC (permalink / raw)
  To: zsh-users


Alex, 
   gmail should have an option to use only text.  In fact after you select "compose mail" you would probably see "<< plain text ", which means that you are in "rich formatting" mode and you see all the B)old I)talic U)line letters and other rich text for
matting commands.  Click on the "<< plain text and there you are, the rich text menu bar disappears and your input will be plain text.  One of these strings is displayes in light blue just at the left left of the compose input window.  

Darel
> >
> > The other cause mentioned, that of text/html being present, was the
> > actual cause.
> 
> I see. I  didn't even realise that gmail wasn't plaintext. I'm most sorry.
> I'll be moving away from gmail presently.
> 
> alex


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

end of thread, other threads:[~2006-07-10  1:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-04  7:17 Remarks on Alex Polite's color names Bart Schaefer
2006-07-04  7:47 ` Archive delays (Was: Remarks on Alex Polite's color names) Geoff Wing
2006-07-04  9:23 ` Remarks on Alex Polite's color names Phil Pennock
2006-07-06 19:17   ` Alex Polite
2006-07-06 19:58     ` Nikolai Weibull
2006-07-07 11:33     ` Phil Pennock
2006-07-07 12:46       ` Alex Polite
2006-07-07 20:39         ` Vin Shelton
2006-07-10  1:05         ` djh

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