Re: LINUX EUPHORIA QUESTION ?
Chris Burch wrote:
>
> Hi
>
> Quick experiment.
>
> Open two terminals.
>
> In each termianl type ps - this will give you the console name of each
> terminal
>
> eg, two terms ps gives
> 29250 pts/198 00:00:00 ps
>
> and
> 29322 pts/199 00:00:00 ps
>
> in second terminal (pts/199) type
> echo "Hi" > /dev/pts/198
>
> This should send Hi from 199 to 198
>
> Perhaps you could use this to open a console, use ps to get the terms name,
> etc.
Thanks Chris and Guillermo !
What I finally did was:
system(" xterm -C +sb -title \"MOTOR'S X-WINDOW DEMO\" &", 2)
system(" date >/dev/console",2)
Bernie
My files in archive:
w32engin.ew mixedlib.e eu_engin.e win32eru.exw
Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan
|
Not Categorized, Please Help
|
|