[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [bug #31814] [patch] add per-window zombie setting
From: |
anonymous |
Subject: |
[screen-devel] [bug #31814] [patch] add per-window zombie setting |
Date: |
Tue, 07 Dec 2010 00:32:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.14 (KHTML, like Gecko) Ubuntu/10.10 Chromium/10.0.601.0 Chrome/10.0.601.0 Safari/534.14 |
URL:
<http://savannah.gnu.org/bugs/?31814>
Summary: [patch] add per-window zombie setting
Project: GNU Screen
Submitted by: None
Submitted on: Tue 07 Dec 2010 12:32:16 AM UTC
Category: Feature Request
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: None
Planned Release: None
Work Required: None
_______________________________________________________
Details:
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
address@hidden
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 07 Dec 2010 12:32:16 AM UTC Name:
screen-2010-12-06-zombie-windows.patch Size: 4kB By: None
<http://savannah.gnu.org/bugs/download.php?file_id=22141>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31814>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [screen-devel] [bug #31814] [patch] add per-window zombie setting,
anonymous <=