lkml.org 
[lkml]   [2001]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: inserting a Forth-like language into the Linux kernel
Date
kspamd/H3sm is now making continuous writes to tty1 from an 
in-kernel thread. It was locking on a write to /dev/console by
init, so I made /dev/console a plain file. This is after
hollowing out sys_syslog to be a null routine, and various
other minor destruction.

I am now typing at you on tty4 or so while the kernel itself
sends an endless stream of d's to tty1. It will scroll-lock
and un-scroll-lock, which is how I can tell it's not just a
static screen of d's.

I don't know about H1 S&M, but the ability to open a tty
normally directly into kernelspace may prove popular, particularly
with a Forth on that tty in that kernelspace. Persons with actual
kernel clue may want to look at allowing /dev/console users and
an in-kernel tty user to play nice. For my purposes I'll do without
a real /dev/console and syslogging for now.

Now I get to find out how many worlds of trouble I didn't foresee
in _reading_ a tty from the kernel :o)

If someone knows of another example of interpreter-like behavior
directly in a unix in-kernel thread I'd like to know about it.

Rick Hohensee
www.clienux.com
The userland H3sm is in
ftp://ftp.gwdg.de/pub/linux/include/clienux/interim
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.041 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site