Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我远程分离屏幕会话并自己连接到它时(screen -r -d),我在分离的会话中看到以下内容。
[remote detached]
是否可以更改此消息?
它在屏幕源代码中硬编码(行:屏幕 v 4.0.3 中的)1745:screen.c
1745
screen.c
#ifdef REMOTE_DETACH case D_REMOTE: AddStr("[remote detached]\r\n"); sign = SIG_BYE; break; #endif
您可以尝试编辑该部分并重新编译源代码。