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


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

Submitted by:  None
Submitted on:  Tue 07 Dec 2010 12:32:16 AM UTC  
Votes:  2  
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 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.


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.




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

Attach File(s):

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
  • -unavailable- added by ssducf (Voted in favor of this item)
  • -unavailable- added by devurandom (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 2 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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Jul 2017 06:30:36 PM UTCssducfCarbon-Copy-=>Added ssducf
    Tue 07 Dec 2010 12:32:16 AM UTCNoneAttached File-=>Added screen-2010-12-06-zombie-windows.patch, #22141

    Back to the top

    Powered by Savane 3.1-cleanup1