Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

m

  • Loading branch information...
commit 824c22c6efbfe4eaa2217276b82953da2abc68f2 1 parent 321ccf1
wis authored
Showing with 105 additions and 87 deletions.
  1. +39 −36 Makefile
  2. +66 −51 ajaxterm/README.txt
75 Makefile
View
@@ -18,39 +18,42 @@ push:
repack:
git-repack -a -d
-tgz:
- mkdir dist || true
- # Build
- rm README.txt || true
- cd python; python2.3 setup.py bdist_egg
- cd python; python2.4 setup.py bdist_egg
- # copy files
- cp python/dist/*.egg dist
- # clean build
- find . -iname '*.pyc' -exec rm -v '{}' ';'
- rm -Rf python/build python/dist python/QWeb.egg-info || true
- # Source
- mkdir ${SRCDIR} || true
- cp -r Makefile python ${SRCDIR}
- tar czf dist/${SRCTGZ} --owner=0 --group=0 --exclude=\*.pyc --exclude=.svn ${SRCDIR}
- rm -Rf ${SRCDIR}
- # AjaxTerm
- mkdir ${ATDIR} || true
- cp python/qweb/qweb.py ${ATDIR}
- cp ajaxterm/R*.txt ajaxterm/[a-z]* ${ATDIR}
- tar czf dist/${ATTGZ} ${ATDIR}
-
-dist: tgz
- # cleanup
- rm -Rf ${SRCDIR} ${DEMODIR} ${ATDIR}
-
-pub: tgz
- # publish
-ifeq ($(USER),wis)
- rsync -av dist/ wis@udev.org:sites/antony.lesuisse.org/public/qweb/files/
- rm -Rf ${SRCDIR} ${DEMODIR} ${ATDIR}
- ./tracsave.py 'http://antony.lesuisse.org/qweb/trac/wiki/WikiStart' 'README.txt'
- ./tracsave.py 'http://antony.lesuisse.org/qweb/trac/wiki/QwebPython' 'python/README-wiki.txt'
- ./tracsave.py 'http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm' 'ajaxterm/README.txt'
-endif
-
+pub:
+ rsync -av ajaxterm/README.txt wis@udev.org:sites/antony.lesuisse.org/public/software/ajaxterm/HEADER.html
+
+#tgz:
+# mkdir dist || true
+# # Build
+# rm README.txt || true
+# cd python; python2.3 setup.py bdist_egg
+# cd python; python2.4 setup.py bdist_egg
+# # copy files
+# cp python/dist/*.egg dist
+# # clean build
+# find . -iname '*.pyc' -exec rm -v '{}' ';'
+# rm -Rf python/build python/dist python/QWeb.egg-info || true
+# # Source
+# mkdir ${SRCDIR} || true
+# cp -r Makefile python ${SRCDIR}
+# tar czf dist/${SRCTGZ} --owner=0 --group=0 --exclude=\*.pyc --exclude=.svn ${SRCDIR}
+# rm -Rf ${SRCDIR}
+# # AjaxTerm
+# mkdir ${ATDIR} || true
+# cp python/qweb/qweb.py ${ATDIR}
+# cp ajaxterm/R*.txt ajaxterm/[a-z]* ${ATDIR}
+# tar czf dist/${ATTGZ} ${ATDIR}
+#
+#dist: tgz
+# # cleanup
+# rm -Rf ${SRCDIR} ${DEMODIR} ${ATDIR}
+#
+#pub: tgz
+# # publish
+#ifeq ($(USER),wis)
+# rsync -av dist/ wis@udev.org:sites/antony.lesuisse.org/public/qweb/files/
+# rm -Rf ${SRCDIR} ${DEMODIR} ${ATDIR}
+# ./tracsave.py 'http://antony.lesuisse.org/qweb/trac/wiki/WikiStart' 'README.txt'
+# ./tracsave.py 'http://antony.lesuisse.org/qweb/trac/wiki/QwebPython' 'python/README-wiki.txt'
+# ./tracsave.py 'http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm' 'ajaxterm/README.txt'
+#endif
+#
117 ajaxterm/README.txt
View
@@ -1,47 +1,62 @@
-= [http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm Ajaxterm] =
+<h1>Ajaxterm</h1>
+<h2>Intro</h2>
+<pre>
Ajaxterm is a web based terminal. It was totally inspired and works almost
exactly like http://anyterm.org/ except it's much easier to install (see
comparaison with anyterm below).
-Ajaxterm written in python (and some AJAX javascript for client side) and depends only on python2.3 or better.[[BR]]
-Ajaxterm is '''very simple to install''' on Linux, MacOS X, FreeBSD, Solaris, cygwin and any Unix that runs python2.3.[[BR]]
-Ajaxterm was written by Antony Lesuisse (email: al AT udev.org), License Public Domain.
+Ajaxterm written in python (and some AJAX javascript for client side) and
+depends only on python2.3 or better.
-Use the [/qweb/forum/viewforum.php?id=2 Forum], if you have any question or remark.
+Ajaxterm is '''very simple to install''' on Linux, MacOS X, FreeBSD, Solaris,
+cygwin and any Unix that runs python2.3.
-== News ==
+Ajaxterm was written by Antony Lesuisse (email: al AT udev.org), License Public
+Domain.
+</pre>
- * 2006-10-29: v0.10 allow space in login, cgi launch fix, redhat init
- * 2006-07-12: v0.9 change uid, daemon fix (Daniel Fischer)
- * 2006-07-04: v0.8 add login support to ssh (Sven Geggus), change max width to 256
- * 2006-05-31: v0.7 minor fixes, daemon option
- * 2006-05-23: v0.6 Applied debian and gentoo patches, renamed to Ajaxterm, default port 8022
+<!-- ====================================================== -->
-== Download and Install ==
+<h2>News</h2>
+<pre>
+ - 2008-11-13: v0.11 switch to git, apply minor patches
+ - 2006-10-29: v0.10 allow space in login, cgi launch fix, redhat init
+ - 2006-07-12: v0.9 change uid, daemon fix (Daniel Fischer)
+ - 2006-07-04: v0.8 add login support to ssh (Sven Geggus), change max width to 256
+ - 2006-05-31: v0.7 minor fixes, daemon option
+ - 2006-05-23: v0.6 Applied debian and gentoo patches, renamed to Ajaxterm, default port 8022
+</pre>
- * Release: [/qweb/files/Ajaxterm-0.10.tar.gz Ajaxterm-0.10.tar.gz]
- * Browse src: [/qweb/trac/browser/trunk/ajaxterm/ ajaxterm/]
+<!-- ====================================================== -->
+
+<h2>Download and Install</h2>
+<pre>
+
+ - Release: /ajaxterm/files/Ajaxterm-0.10.tar.gz
To install Ajaxterm issue the following commands:
-{{{
-wget http://antony.lesuisse.org/qweb/files/Ajaxterm-0.10.tar.gz
-tar zxvf Ajaxterm-0.10.tar.gz
-cd Ajaxterm-0.10
-./ajaxterm.py
-}}}
+
+ wget http://antony.lesuisse.org/ajaxterm/files/Ajaxterm-0.10.tar.gz
+ tar zxvf Ajaxterm-0.10.tar.gz
+ cd Ajaxterm-0.10
+ ./ajaxterm.py
+
Then point your browser to this URL : http://localhost:8022/
+</pre>
-== Screenshot ==
+<!-- ====================================================== -->
-{{{
-#!html
-<center><img src="/qweb/trac/attachment/wiki/AjaxTerm/scr.png?format=raw" alt="ajaxterm screenshot" style=""/></center>
-}}}
+<h2>Screenshot</h2>
-== Documentation and Caveats ==
+<img src="scr.png" alt="ajaxterm screenshot"/>
- * Ajaxterm only support latin1, if you use Ubuntu or any LANG==en_US.UTF-8 distribution don't forget to "unset LANG".
+<!-- ====================================================== -->
+
+<h2>Documentation and Caveats</h2>
+<pre>
+ * Ajaxterm only support latin1, if you use Ubuntu or any LANG==en_US.UTF-8
+ distribution don't forget to "unset LANG".
* If run as root ajaxterm will run /bin/login, otherwise it will run ssh
localhost. To use an other command use the -c option.
@@ -52,25 +67,23 @@ Then point your browser to this URL : http://localhost:8022/
Using ssl will also speed up ajaxterm (probably because of keepalive).[[BR]][[BR]]
Here is an configuration example:
-{{{
Listen 443
NameVirtualHost *:443
- <VirtualHost *:443>
+ &lt;VirtualHost *:443&gt;
ServerName localhost
SSLEngine On
SSLCertificateKeyFile ssl/apache.pem
SSLCertificateFile ssl/apache.pem
ProxyRequests Off
- <Proxy *>
+ &lt;Proxy *&gt;
Order deny,allow
Allow from all
- </Proxy>
+ &lt;/Proxy&gt;
ProxyPass /ajaxterm/ http://localhost:8022/
ProxyPassReverse /ajaxterm/ http://localhost:8022/
- </VirtualHost>
-}}}
+ &lt;/VirtualHost&gt;
* Using GET HTTP request seems to speed up ajaxterm, just click on GET in the
interface, but be warned that your keystrokes might be loggued (by apache or
@@ -78,21 +91,19 @@ Then point your browser to this URL : http://localhost:8022/
* Ajaxterm commandline usage:
-{{{
-usage: ajaxterm.py [options]
-
-options:
- -h, --help show this help message and exit
- -pPORT, --port=PORT Set the TCP port (default: 8022)
- -cCMD, --command=CMD set the command (default: /bin/login or ssh localhost)
- -l, --log log requests to stderr (default: quiet mode)
- -d, --daemon run as daemon in the background
- -PPIDFILE, --pidfile=PIDFILE
- set the pidfile (default: /var/run/ajaxterm.pid)
- -iINDEX_FILE, --index=INDEX_FILE
- default index file (default: ajaxterm.html)
- -uUID, --uid=UID Set the daemon's user id
-}}}
+ usage: ajaxterm.py [options]
+
+ options:
+ -h, --help show this help message and exit
+ -pPORT, --port=PORT Set the TCP port (default: 8022)
+ -cCMD, --command=CMD set the command (default: /bin/login or ssh localhost)
+ -l, --log log requests to stderr (default: quiet mode)
+ -d, --daemon run as daemon in the background
+ -PPIDFILE, --pidfile=PIDFILE
+ set the pidfile (default: /var/run/ajaxterm.pid)
+ -iINDEX_FILE, --index=INDEX_FILE
+ default index file (default: ajaxterm.html)
+ -uUID, --uid=UID Set the daemon's user id
* Ajaxterm was first written as a demo for qweb (my web framework), but
actually doesn't use many features of qweb.
@@ -109,12 +120,16 @@ options:
parallel connection for keypresses. The anyterm approch is better
when there aren't any keypress.
- * Ajaxterm files are released in the Public Domain, (except [http://sarissa.sourceforge.net/doc/ sarissa*] which are LGPL).
+ * Ajaxterm files are released in the Public Domain, (except
+ [http://sarissa.sourceforge.net/doc/ sarissa*] which are LGPL).
+</pre>
-== TODO ==
+<!-- ====================================================== -->
+<h2>TODO</h2>
+<pre>
* insert mode ESC [ 4 h
* change size x,y from gui (sending signal)
* vt102 graphic codepage
* use innerHTML or prototype instead of sarissa
-
+</pre>
Please sign in to comment.
Something went wrong with that request. Please try again.