New web for 0.4.1
authorviric@mandarina
Mon, 28 Apr 2008 21:39:46 +0200
changeset 91 af6b072bb025
parent 90 f172b95795d8
child 92 faf9db07c037
New web for 0.4.1
web/index.html
--- a/web/index.html	Mon Apr 28 21:37:25 2008 +0200
+++ b/web/index.html	Mon Apr 28 21:39:46 2008 +0200
@@ -26,8 +26,8 @@
 <h2>Download</h2>
 
 <p>Download the latest version (GPL 1.2+ licensed):
-<a href="tm-0.4.tar.gz">tm-0.4.tar.gz</a> - v0.4 - <a
-href="http://vicerveza.homeunix.net/~viric/cgi-bin/hgwebdir.cgi/tm?f=5dc7cfe2f14b;file=ChangeLog">ChangeLog</a></p>
+<a href="tm-0.4.1.tar.gz">tm-0.4.1.tar.gz</a> - v0.4.1 - <a
+href="ChangeLog">ChangeLog</a></p>
 
 <p>Look at the
 <a href="/~viric/cgi-bin/hgwebdir.cgi/tm">version repository</a> if you are
@@ -37,7 +37,15 @@
 
 <h2>What can you do with it? Examples of use</h2>
 
-<h3>Share a terminal remotely</h3>
+<ul>
+<li><a href="#share">Share a terminal remotely</a>
+<li><a href="#ether">Have an assured way of accessing a host, even if it has no IP address</a>
+<li><a href="#mplayer">Remote control for mplayer</a>
+<li><a href="#telnet">Transfer files through telnet</a>
+<li><a href="#log">Access to a part of an execution log, on demand</a>
+</ul>
+
+<h3><a name="share"></a>Share a terminal remotely</h3>
 Start <em>vim</em> cooperatively, using:
 <pre>
 tm -N 2 -p 3000 -t -x -w vim
@@ -47,7 +55,12 @@
 to use vim [-w], not only look at it.
 The size of their xterms [-x] will be set accordingly to the size of your
 terminal. A nice feature of xterm!</p>
-<h3>Have an assured way of accessing a host, even if it has no IP address</h3>
+
+<blockquote>Attention! <em>vim</em> programs the vt100/xterm input/output codes at start.
+If the clients don't receive those codes, they won't be able to use the Cursor
+Keys effectively, for example. In that case, you may start a bash in tm, and
+when the clients are connected, start vim.</blockquote>
+<h3><a name="ether"></a>Have an assured way of accessing a host, even if it has no IP address</h3>
 <p>Start a remote <em>bash</em> putting this in your start scripts:</p>
 <pre>
 ifconfig eth0 up
@@ -60,7 +73,7 @@
 </pre>
 <p>And you will have a non-terminal bash answering your requests. Don't
 <em>exit</em> from it, because the <em>tm</em> server will end.</p>
-<h3>Remote control for mplayer</h3>
+<h3><a name="mplayer"></a>Remote control for mplayer</h3>
 <p>Start a <a href="http://www.mplayerhq.hu/">mplayer</a> allowing remote
 commands with:</p>
 <pre>
@@ -74,11 +87,26 @@
 control of your music playing.
 In fact I mapped <em>pause</em> to F1, and <em>go backwards 5 seconds</em>
 to F2, and I use this for transcription of voice recordings.</p>
-<h3>Transfer files through telnet</h3>
+<h3><a name="telnet"></a>Transfer files through telnet</h3>
 <p>If you run a telnet client inside <em>tm</em>, you can use a <em>tm</em> client
 to send uuencoded streams. You can look at a
 <a href="http://www.youterm.com/?view=Player&video=tools/tm-telnetfile">Youterm
 podcast</a> for that.</p>
+<h3><a name="log"></a>Access to a part of an execution log, on demand</h3>
+<p>Imagine you want to run the program XXX, which does a lot of debug
+output in stdout. Even without running it through tm,
+you will be able to access the logs <strong>only</strong> when
+you connect to it.</p>
+<pre>
+XXX | tm cat &gt; /tmp/total_log.txt
+</pre>
+<p>You can redirect to /dev/null or use <em>tm</em>'s -n [nohup] if you
+don't want
+to store all the debug info. In any case, you can run a simple
+<kbd>tm</kbd> command with no parameters, and you will be seeing
+the debug info since the connection. Close <em>tm</em> (Control-C) and
+you will not see the info until a new connection is made.</p>
+
 
 <h2>Manual</h2>
 <p>Here you have a copy of the help for v0.4:</p>