mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-29 00:36:32 +00:00
dbf8647d59
Added top & right borders to RawDr. Improved spacing in some debug and compiler reporting. Fixed RawPutChar and EdLite tab width. Fixed Ui missing '0x' prefix syntax highlighter bug. Added 32BitPaint demo.
75 lines
5.6 KiB
HTML
Executable file
75 lines
5.6 KiB
HTML
Executable file
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
|
|
<meta name="generator" content="ZealOS V0.08">
|
|
<style type="text/css">
|
|
body {background-color:#000000;}
|
|
.cF0{color:#ffffff;background-color:#000000;}
|
|
.cF1{color:#3465a4;background-color:#000000;}
|
|
.cF2{color:#4e9a06;background-color:#000000;}
|
|
.cF3{color:#06989a;background-color:#000000;}
|
|
.cF4{color:#a24444;background-color:#000000;}
|
|
.cF5{color:#75507b;background-color:#000000;}
|
|
.cF6{color:#ce982f;background-color:#000000;}
|
|
.cF7{color:#bcc0b9;background-color:#000000;}
|
|
.cF8{color:#555753;background-color:#000000;}
|
|
.cF9{color:#729fcf;background-color:#000000;}
|
|
.cFA{color:#82bc49;background-color:#000000;}
|
|
.cFB{color:#34e2e2;background-color:#000000;}
|
|
.cFC{color:#ac3535;background-color:#000000;}
|
|
.cFD{color:#ad7fa8;background-color:#000000;}
|
|
.cFE{color:#fce94f;background-color:#000000;}
|
|
.cFF{color:#000000;background-color:#000000;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<pre style="font-family:monospace;font-size:12pt">
|
|
<a name="l1"></a><span class=cF5> Command Line Overview</span><span class=cF0>
|
|
<a name="l2"></a>
|
|
<a name="l3"></a>The cmd line feeds into the </span><a href="https://tomawezome.github.io/ZealOS/Doc/CosmiC.DD.html#l1"><span class=cF4>CosmiC</span></a><span class=cF0> compiler line-by-line as you type. A stmt outside a function executes immediately.
|
|
<a name="l4"></a>Remember to add a semicolon.
|
|
<a name="l5"></a>
|
|
<a name="l6"></a>Look-up the function headers with </span><span class=cF2>AutoComplete</span><span class=cF0> by hitting </span><span class=cF2><CTRL-SHIFT-F1></span><span class=cF0> after typing the first few letters.
|
|
<a name="l7"></a></span><span class=cF4>
|
|
<a name="l8"></a></span><a href="https://tomawezome.github.io/ZealOS/Kernel/BlkDev/DiskDirB.CC.html#l120"><span class=cF4>Click Here</span></a><span class=cF0> to see the directory cmd header. It accepts default args from C++.
|
|
<a name="l9"></a>
|
|
<a name="l10"></a>></span><span class=cF2>Dir("*.DD");</span><span class=cF0>
|
|
<a name="l11"></a>
|
|
<a name="l12"></a>If you don't have args, you don't need parenthesis.
|
|
<a name="l13"></a>
|
|
<a name="l14"></a>></span><span class=cF2>Dir;</span><span class=cF0>
|
|
<a name="l15"></a>
|
|
<a name="l16"></a>Directories are referenced with </span><span class=cF2>/</span><span class=cF0> not </span><span class=cF2>\</span><span class=cF0>. There is a current directory, but not a path. To run a program, you typically </span><span class=cF2>#in
|
|
<a name="l17"></a>clude </span><span class=cF0>it. There are several shortcuts for </span><span class=cF2>#include</span><span class=cF0>ing files. Right-click or hit </span><span class=cF2><ENTER></span><span class=cF0> on a directory listing or press </span><span class=cF2><F5></span><span class=cF0>
|
|
<a name="l18"></a>while editing.
|
|
<a name="l19"></a>
|
|
<a name="l20"></a>></span><span class=cF2>Ed("NewFile.CC");</span><span class=cF0> Invokes the editor. See </span><a href="https://tomawezome.github.io/ZealOS/System/DolDoc/DocLink.CC.html#l29"><span class=cF4>Doc Link Type</span></a><span class=cF0>.
|
|
<a name="l21"></a>
|
|
<a name="l22"></a>Most filenames end in because they are stored compressed.
|
|
<a name="l23"></a>
|
|
<a name="l24"></a>Drives are specified with a letter. The boot drive is specified with a '</span><span class=cF2>:</span><span class=cF0>'. The home dir drive is specified with a </span><span class=cF2>'~'</span><span class=cF0>.
|
|
<a name="l25"></a>
|
|
<a name="l26"></a>></span><span class=cF2>Drive('B');</span><span class=cF0> B drive
|
|
<a name="l27"></a>
|
|
<a name="l28"></a>The drive can be specified in a </span><a href="https://tomawezome.github.io/ZealOS/Kernel/BlkDev/DiskDirB.CC.html#l9"><span class=cF4>Cd</span></a><span class=cF0>() command as in:
|
|
<a name="l29"></a>
|
|
<a name="l30"></a>></span><span class=cF2>Cd("B:/Tmp");</span><span class=cF0> B drive
|
|
<a name="l31"></a>></span><span class=cF2>Cd("::/Demo");</span><span class=cF0> Boot drive
|
|
<a name="l32"></a>
|
|
<a name="l33"></a>The home directory is specified with a </span><span class=cF2>'~'</span><span class=cF0>.
|
|
<a name="l34"></a>
|
|
<a name="l35"></a>></span><span class=cF2>Cd("~/Psalmody");</span><span class=cF0> See </span><a href="https://tomawezome.github.io/ZealOS/Doc/GuideLines.DD.html#l30"><span class=cF4>::/Home dir</span></a><span class=cF0>.
|
|
<a name="l36"></a>
|
|
<a name="l37"></a>If a file is not found, </span><span class=cF2>.Z</span><span class=cF0> is added or removed and a search is done, again. If a file is still not found, all parent
|
|
<a name="l38"></a>directories are searched.
|
|
<a name="l39"></a>
|
|
<a name="l40"></a>You can place macros in your </span><a href="https://tomawezome.github.io/ZealOS/Home/PersonalMenu.DD.html#l1"><span class=cF4>PersonalMenu</span></a><span class=cF0> for </span><a href="https://tomawezome.github.io/ZealOS/Kernel/BlkDev/DiskDirB.CC.html#l9"><span class=cF4>Cd</span></a><span class=cF0>() commands. </span><span class=cF2><CTRL-m></span><span class=cF0> to access your menu.
|
|
<a name="l41"></a>
|
|
<a name="l42"></a>></span><span class=cF2>Find("needle","/Demo/*.CC;*.DD;");</span><span class=cF0> See </span><a href="https://tomawezome.github.io/ZealOS/Doc/FileUtils.DD.html#l1"><span class=cF4>File Utils</span></a><span class=cF0>.
|
|
<a name="l43"></a></span><span class=cF4>
|
|
<a name="l44"></a><u>Cmd Line Routines</span><span class=cF0>
|
|
<a name="l45"></a></span><span class=cF9>
|
|
<a name="l46"></a>Take Tour</u></span><span class=cF0>
|
|
</span></pre></body>
|
|
</html>
|