diff --git a/.Docs/Shell Developers Guide.md b/.Docs/Shell Developers Guide.md index 8c21faaf..f547aa1f 100644 --- a/.Docs/Shell Developers Guide.md +++ b/.Docs/Shell Developers Guide.md @@ -441,6 +441,13 @@ The **EXIT** command is used to immediately end the processing of a script or fu The **FI** command is used at the end of an **IF** script block. See the **IF** command below for more information and example of using **FI** as part of **IF**. +### FOR + + FOR + +The **FOR** command is used + + ### FUNCTION FUNCTION function_name diff --git a/.Floppies/A2OSX.MAKE.po b/.Floppies/A2OSX.MAKE.po index 27465bf4..a1d52560 100644 Binary files a/.Floppies/A2OSX.MAKE.po and b/.Floppies/A2OSX.MAKE.po differ diff --git a/.Floppies/DEBUG.po b/.Floppies/DEBUG.po index 3c1d7b4c..235cc58c 100644 Binary files a/.Floppies/DEBUG.po and b/.Floppies/DEBUG.po differ diff --git a/.Floppies/STABLE.140.po b/.Floppies/STABLE.140.po index b3ffc40c..da14ed60 100644 Binary files a/.Floppies/STABLE.140.po and b/.Floppies/STABLE.140.po differ diff --git a/MAKE/DEBUGFILES.txt b/MAKE/DEBUGFILES.txt index cdf84567..e7e9cd28 100644 --- a/MAKE/DEBUGFILES.txt +++ b/MAKE/DEBUGFILES.txt @@ -1,7 +1,7 @@ NEW PREFIX AUTO 4,1 -a2osx.system +A2OSX.SYSTEM bin/cat bin/chtyp bin/cp diff --git a/MAKE/MAKEDEBUG.txt b/MAKE/MAKEDEBUG.txt index 42eed87a..69bd58dc 100644 --- a/MAKE/MAKEDEBUG.txt +++ b/MAKE/MAKEDEBUG.txt @@ -6,7 +6,7 @@ AUTO 4,1 # This script makes a proper debug (140K) disk using the files # found in a particular BUILD stored in /make/builds # -. MAKEFUNCS +. makefuncs CALL CS CALL TBOX "debug (140K Floppy) Media Creator" CALL PRINTXY 8 0 "You must have the correct 140K image mounted on /dev/s6d2" @@ -29,7 +29,7 @@ IF [ -Z $B ] ECHO "Exiting" EXIT FI -SET SRC = "/make/builds/build${B}" +SET SRC = "/MAKE/BUILDS/BUILD${B}" IF [ -D ${SRC} ] ECHO "\n\nFound Valid BUILD\n" ELSE @@ -40,7 +40,7 @@ ELSE FI SET IM = "DEBUG Build No. ${B}" ECHO "\n\nFormatting Destination..." -FORMAT -1 s6d2 debug +format -1 s6d2 debug ECHO "Making Directory Structure..." md /debug/bin md /debug/drv @@ -51,10 +51,10 @@ md /debug/sbin md /debug/sys ECHO "Copying Files..." FOR FILE IN (debugfiles) - CP -Q ${SRC}/${FILE} /debug/${FILE} + cp -Q ${SRC}/${FILE} /debug/${FILE} NEXT -CP -Q -Y ${SRC}/prodos.fx.paked /debug/ProDOS -CP -Q -Y debuginit /debug/etc/init +cp -Q -Y ${SRC}/PRODOS.FX.PAKED /debug/ProDOS +cp -Q -Y debuginit /debug/etc/init ECHO "Welcome to A2osX!" > /debug/etc/issue ECHO >> /debug/etc/issue ECHO $IM >> /debug/etc/issue @@ -62,8 +62,8 @@ ECHO >> /debug/etc/issue ECHO >> /debug/etc/issue ECHO "This is the Special DEBUG BOOT DISK" >> /debug/etc/issue ECHO >> /debug/etc/issue -CP -Q tcpip.conf /debug/etc/tcpip.conf -CP -Q debugprofile /debug/root/profile +cp -Q tcpip.conf /debug/etc/tcpip.conf +cp -Q debugprofile /debug/root/profile ECHO "debug Disk Created!" MAN TEXT /MAKE/USR/SHARE/MAKE/MAKEDEBUG diff --git a/MAKE/MAKEMINI.txt b/MAKE/MAKEMINI.txt index b34f8b9c..9d9bb1fe 100644 --- a/MAKE/MAKEMINI.txt +++ b/MAKE/MAKEMINI.txt @@ -6,7 +6,7 @@ AUTO 4,1 # This script makes a proper miniboot (140K) disk using the files # found in a particular BUILD stored in /make/builds # -. MAKEFUNCS +. makefuncs CALL CS CALL TBOX "miniboot (140K Floppy) Media Creator" CALL PRINTXY 8 0 "You must have the correct 140K image mounted on /dev/s6d1" @@ -29,7 +29,7 @@ IF [ -Z $B ] ECHO "Exiting" EXIT FI -SET SRC = "/make/builds/build${B}" +SET SRC = "/MAKE/BUILDS/BUILD${B}" IF [ -D ${SRC} ] ECHO "\n\nFound Valid BUILD\n" ELSE @@ -67,7 +67,7 @@ SWITCH $RCS EXIT END ECHO "\n\nFormatting Destination..." -FORMAT -1 s6d1 miniboot +format -1 s6d1 miniboot ECHO "Making Directory Structure..." md /miniboot/bin md /miniboot/drv @@ -78,15 +78,15 @@ md /miniboot/sbin md /miniboot/sys ECHO "Copying Files..." FOR FILE IN (minifiles) - CP -Q ${SRC}/${FILE} /miniboot/${FILE} + cp -Q -Y ${SRC}/${FILE} /miniboot/${FILE} NEXT -CP -Q -Y ${SRC}/prodos.fx.paked /miniboot/ProDOS -CP -Q -Y initboot /miniboot/etc/init +cp -Q -Y ${SRC}/PRODOS.FX.PAKED /miniboot/ProDOS +cp -Q -Y initboot /miniboot/etc/init ECHO "Welcome to A2osX!" > /miniboot/etc/issue ECHO >> /miniboot/etc/issue ECHO $IM >> /miniboot/etc/issue -CP -Q tcpip.conf /miniboot/etc/tcpip.conf -CP -Q profile /miniboot/root/profile +cp -Q tcpip.conf /miniboot/etc/tcpip.conf +cp -Q profile /miniboot/root/profile ECHO "miniboot Disk Created!" MAN TEXT /MAKE/USR/SHARE/MAKE/MAKEMINI diff --git a/MAKE/MINIFILES.txt b/MAKE/MINIFILES.txt index c5649385..7648b5b6 100644 --- a/MAKE/MINIFILES.txt +++ b/MAKE/MINIFILES.txt @@ -1,7 +1,7 @@ NEW PREFIX AUTO 4,1 -a2osx.system +A2OSX.SYSTEM bin/cat bin/chtyp bin/cp diff --git a/MAKE/profile.txt b/MAKE/profile.txt new file mode 100644 index 00000000..e9393eb5 --- /dev/null +++ b/MAKE/profile.txt @@ -0,0 +1,10 @@ +NEW + PREFIX +AUTO 4,1 +#!/bin/sh +# +# This is the standard profile file +# +set PS1 = '$PWD' +MAN +TEXT /MAKE/USR/SHARE/MAKE/profile