From 354d1bc8acd89fc062737e82b210b9358cbf7c71 Mon Sep 17 00:00:00 2001 From: Paolo Amoroso Date: Thu, 5 Mar 2026 17:16:28 +0100 Subject: [PATCH] Fix layout of and revise keystroke table Fix the missing sidebars of the keystroke table page and Capitalize key names. Add an entry for Ctrl-G and clarify the Enter, Ctrl-Alt-L, and Ctrl-Alt-Y entries. Signed-off-by: Paolo Amoroso --- .../en/software/using-medley/keystrokes.md | 34 +++++++++---------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/content/en/software/using-medley/keystrokes.md b/content/en/software/using-medley/keystrokes.md index 29017050..21ea8c2f 100644 --- a/content/en/software/using-medley/keystrokes.md +++ b/content/en/software/using-medley/keystrokes.md @@ -2,26 +2,27 @@ title: Keystrokes, Mouse menus and Gestures url: /software/using-medley/keystrokes/ weight: 40 +type: docs aliases: - /doc/info/Keystrokes.html --- -The handling of keyboard and mouse clicks and gestures is different and varied within the Medley environment. This chart shows common keystrokes. -[Table of Keystrokes](https://docs.google.com/spreadsheets/d/1FOkrr62TtEhhY49m9U0T_6bvqSGRQt9fBRtMDw0YKtY/edit?usp=sharing) more data. +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 +[Table of Keystrokes](https://docs.google.com/spreadsheets/d/1FOkrr62TtEhhY49m9U0T_6bvqSGRQt9fBRtMDw0YKtY/edit?usp=sharing) for more data. We'd like to improve keyboard handling but haven't yet found a path. -## At an "exec" (i.e., the REPL). +## At an "exec" (i.e., the REPL) |character |action | |----------|--------------------------------| -|backspace | delete the previous character | -|ctrl-H | (same as backspace) | -|enter |if at end of line, terminate | -|ctrl-M | (same as enter) | -|ctrl-alt-J|move down | -|ctrl-alt-L|move to start of line | -|ctrl-alt-Y|"get userexec" ???? | +|Backspace | delete the previous character | +|Ctrl-H | (same as backspace) | +|Enter |if terminates a valid expression evaluate, otherwise newline | +|Ctrl-M | (same as Enter) | +|Ctrl-Alt-J|move down | +|Ctrl-Alt-L|move to start of line (some OSes capture this for system functions, e.g. screen lock on Linux) | +|Ctrl-Alt-Y| invoke an old-style executive (REPL), but uses the package and readtable of its caller | ## Interrupt characters @@ -35,11 +36,8 @@ below take place in the mouse process if it is busy, otherwise the TTY process. |character|action | |---------|----------------------------------------- | -|ctrl-B |stop the process and enter a break window | -|ctrl-D | reset the process, unwind the stack to the top level | -|ctrl-E | unwind the stack as if an error occured without break| -|ctrl-P | interrupt printing and reset the PRINTLEVEL | - - - - +|Ctrl-B |stop the process and enter a break window | +|Ctrl-D | reset the process, unwind the stack to the top level | +|Ctrl-E | unwind the stack as if an error occured without break| +|Ctrl-G | interrupt a non TTY process and open the debugger| +|Ctrl-P | interrupt printing and reset the PRINTLEVEL |