Home: dennou ruby home page
- A tool to execute DCL scripts at a remote server -
Remote-DCL is a Ruby script to execute a script at a remote server.
DCL calles in the script creates PNG images at the remote,
and send them to local and then display the images.
It avoids X connection between the local and the remote,
so could reduce execution time.
- At remote server
- Ruby libraries which are required in your script (including DCL)
- stdbuf command
- ssh server
xvfb-run command (optional)
- At local
Install / Download
You can install with rubygems
# gem install remote-dcl
You can get from the git repository
% git clone http://ruby.gfd-dennou.org/products/remote-dcl/remote-dcl.git
or the repository snapshot, remote-dcl-snapshot.tar.gz.
At remote server
If you do not use xvfb-run command,
you should lounch Xvfb server before execution of remote-dcl.
% Xvfb :99 -screen 0 640x480x8 -nolisten tcp
Note: xvfb-run command lounch Xvfb server internally, and the lounching is occuer at every execution of remote-dcl.
It takes some seconds, so lounching Xvfb server by your self reduces execution time of remote-dcl.
% remote-dcl [--display=] [--dir=] [--user] [--password] [--remote] server_name host_name [args]
server name at which the script is execued.
script name which is executed at the remote server
- display (optional)
x server number of Xvfb (e.g. --display=:99).
If this is ommited, xvfb-run comand is used.
- dir (optional)
directory name of the remote server at which the script is executed.
If this is ommited, the script is executed at the home directory.
- user (optional)
user name of remote server for ssh connection.
User name can be specified by username@server_name format as server_name
- password (optional)
password of user for ssh connection
If this is ommited, password is asked in prompt.
- remote (optional)
If --remote option is set, the script should be at the remote server,
otherwise at local.
Actions with key and mouse events are the followings:
- return key, space key, mouse click
go the next frame
- "s" key
skip wait and go the next frame automatically
- "q" key