Path: utzoo!utgpu!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!csd4.milw.wisc.edu!bbn!mailrus!cornell!uw-beaver!rice!sun-spots-request From: aad@stpstn.UUCP (Anthony A. Datri) Newsgroups: comp.sys.sun Subject: Re: Hardcopy of console system Message-ID: <2717@stpstn.UUCP> Date: 20 Jan 89 23:07:35 GMT References: <8901111519.AA09900@rice.edu> Sender: usenet@rice.edu Organization: The Stepstone Corporation, Sandy Hook, CT Lines: 18 Approved: Sun-Spots@rice.edu Original-Date: 16 Jan 89 15:21:17 GMT X-Sun-Spots-Digest: Volume 7, Issue 114, message 11 of 18 The man page for cmdtool (under 4.0 at least) says that you can give it a program to run in the window, with a default of the SHELL variable or /usr/bin/sh. I've not tried it, but I would imagine you could set up a .sunview that would pipe that shell through tee, with the output going to a dedicated printer or perhaps even an lpd queue. It says "program" not "shell command line", so it might not like a |, so running a simple script with the necessary incantations should do it. Cmdtool also seems to let you save its text into a file, but that would require manual intervention and wouldn't help with crashes. None of this, of course, helps outside of suntools. Hacking your syslog.conf file will let you catch at least some of what you'd like to print. Or you could just give up these silly windowing systems, stick a DECwriter on there like G_d intended, and learn ed........ Anthony A. Datri @SysAdmin(Stepstone Corporation) aad@stepstone.com stpstn!aad