read() of a tty from the kernel does behave as per the tty settings.
I now have a kernel thread with stdin, out and err, FD's 0, 1 and 2,
open and reading lines of typed input. The "interpreter" adds 0x30
(ASCII 0) to the return value from read and prints it, which means
it occurs at the beginni
On Sat, 05 May 2001, Rick Hohensee wrote:
>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 min
>
>
>
> > > > If someone knows of another example of interpreter-like behavior
> > > > directly in a unix in-kernel thread I'd like to know about it.
> > >
> > > kdb
> > >
> >
> > That runs in trap handlers doesn't it? I don't think it's a
> > kernel daemon.
>
> and there's the hangman-
> > > If someone knows of another example of interpreter-like behavior
> > > directly in a unix in-kernel thread I'd like to know about it.
> >
> > kdb
> >
>
> That runs in trap handlers doesn't it? I don't think it's a
> kernel daemon.
and there's the hangman-in-kernel patch...
interpre
>
> > 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
>
> With anything other than Forth, LISP, and COBOL... yes.
Nice little sensibility scale
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
In 2.4.0-test10, in my kspamd kernel-thread that's like a hollowed-out
kswapd, I have x86 asm code like this...
[enter from in-kernel init]
[open 3 FDs on tty1]
LOOP:
pushf
pusha
call schedule
popa
popf
[ here is some code to use the write syscal
>
I thought my mail client was doing "reply to all recipients". If it _was_
then this is redundant and I apologize.
>
>
> On Tue, 1 May 2001, Rick Hohensee wrote:
>
> > (kspamd) is the Linux-side wrapper for H3sm
>
> C|N>K
>
> OK, you owe me a new keyboard. And thanks for new .sig.
O
On Tue, 1 May 2001, Rick Hohensee wrote:
> (kspamd) is the Linux-side wrapper for H3sm
C|N>K
OK, you owe me a new keyboard. And thanks for new .sig.
BTW, Rick, out of curiosity - how many Greencard Lawyers does it take
to upgrade the thing to full-blown H1 S&M?
-
To unsubscribe from th
( H3sm is my 3-stack Forth variant. )
I have a Linux 2.4.0-test10 kernel building and booting nicely with H3sm
partially installed as an in-kernel thread ala kswapd, the virtual memory
swapper. This means H3sm runs in cooperative multitasking with the Linux
schuduler, i.e. it's something of a co-
10 matches
Mail list logo