Posts and mail on an ANSI terminal (40x12 or more, not a VT52 or a Commodore) are written on the whole screen: the cursor and editing keys (Term.EditKey reads them now, where other prompts still drop them), words wrapping as typed, Backspace and Delete joining lines, ^Y deleting one, ^Z (or /S on a line) saving, ^X giving up. A reply's quote is no longer put in the body to cut: ^Q opens a window of the message replied to, and Enter takes a line from it. Messages from other nodes wait until the editor is left. view.Draft gains Quote; the line editor and the 3270's editor begin the body with it, as before. The profile switches between the full-screen and line editors (kept as the editor setting). The editor's text is its own type, tested by itself; an SSH caller posts, replies quoting and switches editors. Writing-Messages is the wiki page for the editors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2.1 KiB
Posts and mail are written in one of three editors, by terminal: the
full-screen editor on ANSI terminals, the line editor on the rest, and
the 3270's editor screen. First come To (Enter keeps what is offered)
and Subject.
The full-screen editor
On an ANSI terminal (not a VT52 or a Commodore) of 40 columns and 12 rows or more:
To: alice Subject: Re: The meeting
-------------------------------------------------------------------------------
alice wrote:
> Thursday at eight?
Thursday suits me.
_
^Z save ^X give up ^Y delete line ^L redraw ^Q quote 4/5
| key | |
|---|---|
| typing | goes in at the cursor; a word that passes the edge wraps to the next line |
| cursor keys, Home, End, PgUp, PgDn | move about |
| Enter | a new line (the line breaks at the cursor) |
| Backspace, Delete (or ^D) | take away a character, or join two lines |
| ^Y | delete the line |
| ^Q | the quote window (a reply): Up and Down choose a line of the message replied to, Enter takes it into yours, ^Q or ESC closes the window |
| ^Z | save (/S alone on a line and Enter does too) |
| ^X (or ^A) | give up, after a Y |
| ^L | draw the screen again |
Lines are at most 79 characters (less on a narrower screen), and a message at most as many lines as the line editor takes. Messages from other nodes wait until the message is saved.
The line editor
On other terminals, or by choice: each line is typed and sent with Enter, a word wrapping at the edge. On a line of its own:
/S |
save |
/A |
give up |
/L |
list what is written |
/D |
delete the last line |
/C |
clear all |
A reply begins with the message replied to, quoted.
Choosing
[E]ditor full/line in Your profile switches between them on an ANSI
terminal, and the choice is kept (editor).
On a 3270
The editor screen: To, Subject, and a screen of lines to type in;
PF5 sends, PF3 gives up. A reply begins with its quote.
See also: TN3270, Terminal identification