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

From: Jan-Benedict Glaw (jbglaw_at_lug-owl.de)
Date: 06/20/04

  • Next message: Arjan van de Ven: "Re: Kernel Bug Report"
    Date:	Sun, 20 Jun 2004 10:49:29 +0200
    To: Albert Cahalan <albert@users.sf.net>
    
    
    

    On Sun, 2004-06-20 00:02:58 -0400, Albert Cahalan <albert@users.sf.net>
    wrote in message <1087704177.8185.951.camel@cube>:
    > > Get real: either you *want* to get those codes
    > > interpreted (think about full-blown ncurses apps
    > > being run over serial link), or you *don't* (think
    > > about simply recording serial console's output).
    > > You just have to choose the correct application
    > > for your task.
    >
    > If there are full-blown ncurses apps being routed
    > through printk -- that is, the KERNEL log -- then
    > we have far bigger issues.

    You're right, I mixed up the ways for console output and for userspace
    apps using a shell over the very same serial line (what I commonly do).

    > The 0x9b character must be blocked, at least when
    > a serial console is in use. (apps on such a console
    > may of course use 0x9b as desired -- just not printk)

    I still don't see a need to filter out *anything*. To be exact, I've
    seen other places where a \r is added when a \n occures. Not always a
    great idea, too... Just keep it as it is, I think it's fine...

    MfG, JBG

    -- 
       Jan-Benedict Glaw       jbglaw@lug-owl.de    . +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));
    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: Arjan van de Ven: "Re: Kernel Bug Report"

    Relevant Pages

    • Re: AT Keyboard (was: Helge Hafting vs. make menuconfig help)
      ... >> console and ends up in your application. ... "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: How to pass information, classes between forms in Windows Application mode
      ... example fails to be instructive for several reasons: it's console ... Forms apps aren't ... There's still no such thing as a forward declaration. ... in WinForms apps as console apps ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Moving From ProTools to Linux? Good or bad?
      ... production apps. ... part of the tail end of the BeOS history was that TASCAM ... small/medium format digital recording console (or recording console ... my experience with open-source apps is that one has to be ...
      (rec.audio.pro)
    • Re: Proposal: ConsoleVision
      ... >> Perhaps they are only writing these console apps in TP because they ... so they are gonna buy Delphi now, so they can keep writing the ... > Windows apps. ...
      (borland.public.delphi.non-technical)
    • Re: VIA SATA I/O errors
      ... > and a lot of SCSI error messages will be output to the console. ... > few instances of this happening (which requires a hard power-off, ... I have no idea whether this is a software or hardware ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)