screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting an escape character on the command line


From: Juergen Weigert
Subject: Re: Setting an escape character on the command line
Date: Tue, 28 Jun 2005 11:48:45 +0200
User-agent: Mutt/1.4.2.1i

On Jun 27, 05 21:49:20 -0500, Will Maier wrote:
> > > Also, a quick bonus question: any way to create a window as a zombie?

Hmm, isn't that a shell script wrapper waiting for a key press, then 
starting the real application?

> I imagine I could do this with a little 'stuff'ing, but it's hardly worth it.
> Offhand, does anyone know how much a zombified window "costs" in resources?

A zombie keeps the scrollback buffer of the window. This is ca.
4 bytes * window_width * scrollback_size_used .
If the window dies very early, scrollback_size_used is closer to
window_height than to the first parameter of the scrollback-command.

So, after saying 'CTRL-A : scrollback 10000'
and sufficient output, a zombie can occupy a few megabytes of memory.

        cheers,
                Jw.

-- 
 o \  Juergen Weigert      unix-software __/ _=======.=======_     
<V> | address@hidden         creator    __/        _---|____________\/    
 \  |            0179/2069677      __/          (____/            /\
(/) | ____________________________/              _/ \_ vim:set sw=2 wm=8




reply via email to

[Prev in Thread] Current Thread [Next in Thread]