From: Atom Smasher <atom@smasher.org>
To: "Benjamin R. Haskell" <zsh@benizi.com>
Cc: zsh-users@zsh.org
Subject: Re: zsh portable script
Date: Wed, 14 Jul 2010 13:11:25 +1200 (NZST) [thread overview]
Message-ID: <1007141309200.5546@smasher> (raw)
In-Reply-To: <alpine.LNX.2.01.1007131234090.4808@hp.internal>
On Tue, 13 Jul 2010, Benjamin R. Haskell wrote:
>> on my bsd laptop i always have at least one mrxvt with ten shells open.
>> it seems to make sense to just have root get the info once per minute
>> and let the shells read it from a file, than have a bunch of shells all
>> invoking sysctl and all figuring out about the battery.
>
> Are those many shells all frequently generating prompts? precmd only
> runs once per prompt.
==================
my prompts are generated ~about~ twice per minute, per shell. that keeps
the time and load averages up to date.
they're staggered randomly, so they don't all happen at once.
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"The only inherent sin in society lies in hurting others
unnecessarily. Hurting yourself in not sinful - just dumb."
-- Robert Heinlein
next prev parent reply other threads:[~2010-07-14 1:11 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-12 14:46 Atom Smasher
2010-07-12 15:35 ` Sebastian Stark
2010-07-12 16:10 ` Joke de Buhr
2010-07-12 16:17 ` Vincent Lefevre
2010-07-12 15:37 ` Joke de Buhr
2010-07-12 15:45 ` Joke de Buhr
2010-07-12 16:01 ` Frank Terbeck
2010-07-12 16:15 ` Vincent Lefevre
2010-07-12 16:18 ` Vincent Lefevre
2010-07-12 16:31 ` Joke de Buhr
2010-07-12 16:43 ` Vincent Lefevre
2010-07-12 16:22 ` Sebastian Stark
2010-07-12 16:39 ` Vincent Lefevre
2010-07-12 16:47 ` Frank Terbeck
2010-07-13 13:02 ` Atom Smasher
2010-07-13 14:29 ` Benjamin R. Haskell
2010-07-13 15:28 ` Atom Smasher
2010-07-13 17:01 ` Benjamin R. Haskell
2010-07-14 1:11 ` Atom Smasher [this message]
2010-07-14 11:45 ` Atom Smasher
2010-07-14 15:00 ` Atom Smasher
2010-07-13 13:43 ` François Revol
2010-07-20 14:01 ` Thorsten Kampe
2010-07-20 14:13 ` François Revol
2010-07-20 13:53 ` Thorsten Kampe
2010-07-20 14:07 ` François Revol
2010-07-21 8:34 ` Thorsten Kampe
2010-07-12 15:37 ` Vincent Lefevre
2010-07-12 16:06 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1007141309200.5546@smasher \
--to=atom@smasher.org \
--cc=zsh-users@zsh.org \
--cc=zsh@benizi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).