Commit Graph

10 Commits

Author SHA1 Message Date
jhb
8c6afa35be - Add 'fwrite' and 'fseek' words for writing to and seeking on files.
- Change the 'fopen' keyword to accept a mode parameter.  Note that this
  will break existing 4th scripts that use fopen.  Thus, the loader
  version has been bumped and loader.4th has been changed to check for a
  sufficient version on i386 and alpha.  Be sure that you either do a full
  world build or install or full build and install of sys/boot after this
  since loader.old won't work with the new 4th files and vice versa.

PR:		kern/32389
Submitted by:	Jonathan Mini <mini@haikugeek.com>
Sponsored by:	ClickArray, Inc.
2001-12-11 00:49:34 +00:00
dcs
42c0616fdd Good thing about these examples is that no one uses them, so they can
stay broken for months without anyone noticing.

The boot-conf command was changed as to reproduce the behavior of builtin
loader words precisely. As a result, it now always need an argument, possibly
0 indicating that no other arguments are being passed. This broke in a
non-deterministic way (ie, it could go on working as if everything was fine).
2000-09-05 16:30:09 +00:00
dcs
964d6c79dc Fixes a silly bug that somehow escaped my notice all these months. 1999-09-29 04:46:01 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dcs
a2b3ce9271 Rewording. 1999-05-14 19:07:59 +00:00
dcs
f239b39763 Slight not-exactly-bug-but-useful-as-example-code fix. 1999-05-14 19:00:38 +00:00
dcs
c4a4e43379 Add a menu example making use of loader.4th(8) facilities.
Merge candidate, as it is just an example...
1999-05-14 18:06:27 +00:00
jkh
7d3a4374a2 Update example to match new builtin behavior.
Submitted by:		Daniel C. Sobral <dcs@newsguy.com>
PR:			9744
1999-01-28 10:51:49 +00:00
abial
38242090af Add timeout to boot menu.
Submitted by:	W Gerald Hicks <wghicks@bellsouth.net>
1998-12-31 14:06:30 +00:00
abial
91bd0e66be Add examples how to use the terminal emulation code in /boot/loader to
create nice startup menus. Improvements are warmly welcome. :-)
1998-12-22 12:15:45 +00:00