comparison web/about/ttyrec.html @ 82:14850d283b54

Update information about ttyrec terminal size.
author John "Elwin" Edwards
date Wed, 07 Feb 2018 20:54:48 -0500
parents 2cca66b3e262
children d417016bbf73
comparison
equal deleted inserted replaced
81:2cca66b3e262 82:14850d283b54
18 <p><a href="http://angband.pl/termrec.html">Termrec</a> includes termplay, which is easy to use and works on Windows.</p> 18 <p><a href="http://angband.pl/termrec.html">Termrec</a> includes termplay, which is easy to use and works on Windows.</p>
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> 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>
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 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
21 compatible ttyrecs, but you might come across a file that won't work.</p> 21 compatible ttyrecs, but you might come across a file that won't work.</p>
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 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
23 wrong places, try making your terminal bigger. Unfortunately, ttyrecs don't tell you what the proper size is.</p> 23 wrong places, try making your terminal bigger.</p>
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 24 <p>Unfortunately, ttyrecs don't contain any metadata which could tell you what the proper size is. But most recent files from the Gallery and similar sites
25 <span class="metavar">&lt;escape&gt;</span>[1;<span class="metavar">&lt;number of rows&gt;</span>r )</p> 25 work around this limitation by putting some invisible text at the beginning. You can read it by opening the ttyrec with a hex editor or text editor. There
26 will be a line starting with "Size:" followed by the terminal width and height.</p>
26 <p>Note: if you are using ipbt, you must also tell ipbt what size terminal to use. Check ipbt's documentation.</p> 27 <p>Note: if you are using ipbt, you must also tell ipbt what size terminal to use. Check ipbt's documentation.</p>
27 </div> 28 </div>
28 <div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a> <a href="/notes/">Notes</a> <a href="https://rlgallery.org:8080/">Play</a></div> 29 <div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a> <a href="/notes/">Notes</a> <a href="https://rlgallery.org:8080/">Play</a></div>
29 </body> 30 </body>
30 </html> 31 </html>