[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] Patch to quiet -R "New screen..."
From: |
screen |
Subject: |
[screen-devel] Patch to quiet -R "New screen..." |
Date: |
Mon, 01 May 2006 10:51:44 -0400 |
User-agent: |
Mail/News 1.5 (X11/20060309) |
I was annoyed by how -R shows an unavoidable "New screen..." prompt when
creating a new session (and apparently I'm not that only one -
http://www.kuro5hin.org/comments/2004/3/9/16838/14935/64#64) so I made a
quick patch to have the -q also suppress this message.
Chris Pimlott
----
diff -Nurd screen-4.0.2.orig/screen.c screen-4.0.2/screen.c
--- screen-4.0.2.orig/screen.c 2003-09-08 10:26:41.000000000 -0400
+++ screen-4.0.2/screen.c 2006-04-19 11:52:26.000000000 -0400
@@ -1340,7 +1340,7 @@
if (display && default_startup)
display_copyright();
signal(SIGINT, SigInt);
- if (rflag && (rflag & 1) == 0)
+ if (!quietflag && rflag && (rflag & 1) == 0)
{
Msg(0, "New screen...");
rflag = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [screen-devel] Patch to quiet -R "New screen...",
screen <=