Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 14:25:50 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-hackers@freebsd.org, matteo@freebsd.org
Subject:   Re: About loader(8) forth
Message-ID:  <200608231225.k7NCPo46068696@lurza.secnetix.de>
In-Reply-To: <200608221239.k7MCdAxk098539@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme wrote:
 > Matteo Riondato wrote:
 > > Just to have a try, I replaced /boot/beastie.4th with file a
 > > containing only: 
 > > 
 > > ." Welcome to FreeSBIE"
 > > exit
 > > 
 > > then I deleted the line mentioning beastie-start from /boot/loader.rc
 > > and rebooted my machine.
 > [...]
 > I think putting "exit" directly into beastie.4th (which is
 > included by loader.rc) is not a good idea.  You should use
 > "exit" only within a function that you define in beastie.4th
 > and then call that function from loader.rc, just like the
 > standard files do.

Oh, I forgot to mention that the word `` ." '' cannot be
used in interpret mode, but only in interpret mode (i.e.
when defining a function).  You should either put it inside
a function, as suggested above, or use `` .( '' instead
which works in interpret mode, like this:

.( Welcome to FreeSBIE)

If you have further questions, feel free to ask.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"The last good thing written in C was
Franz Schubert's Symphony number 9."
        -- Erwin Dieterich



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