bugGNU Screen - Bugs: bug #31814, [patch] add per-window zombie...

 
 

bug #31814: [patch] add per-window zombie setting

Submitter:  None
Submitted:  Tue 07 Dec 2010 12:32:16 AM UTC
Votes: 2
 
Category:  Feature Request Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 05 Jan 2011 09:25:00 AM UTC, comment #1: 

change zombie flag on existing windows / command name:
According to the manpage "zombie" is the intended commandname.

For my bug #32029 I propose -zl to enable the requested "defzombie lastwindow" option.

Dennis Schridde <devurandom>
Tue 07 Dec 2010 12:32:16 AM UTC, original submission:  

Patch attached that adds -zy and -zn options that enable and disable zombie for a particular command, eg:

    screen -zn reset-database.sh

so you don't have to risk hitting 'r' much later and doing something destructive. -zy is also supported for completeness, but it only comes into play if screen is started with -zn.

When zombie is disabled, this has no effect on any behavior.

When zombie is enabled, -zy normally changes nothing and -zn allows the window to be destroyed when the command exits. If screen is started with -zn, any new windows will not be zombies unless started with screen -zy.

I do mostly python programming, this is at the limits of my C abilities. My main question is whether I've correctly updated MSG_VERSION in screen.h; I added msg.m.create.zombie, but I have no idea what's going on in MSG_REVISION and don't know if I need to do anything there.

This patch is also missing a means of changing the zombie flag on existing windows; presumably this will be a command (although also presumably not 'zombie' to avoid breakage, so I don't know where that leaves 'defzombie') but I don't have the time to implement it at the moment. Hopefully I'll have time to revisit later for that & any changes needed on the patch.

Adam
-email is unavailable-

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #22141:  screen-2010-12-06-zombie-windows.patch added by None (4KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ssducf (Voted in favor of this item)
  • -email is unavailable- added by devurandom (Posted a comment)
  •  

    There are 2 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-22 ssducf Carbon-Copy- Added ssducf
    2010-12-07 None Attached File- Added screen-2010-12-06-zombie-windows.patch, #22141

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code