Hardcopy of console system

Anthony A. Datri aad at stpstn.UUCP
Sat Jan 21 09:07:35 AEST 1989


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 at stepstone.com stpstn!aad



More information about the Comp.sys.sun mailing list