Unix Programming - start a program on another virtual tty

This is Interesting: Free IT Magazines  
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:22 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-19, 1:33 am

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 .

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com