From: Brandon S. Allbery (bsa@kf8nh.wariat.org)
Date: 06/30/93


From: bsa@kf8nh.wariat.org (Brandon S. Allbery)
Subject: Re: [Q] "printk" not working
Date: Wed, 30 Jun 1993 23:16:10 GMT

In article <m323vcINN2vn@exodus.Eng.Sun.COM> cyrus@rmtc.Central.Sun.COM (Tait Cyrus) writes:
>when I'm in X11 the "hello world" (the output from the printk)
>is no where to be seen. I am starting an xterm up with the '-C' option
>which on other machines says to allow all console output to this window.

xterm -C doesn't work for some reason. Neither does "cat /proc/kmsg", because
of the way /proc works and the way cat works. Try:

#! /usr/bin/perl
open(KMSG, "/proc/kmsg");
while (sysread(KMSG, $msg, 4096))
{
    print $msg;
    $msg = '';
}

++Brandon

-- 
Brandon S. Allbery         kf8nh@kf8nh.ampr.org          bsa@kf8nh.wariat.org

It's not too late to turn back from the "Gates" of Hell... Linux: the free 32-bit operating system, available NOW. Why waaaaaait for NT?