Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: sending escape sequences to print in color
- X-seq: zsh-users 5985
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: sending escape sequences to print in color
- Date: Tue, 25 Mar 2003 01:03:11 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030324210057.GK26991@xxxxxxxxxxxx> <20030324214051.GB63147@xxxxxxxxxxxxxxxx> <20030324225244.C131@xxxxxxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxxx>
* Stephane CHAZELAS (03-03-24 22:52 +0100)
> On Mon, Mar 24, 2003 at 03:40:51PM -0600, Dan Nelson wrote:
>> In the last episode (Mar 24), Eric Smith said:
>>> How do I print (shell builtin) or scho or better still write (1)
>>> to screen and produce color characters or inverse video.
>>
>> echotc AF 6 ; echotc AB 4 ; echo "Cyan on Blue!"
I love the manual: "Output the termcap value corresponding to the
capability cap".
> Or
> autoload colors
> colors
I don't have to do this, perhaps because of "autoload -U promptinit ;
promptinit"? Any way to verify this?
> print "$bg[cyan]$fg[blue]Blue on Cyan!"
Time for me to unset the default "banghist" option.
Thorsten
--
Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
Content-Transfer-Warning: message contains innuendos not suited for
children under the age of 18
Messages sorted by:
Reverse Date,
Date,
Thread,
Author