[comp.windows.x] New X stuff

edmoy%opal.Berkeley.EDU@UCBVAX.BERKELEY.EDU.UUCP (02/18/87)

Well I finally clean out some of the various X programs I've been mucking
with and installed them on prang.Berkeley.EDU (128.32.152.59).  There are 6
new directories:

	tek2ps
	xaccessories
	xclock.edmoy
	xinit.edmoy
	xps
	xterm.edmoy-6.6B

Following are parts of each README file.  Enjoy.

Edward Moy
Academic Computing Services
University of California
Berkeley, CA  94720

edmoy@opal.Berkeley.EDU
ucbvax!opal!edmoy

======================== tek2ps =============================
tek2ps - convert Tektronix 4015 escape sequences to PostScript
======================== xaccessories =============================
xaccessories - start up X accessories at boot time

This program is used to start up various X accessories (like clocks and window
managers) at boot time.  It is usually run from /etc/rc.local, but may be
run manually.  It has two commandline options, the display (mandatory)
and an optional "-f filename" to read other than the default file
/usr/local/lib/X/Xaccessories.  The DISPLAY environment variable is set
before exec-ing anything.  The file is executed (for csh scripts, make the
file executable and use "#! /bin/csh") if possible, otherwise it is given
to /bin/sh to read.

For security, certain hacks to other programs (like uwm, screensaver and
xclock) were made so that this was reasonable and not a security hole, since
the programs run as root.  The xclock with alarms has a "-L tty" option
to figure out who's ~/.Xclock to read.  Uwm with the "-L tty" won't
execute commands from the menu unless some is logged in the tty, and then
does setuid to that person.  And screensaver with the "-L tty" option
will not lock unless someone is logged in.
======================== xclock.edmoy =============================
xclock - X window closk program with alarm feature.

This yet-another-version of the xclock has an alarm feature built in.  It's
not too sophisticated, but adequate for most uses.  See the manual page for
information.
======================== xinit.edmoy =============================
xinit - manually start up X system, with automatic start up file.

This version of xinit does that proper setuid before executing the appropriate
program (xterm by default).  It knows (to a degree) about multiple displays
and sets the DISPLAY environment variable before exec-ing other things.
If the file ~/.Xinit exists, it executes it if it is executable (for csh
scripts, use #! /bin/csh) or else uses /bin/sh to read it.  All these processes
(including the initial xterm or whatever) is put in a separate process group.
When this xterm exits, xinit sends a SIGTERM to the process group.
======================== xps =============================
xps - X window to PostScript converter.

This program converts a X window dump to PostScript.  It has supports most
of the options that xpr does (except -device and -split) and has many of
same problems as xpr.  It was originally based on V10R3 of xpr and I haven't
had the time (nor desire) to upgrade this to R4.

The main problem with xps is that PostScript is slow and large windows
may take 10 to 15 minutes to print.
======================== xterm.edmoy-6.6B =============================
This is version X10/6.6B of xterm, the VT102/Tektronix 4014 terminal emulator.
This version has many bug fixes to the 6.6A and 6.6A2 version from MIT.  Most
notable differences is that titlebar and active icon are off now by default,
so -tb means turn on the titlebar (like in previous versions).  The -bi option
has been replace with the -ai (turn on active icon).