Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!ginosko!uunet!munnari.oz.au!murtoa.cs.mu.oz.au!ditmela!yarra!melba!baby!gnb
From: gnb@bby.oz (Gregory N. Bond)
Newsgroups: comp.unix.questions
Subject: Re: Console Redirection
Message-ID: 
Date: 2 Oct 89 08:26:36 GMT
References: <1989Sep28.203238.5916@ux1.cso.uiuc.edu>
Sender: gnb@melba.bby.oz
Organization: Burdett, Buckeridge and Young Ltd.
Lines: 21
In-reply-to: garyf@mehlville.ncsa.uiuc.EDU's message of 28 Sep 89 20:32:38 GMT

In article <1989Sep28.203238.5916@ux1.cso.uiuc.edu>
		garyf@mehlville.ncsa.uiuc.EDU (Gary Faulkner) writes:

   I heard that berkeley has developed a program which redirects ALL
   output which would go to the console to a file.  Has anyone heard
   of that, and/or does anyone know where I might get the source?

I wrote a little hack to do this on our Sun server.  As long as your
tty driver has a TIOCCONS become-the-console ioctl, and ptys, then it
should work.  It is in the sunspots archive, under the name
consolelog.shar (I think) on titan.rice.edu.  If there is interest, I
can post it to comp.sources.unix etc.  I'd rather not mail hundreds of
copies across the pacific, however....

Greg.


--
Gregory Bond, Burdett Buckeridge & Young Ltd, Melbourne, Australia
Internet: gnb@melba.bby.oz.au    non-MX: gnb%melba.bby.oz@uunet.uu.net
Uucp: {uunet,pyramid,ubc-cs,ukc,mcvax,prlb2,nttlab...}!munnari!melba.bby.oz!gnb