mirror of
https://github.com/D-Modem/gui.git
synced 2026-11-28 14:19:58 -08:00
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:
18 files changed
+608
-18
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user