[1232] in linux-announce channel archive
Xtoolwait 0.1 uploaded to sunsite
daemon@ATHENA.MIT.EDU (Lars Wirzenius)
Thu Nov 2 07:22:11 1995
Date: Thu, 26 Oct 1995 21:04:18 +0200
From: Lars Wirzenius <wirzeniu@cc.helsinki.fi>
To: linux-announce@vger.rutgers.edu
Reply-To: linux-announce-owner@vger.rutgers.edu
From: Richard Huveneers <richard@hekkihek.hacom.nl>
Subject: Xtoolwait 0.1 uploaded to sunsite
Approved: linux-announce@news.ornl.gov (Lars Wirzenius)
Newsgroups: comp.os.linux.announce
Followup-to: comp.os.linux.x
Organization: ?
-----BEGIN PGP SIGNED MESSAGE-----
Here's an excerpt from the README file:
*** Xtoolwait 0.1 ***
Richard Huveneers <richard@hekkihek.hacom.nl>
This utility notably decreases the startup time of your X sessions, provided
that you start a number of X clients automatically during the X session
startup.
Most people, for instance, start X clients like xterm, xclock, xconsole and
xosview from their .xinitrc, .openwin-init, .xtoolplaces or .xsession file.
These X clients are started simultaneously (in the background) which puts a
high load on the X server and the OS:
* The X server is not multi-threaded, so all X clients are competing to get
access to the X server and to use its resources, which causes a lot of
overhead (= delay).
* The performance of other (non X related) tasks served by the system degrades
badly due to the high load.
If the system has not enough RAM to hold all the X clients, it is swapping
heavily, resulting again in a lot of delay.
On the Sun platform there is a utility called 'toolwait' which solves these
problems: it starts one X client in the background, waits until it has mapped
a window and then exits.
So, I wanted a toolwait program for Linux too!
And I found one, included with my Slackware (2.1) distribution, which didn't
cure any of the above problems. I soon discovered that it was just a simple
shell script consisting of only these two lines:
#!/bin/sh
${1+"$@"}&
Then I found 'toolwait-0.9' written by Brandon S. Allbery. His program relies
on the XView libraries to receive events from the X server. For some reason
this method fails to detect about 50% of the X events, resulting in an equal
amount of time-outs.
So I decided to write Xtoolwait, guided by Brandon's source code.
The result is this small, clean utility which only uses standard Xlib calls
and works 100% for me.
I think it's a perfect clone of Sun's toolwait.
COPYRIGHT
Copyright (C) 1995 Richard Huveneers <richard@hekkihek.hacom.nl>
Xtoolwait is released under the GNU General Public License.
The full copyright notice is stated at the start of the source code.
SUPPORT
A friend of mine, Peter Bollerman <bollerma@math.ruu.nl>, has added support
for Xtoolwait to Xtoolplaces 1.3p3, in such a way that saved desktop
configurations will automatically be restored using Xtoolwait.
He also fixed the bug that causes a segmentation fault on ELF systems!
With Peter's permission, I have included his patch in this distribution.
To install his patch, you need the source code of Xtoolplaces 1.3p3, which is
not included in this distribution. Read the manual page after applying the
patch, in particular the description of the -w option.
[ end of excerpt from the README file ]
Here's the lsm file:
Begin3
Title: xtoolwait
Version: 0.1
Entered-date: 12OCT95
Description: Xtoolwait notably decreases the startup time of your X
sessions, provided that you start a number of X clients
automatically during the X session startup.
Xtoolwait starts one X client in the background,
waits until it has mapped a window and then exits.
Keywords: start client wait toolwait
Author: richard@hekkihek.hacom.nl (Richard Huveneers)
Maintained-by:
Primary-site: sunsite.unc.edu /pub/Linux/X11/xutils
14kB xtoolwait-0.1.tar.gz
Alternate-site: http://www.hacom.nl /~richard/software
Original-site:
Platforms:
Copying-policy: GPL
End
[ end of lsm file ]
For the security conscious people, I made a detached signature certificate
of the tar file (note: not the tar.gz file), which I include here:
- -----BEGIN PGP MESSAGE-----
Version: 2.6.2i
iQCVAwUAMI5ugifu8tzWJfSpAQF+gQQA6cKVNV6MeFX6U2VXGbh3VqTCQ8Q89h3f
zuoZ0/YygH7nw2thkJcC2St2F8I4XyPRlV3ksDetfVNIbEwNXvisTti9PG6vlQKp
8/s45jzPGJ03NBu//NfpdJFUPurzGAWO7RSAsBr4+HrtCJk4W1zVJR3b7vjx+n9Q
VrW4rj8JWUI=
=gL97
- -----END PGP MESSAGE-----
To check this certificate, you need my PGP public key which is available
by fingering richard@hacom.nl
Enjoy,
Richard Huveneers
<richard@hekkihek.hacom.nl>
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
iQCVAwUBMI/XfYQRll5MupLRAQGMGgQAitMziJb/ACdqfb4OZxD/m6INaJUp9HRN
XSxWRQ9DrkZo3WD2VxMvBZXzsQzxcO4EsaOJf8+bwKZV1/wJpM/do7nCaLCL2FN+
xBQAbTLJwBc5liX1UZgt7laB1+iAfd+p+0/uKsWG1K4/Sdv6CVJ1VmqSPIAJdTWM
60Hs2EZmans=
=EB43
-----END PGP SIGNATURE-----
--
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.