From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13580 invoked by alias); 28 May 2007 17:29:10 -0000 Received: (qmail 13572 invoked by uid 22791); 28 May 2007 17:29:10 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-scoter.atl.sa.earthlink.net (HELO elasmtp-scoter.atl.sa.earthlink.net) (209.86.89.67) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 28 May 2007 17:29:08 +0000 Received: from [76.167.219.232] (helo=PAULD) by elasmtp-scoter.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1Hsj1k-0001IQ-4o; Mon, 28 May 2007 13:29:04 -0400 From: "Paul D. DeRocco" To: "'Sergei Gavrikov'" Cc: Date: Mon, 28 May 2007 20:22:00 -0000 Message-ID: <004e01c7a14d$af6fec50$887ba8c0@PAULD> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook, Build 10.0.6822 In-Reply-To: <1180345081.16789.23.camel@sg-ubuntu> X-ELNK-Trace: bd7d5d4e6f8f652c74cfc7ce3b1ad11381c87f5e519606883a009eb8e7c6e4928291866de49023e9350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] Re: diag_printf refuses to print ANSI escape sequences? X-SW-Source: 2007-05/txt/msg00146.txt.bz2 > From: Sergei Gavrikov >=20 > Why is here this flame? If you need to expand the=20 > diag_printf() add own CDL rule to expand that diag_check_string (): >=20 > if( c =3D=3D '\n' || c =3D=3D '\r' || c =3D=3D '\b' || c =3D=3D '\t' || c= =3D=3D '\E' ) > continue; >=20 > Gary already did point on that. Or perhaps a CDL rule to turn off the string checking entirely. I'll bet most people had no idea it was in there at all, until this thread came up. It's certainly unexpected behavior to me. I would have expected diagnostic output to be lightweight, with minimum built-in cleverness. So would the OP, apparently. --=20 Ciao, Paul D. DeRocco Paul mailto:pderocco@ix.netcom.com=20 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss