ZealOS/docs/Doc/KeyAlloc.DD.html
2021-12-11 06:10:58 -05:00

59 lines
4.9 KiB
HTML
Executable file

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
<meta name="generator" content="ZealOS V1.07">
<style type="text/css">
body {background-color:#1f1f1f;}
.cF0{color:#e3e3e3;background-color:#1f1f1f;}
.cF1{color:#4f84a6;background-color:#1f1f1f;}
.cF2{color:#73a255;background-color:#1f1f1f;}
.cF3{color:#297582;background-color:#1f1f1f;}
.cF4{color:#b34f4b;background-color:#1f1f1f;}
.cF5{color:#8a52c3;background-color:#1f1f1f;}
.cF6{color:#b7822f;background-color:#1f1f1f;}
.cF7{color:#444444;background-color:#1f1f1f;}
.cF8{color:#6d6d6d;background-color:#1f1f1f;}
.cF9{color:#94bfde;background-color:#1f1f1f;}
.cFA{color:#a1ce97;background-color:#1f1f1f;}
.cFB{color:#6db4be;background-color:#1f1f1f;}
.cFC{color:#e88e88;background-color:#1f1f1f;}
.cFD{color:#ca94e8;background-color:#1f1f1f;}
.cFE{color:#d4b475;background-color:#1f1f1f;}
.cFF{color:#1f1f1f;background-color:#1f1f1f;}
</style>
</head>
<body>
<pre style="font-family:monospace;font-size:12pt">
<a name="l1"></a><span class=cF5> Key Allocations</span><span class=cF0>
<a name="l2"></a>
<a name="l3"></a>See </span><span class=cF4><u>Char</u></span><span class=cF0> for definition of scan codes.
<a name="l4"></a>
<a name="l5"></a>See </span><span class=cF9><u>Key Map</u></span><span class=cF0> for a detailed list of key commands.
<a name="l6"></a>
<a name="l7"></a>When you are at the cmd line, editing documents, browsing documentation and help, entering items in forms or in menu's, the </span><span class=cF4>
<a name="l8"></a></span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1502"><span class=cF4>DolDoc</span></a><span class=cF0> editor handles keys. It allows you to define your own key handlers in a </span><a href="https://zeal-operating-system.github.io/ZealOS/Home/HomeKeyPlugIns.ZC.html#l11"><span class=cF4>MyPutKey</span></a><span class=cF0>() function. If you choose, you can
<a name="l9"></a>catch keys, overriding the default handlers. See </span><a href="https://zeal-operating-system.github.io/ZealOS/System/DolDoc/DocPutKey.ZC.html#l3"><span class=cF4>DocPutKey</span></a><span class=cF0>(). The following is an overview of key allocations.
<a name="l10"></a>
<a name="l11"></a></span><span class=cF2>&lt;ALT-keys&gt;</span><span class=cF0> and </span><span class=cF2>&lt;ALT-SHIFT-keys&gt;</span><span class=cF0> Free for user configurations in your </span><a href="https://zeal-operating-system.github.io/ZealOS/Home/HomeKeyPlugIns.ZC.html#l11"><span class=cF4>MyPutKey</span></a><span class=cF0>() handler, except for </span><span class=cF2>ALT-BACKSPACE</span><span class=cF0> (undo).
<a name="l12"></a>There are a few examples pre-defined, but you can change them if you wish.
<a name="l13"></a>
<a name="l14"></a></span><span class=cF2>&lt;CTRL-ALT-keys&gt;</span><span class=cF0> and </span><span class=cF2>&lt;CTRL-ALT-SHIFT-keys&gt;</span><span class=cF0> Handled at a system level, NOT by the </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1502"><span class=cF4>CDoc</span></a><span class=cF0> editor. You can define your own
<a name="l15"></a>handlers with </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KeyDev.ZC.html#l201"><span class=cF4>CtrlAltCBSet</span></a><span class=cF0>(). They operate either in a interrupt environment or in the window mgr when it queues kbd
<a name="l16"></a>messages. You can do </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KMisc.ZC.html#l257"><span class=cF4>Raw</span></a><span class=cF0>() output. </span><span class=cF2>&lt;CTRL-ALT-letter&gt;</span><span class=cF0> handlers take a scan_code as an arg.
<a name="l17"></a>
<a name="l18"></a></span><span class=cF2>&lt;CTRL-function key&gt;</span><span class=cF0> Auto-completes local words.
<a name="l19"></a>
<a name="l20"></a></span><span class=cF2>&lt;CTRL-digit key&gt;</span><span class=cF0> Auto-completes dictionary words.
<a name="l21"></a>
<a name="l22"></a></span><span class=cF2>&lt;CTRL-SHIFT-function key&gt;</span><span class=cF0> Jumps to src code.
<a name="l23"></a>
<a name="l24"></a></span><span class=cF2>&lt;CTRL-SHIFT-digit key&gt;</span><span class=cF0> Jumps to dictionary definition.
<a name="l25"></a>
<a name="l26"></a></span><span class=cF2>&lt;function keys&gt;</span><span class=cF0> and </span><span class=cF2>&lt;SHIFT-function keys&gt;</span><span class=cF0> There are some free for now.
<a name="l27"></a>
<a name="l28"></a></span><span class=cF2>&lt;CTRL-key&gt;</span><span class=cF0> and </span><span class=cF2>&lt;CTRL-SHIFT-key&gt;</span><span class=cF0> There are not many free.</span><span class=cF8>
<a name="l29"></a></span><span class=cF0>
<a name="l30"></a>See </span><span class=cF4><u>Keyboard Devices</u></span><span class=cF0>.
</span></pre></body>
</html>