zsh-users
 help / color / mirror / code / Atom feed
From: Geoff Wing <mason@primenet.com.au>
To: zsh-users@sunsite.dk
Subject: Re: sending escape sequences to print in color - thanks
Date: Mon, 24 Mar 2003 22:32:23 +0000 (UTC)	[thread overview]
Message-ID: <slrnb7v1rn.p6q.mason@sparkles.primenet.com.au> (raw)
In-Reply-To: <20030324215835.GM26991@fruitcom.com>

Eric Smith <es@fruitcom.com> typed:
: But one use I was looking for was to write(1) to another terminal viz.
: echotc AF 6 ; echotc AB 4 ; echo "Cyan on Blue"|write eric /dev/pts/3
: or 
: print "$bg[cyan]$fg[blue]Blue on Cyan"|write eric /dev/pts/3

Generally you can't use write because most write programmes make control
characters visible, so escape will become the two characters ^ and [

However, on a local machine you may be able to do
% print "$bg[cyan]$fg[blue]Blue on Cyan" >> /dev/pts/3

Regards,
Geoff


  reply	other threads:[~2003-03-24 22:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-24 21:00 sending escape sequences to print in color Eric Smith
2003-03-24 21:40 ` Dan Nelson
2003-03-24 21:52   ` Stephane CHAZELAS
2003-03-24 21:58     ` sending escape sequences to print in color - thanks Eric Smith
2003-03-24 22:32       ` Geoff Wing [this message]
2003-03-25  6:33       ` Stephane CHAZELAS
2003-03-25  0:03     ` sending escape sequences to print in color Thorsten Kampe
2003-03-24 22:12   ` Phil Gregory
2003-03-25  5:24     ` Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnb7v1rn.p6q.mason@sparkles.primenet.com.au \
    --to=mason@primenet.com.au \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).