creat:
creat: Create lib(OpenRose) file.
Usage: creat [fname] |[-f,--force] |[-S,size-of-zcache=...] |[mkdir dir-paras...]
-f,--force force overwrite existed orl-file
-S,size-of-zcache=... How many zero's caches in lib
[dir-paras] look "mkdir" for more
example: creat mybin.lib -n=8 -d=4
-n=8 alloc 8 numb-FCUs ... for root-numbs
-d=4 alloc 4 sub-dir-FCUs ... for root-dirs
the word "FCU" look descript/noun.txt
mkrose:
mkrose: same "creat"
newspace:
newspace: Create a orl-file add to workspace(s) for more.
Usage: newspace [orl-file] |[-S,size-of-zcache=...] |[--as] [numb]
-S,size-of-zcache=... How many zero's caches in lib
example : newspace test.orl --as 3
impcreat:
impcreat: import creat lib in script, if have working lib, import for it,
otherwise creat lib for script-running. like creat.
Usage: creat [fname] |[-f,--force] |[-S,size-of-zcache=...] |[mkdir dir-paras...]
-f,--force force overwrite existed file(OpenRose)
-S,size-of-zcache=... How many zero's caches in lib
[dir-paras] look "mkdir" for more
import:
import: Import one OS-dir to orl
Usage : import [OS-dir] |[orl-dir]
[OS-dir] created by export userally;
refer export.
rebuild:
rebuild: Rebuild(rebuild) lib file.
Usage: rebuild rebuild self
rebuild [filenam] rebuild as filenam
Can use ext-name==> fit, as "rebuild.fit"
auto refix alloc disk in FCT
open:
open: Open orl-file as(replace) work-space.
Usage: Open [filename] |[--root] |[--as] [numb]
[--root] current dir is root after open.
if no [--as] [numb], replace current work-space(close old, and take new orl-file as it)
can ignore the .orl extern name, if exist blue.orl, like:
open blue
exe:
exe: Execu batch-command file(script),
tell RunTime-console how to work auto-batch
Usage: exe [filename(.rls)] |[--append]|[--nowarn]
switch:
--append : append numb in zerotype's dir not overwrite
--nowarn : no warn if not such file(script)
select:
select: numSelect one numb(data).
>> read=select
Usage: select [numb]
you can use ExtName for int, they must do Case.
c(char 8bit), s(short 16), i(int 32), l(long 64)
b(byte), w(word), u(unsigned int 32), d(dword) like above but unsigned
B(BYTE), W(WORD), U(unsigned int 32), D(DWORD) ==> hex(16) like above
look "insert" for more.
example: select.i- 20
select.dc 30
select.DC 30
also out to a file, such as :
select.i 4 file1.txt
read:
read: same as select.
output:
output: Take the file "display.txt" as numb's standard out,
so that check data easy with text editor.
select(read) like it, but out to screen.
insert:
insert: Insert one numb(data). default is freely input.
>> write=insert.v
Usage: insert [numb] [data1] [data2(mult)]
You can use ExtName for int, and use ExtName to set mode when write into.
c(char 8bit), s(16 short), i(int 32), l(long 64)
b(byte), w(word), u(unsigned int 32), d(dword) like above but unsigned
B(BYTE), W(WORD), U(unsigned int 32), D(DWORD) ==> hex(16) like above
"#include=" is special one file as data.
also can be "(char)", "(short)", "(int)", "(long)", "(byte)", "(word)", "(uint)", "(dword)"
"(BYTE)", "(WORD)", "(UINT)", "(DWORD)" ==> like C/C++, as (int)600,800
"#include=" is special one file as data.
also can be "(char)", "(short)", "(int)", "(long)", "(byte)", "(word)", "(uint)", "(dword)"
"(BYTE)", "(WORD)", "(UINT)", "(DWORD)" ==> like C/C++, as (int)600,800
Other-type: nmvtyf
n None, Protected some DAU not be wrote(use for mult-data).
m use one char to replace 0 (Machine-code). it it free to input,
such as: write.m: 20 China:Wold
':' => 0, the last storage is "China" + 0 + "Wold".
v void, the data not any cvt;
t normal-strings(Text), cvt "\r\n"=>"\n";
y like 't', but freely input, cut 2 side CHAR(13,10,32,9)
f file, like "#include=", use a file as data.
a alloc length(pre). for often write.
example: insert 3 blue sky spring
alloc for late update generic, can like: insert.a20.a18 3 blue sky spring
** Also "rwho-" set mode : [r]ead, [w]rite, [h]ide, [o]em(can't change), ---(no any)
default read & write.
write:
write: like insert, default take data as bin(not cvt), same as insert.v
Usage: write [numb] [data1] [data2(mult)]
more please refer : insert.
if want to write the data with space, can input "..." like follow :
"write [numb]"
Data:" Free Star Plus "
numbset:
numbset: Create a new numb, only use in batch file.
Usage: numbset [numb] |[-t=Type(s)] |[-m=Mode(s)] |[-u=cnt_DAU] |[-l=len0,len1...] |[-a=alen0,alen1...]
-t == --type
-m == --mode (default is RW)
-u == --unita
-l == --len data len
-a == -alen alloc len (pre)
above like insert, for example:
numbset 3 -t=vvi -m=--i -u=3 -l=12,8
{
input data1.
}
{
data2...
}
{
8000,30
}
sysnumbset:
sysnumbset: Like numbset, create a sys_id
Usage: refer numbset
append:
append: Zero type data write in the end of curdir
Usage: append [data]
only current dir, otherwise look "add".
add:
add: Zero type data write in the end of dir(orl)
Usage: add [ORD] [data]
dir must specify, other refer "append".
numb:
numb: show numb detail.
Usage: numb [num]
find:
find: ORDfind data in lib-file
Usage: find [dir] [--key(-K)] [string] [-switch]
if no [-switch], then find numb & dir in special dir
else [switch] has follow confedition:
-t,--total Total numb & dir include sub-dir
-n,--num only Numb
-d,--dir only sub-Dir
-i,--include Include sub-dir
-p,--page Screen Page on displays
rename:
rename: Rename one numb.
Usage: rename [numb1] [nmub2]
rm:
rm: Remove one numb.
Usage: rm [numb]
erase:
erase: Remove numb or dir, and set its data to 0 (protect privacy data)
Usage: erase [numb] | [dir]
rescues:
rescues: Rescue all deleted number.
Usage: rescues
rescue:
rescue: Rescue deleted numb.
Usage: resuce |[numb]
mkdir:
mkdir: Make dir( create a dir )
Usage: mkdir [dirname] -t -z -c -u=[DAU] -m=[mode] -n=[numbFCU] -d=[dirFCU]
-z,--zero no number-code.
-t,--type data have Type; easy to input & read.
-c,--cd cd it(created dir) at once, normal use in mkdir only-read, this time can write.
-u,--unit mult datas style, no this switch is 1 data.
-m,--mode read, write, hide, OEM, ---(void). default read & write.
use for some OEM's data, never change, only first can write in one open.
-n,--numpre FCUs alloc one black of Numb.
-d,--dirpre FCUs alloc one black of Dir.
example: mkdir my_dir --type -d=4 -n=8
mkdir \blue -m r
the word "FCU" look descript/noun.txt
dir:
dir: Show one dir for detail(all kind of ctrl-member).
Usage: dir |[dirname] |[-d]
switch -d : Detail for more
cd:
cd: Change dir.
Usage: cd [path]
return to parentdir, may be
cd .. ( ... is parent's parent, etc )
of cause cd ..../dir1, if in /xx/xx/xx/
cd * go to back-dir when script running.
rendir:
rendir: Rename dir.
Usage: rendir [dirname0] [dirname1]
rmdir:
rmdir: Remove one dir.
Usage: rmdir [dirname]
ndels:
ndels: Delete all numbs in a dir
Usage: ndels [dir1]
empty:
empty: Empty dir(numb & dir)
Usage: empty [dir1]
rescudir:
rescudir: rescue deleted Dir
export:
export: Export orl-file as OS-dir.
It create [OS-Dirname].RLS as a main-ctrl file,
and every orl-dir => OS-dir. During OS-dir,
it create one file "runtime.rls" to record ...
Usage: export [orl-dir] |[OS-Dir] |[-switch]
[-switch] has follow confedition:
-t,--total Total numb & dir include sub-dir
-n,--num only Numb
-d,--dir only sub-Dir
-i,--include Include sub-dir
if no [-switch], --num as default
reuse by import, like "import OS-dir orl-dir".
expoimg:
expoimg: take OpenRose-dir as image for OS.
Usage: expoimg [orl-dir] [os-dir] |[switch]
if no [switch], then only image numb as file
else [switch] has follow confedition:
-t,--total Total numb & dir include sub-dir
-n,--num only Numb
-d,--dir only sub-Dir
-i,--include Include sub-dir
-f,--force force overwrite existed file
example : expoimg / mydocuments/imgdir1 -t
getdscpt:
getdscpt: Read file description if it has.
Usage: getdscpt
remdscpt:
remdscpt: Remove descript
Usage: remdscpt
setdscpt:
setdscpt: Write file description. style: Zero & no Type
Usage: setdscpt [dscpt]
input's meth like write.
mkar:
mkar: make arch for file(s) or dir(s)
Usage: mkar [--type_xxx] |[-?,--depth] |[-F,--filter xxx] |[-f,--force] [ar(orl)] [file1(dir1)] [file2(dir2)]
--type_xxx can be --bzip2(-B), --gzip(-G), --lzma(-L), ignore no compress
-?,--depth -1,--fast; -9,--best
-F,--filter filter osdir
-f,--force force overwrite existed orl-file, refer "creat".
example: mkar west.orl hisdata.txt yourdata.txt
console: openrose "mkar arch.orl dir1 dir2 file1.txt file2.dat --force"
releadir:
releadir: release orl-dir as OS-dir.
Usage: releadir [OS-Dir] |[orl-dir] |[-switch]
switch :
-t,--total Total numb & dir include sub-dir
-n,--num only Numb
-d,--dir only sub-Dir
-i,--include Include sub-dir
-f,--force force to overwrite existed file no warn
if no [-switch], --total as default.
releafile:
releafile: take number as a os-file.
Usage: releafile [numb] |[filename] |[--type_xxx] |[-f,--force]
--type can be: --lzma, --bzip2, --gzip
ignore is auto(default)
-f,--force force overwrite existed file.
example: releafile 20 fox.dat
release:
release: mkar re-opera, take orl-file as dirs & files of OS.
Usage: release [filename(orl)] |[dst-osdir] |[-switch]
switch :
-t,--total Total numb & dir include sub-dir
-n,--num only Numb
-d,--dir only sub-Dir
-i,--include Include sub-dir
-f,--force force to overwrite existed file no warn
if no [-switch], --total as default.
ardir:
ardir: zip os-dir as orl-dir
Usage: ardir [osdir]|[--type_xxx] |[-?,--depth] |[-F,--filter xxx] |[-r,--replace] |[-O,--only]
--type_xxx can be --bzip2(-B), --gzip(-G), --lzma(-L), ignore no compress
-?,--depth -1,--fast; -9,--best
-F,--filter filter osdir
-O,--only only osdir-self, not include subdir, default include
-r,--replace replace numb not warn
example: ardir project1 --lzma
arfile:
arfile: zip file as number.
Usage: arfile [num] [os-file] |[--type_xxx] |[-?,--depth]
--type_xxx can be --bzip2(-B), --gzip(-G), --lzma(-L), ignore no compress
-?,--depth -1,--fast; -9,--best
example: arfile 20 hisdata.txt --lzma
imagdir:
imagdir: take sys-dir as image for ORL.
Usage: imagdir [orl-dir] [os-dir]
example : imagdir / mydocuments/*.txt
ls:
ls: List show detail.
Usage: ls |[dirnam] |[-switch]
if no [-switch], then list numb in one dir
else [switch] has follow confedition:
-t,--total Total numb & dir include sub-dir
-n,--num only Numb
-d,--dir only sub-Dir
-i,--include Include sub-dir
-p,--page Screen Page on displays
if you want to look root, use:
ls \
del:
del: Delete one numb or dir.
Usage: del [numb | dir]
if delete dir's name is number-symbol, please use "rmdir"
chmode:
chmode: Change numb|dir mode.
Usage: chmode [numb|dirnam] [--mode(-M)] [MODE] |[-switch]
[MODE]: Read, Write, Hide, OEM(normal don't use), void
If no [-switch], then change one numb or dir only(itself),
else operation must be dir.
if no [switch], then chmode only numb in a dir
else [switch] has follow confedition:
-t,--total Total numb & dir include sub-dir
-n,--num only Numb
-d,--dir only sub-Dir
-i,--include Include sub-dir
-p,--page Screen Page on displays
example: chmode \mybin -M rw -n -i
!! OEM can't be change.
chdate:
chdate: Change numb|subdir date(if it has).
Usage: chdate [numb|dirnam] [--time(-T)] [yy-mo-dd|hh:mi:sec] |[-switch]
if no [-switch], then only change itself.
else the para1 must be dirnam. [-switch] has follow confedition:
-t,--total Total numb & dir include sub-dir
-n,--num only Numb
-d,--dir only sub-Dir
-i,--include Include sub-dir
ren:
ren: Rename one numb or dir-name.
Usage: ren [old-numb | dirname1] [numb1 | dirname2]
if dir-name is numb, use "rendir"
cp:
cp: Copy one numb.
Usage: cp [srcnumb] [|dstnumb]
dstnumb can be ignore, copy dir use "dircp".
Can copy defferecnt lib if mult-space opened, refer "dircp".
dircp:
dircp: Copy numbs of one dir.
Usage: dircopy [srcdir] [dstdir] [-switch] [--param]
if no [-switch], then copy numbs of the srcdir
otherwise [-switch] has follow confedition:
-t,--total Total numb & dir include sub-dir
-n,--num only Numb
-d,--dir only sub-Dir
-i,--include Include sub-dir
param : --reply, --verbose
--reply : replace existed no warn.
--verbose : display copy result during runing.
if dstdir exist, copy all srcdir's numb to dstdir.
if dstdir don't exist, create dstdir first, then copy...
example: dircp \mybin \blue -n -d
Can copy defferecnt lib if mult-space opened.
such as: dircp.1.2 \cup \desk
Here, specify workspace[1] as source-lib, workspace[2] as dst-lib.
workspace[1]\cup => workspace[2]\desk
-1 is current workspace.
readme:
readme: Show this program description.
Usage: readme
ver:
ver: Show lib kernel version.
Usage: ver
help:
help: show(find) command
Usage: help |cmds-name
example, you remember a command like getd... that
you can type: help getd
no param is show all command
normal use : command "-h" or "--help"
it can get its usage of command.
copyright:
copyright: Show copyright and author
Usage: copyright
os:
os: exec OS program
Usage: os os-prg param1 param2 ...
example:
os cp dog.png pixmaps/
pwd:
pwd: show Path of Working Dir
clear:
clear: Clear screen
Usage: clear
clrcom:
clrcom: Clear com-list-buffer
Usage: clrcom
time:
time: Read current datetime
Usage: time
calc:
calc: Calc math-expression
Usage: ? [expression]
example: ? 30+sin(pi/4)*2 ==>
31.414214
osdirloop:
osdirloop: opera OS-dir with some orl-cmds.
Usage: osdirloop cmdformat orl-cmds os-path, the parameters like printf(...) format.
example: osdirloop "%s %s/%s" "exe --append --nowarn" ../../rtdata/ports.help/*.fun
exit:
exit: exit the program standard, other refer "quit".
Usage: exit
quit:
quit: quit the program, set error message to system( almost for make ). normal use exit
Usage: quit
end:
end: Use in script, break current running script-file
Usage: end
abort:
abort: Use in script, abort all script-runing and exit to console.
Usage: abort
closeall:
closeall: Close all workspace.
Usage: closeall
close:
close: Close one orl-file buffer.
Usage: close.n
n is index of workspace, -1 is current workspace. cp, ls, del .etc opera can use this.
example: Close
close.2
pause:
pause: Use in script, stop script run until press any key
Usage: pause
echo:
echo: Use in script, echo command of script's file
Usage: echo
runinginfo:
runinginfo: Use in script, Show lib infor during script runnig
workspace:
workspace: Open one lib as work-space (numb)
Usage: workspace |[filenam] |[--as] [numb] |[--root]
if no any param, that show all work's spaces current.
if no [--as] [numb], work-space's numb be set by program.
[--root] current dir is root after open.
selspace:
selspace: numSelect one opening OpenRose as current work space
Usage: selspace [n]
info:
info: Show information of current lib.
Usage: info
path:
path: File path of OS
Usage: path pathname1,pathname2... |[--cur]
[--cur] only this running, no save for next time.
no any param is show running-paths
path * clear all paths
orlconf:
orlconf: Set some switch for the program every init.
Usage: orlconf confval1,confval2...
orlinit:
orlinit: Set auto execute some command when init without any para
Usage: orlinit |[commands]
If without [command], list orlinit setting
divpara:
divpara: div-string for parameter
Usage: divpara |[str]
set [str] as div-string for all kinds of running-parameters.
if no any param, then show div-string
example: divpara "=:|"
then command
mkdir fish -u 4
can be follows :
mkdir fish -u=4
mkdir fish -u:4
mkdir fish -u|4
default div-string is "=";
rbconf:
rbconf: Auto rebuild config
Usage: rbconf [size] [n(%)]
There are 3 VAL to process,
Set: VAL_file=ORL_FileSize
Set: VAL_use=ORL_UseSize
Then: VAL_ts=VAL_file - VAL_use
when close ORL_file,
VAL_ts > [size] and VAL_ts*100/VAL_file > [n]
then program auto rebuild ORL_file
default: [size]=8000, [n]=30(30%)
setcfgval:
setcfgval: Set some switch for this runing. generic have: err-msg-on;err-param-reco;oldcompa
Usage: setconfval confval1,confval2...
log:
log: Write recent error message to file "OpenRose.log", for user check.
Usage: log
dvptst:
dvptst: Development test field ...
msgno:
msgno: show error message with id.
Usage: msgno [id]
example : msgno 4
txtload:
txtload: Load import text file as numb(data), often use for 1 DAU.
Usage: txtload [filename] |[ORD]
Can use keyword: "#include=", "(int)", "(long)" ...
ztxtload:
ztxtload: Load text-file data(double mode) for zero's dir, , often use for 2 DAU.
Usage: ztxtload [filename] |[ORD]
Can use keyword: "#include=", "(int)", "(long)" ...
txtimpor:
txtimpor: Import text as data(had loaded), often use for 1 DAU.
Usage: txtimpor |[libdir]
Can use keyword: "#include=", "(int)", "(long)" ...
ztxtimpor:
ztxtimpor: Import text data(double mode) for zero's dir, often use for 1 DAU.
Usage: ztxtimpor |[libdir]
Can use keyword: "#include=", "(int)", "(long)" ...
txtdat:
txtdat: load file text as data(in mem).
Usage: txtdat |[file1.txt]
No param as show TxtDat
freetd:
freetd: free txtdat(in mem).
Usage: freetd