Index of /software/ajaxterm

Ajaxterm

Since Mon Feb 28 03:22:42 CET 2011, hosted here:

github.com/antonylesuisse/qweb

Intro

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. Ajaxterm is '''very simple to install''' on Linux, MacOS X, FreeBSD, Solaris,
cygwin and any Unix that runs python2.3. Ajaxterm was written by Antony Lesuisse (email: al AT udev.org), License Public
Domain.

News

 - 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

Download and Install

 - Release: /ajaxterm/files/Ajaxterm-0.10.tar.gz

To install Ajaxterm issue the following commands:

    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/

Screenshot

Documentation and Caveats

 * 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. * By default Ajaxterm only listen at 127.0.0.1:8022. For remote access, it is
strongly recommended to use '''https SSL/TLS''', and that is simple to
configure if you use the apache web server using mod_proxy.[[BR]][[BR]]
Using ssl will also speed up ajaxterm (probably because of keepalive).[[BR]][[BR]]
Here is an configuration example: Listen 443
NameVirtualHost *:443 <VirtualHost *:443>
ServerName localhost
SSLEngine On
SSLCertificateKeyFile ssl/apache.pem
SSLCertificateFile ssl/apache.pem ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /ajaxterm/ http://localhost:8022/
ProxyPassReverse /ajaxterm/ http://localhost:8022/
</VirtualHost> * 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
any proxy). I usually enable it after the login. * 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 * Ajaxterm was first written as a demo for qweb (my web framework), but
actually doesn't use many features of qweb. * Compared to anyterm:
* There are no partial updates, ajaxterm updates either all the screen or
nothing. That make the code simpler and I also think it's faster. HTTP
replies are always gzencoded. When used in 80x25 mode, almost all of
them are below the 1500 bytes (size of an ethernet frame) and we just
replace the screen with the reply (no javascript string handling).
* Ajaxterm polls the server for updates with an exponentially growing
timeout when the screen hasn't changed. The timeout is also resetted as
soon as a key is pressed. Anyterm blocks on a pending request and use a
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).

TODO

 * insert mode ESC [ 4 h
* change size x,y from gui (sending signal)
* vt102 graphic codepage
* use innerHTML or prototype instead of sarissa
 Name                    Last modified      Size  Description

Parent Directory -
HEADER.html 28-Feb-2011 03:26 5.1K
files/ 13-Nov-2008 17:55 -
scr.png 31-Mar-2006 21:52 64K

最新文章

  1. C# 设置Excel打印选项及打印excel文档
  2. jstl中格式化时间戳
  3. 掌握Redmine
  4. CocoaPods安装教程
  5. MSSQL 2012 拒绝了对对象 &#39;extended_properties&#39; (数据库 &#39;mssqlsystemresource&#39;,架构 &#39;sys&#39;)的 SELECT 权限
  6. C++基于TCP和UDP的socket通信
  7. ALTER SEQUENCE 修改序列解决唯一约束冲突 unique constraint violated
  8. More Effective C++ (1)
  9. ccc
  10. zoj 3777 Problem Arrangement
  11. 天底下最简单的QT画图板,就一个类,60行代码
  12. swift学习二:基本的语法
  13. CodeForces Round #179 (295A) - Greg and Array 一个线段树做两次用
  14. Android Studio 新建项目的R文件丢失的解决方法
  15. Maven-项目构建技术(工具)
  16. BZOJ 1835: [ZJOI2010]base 基站选址(DP,线段树)
  17. Axure实现多用户注册验证
  18. 经典算法二分查找循环实现Java版
  19. 9.28 Django博客项目(一)
  20. Spring Boot 实现RESTful webservice服务端示例

热门文章

  1. Java_1Lesson
  2. ul不加宽高
  3. MySQL存储引擎:InnoDB和MyISAM的差别/优劣评价/评测/性能测试
  4. HDU ACM 1098 Ignatius&amp;#39;s puzzle
  5. extjs_04_grid(弹出窗口&amp;amp;行编辑器 CRUD数据)
  6. QT+vs2010下改变可执行程序的图标
  7. Spring Session - Spring Boot
  8. 例解 autoconf 和 automake 生成 Makefile 文件
  9. spring mvc接收JSON格式的参数
  10. 循环json数据的列