📄 refk.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>K</title><link rel="stylesheet" href="doc.css" type="text/css"></head><body><h1>K</h1><dl><dt><a name="key"><code>(key ['cnt]) -> sym</code></a><dd>Returns the next character from standard input as a single-charactertransient symbol. The console is set to raw mode. While waiting for a key press,a <code>select</code> system call is executed for all file descriptors andtimers in the <code>VAL</code> of the global variable <code><ahref="refR.html#*Run">*Run</a></code>. If <code>cnt</code> isnon-<code>NIL</code>, that amount of milliseconds is waited maximally, and<code>NIL</code> is returned upon timeout. See also <code><ahref="refR.html#raw">raw</a></code> and <code><ahref="refW.html#wait">wait</a></code>.<p><pre><code>: (key) # Wait for a key-> "a" # 'a' pressed</code></pre><dt><a name="kill"><code>(kill 'pid ['cnt]) -> flg</code></a><dd>Sends a signal with the signal number <code>cnt</code> (or SIGTERM if<code>cnt</code> is not given) to the process with the ID <code>pid</code>.Returns <code>T</code> if successful.<p><pre><code>: (kill *Pid 20) # Stop current process[2]+ Stopped bin/picolisp # Unix shell$ fg # Job control: Foregroundbin/picolisp-> T # 'kill' was successful</code></pre></dl></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -