Remoty
2014/11/23 (v.3.0)
2014/10/30 (v.2.1)
2007/10/16 (v.1.1)
2007/09/24
Summary Of Update
ver.3.1
- multi-files drag&drop
- english menu support
ver.3.0
- refreshed code and looks
- improved user's interface
- full HTML5 (discarded frame tags in previous version)
ver.2.1
- supports “drag&drop upload”
- the form of CGI handler is made simpler.
What Is Remoty ?
Abstract
Remoty is a home page management tool that runs on Plan9/Pegasus.
The user interface is based on web browser. Using Remoty we can do:
- creating web pages using HTML and/or Ptt*.
- sending files to the server.
- deleting, copying and moving files and directory
- executing commands
Note*: Ptt is a handy tool to create web pages. Look the document. You can find many many examples in this web site because all pages except very old ones are written using Ptt.
Ptt converts “foo.tt” to “foo.html”. Original “tt” files are left on this site, therefore you can get them using the URL, for example, “http://plan9.aichi-u.ac.jp/index.tt”.
Text Editing on Server
- you can confirm the effect directly on Web browser without unloading the contents using tools such as ftp or ssh.
- you can input TAB code.
- textarea is automatically resized when window size is changed.
One of screen shots is shown below.
Fig.1: one of the screen shots
Remoty supports neat text editor that enables
- string search/replace
- indentation
- line number search/detection
Fig.2: screen shot of “more”
NOTE: For English menu, replace:
lang=jp #lang=en
#lang=jp lang=en
File management
Remoty support GUI operation for primer.
Fig.3: file management screen.
The directory menu contains:
- file/directory removal
- file/directory copy
- file/directory migration
- directory creation
- file uploading
Drag&Drop Upload
Drop a file to the left area that lists files.Dropping of multiple files is supported. (ver.3.1)
Directory dropping is not supported.
If there is a file of same name in the dropping area, then the alert panel inquires to stop or to continue.
Fig.4: Drag&Drop
Command Execution
You can execute system command using shell script.Therefore it is possible to execute complex command.
Fig.5: screen shot of the command execution.
Interface to Ptt
Remoty has a interface to Ptt.
Installation
The Source
Remoty is located at
http://plan9.aichi-u.ac.jp/netlib/webappls/
Setting
The following entry is required in CGI handler.
/remoty/* - + /bin/remoty /doc
Don't foreget to set password to remoty.
Prerequisite
For remoty to work, you need
where “ptt” is a HTML builder written in Lua-5.2.
Since Remoty has many dependency and the installation is onerous,
I provided a command netget
. Using this command we can install Remoty by a single command
netget -i remoty
Netget command is located in http:/netlib/netget/
Remoty uses “miniajax1.js” that is located at:
/bin
, and miniajax1.js
in /doc/lib/
. They are all in httpd name space.My case is shown as an example:
- /usr/web/bin/rc/
remoty
,formparse
,hfmt
,urldecode
- /usr/local/bin/rc/
cpdir
,ptt
,rit
- /usr/arisawa/www/doc/lib/
miniajax1.js
Usage
My case:http://ar.aichi-u.ac.jp/remoty/
http://ar.aichi-u.ac.jp/~arisawa/remoty/
/
”.
Browsers and Their Problems
The following browsers are known to work.- Chrome
- Firefox
- IE 11.0
- Safari
- Opera
Starting
You may observe a message:too many redirect
Try
- remove cache
- continue loading
not saved
Save menu in editing window may not work for spacial case.(If save menu is working, you will see the letter “Remoty” moves a bit when saved.)
I observed this problem on Linux/Chrome.
Removing cache will resolve the problem.
Drag and Drop
Linux/Chrome: filereader formdata not supported