Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 29 Apr 2004 11:25:40 +0100 From: Owen Rees To: cygwin AT cygwin DOT com Subject: Re: How to set the colors of terminfo's standout mode? Message-ID: <1620000.1083234340@orees.hpl.hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline X-HPL-MailScanner-Information: Please contact the helpdesk for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-4.9, required 5, autolearn=not spam, BAYES_00 -4.90) X-IsSubscribed: yes Note-from-DJ: This may be spam Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i3TASbKE029920 --On Wednesday, April 28, 2004 16:54:37 -0500 Alejandro López-Valencia wrote: > At 07:56 a.m. 28/04/2004, Frank Slootweg wrote: > >> Is there a place where all these (I assume ANSI) escape sequences for >> colors are listed? When I have that information, I can probably untic an >> existing terminfo entry, modify it and tic it back to another name and >> use that. > > The one I use came with the documentation of an ftp/sftp client I use, > yafc. Tis information is very hard to come by if one is in a bind, so > I'll include it here. Yafc's info file says: The escape sequences are defined in ECMA-048, a link to the PDF is at . This has also been adopted as ISO 6429, but ISO does not offer a free downloadable version. It is not the easiest of documents to decipher, but the colour codes are on page 62, part of the section "8.3.117 SGR - SELECT GRAPHIC RENDITION". You can string together many codes between the 'ESC[' and 'm', separated by semicolons, but which ones work varies depending on what has been implemented in the kind of terminal, and perhaps also on other settings. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/