Add Terminal Settings, a connect timer and Send Break

HyperTerminal's Terminal Settings for each terminal of the Windows app
([terminal], [remote_terminal]): Backspace (Ctrl+H, Del, or Ctrl+H Space
Ctrl+H), terminal or Windows keys, backscroll lines, font, cursor, the
Telnet terminal ID, and exit upon disconnecting.

The status bar shows the connect timer during a call. Send Break (Modem
menu, Ctrl+Break) sends a break on a COM port or as Telnet's IAC BRK.

Core: dmc_vt_set_scrollback and dmc_net_break, with tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
This commit is contained in:
Claude committed 2026-11-20 22:55:35 +00:00
1 parent 4f7e90f598
commit 8d6316e7ce
18 files changed
+608 -18

No files matched your search

+5
View File
@@ -497,6 +497,8 @@ DMC_API void dmc_vt_feed(dmc_vt *t, const char *data, int n);
/* the screen's answers to the remote's questions (where the cursor is,
what terminal it is), to write to it as if typed */
DMC_API int dmc_vt_reply(dmc_vt *t, char *buf, int max);
/* the scrollback's size: the newest lines kept, the oldest dropped */
DMC_API void dmc_vt_set_scrollback(dmc_vt *t, int lines);
/* how many lines of scrollback there are now */
DMC_API int dmc_vt_history(const dmc_vt *t);
/* a cell: row 0 the screen's top, -1 the newest scrollback line and so
@@ -664,6 +666,9 @@ DMC_API void dmc_net_type(dmc_net *n, const char *data, int len);
DMC_API int dmc_net_output(dmc_net *n, char *buf, int max);
/* the screen's new size, told to the server */
DMC_API void dmc_net_resize(dmc_net *n, int cols, int rows);
/* a break to the server (Telnet's IAC BRK): 1, or 0 when the protocol has
none (rlogin) */
DMC_API int dmc_net_break(dmc_net *n);
/* ------------------------------------------------------------------
* File transfers on a terminal's line, as the Android app has them: