screenrc中的哪个选项像“screen -L”一样工作? 我想打开全局logging。 尝试select“login”到/ etc / screenrc中,但在屏幕启动时写入“log:window required”。
使用deflog on而不是log on 。
从手册:
deflog on|off Same as the log command except that the default setting for new windows is changed. Initial setting is off.
如果你真的想使用log on ,你需要先select一个窗口screen 0 ,但要注意这个configuration没有configuration所有窗口的日志logging…