Home > Archive > Unix Programming > October 2007 > start a program on another virtual tty
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
start a program on another virtual tty
|
|
| Bin Chen 2007-10-18, 7:09 pm |
| Hi,
If I am currently login in tty /dev/console, then I want to start a
program in /dev/tty2, how can I do this? Assume I have root privilige.
Thanks.
Bin
| |
| fjblurt@yahoo.com 2007-10-18, 10:10 pm |
| On Oct 18, 4:40 pm, Bin Chen <binary.c...@gmail.com> wrote:
> Hi,
>
> If I am currently login in tty /dev/console, then I want to start a
> program in /dev/tty2, how can I do this? Assume I have root privilige.
There is a program called `open' which does exactly that. I know
there are packages for Linux and FreeBSD. The source code can be
found at ftp://ftp.hs-niederrhein.de/pub/lin...open-1.4.tar.gz .
|
|
|
|
|