BBS:      TELESC.NET.BR
Assunto:  src/syncterm/scripts/auto/connected/online_menu.wren status_default.wr
De:       Deuc¨
Data:     Tue, 5 May 2026 15:06:42 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/e7df5284f3a19f54e20cb468
Modified Files:
	src/syncterm/scripts/auto/connected/online_menu.wren status_default.wren src/syncterm/scripts/sftp_app.wren syncterm.wren src/syncterm/wren_bind.c wren_bind_conn.c wren_bind_conn.h
Log Message:
SyncTERM: expose Alt key name to Wren; use it in menus + status bar

Adds two foreign Host accessors that wrap the ALT_KEY_NAMEP /
ALT_KEY_NAME3CH macros in syncterm.h so Wren-side labels can
adapt to the Quartz Cmd-as-Alt mapping:

  Host.altKeyName  -> "Alt"   / "Command"  (full word for help text)
  Host.altKeyShort -> "ALT"   / "CMD"      (3-char form for menus)

Updates the user-visible labels:

  - status bar (status_default.wren) "ALT-Z menu" -> "%(altKeyShort)-Z
    menu", so it reads "CMD-Z menu" on macOS.
  - online menu (online_menu.wren) entries use altKeyShort throughout.
    Picked the short form deliberately: the widest entry is "Change
    Output Rate (xxx-Up/xxx-Down)" which is 36 chars with a 3-char
    prefix and would have overflowed a 40-column screen with the
    spelled-out "Command-".  All connected menus must remain usable
    at 40 cols.
  - sftp_app help-text deflist terms use altKeyName ("Command-Q",
    "Command-S") since the body of a help popup has plenty of room
    and the spelled-out form reads better in prose context.

X11 / Wayland / SDL / Win32 / curses are byte-identical to before
on the help-text side ("Alt-Q") and shift only in case on the menu
side ("Alt-B" -> "ALT-B"; same width).

Co-Authored-By: Claude Opus 4.7 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]