Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type definition to page to it renders correctly. #246

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletions content/en/software/using-medley/keystrokes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Keystrokes, Mouse menus and Gestures
url: /software/using-medley/keystrokes/
weight: 40
type: docs
aliases:
- /doc/info/Keystrokes.html
---
Expand All @@ -11,7 +12,7 @@ The handling of keyboard and mouse clicks and gestures is different and varied w

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 |
|----------|--------------------------------|
Expand All @@ -25,15 +26,11 @@ We'd like to improve keyboard handling but haven't yet found a path.

## Interrupt characters

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".

|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 |



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".
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@masinter Can you take a look at this line and fix the last sentence?  It is incomplete.  Or, is it an artifact that should be deleted?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sentence is incomplete but I'm not sure it was ever right. I wonder if there's a better explanation in the IRM? The discussion about the relationship of interrupt characters, the termtable, and the proccess-with-tty seems at best incomplete to me now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I replaced the text with a block from the Medley IRM -- from page 29-1.  I think that gets at the desired point.

It also mentions a different control character, ctrl-G, 'Pops up a menu listing all of the currently-running processes. Selecting one of the processes will cause a break to take place in that process.' and states the crtl-P is no longer supported.

If this is correct, I'll go ahead and make those changes also.


|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 occurred without break|
|ctrl-P | interrupt printing and reset the PRINTLEVEL |