--- gforth/startup.fs 1995/04/20 09:42:58 1.10 +++ gforth/startup.fs 2000/07/23 19:29:56 1.34 @@ -1,28 +1,60 @@ -#! /usr/stud/paysan/bin/forth \ startup file +\ Copyright (C) 1995,1996,1997,1998 Free Software Foundation, Inc. + +\ This file is part of Gforth. + +\ Gforth is free software; you can redistribute it and/or +\ modify it under the terms of the GNU General Public License +\ as published by the Free Software Foundation; either version 2 +\ of the License, or (at your option) any later version. + +\ This program is distributed in the hope that it will be useful, +\ but WITHOUT ANY WARRANTY; without even the implied warranty of +\ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +\ GNU General Public License for more details. + +\ You should have received a copy of the GNU General Public License +\ along with this program; if not, write to the Free Software +\ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +require except.fs \ included on command line warnings off +include search.fs +include environ.fs +include envos.fs +include errors.fs +include extend.fs \ load core-extended +include hash.fs +\ require interpretation.fs \ include float.fs -\ include search-order.fs +\ include search.fs +require stuff.fs include glocals.fs -include environ.fs -\ include toolsext.fs include wordinfo.fs include vt100.fs \ include colorize.fs include see.fs +include see-ext.fs include bufio.fs include debug.fs include history.fs -\ include doskey.fs +s" os-class" environment? dup [IF] drop s" unix" compare 0= [THEN] +[IF] include vt100key.fs -require debugging.fs +[ELSE] +include doskey.fs +[THEN] +require debugs.fs require assert.fs require blocks.fs - -0 Value $? -: sh '# parse cr system to $? ; +require intcomp.fs +require savesys.fs +require table.fs +require ekey.fs +require backtrac.fs +require code.fs \ define the environmental queries for all the loaded wordsets \ since the blocks wordset is loaded in a single file, its queries @@ -52,6 +84,6 @@ true constant string true constant string-ext set-current - - warnings on + +require siteinit.fs