templeos-info/public/Wb/Doc/KeyAlloc.DD.HTML

69 lines
4.8 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="generator" content="TempleOS V5.03">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="/style/templeos.css">
<script src="/script/templeos.js"></script>
<style type="text/css">
.cF0{color:#000000;background-color:#ffffff;}
.cF1{color:#0000aa;background-color:#ffffff;}
.cF2{color:#00aa00;background-color:#ffffff;}
.cF3{color:#00aaaa;background-color:#ffffff;}
.cF4{color:#aa0000;background-color:#ffffff;}
.cF5{color:#aa00aa;background-color:#ffffff;}
.cF6{color:#aa5500;background-color:#ffffff;}
.cF7{color:#aaaaaa;background-color:#ffffff;}
.cF8{color:#555555;background-color:#ffffff;}
.cF9{color:#5555ff;background-color:#ffffff;}
.cFA{color:#55ff55;background-color:#ffffff;}
.cFB{color:#55ffff;background-color:#ffffff;}
.cFC{color:#ff5555;background-color:#ffffff;}
.cFD{color:#ff55ff;background-color:#ffffff;}
.cFE{color:#ffff55;background-color:#ffffff;}
.cFF{color:#ffffff;background-color:#ffffff;}
</style>
</head>
<body>
<pre id="content">
<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
<a name="l8"></a>help, entering items in forms or in menu's, the </span><a href="/Wb/Kernel/KernelA.HH#l1367"><span class=cF4>DolDoc</span></a><span class=cF0> editor handles keys. It
<a name="l9"></a>allows you to define your own key hndlrs in a </span><a href="/Wb/Home/HomeKeyPlugIns.HC#l11"><span class=cF4>MyPutKey</span></a><span class=cF0>() function. If you
<a name="l10"></a>choose, you can catch keys, overriding the default hndlrs. See </span><a href="/Wb/Adam/DolDoc/DocPutKey.HC#l3"><span class=cF4>DocPutKey</span></a><span class=cF0>().
<a name="l11"></a>The following is an overview of key allocations.
<a name="l12"></a>
<a name="l13"></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="/Wb/Home/HomeKeyPlugIns.HC#l11"><span class=cF4>MyPutKey</span></a><span class=cF0>()
<a name="l14"></a>hndlr, except for </span><span class=cF2>ALT-BACKSPACE</span><span class=cF0> (undo). There are a few examples pre-defined,
<a name="l15"></a>but you can change them if you wish.
<a name="l16"></a>
<a name="l17"></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><span class=cF4>
<a name="l18"></a></span><a href="/Wb/Kernel/KernelA.HH#l1367"><span class=cF4>CDoc</span></a><span class=cF0> editor. I reserve the right to alloc these, but in the mean time, you can
<a name="l19"></a>define your own hndlrs with </span><a href="/Wb/Kernel/KeyDev.HC#l178"><span class=cF4>CtrlAltCBSet</span></a><span class=cF0>(). They operate either in a interrupt
<a name="l20"></a>environment or in the window mgr when it queues kbd msgs. You can do </span><a href="/Wb/Kernel/KMisc.HC#l290"><span class=cF4>Raw</span></a><span class=cF0>()
<a name="l21"></a>output. </span><span class=cF2>&lt;CTRL-ALT-letter&gt;</span><span class=cF0> hndlrs take a scan_code as an arg.
<a name="l22"></a>
<a name="l23"></a></span><span class=cF2>&lt;CTRL-function key&gt;</span><span class=cF0> Auto-completes local words.
<a name="l24"></a>
<a name="l25"></a></span><span class=cF2>&lt;CTRL-digit key&gt;</span><span class=cF0> Auto-completes dictionary words.
<a name="l26"></a>
<a name="l27"></a></span><span class=cF2>&lt;CTRL-SHIFT-function key&gt;</span><span class=cF0> Jumps to src code.
<a name="l28"></a>
<a name="l29"></a></span><span class=cF2>&lt;CTRL-SHIFT-digit key&gt;</span><span class=cF0> Jumps to dictionary definition.
<a name="l30"></a>
<a name="l31"></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> I reserve the right to alloc these,
<a name="l32"></a>but there are some free now.
<a name="l33"></a>
<a name="l34"></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> I reserve the right to alloc to these. There
<a name="l35"></a>are not many free.</span><span class=cF8>
<a name="l36"></a></span><span class=cF0>
<a name="l37"></a>See </span><span class=cF4><u>Keyboard Devices</u></span><span class=cF0>.
</span></pre></body>
</html>