Just how "virtual" is a virtual console?
I made a patch that implements an ioctl() to reliably stuff input into
a virtual console as if entered from the keyboard. It works with each
individual virtual console separately. Different ones can be fed into
simultaneously, and they do not have to be activated to the physical
console for it to work. A program simply opens the virtual console
read/only and calls the ioctl() with a string of input. Read access
is required for the ioctl() to succeed, as well as enough space.
The thing is, no use of the physical console is made. But do I have to
actually have a physical console for a virtual console to work, given
that nothing happens on the physical console unless the active virtual
console is ths selected one.
If a machine had no physical video/keyboard console at all, what would
be wrong with still having all the virtual consoles?
--
-----------------------------------------------------------------
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
-----------------------------------------------------------------