update medias for the overlord

This commit is contained in:
Patrick Kloepfer 2020-08-20 06:53:24 -04:00
parent a5034337e5
commit 344cc66bb8
8 changed files with 285 additions and 94 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

10
ADMIN/a2osx.txt Normal file
View File

@ -0,0 +1,10 @@
NEW
PREFIX
AUTO 4,1
#!/bin/sh
#
# A2osX Admin Menu Test
. fmenu
call menu adminmenu
MAN
TEXT /MAKE/USR/SHARE/ADMIN/a2osx

View File

@ -1,25 +1,194 @@
NEW NEW
PREFIX PREFIX
AUTO 4,1 AUTO 4,1
MAN #!/bin/sh
#!/BIN/SH echo -N "."
# function menu {
# This script defines a Menu Function that can be used switch $#
# in multiple scripts. case 1;set menufile = $1;set menu = "A";break
# case 2;set menufile = $1;set menu = $2;break
# Load this function by calling . FMENU default;echo "\nError: Invalid use of this function";exit
# end
# Call the Function with CALL A2MENU RVar NumMI T1 M1 M2 M3 M4 M5 M6 M7 M8 M9 if [ -f $menufile ];set menufile = $1
# where RVar is the name of the variable you want the menu choice placed into else;echo "\nError: [${menufile}] File Not Found";exit;fi
# NumMI is the Number of Menu Items you want to display (max 9) set sep = ":"
# T1 is the menu Title set select = 1
# M1 ... M9 are the available menu choices while [ $select -lt 10 ]
# call loadmenu
FUNCTION A2MENU call getselect
{ call processchoice
# Start of A2MENU Code loop
ECHO "\f echo "\f\n\nuser chose from menu [${menu}] choice [${choice}] select [${select}]"
} }
echo -N "."
function processchoice {
switch $select
case 11
case 12
case 13
case 14
case 15
case 16
case 17
case 18
set select = $select - 10
set choice = `sh -C "grep ${menu}:${select}: $menufile | cut -s ${sep} -f 4"`
break
case 20
set choice = "Quit"
break
case 25
set choice = "Last Menu"
break
case 30
set choice = "Root/Master Menu"
break
default
echo "\fWow No idea how i got here\n\n"
set select = 99
end
if [ $select -lt 9 ]
if [ $choice = "MENU" ]
set lm = $menu
set menu = `sh -C "grep ${menu}:${select}: $menufile | cut -s ${sep} -f 5"`
set select = 1
fi
fi
}
echo -N "."
function loadmenu {
set mc = 0
set lc = 0
for i in `grep "${menu}:" $menufile`
echo $mc $lc $i
pause
if [ $lc -eq 0 ]
set mr = `sh -C "echo ${i} | cut -s ${sep} -f 3"`
echo $mc $lc $mr
pause
if [ $mr = "-" ]
set lc = $mc - 1
else
set m${mc} = $mr
fi
set mc = $mc + 1
fi
next
if [ $lc -eq 0 ]
set lc = 8
fi
set mc =;set mr =
}
echo -N "."
function getselect {
call dispmenu
while [ $select -lt 10 ]
call dselect
read -n 0 K
switch $K
case 3
if [ -n $lm ]
set select = 25
else
call uselect
set select = 1
fi
break
case 13
set select = $select + 10
break
case 8
case 10
call uselect
set select = $select - 1
if [ $select -eq 0 ];set select = $lc;fi
break
case 11
case 21
call uselect
set select = $select + 1
if [ $select -gt $lc ];set select = 1;fi
break
case 17
case 81
case 113
set select = 20
break
case 18
case 77
case 82
case 109
case 114
set select = 30
break
end
loop
}
echo -N "."
function dselect {
switch $select
case 1 ; call ixy 10 25 $m1 ; break
case 2 ; call ixy 11 25 $m2 ; break
case 3 ; call ixy 12 25 $m3 ; break
case 4 ; call ixy 13 25 $m4 ; break
case 5 ; call ixy 14 25 $m5 ; break
case 6 ; call ixy 15 25 $m6 ; break
case 7 ; call ixy 16 25 $m7 ; break
case 8 ; call ixy 17 25 $m8 ; break
end
}
echo -N "."
function uselect {
switch $select
case 1 ; call pxy 10 25 $m1 ; break
case 2 ; call pxy 11 25 $m2 ; break
case 3 ; call pxy 12 25 $m3 ; break
case 4 ; call pxy 13 25 $m4 ; break
case 5 ; call pxy 14 25 $m5 ; break
case 6 ; call pxy 15 25 $m6 ; break
case 7 ; call pxy 16 25 $m7 ; break
case 8 ; call pxy 17 25 $m8 ; break
end;}
echo -N "."
function dispmenu {
call cs ; call tbox $m0
switch $lc
case 8 ; call pxy 17 25 $m8
case 7 ; call pxy 16 25 $m7
case 6 ; call pxy 15 25 $m6
case 5 ; call pxy 14 25 $m5
case 4 ; call pxy 13 25 $m4
case 3 ; call pxy 12 25 $m3
case 2 ; call pxy 11 25 $m2
default ; call pxy 10 25 $m1
end;}
echo -N "."
function cs {;echo \f;}
function tbox {
set tS = $1
set tL = `sh -c "echo ${tS}|wc -m"`
set tL = 34 - ${tL} / 2
while [ $tL -ne 0 ]
set tS = " ${tS}";set tL = $tL - 1
loop
echo -n "\e[1;20H"
echo "\e[7m \e[0m"
set tL = 2
while [ $tL -ne 5 ]
echo -n "\e[${tL};20H"
echo "\e[7m \e[0m \e[7m \e[0m"
set tL = $tL + 1
loop
echo -n "\e[5;20H"
echo "\e[7m \e[0m"
echo -n "\e[3;22H ${tS}"
set tS =;set tL =
}
echo -N "."
function piv { ; echo -n "\e[7m$1\e[0m" ; }
function pxy { ; echo -n "\e[$1;$2H$3" ; }
function ixy { ; echo -n "\e[$1;$2H\e[7m$3\e[0m" ; }
echo -N ".\e[0m"
# End of FMENU # End of FMENU
TEXT /MAKE/USR/SHARE/EXAMPLES/FMENU MAN
TEXT /MAKE/USR/SHARE/ADMIN/fmenu

