Re: Graphische Programme, Ausgabe auf Konsole

David Haller <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hallo,

Am Tue, 03 May 2005, GÃŒnther Montag  schrieb:
>Grundsatzfrage:
>
>Wenn ich von tty1 startx aufrufe, startet Xwindow.
>Ich lasse unter X mein Programm laufen.
>Es gibt, wie viele andere auch,  Meldungen auf die 
>(schwarze) Konsole aus. 
>Das heißt, wenn ich von Xwindow aus z.B. <Strg><Alt>+F1 
>drÃŒcke, komme ich auf tty1 und kann diese Meldungen lesen.
>Ist auch o.k. so, hilft oft.
>
>Nun die Frage:
>Ist das in Zukunft weiter so o.k., oder gibt es irgendeinen 
>Linux-Standard, der dieses Verhalten in Zukunft als nicht 
>mehr erwÌnscht erklÀrt?

Das braucht dich gar nicht zu interessieren :)

Denn das, was da auf dem tty landet, von dem X gestartet wurde ist
schlicht und einfach stdout bzw. stderr. Starte mal folgendes
shell-script unter X nicht aus einem xterm:

====
#!/bin/sh
echo "Dies ist eine Ausgabe auf stdout"
echo "Dies ist eine Ausgabe auf stderr" >&2
====

-dnh

-- 
I'm fairly sure that if they took all the porn off the Net, there'd only be
one website left, and it would be called "bring-back-the-porn dot com".
              -- Perry Cox, _Scrubs_

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfÃŒgbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.