annotate web/about/ttyrec.html @ 21:453278a81371

Add tablerecent() so recent.cgi will work as before. Port the tablerecent() function, which reads the most recent games directly from the logfile instead of the database. This allows recent.cgi to show games immediately without waiting for the recorder to put them in the database.
author John "Elwin" Edwards <elwin@sdf.org>
date Mon, 17 Sep 2012 13:41:10 -0700
parents 7371f972393b
children 86b616d88020
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
2 <html>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
3 <head>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
4 <title>TTYREC files</title>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
5 <link rel="stylesheet" type="text/css" href="/main.css">
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
6 </head>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
7
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
8 <body>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
9 <h1>TTYREC files</h1>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
10 <div class="nav"><a href="/">rlgallery.org</a> -&gt; <a href="/about/">About</a> -&gt; TTYRECs</div>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
11 <div class="content">
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
12 <p>TTYREC files are recordings of text-based sessions, much like screencasts are recordings of graphical sessions. The Roguelike Gallery and other roguelike
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
13 sites create ttyrec recordings of games played online, so that others can watch them. The <a href="/archive.cgi">Archiver</a> will search rlgallery.org's
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
14 ttyrecs for you.</p>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
15 <p>As you might expect, ttyrecs are not video files that can be played in video players. They contain mostly text, and you will need a ttyrec player to
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
16 watch them.</p>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
17 <p><a href="http://0xcc.net/ttyrec/">The original ttyrec program</a> comes with ttyplay.</p>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
18 <p><a href="http://angband.pl/termrec.html">Termrec</a> includes termplay, which is easy to use and works on Windows.</p>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
19 <p><a href="http://www.chiark.greenend.org.uk/~sgtatham/ipbt/">IPBT</a> is a newer player that allows you to rewind while playing.</p>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
20 <p>A ttyrec produced on one kind of terminal will not play properly on a different kind of terminal. Most modern terminals are similar and should produce
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
21 compatible ttyrecs, but you might come across a file that won't work.</p>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
22 <p>Replaying also might not work properly if your terminal is a different size from the one that produced the ttyrec. If things are getting drawn in the
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
23 wrong places, try making your terminal bigger. Unfortunately, ttyrecs don't tell you what the proper size is.</p>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
24 <p>(But it can sometimes be deduced, if you don't mind poking around with a hex editor. Check near the beginning for the sequence
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
25 <span class="metavar">&lt;escape&gt;</span>[1;<span class="metavar">&lt;number of rows&gt;</span>r )</p>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
26 <p>Note: if you are using ipbt, you must also tell ipbt what size terminal to use. Check ipbt's documentation.</p>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
27 </div>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
28 </body>
7371f972393b Import the /about web pages.
John "Elwin" Edwards <elwin@sdf.org>
parents:
diff changeset
29 </html>