View File

@ -1,73 +1,78 @@
MENU:LINE:TEXT:ACTION:PREFIX NEW
A:0:Master Menu:-:- PREFIX
A:1:Administration Menu:B:- AUTO 4,1
A:2:User Management:C:- menu:LINE:TEXT:ACTION:PREFIX:-
A:3:Testing Subsystem Menu:D:- A:0:Master Menu:-:-:-
A:4:Make System Menu:E:- A:1:Administration Menu:menu:B:-
A:5:Extras Menu:F:- A:2:User Management:menu:C:-
A:6:-:-:- A:3:Testing Subsystem Menu:menu:D:-
A:7:-:-:- A:4:Make System Menu:menu:E:-
A:8:-:-:- A:5:Extras Menu:menu:F:-
B:0:Administration Menu:-:- A:6:-:-:-:-
B:1:Display Processes (PS):PS:- A:7:-:-:-:-
B:2:Display Memory (MEM):MEM:- A:8:-:-:-:-
B:3:Kernel Configuration (KCONFIG):KCONFIG:- B:0:Administration Menu:-:-:-
B:4:List Volumes Online:ONLINE:/MAKE/USR/SHARE/ADMIN/ B:1:Display Processes (ps):ps:-:-
B:5:User Management:C:- B:2:Display Memory (mem):mem:-:-
B:6:-:-:- B:3:Kernel Configuration (kconfig):kconfig:-:-
B:7:-:-:- B:4:List Volumes Online:online:/MAKE/USR/SHARE/ADMIN/:-
B:8:-:-:- B:5:User Management:menu:C:-
C:0:User Management:-:- B:6:-:-:-:-
C:1:List Users:LISTUSERS:/MAKE/USR/SHARE/ADMIN/ B:7:-:-:-:-
C:2:Add User:ADDUSER:/MAKE/USR/SHARE/ADMIN/ B:8:-:-:-:-
C:3:Delete User:DELUSER:/MAKE/USR/SHARE/ADMIN/ C:0:User Management:-:-:-
C:4:Edit User Details:EDITUSER:/MAKE/USR/SHARE/ADMIN/ C:1:List Users:LISTUSERS:/MAKE/USR/SHARE/ADMIN/:-
C:5:Change Password:PASSWORD:/MAKE/USR/SHARE/ADMIN/ C:2:Add User:ADDUSER:/MAKE/USR/SHARE/ADMIN/:-
C:6:-:-:- C:3:Delete User:DELUSER:/MAKE/USR/SHARE/ADMIN/:-
C:7:-:-:- C:4:Edit User Details:EDITUSER:/MAKE/USR/SHARE/ADMIN/:-
C:8:-:-:- C:5:Change Password:PASSWORD:/MAKE/USR/SHARE/ADMIN/:-
D:0:Testing Subsystem Menu:-:- C:6:-:-:-:-
D:1:Build Test Suite with Logging:BUILDTEST:/MAKE/USR/SHARE/TESTS/ C:7:-:-:-:-
D:2:Display Logs:LOG:/MAKE/USR/SHARE/TESTS/ C:8:-:-:-:-
D:3:Core Tests:CORETEST:/MAKE/USR/SHARE/TESTS/ D:0:Testing Subsystem Menu:-:-:-
D:4:Display Tests:DISPLAYTEST:/MAKE/USR/SHARE/TESTS/ D:1:Build Test Suite with Logging:BUILDTEST:/MAKE/USR/SHARE/TESTS/:-
D:5:Pathing Tests:PATHTEST:/MAKE/USR/SHARE/TESTS/ D:2:Display Logs:LOG:/MAKE/USR/SHARE/TESTS/:-
D:6:Internal Commands Tests:INTERNALTEST:/MAKE/USR/SHARE/TESTS/ D:3:Core Tests:CORETEST:/MAKE/USR/SHARE/TESTS/:-
D:7:External Commands Tests:EXTERNALTEST:/MAKE/USR/SHARE/TESTS/ D:4:Display Tests:DISPLAYTEST:/MAKE/USR/SHARE/TESTS/:-
D:8:-:-:- D:5:Pathing Tests:PATHTEST:/MAKE/USR/SHARE/TESTS/:-
E:0:Make System Menu:-:- D:6:Internal Commands Tests:INTERNALTEST:/MAKE/USR/SHARE/TESTS/:-
E:1:List Builds:-:- D:7:External Commands Tests:EXTERNALTEST:/MAKE/USR/SHARE/TESTS/:-
E:2:Copy Latest Build:-:- D:8:-:-:-:-
E:3:Delete a Build:-:- E:0:Make System Menu:-:-:-
E:4:Set Build Releases:-:- E:1:List Builds:-:-:-
E:5:Make Media:-:- E:2:Copy Latest Build:-:-:-
E:6:-:-:- E:3:Delete a Build:-:-:-
E:7:-:-:- E:4:Set Build Releases:-:-:-
E:8:-:-:- E:5:Make Media:-:-:-
F:0:Extras Menu:-:- E:6:-:-:-:-
F:1:Display A2osX Logo:LOGO:/MAKE/USR/SHARE/EXAMPLES/ E:7:-:-:-:-
F:2:Display A2osX License:LICENSE:/MAKE/USR/SHARE/EXAMPLES/ E:8:-:-:-:-
F:3:-:-:- F:0:Extras Menu:-:-:-
F:4:-:-:- F:1:Display A2osX Logo:LOGO:/MAKE/USR/SHARE/EXAMPLES/:-
F:5:-:-:- F:2:Display A2osX License:LICENSE:/MAKE/USR/SHARE/EXAMPLES/:-
F:6:-:-:- F:3:-:-:-:-
F:7:-:-:- F:4:-:-:-:-
F:8:-:-:- F:5:-:-:-:-
G:0:-:-:- F:6:-:-:-:-
G:1:-:-:- F:7:-:-:-:-
G:2:-:-:- F:8:-:-:-:-
G:3:-:-:- G:0:-:-:-:-
G:4:-:-:- G:1:-:-:-:-
G:5:-:-:- G:2:-:-:-:-
G:6:-:-:- G:3:-:-:-:-
G:7:-:-:- G:4:-:-:-:-
G:8:-:-:- G:5:-:-:-:-
H:0:-:-:- G:6:-:-:-:-
H:1:-:-:- G:7:-:-:-:-
H:2:-:-:- G:8:-:-:-:-
H:3:-:-:- H:0:-:-:-:-
H:4:-:-:- H:1:-:-:-:-
H:5:-:-:- H:2:-:-:-:-
H:6:-:-:- H:3:-:-:-:-
H:7:-:-:- H:4:-:-:-:-
H:8:-:-:- H:5:-:-:-:-
H:6:-:-:-:-
H:7:-:-:-:-
H:8:-:-:-:-
MAN
TEXT /MAKE/USR/SHARE/ADMIN/adminmenu

