I'm running screen -D -R (with optionally using -S name), and it works great, but has one problem - when given screen doesn't exist earlier, i get notification "New screen...", and irritating wait.
How can I disable this particular notification?
|
I'm running screen -D -R (with optionally using -S name), and it works great, but has one problem - when given screen doesn't exist earlier, i get notification "New screen...", and irritating wait. How can I disable this particular notification?
| |||||||
feedback
|
|
Unfortunately, this behavior is hard-coded in the source: the same test is used to determine whether to emit the “New screen...” notification and to determine whether to attach to a running session. (In the screen 4.0.3 source, If you're willing to recompile, the patch is trivial: remove the line that displays the message from You can make the message go away by typing something. If you don't want to type a key that will reach the application inside the screen window, you can type A simple workaround of sorts is to immediately detach the screen session (either with A really kludgy but fully automated workaround is to include the following lines in the
(39 is the highest possible window number, it's a compile-time option ( Note that both workarounds will hide any message | |||
feedback
|
|
Try adding these to your .screenrc file:
The latter will cause all the screen messages being visible only for 1 second - that maybe annoyingly short other times, though. | |||
feedback
|
|
I just had the same problem. In the latest version of screen, you can specify the The source shows
so I don't know where Gilles found that, or when it was changed. | |||
|
feedback
|