public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bo Andresen <bo.andresen@gmail.com>
To: "gentoo-user" <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] [OT] Terminal formatting and colors escape sequences
Date: Thu, 2 Mar 2006 14:49:49 +0100	[thread overview]
Message-ID: <200603021449.51145.bo.andresen@gmail.com> (raw)

I know this is very off topic, but I have no idea how to find a place where it 
actually is on topic.. so I'm posting it here.

I wish to be able to run a program (eix-sync/diff-eix) in cron that prints 
colors (with use of --force-color) and then send that colored output as a 
mail. In order to get colors in a mail a have to use html. If there exist a 
program that is capable of converting escape sequences used for formatting 
and coloring an xterm to html I would love to know about it. 

Otherwise I'll make it myself (with a very limited range of supported escape 
sequences). My problem is that I am unable to locate a reference that defines 
the escape sequences. Guessing by testing with xterm isn't really a optimal 
way to find out...

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2006-03-02 13:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 13:49 Bo Andresen [this message]
2006-03-02 14:01 ` [gentoo-user] [OT] Terminal formatting and colors escape sequences Bo Andresen
2006-03-02 14:11 ` Jason Stubbs
2006-03-02 14:56 ` Hans-Werner Hilse
2006-03-02 15:43   ` Bo Andresen
2006-03-02 15:27 ` [gentoo-user] " Remy Blank
2006-03-02 15:42   ` Bo Andresen
2006-03-02 17:23 ` [gentoo-user] " Bo Andresen

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=200603021449.51145.bo.andresen@gmail.com \
    --to=bo.andresen@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox