Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2004 16:13:38 +0200
From:      gerarra@tin.it
To:        freebsd-hackers@freebsd.org
Subject:   RE: Problems with tiocget/seta
Message-ID:  <411972290000B0FD@ims3a.cp.tin.it>
In-Reply-To: <20040825035544.E65FC4160A1@ws5-2.us4.outblaze.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>
>
>Some background...
>
>For the past three years I have been developing a Forth compiler for Lin=
ux.
> The kernel to my compiler is written in 100% pure assembler using NASM.=

> The object code produced is almost identical to what the Forth compiler=

>itself would produce were it were used to compile its own sources (some
day).
> I accomplish this via liberal use of NASM macros.
>
>All I/O etc is accomplished using Linux syscalls, no external libraries
are
>referenced.  Linux is my BIOS :)
>
>The problem...
>
>I consider Isforth to be a worthy project, worthy enough to be ported to=

>other processors and other operating systems.  The PPC port is being don=
e
>by a friend of mine and is almost complete.  The FreeBSD port has been
"nearly
>complete" for about EIGHT months.  I am currenty at a complete loss as
to
>how to fix the problem (even though i think i know what it is!) :/
>
>One of the things that my compiler has to do is switch stdin out of cano=
niacal
>mode and switch off echo.  In Linux the ioctl is working - in fbsd its
not.

have you get a look to freebsd ioctl request codes? they differ from Linu=
x
and FreeBSD.
 
> Im almost posative that i am passing correct values to the syscall yet
stdin
>is still buffered after the call and is still echoing.   I would truely
love
>to get this up and running in FBSD but am in dire need of help.  Im told=

>that if anyone can help me YOU guys can (blame samy for getting you into=

>this :)...

If you don't find a solution giving a look to tcsetattr(3) implementation=

for FreeBSD could be a good idea.

rookie




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?411972290000B0FD>