From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1507 invoked by alias); 30 Dec 2013 17:31:41 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 1496 invoked by uid 89); 30 Dec 2013 17:31:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f173.google.com Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 30 Dec 2013 17:31:40 +0000 Received: by mail-wi0-f173.google.com with SMTP id hn9so11875219wib.0 for ; Mon, 30 Dec 2013 09:31:37 -0800 (PST) X-Received: by 10.180.39.177 with SMTP id q17mr23246585wik.5.1388424697065; Mon, 30 Dec 2013 09:31:37 -0800 (PST) Received: from [192.168.1.27] (45.Red-88-26-173.staticIP.rima-tde.net. [88.26.173.45]) by mx.google.com with ESMTPSA id cy10sm26275951wjb.6.2013.12.30.09.31.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 09:31:36 -0800 (PST) Message-ID: <52C1ADF6.40004@gmail.com> Date: Mon, 30 Dec 2013 17:31:00 -0000 From: =?windows-1252?Q?=C1ngel_Gonz=E1lez?= User-Agent: Thunderbird MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Re: Looking for an ANSI Control Character header References: <79046CCA-0EA7-4A8D-8B00-70F18887443D@googlemail.com> <52C0BE45.6030907@aol.com> <8487D432-2245-4CE1-BBBB-B372EF5C7802@googlemail.com> <9A32A050-8342-45D2-B00F-41D4BEDE6EF8@googlemail.com> <52C11DDC.3070708@gmail.com> In-Reply-To: <52C11DDC.3070708@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00148.txt.bz2 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.