public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Ángel González" <keisial@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: Re: Looking for an ANSI Control Character header
Date: Mon, 30 Dec 2013 17:31:00 -0000	[thread overview]
Message-ID: <52C1ADF6.40004@gmail.com> (raw)
In-Reply-To: <52C11DDC.3070708@gmail.com>

I think you are out of luck for Windows. If I remember right, for some 
"escape sequences" you actually need to perform function calls in order 
to get the win32 console do the requested action.
My approach was to define myself the escape codes I used in a header 
with those macros set to the empty string for windows. OTOH, I never 
attempted to support every terminal. Too daunting for just the bit of 
console sugar I was adding. But the direction would indeed be parsing 
the terminfo files.


      reply	other threads:[~2013-12-30 17:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-29 21:59 Kevin Ingwersen
2013-12-30  0:29 ` Tim Prince
     [not found]   ` <8487D432-2245-4CE1-BBBB-B372EF5C7802@googlemail.com>
2013-12-30  2:11     ` Kevin Ingwersen
2013-12-30  7:16       ` Václav Zeman
2013-12-30 17:31         ` Ángel González [this message]

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=52C1ADF6.40004@gmail.com \
    --to=keisial@gmail.com \
    --cc=gcc-help@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).