bugGNU Screen - Bugs: bug #16484, Patch to quiet -R "New...

 
 

bug #16484: Patch to quiet -R "New screen..."

Submitted by:  Juergen Weigert <jnweiger>
Submitted on:  Tue 02 May 2006 09:54:46 AM UTC  
 
Category: NoneSeverity: 1 - Wish
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 02 May 2006 12:21:53 PM UTC, comment #1:

Applied, thanks!

Michael Schröder <mls>
Project Administrator
Tue 02 May 2006 09:54:46 AM UTC, original submission:

From: -unavailable-
To: -unavailable-
Subject: [screen-devel] Patch to quiet -R "New screen..."
Date: Mon, 01 May 2006 10:51:44 -0400
Sender: screen-devel-bounces+jw=cs.fau.de@gnu.org

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;

Juergen Weigert <jnweiger>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 15 Jun 2008 05:33:56 AM UTCmicahcowanOpen/ClosedOpen=>Closed
    Tue 02 May 2006 12:21:53 PM UTCmlsStatusNone=>Fixed
    Tue 02 May 2006 09:54:46 AM UTCjnweigerCarbon-Copy-=>Added jnweiger

    Back to the top


    Powered by Savane 3.1-cleanup1