KDE strerr?

Dotan Cohen dotancohen at gmail.com
Sat May 31 07:36:30 BST 2008


2008/5/31 Howard Coles jr <dhcolesj at comcast.net>:
> You have to remember, however, that what this really means is that it can be
> redirected.  It goes by default to .xsession-errors, however an app may
> redirect, or you may redirect to where ever you want.  stderr (standard
> error) as an output is more a standard interface than a destination.  The app
> just sends the error to "stderr" its up to you, the OS, the app, or in this
> case X, to define where that is.
>
> I say all that so that if you look in ".xsession-errors" and don't see appA's
> errors, that could just mean that appA has redirected to another location,
> and you can change that location.
>
> Dotan, I think you know this, but maybe someone watching this thread is
> wondering what "stderr" really is.  stderr, stdin, stdout, etc, are all like
> passthrough windows in a restaurant.  I put the food in the window as the
> cook, I have no idea what table its going to, and I don't care.  the cook is
> the app, and the window is "stderr".   Another function, the waiter in our
> example, takes the output, in this case the food, to the destination.
>
> I remember when I starded in Linux, this took me a bit to get a hold of for
> some reason.

Thank you Howard. Actually, I did not know those details. I had
suspected that stderr is like a device /dev/something which any app
can write to, but I was not sure. Now I know. Thanks.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list