Re: [PATCH] Stop printk printing non-printable chars

From: Jan-Benedict Glaw
Date: Sat Jun 19 2004 - 03:32:36 EST


On Sat, 2004-06-19 01:03:30 +0100, matthew-lkml@xxxxxxxxxxxxxxxxxxxxx <matthew-lkml@xxxxxxxxxxxxxxxxxxxxx>
wrote in message <20040619000330.GC5286@xxxxxxxxxxxxxxxxxxxxx>:
> On Fri, Jun 18, 2004 at 11:32:52PM +0200, Jan-Benedict Glaw wrote:
> > On Fri, 2004-06-18 21:53:55 +0100, matthew-lkml@xxxxxxxxxxxxxxxxxxxxx <matthew-lkml@xxxxxxxxxxxxxxxxxxxxx>
> > wrote in message <20040618205355.GA5286@xxxxxxxxxxxxxxxxxxxxx>:

> > It's dandy if you pump out some data via serial link.
>
> Is printk ever used to send anything out via a serial link? I assumed it
> was only kernel log messages (that should really be fairly sane). Log
> messages sent to serial printer, etc, don't want dodgy chars in them
> that may mess up the printer, do they?

printk() is a printf() like interface to the log buffer. From there, all
console drivers are fed, and in development (not for office or private
use), you often attach a seruak cibsike to capture Oops messages and the
like.

MfG, JBG

--
Jan-Benedict Glaw jbglaw@xxxxxxxxxx . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature