[Gllug] /dev/console
Simon Faulkner
simon at titanic.co.uk
Mon May 19 17:12:00 UTC 2003
Gentlemen,
Thank you for your answers I am sorted :-)
I am also stunned at how much you can do with bash!
I've not used it for more than piping a few commands before and not I have
written a whole program :-)
Simon
-----Original Message-----
From: gllug-admin at linux.co.uk [mailto:gllug-admin at linux.co.uk]On Behalf
Of Paul Nasrat
Sent: 19 May 2003 11:25
To: gllug at linux.co.uk
Subject: Re: [Gllug] /dev/console
On Mon, May 19, 2003 at 09:31:19AM +0100, John Hearns wrote:
> Or maybe autologin a user with a very restricted shell and use write?
You don't need to login, you can just run something direct from init.
open or openvt seem to do the job.
http://www.luv.asn.au/overheads/virtualconsoles.html
Conversely you could get your application to use syslog using one of the
local syslog levels and get it to go to a tty by adding a line to
syslog.conf
eg local0.* /dev/tty10
They nice thing about openvt is that it can switch to the console so you
could get it to tail a file or something.
Paul
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list