This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Re: diag_printf refuses to print ANSI escape sequences?


> From: Sergei Gavrikov
> 
> Why is here this flame? If you need to expand the 
> diag_printf() add own CDL rule to expand that diag_check_string ():
> 
> if( c == '\n' || c == '\r' || c == '\b' || c == '\t' || c == '\E' )
>     continue;
> 
> 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.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco@ix.netcom.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]