[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

simulation of multiple shells

dmatrix00d

7/3/2006 8:59:00 PM

Hi,

I am relatively new to rails as well as ruby. Does anyone know how you
would go about simulating a shell in a web app. For example if i type
blah.exe, which prints "hi" to standard out every 10 seconds, I will
have the browser printing that hi every 10 seconds.

Essentially, I will want to expand that to multiple windows (using the
prototype window class http://prototype-window.xi...) all
running things similar to blah.exe, updating their pages through AJAX.
However, I do not know how to do it with just one window right now.

If anyone can just tell me how to do it with just one browser view,
that will be of much help.

thank you

1 Answer

ashishwave

7/4/2006 2:35:00 PM

0

i can only say, that (nothing related to ruby) you can find its example
in webmin (which is written in perl), which has one module which does
exactly that
bye :-)
Ashish Ranjan
ashishwave@yahoo.com

Erich Lin wrote:
> Hi,
>
> I am relatively new to rails as well as ruby. Does anyone know how you
> would go about simulating a shell in a web app. For example if i type
> blah.exe, which prints "hi" to standard out every 10 seconds, I will
> have the browser printing that hi every 10 seconds.
>
> Essentially, I will want to expand that to multiple windows (using the
> prototype window class http://prototype-window.xi...) all
> running things similar to blah.exe, updating their pages through AJAX.
> However, I do not know how to do it with just one window right now.
>
> If anyone can just tell me how to do it with just one browser view,
> that will be of much help.
>
> thank you