From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6803 invoked by alias); 26 May 2007 15:20:10 -0000 Received: (qmail 6795 invoked by uid 22791); 26 May 2007 15:20:10 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 26 May 2007 15:20:08 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hry3d-0007Uh-Ha for ecos-discuss@sources.redhat.com; Sat, 26 May 2007 17:19:53 +0200 Received: from grante.dsl.visi.com ([208.42.141.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 17:19:53 +0200 Received: from grante by grante.dsl.visi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 May 2007 17:19:53 +0200 To: ecos-discuss@sources.redhat.com From: Grant Edwards Date: Sat, 26 May 2007 16:38:00 -0000 Message-ID: User-Agent: slrn/0.9.8.1 (Linux) 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: [ECOS] diag_printf refuses to print ANSI escape sequences? X-SW-Source: 2007-05/txt/msg00131.txt.bz2 In the "not a big deal" department... I'm trying to send ANSI escape sequences using diag_printf, and diag_printf refuses. If I put the escape character in the format string it says If there's an escape character in a string that is to be printed using the "%s" format, it says: I understand that it's useful to attempt to avoid printing random binary garbage, but I would think that ASCII ESC might be allowed in strings. I've found that insterting the escape characters using %c works, but that's a bit awkward. -- Grant Edwards grante Yow! My LESLIE GORE record at is BROKEN... visi.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss