changeset 82:14850d283b54

Update information about ttyrec terminal size.
author John "Elwin" Edwards
date Wed, 07 Feb 2018 20:54:48 -0500
parents 2cca66b3e262
children 7ff6a58ad861
files web/about/ttyrec.html
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/web/about/ttyrec.html	Tue Jan 30 18:28:24 2018 -0500
+++ b/web/about/ttyrec.html	Wed Feb 07 20:54:48 2018 -0500
@@ -20,9 +20,10 @@
 <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 
 compatible ttyrecs, but you might come across a file that won't work.</p>
 <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 
-wrong places, try making your terminal bigger. Unfortunately, ttyrecs don't tell you what the proper size is.</p>
-<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 
-<span class="metavar">&lt;escape&gt;</span>[1;<span class="metavar">&lt;number of rows&gt;</span>r )</p>
+wrong places, try making your terminal bigger.</p>
+<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
+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
+will be a line starting with "Size:" followed by the terminal width and height.</p>
 <p>Note: if you are using ipbt, you must also tell ipbt what size terminal to use. Check ipbt's documentation.</p>
 <div class="foot"><a href="/"></a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a> <a href="/notes/">Notes</a> <a href="">Play</a></div>