[Gllug] Getting the current VT

Mike Brodbelt mike at coruscant.demon.co.uk
Sat Apr 9 23:00:42 UTC 2005


Very quick question - does anyone know how to get the value of the
current virtual terminal from a script?

The console-tools packge provides chvt, writevt, deallocvt, and
vt-is-UTF8 to enable you to easily switch consoles and remove them and
things, but there's no immediately obvious way to get the value of the
one that currently on-screen.

Mike.

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list