View File

@ -11,9 +11,13 @@ bin/asm.65C02
bin/asm.65R02 bin/asm.65R02
bin/asm.SW16 bin/asm.SW16
bin/asm.Z80 bin/asm.Z80
bin/atbrowse
bin/atlogin
bin/attr
bin/bmp2pix bin/bmp2pix
bin/cat bin/cat
bin/chmod bin/chmod
bin/chown
bin/chtyp bin/chtyp
bin/cmp bin/cmp
bin/cp bin/cp
@ -29,6 +33,7 @@ bin/ipconfig
bin/irc bin/irc
bin/kconfig bin/kconfig
bin/kill bin/kill
bin/lc
bin/ls bin/ls
bin/lsdev bin/lsdev
bin/lsof bin/lsof
@ -49,9 +54,11 @@ bin/sh
bin/stat bin/stat
bin/telnet bin/telnet
bin/term bin/term
bin/uc
bin/unpak bin/unpak
bin/useradd bin/useradd
bin/userdel bin/userdel
bin/usermod
bin/wc bin/wc
bin/who bin/who
drv/dhgr.drv drv/dhgr.drv

View File

@ -1,7 +1,7 @@
NEW NEW
PREFIX PREFIX
AUTO 4,1 AUTO 4,1
#!/BIN/SH #!/bin/sh
#SET -X #SET -X
ECHO "\f\n This is the ENV Test" ECHO "\f\n This is the ENV Test"
ECHO "\n This will stress the ENV space and string handling" ECHO "\n This will stress the ENV space and string handling"