ZealOS/docs/Doc/CmdLineOverview.DD.html
TomAwezome 22e3d8f06e Clean up E1000 Driver.
Remove some palettes.
Add PaletteSetSlate.
Change all gr_palette_std to gr32_palette_std.
Change all CBGR48 to CBGR24.
2021-07-28 22:20:15 -04:00

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.11">
<style type="text/css">
body {background-color:#fef1f0;}
.cF0{color:#000000;background-color:#fef1f0;}
.cF1{color:#0148a4;background-color:#fef1f0;}
.cF2{color:#3b7901;background-color:#fef1f0;}
.cF3{color:#057c7e;background-color:#fef1f0;}
.cF4{color:#bb2020;background-color:#fef1f0;}
.cF5{color:#9e42ae;background-color:#fef1f0;}
.cF6{color:#b57901;background-color:#fef1f0;}
.cF7{color:#b2b6af;background-color:#fef1f0;}
.cF8{color:#555753;background-color:#fef1f0;}
.cF9{color:#678fbb;background-color:#fef1f0;}
.cFA{color:#82bc49;background-color:#fef1f0;}
.cFB{color:#0097a2;background-color:#fef1f0;}
.cFC{color:#e26a6a;background-color:#fef1f0;}
.cFD{color:#c671bc;background-color:#fef1f0;}
.cFE{color:#c7ab00;background-color:#fef1f0;}
.cFF{color:#fef1f0;background-color:#fef1f0;}
</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://zeal-operating-system.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>&lt;CTRL-SHIFT-F1&gt;</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://zeal-operating-system.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>&gt;</span><span class=cF2>Dir(&quot;*.DD&quot;);</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>&gt;</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>&lt;ENTER&gt;</span><span class=cF0> on a directory listing or press </span><span class=cF2>&lt;F5&gt;</span><span class=cF0>
<a name="l18"></a>while editing.
<a name="l19"></a>
<a name="l20"></a>&gt;</span><span class=cF2>Ed(&quot;NewFile.CC&quot;);</span><span class=cF0> Invokes the editor. See </span><a href="https://zeal-operating-system.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>&gt;</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://zeal-operating-system.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>&gt;</span><span class=cF2>Cd(&quot;B:/Tmp&quot;);</span><span class=cF0> B drive
<a name="l31"></a>&gt;</span><span class=cF2>Cd(&quot;::/Demo&quot;);</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>&gt;</span><span class=cF2>Cd(&quot;~/Psalmody&quot;);</span><span class=cF0> See </span><a href="https://zeal-operating-system.github.io/ZealOS/Doc/GuideLines.DD.html#l29"><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://zeal-operating-system.github.io/ZealOS/Home/PersonalMenu.DD.html#l1"><span class=cF4>PersonalMenu</span></a><span class=cF0> for </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/BlkDev/DiskDirB.CC.html#l9"><span class=cF4>Cd</span></a><span class=cF0>() commands. </span><span class=cF2>&lt;CTRL-m&gt;</span><span class=cF0> to access your menu.
<a name="l41"></a>
<a name="l42"></a>&gt;</span><span class=cF2>Find(&quot;needle&quot;,&quot;/Demo/*.CC;*.DD;&quot;);</span><span class=cF0> See </span><a href="https://zeal-operating-system.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>