Skip to content

Commit d8b38fd

Browse files
authored
Merge pull request #327 from pamoroso/pa13--keystroke-table
Fix layout of keystroke table and revise some entries
2 parents 736ed64 + 354d1bc commit d8b38fd

1 file changed

Lines changed: 16 additions & 18 deletions

File tree

content/en/software/using-medley/keystrokes.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,27 @@
22
title: Keystrokes, Mouse menus and Gestures
33
url: /software/using-medley/keystrokes/
44
weight: 40
5+
type: docs
56
aliases:
67
- /doc/info/Keystrokes.html
78
---
89

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.
10+
The handling of keyboard and mouse clicks and gestures is different and varied within the Medley environment. This chart shows common keystrokes. On macOS the Option key is equivalent to Alt. See
11+
[Table of Keystrokes](https://docs.google.com/spreadsheets/d/1FOkrr62TtEhhY49m9U0T_6bvqSGRQt9fBRtMDw0YKtY/edit?usp=sharing) for more data.
1112

1213
We'd like to improve keyboard handling but haven't yet found a path.
1314

14-
## At an "exec" (i.e., the REPL).
15+
## At an "exec" (i.e., the REPL)
1516

1617
|character |action |
1718
|----------|--------------------------------|
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" ???? |
19+
|Backspace | delete the previous character |
20+
|Ctrl-H | (same as backspace) |
21+
|Enter |if terminates a valid expression evaluate, otherwise newline |
22+
|Ctrl-M | (same as Enter) |
23+
|Ctrl-Alt-J|move down |
24+
|Ctrl-Alt-L|move to start of line (some OSes capture this for system functions, e.g. screen lock on Linux) |
25+
|Ctrl-Alt-Y| invoke an old-style executive (REPL), but uses the package and readtable of its caller |
2526

2627
## Interrupt characters
2728

@@ -35,11 +36,8 @@ below take place in the mouse process if it is busy, otherwise the TTY process.
3536

3637
|character|action |
3738
|---------|----------------------------------------- |
38-
|ctrl-B |stop the process and enter a break window |
39-
|ctrl-D | reset the process, unwind the stack to the top level |
40-
|ctrl-E | unwind the stack as if an error occured without break|
41-
|ctrl-P | interrupt printing and reset the PRINTLEVEL |
42-
43-
44-
45-
39+
|Ctrl-B |stop the process and enter a break window |
40+
|Ctrl-D | reset the process, unwind the stack to the top level |
41+
|Ctrl-E | unwind the stack as if an error occured without break|
42+
|Ctrl-G | interrupt a non TTY process and open the debugger|
43+
|Ctrl-P | interrupt printing and reset the PRINTLEVEL |

0 commit comments

Comments
 (0)