3 <TITLE>mass:werk termlib</TITLE>
5 <STYLE TYPE="text/css">
7 font-family: courier,fixed,swiss,sans-serif;
18 font-family: courier,fixed,swiss,sans-serif;
24 font-family: courier,fixed,swiss,sans-serif;
30 font-family: courier,fixed,swiss,sans-serif;
35 text-decoration: none;
39 text-decoration: underline;
43 text-decoration: underline;
48 body { background-color: #ffffff; }
50 font-family: courier,fixed,swiss,sans-serif;
61 font-family: courier,fixed,swiss,sans-serif;
67 font-family: courier,fixed,swiss,sans-serif;
72 text-decoration: none;
76 text-decoration: underline;
80 text-decoration: underline;
88 <BODY BGCOLOR="#222222" LINK="#77dd11" TEXT="#cccccc" ALINK="#dddddd" VLINK="#77dd11"
89 TOPMARGIN="0" BOTTOMMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0"><A NAME="top"></A>
91 <TABLE BORDER="0" CELLSPACING="20" CELLPADDING="0" ALIGN="center">
93 <TD NOWRAP>termlib.js home</TD>
95 <TD NOWRAP><A HREF="multiterm_test.html">multiple terminal test</A></TD>
97 <TD NOWRAP><A HREF="parser_sample.html">sample parser</A></TD>
99 <TD NOWRAP><A HREF="faq.html">faq</A></TD>
101 <TD NOWRAP><A HREF="readme.txt" TITLE="readme.txt (text/plain)">documentation</A></TD>
105 <TABLE BORDER="0" CELLSPACING="20" CELLPADDING="0" WIDTH="700" ALIGN="center">
107 <H1>mass:werk termlib.js</H1>
109 <TR><TD CLASS="lh13">
110 The JavaScript library "termlib.js" provides a `Terminal' object, which
111 facillitates a simple and object oriented approach to generate and control a
112 terminal-like interface for web services.<BR><BR>
114 "termlib.js" features direct keyboard input and powerful output methods
115 for multiple and simultanious instances of the `Terminal' object.<BR><BR>
117 The library was written with the aim of simple usage and a maximum of compatibility
118 with minimal foot print in the global namespace.<BR><BR><BR>
123 var term = new Terminal( {handler: termHandler} );
126 function termHandler() {
128 var line = this.lineBuffer;
129 if (line != "") {
130 this.write("You typed: "+line);
136 <TR><TD CLASS="lh13">
137 <B>License</B><BR><BR>
139 This JavaScript-library is <U>free for private and academic use</U>.
140 Please include a readable copyright statement and a backlink to <http://www.masswerk.at> in the
141 web page. The library should always be accompanied by the "readme.txt" and the sample HTML-documents.<BR><BR>
143 The term "private use" includes any personal or non-commercial use, which is not related
144 to commercial activites, but excludes intranet, extranet and/or public net applications
145 that are related to any kind of commercial or profit oriented activity.<BR><BR>
147 For commercial use see <<A HREF="http://www.masswerk.at/" TARGET="_blank">http://www.masswerk.at</A>> for contact information.
149 <TR><TD CLASS="lh13">
150 <B>Distribution</B><BR><BR>
152 This JavaScript-library may be distributed freely as long it is distributed together with the "readme.txt" and the sample HTML-documents and this document.<BR><BR>
154 Any changes to the library should be commented and be documented in the readme-file.<BR>
155 Any changes must be reflected in the `Terminal.version' string as "Version.Subversion (compatibility)".
157 <TR><TD CLASS="lh13">
158 <B>Disclaimer</B><BR><BR>
160 This software is distributed AS IS and in the hope that it will be useful, but WITHOUT ANY
161 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
162 PURPOSE. The entire risk as to the quality and performance of the product is borne by the
163 user. No use of the product is authorized hereunder except under this disclaimer.
165 <TR><TD CLASS="lh13">
166 <B>History</B><BR><BR>
168 This library evolved from the terminal script "TermApp" ((c) N. Landsteiner 2003) and is in its
169 current form a down scaled spinn-off of the "JS/UIX" project. (JS/UIX is not a free software by now.)
170 c.f.: <<A HREF="http://www.masswerk.at/jsuix/" TARGET="_blank">http://www.masswerk.at/jsuix</A>><BR><BR>
172 For version history: see the <A HREF="readme.txt">readme.txt</A>.
174 <TR><TD CLASS="lh13">
176 <B>Download</B><BR><BR>
177 Be sure to have read the license information and the disclamer and that you are willing to respect copyrights.<BR><BR>
179 <SPAN CLASS="prop">Download:</SPAN> <A HREF="termlib.zip">termlib.zip</A> (~ 40 KB, incl. docs)<BR><BR>
180 Current version is "1.07 (original)".<BR>
181 The files are now provided with line breaks in format <CRLF>.<BR>
184 <TR><TD CLASS="lh13">
185 <B>Author</B><BR><BR>
186 © Norbert Landsteiner 2003-2005<BR>
187 mass:werk – media environments<BR>
188 <A HREF="http://www.masswerk.at/" TARGET="_blank">http://www.masswerk.at</A>
190 <TR><TD CLASS="lh13">
193 Please do not contact me on questions of simple usage. There is an extensive documentation (readme.txt) including plenty of sample code that should provide all information you need.
195 <TR><TD CLASS="lh13">
197 <A HREF="#top">> top of page</A>
199 <TR><TD CLASS="lh13">
204 <DIV ID="termDiv" STYLE="position:absolute; top:20px; left:100px;"></DIV>