Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!ucbcad!ucbvax!MAHENDO.JPL.NASA.GOV!earle
From: earle@MAHENDO.JPL.NASA.GOV (Greg Earle)
Newsgroups: comp.windows.news
Subject: Non-dying psterm's for non-root users? ; screen dumps
Message-ID: <8712011210.AA02315@mahendo.Jpl.Nasa.Gov>
Date: Tue, 1-Dec-87 13:37:05 EST
Article-I.D.: mahendo.8712011210.AA02315
Posted: Tue Dec  1 13:37:05 1987
Date-Received: Fri, 4-Dec-87 22:13:17 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 36

Ever since I got NeWS, I'd been using it as `root'.  Then someone badgered
me to show them how to use NeWS, so I logged in as them, did my little
alias trick (set the environment, run the server, and do a clear_colormap
afterwords to clean up the garbage), and away we went.  First thing I discover
is that psterms don't go away when the shell inside is exited!  The shell
goes away (window blanks if one does a `Redisplay'), but the psterm window
stays around (it goes away as root).  You have to manually `Zap' the window,
and I discovered if you accidentally do this to the Console psterm, when you
exit NeWS the console hangs (can't get back to login shell).  Remotely killing
the psterms still lying around causes the login shell to die as well!  This
seems like a permissions problem of some sort, but I tried the various
combinations of setuid for the server and psterm, all to no avail.  I certainly
don't recall seeing this in the manuals anywhere (I installed the one binary
patch), so I'm completely at a loss ...

Whilest on the subject of screen dumps, does anyone have a general method
for doing them (under SunView, NeWS, or X)?  I wrote a shell script called
`dumpscreen' that would do `screendump', pass it to `rasfilter8to1' (anyone
notice that the 3.4 version of this does not match the manual page?  Try
the `choose dithering' option) if `/dev/cgtwo0' exists, then pass it to the
TranScript `pssun' with various option tweaks to get it almost full size (and
Landscape) on a LaserWriter.  On the color machines, it becomes hit or miss
whether the end product will be correct, and this has happened under all three
window systems.  Sometimes the symptoms are a `censored' all-black bar (or
bars) across certain parts of the output; other times in addition to the above
I get little replicated squished versions of the whole screen peppered across
the top of the `normal' screendump (along with the `censored' bars).  Once
in a while it works totally normally, but more often than not it doesn't.
This isn't really a NeWS question, but since it happens under NeWS, and
involves screen dumping to a PostScript filter, it's tangentially relevant ...
(I hope (-: )

	Greg Earle		earle@mahendo.JPL.NASA.GOV
	Gainfully unemployed	earle%mahendo@jpl-elroy.ARPA	[aka:]
				earle%mahendo@elroy.JPL.NASA.GOV
	Los Angeles, CA		...!cit-vax!elroy!jplgodo!mahendo!earle