[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Virtual terminal



loft (loft@colba.net) wrote:

> I am student and have to explain how a virtual functions, how a software could be designed so that a programm would print output to a virtual terminal.

Do you mean the virtual consoles which you can flip between with Alt-F2
and so on?

If so, these are just device files -- /dev/tty1, /dev/tty2, etc.

As root, try something like this:

  echo hello, world >/dev/tty6

-- 
Greg Wooledge                    | "Truth belongs to everybody."
wooledge@kellnet.com             |   Red Hot Chili Peppers,
http://www.kellnet.com/wooledge/ |

Attachment: pgpap77x1stQ9.pgp
Description: PGP signature


Reply to: