Skip to content

Commit 9fc2215

Browse files
masinterphantomics
andauthored
WIP, incomplete keystroke tables (#70)
* WIP, incomplete keystroke tables * Update Keystrokes.md Fix typo and improve formatting a bit Signed-off-by: Andrew Sengul <a@imagegardenphoto.com> * leave breadcrumbs if this has been moved * This Using.html has been superceded by other changes --------- Signed-off-by: Andrew Sengul <a@imagegardenphoto.com> Co-authored-by: Andrew Sengul <a@imagegardenphoto.com>
1 parent d082d27 commit 9fc2215

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: Keystrokes, Mouse menus and Gestures
3+
url: /software/using-medley/keystrokes/
4+
weight: 40
5+
aliases:
6+
- /doc/info/Keystrokes.html
7+
---
8+
9+
The handling of keyboard and mouse clicks and gestures is different and varied within the Medley environment. This chart shows common keystrokes.
10+
[Table of Keystrokes](https://docs.google.com/spreadsheets/d/1FOkrr62TtEhhY49m9U0T_6bvqSGRQt9fBRtMDw0YKtY/edit?usp=sharing) more data.
11+
12+
We'd like to improve keyboard handling but haven't yet found a path.
13+
14+
## At an "exec" (i.e., the REPL).
15+
16+
|character |action |
17+
|----------|--------------------------------|
18+
|backspace | delete the previous character |
19+
|ctrl-H | (same as backspace) |
20+
|enter |if at end of line, terminate |
21+
|ctrl-M | (same as enter) |
22+
|ctrl-alt-J|move down |
23+
|ctrl-alt-L|move to start of line |
24+
|ctrl-alt-Y|"get userexec" ???? |
25+
26+
## Interrupt characters
27+
28+
These are enabled per-process. Medley maintains, for each process, a "termtable" which enables different kinds of interrupts. In general, the process (sometimes known as the "TTY" process or the process that "has the keyboard".
29+
30+
|character|action |
31+
|---------|----------------------------------------- |
32+
|ctrl-B |stop the process and enter a break window |
33+
|ctrl-D | reset the process, unwind the stack to the top level |
34+
|ctrl-E | unwind the stack as if an error occured without break|
35+
|ctrl-P | interrupt printing and reset the PRINTLEVEL |
36+
37+
38+
39+

0 commit comments

Comments
 (0)