Checkin of initial version of ipbt. Most source files are `svn cp'ed
from the PuTTY source tree; if updates to PuTTY need to be folded
into this code, I can repeat the `svn cp' to replace them with a
higher version. Thus, running svn history commands on PuTTY files in
this directory will give their PuTTY source control history.


git-svn-id: svn://svn.tartarus.org/sgt@6481 cda61777-01e9-0310-a592-d414129be87e
Administrivia: add a bit to README, move the vestigial TODO out from
ipbt.c into a proper TODO file, and add a (rather confused) LICENCE.
Hopefully this is now approaching a state in which I can stick it on
a website and solicit patches for the bits I've left undone.

Also in this checkin, a functionality change I made on Saturday:
capital G goes to the end of the file, same as in `less'. Going to
the very end of a NetHack replay is useful so you can see how it
turned out!


git-svn-id: svn://svn.tartarus.org/sgt@6485 cda61777-01e9-0310-a592-d414129be87e
Couple more tweaks to TODO.


git-svn-id: svn://svn.tartarus.org/sgt@6486 cda61777-01e9-0310-a592-d414129be87e
Oh, all right. Here's some perfunctory documentation of the
keystrokes...


git-svn-id: svn://svn.tartarus.org/sgt@6489 cda61777-01e9-0310-a592-d414129be87e
Various improvements I've been making for a while. Notable among
them are:
 - some command-line options
 - tweaks to the startup messages to make it easier to cut and paste
   filenames out of them
 - support for nh_recorder format as well as ttyrec, with automatic
   file format distinguishing.


git-svn-id: svn://svn.tartarus.org/sgt@6541 cda61777-01e9-0310-a592-d414129be87e
Add `-P' option, which terminates IPBT immediately after reading the
input files. Only really useful right now as a diagnostic option
when I'm trying to speed it up, but might also come in handy if I
ever save out the processed movie data for later quick loading.


git-svn-id: svn://svn.tartarus.org/sgt@6603 cda61777-01e9-0310-a592-d414129be87e
Update the PuTTY-derived IPBT sources to r6603, in particular
getting the do_paint() speed improvement in r6603 itself.


git-svn-id: svn://svn.tartarus.org/sgt@6604 cda61777-01e9-0310-a592-d414129be87e
If you use ipbt to play several ttyrecs, it conceptually
concatenates them so that a single frame numbering scheme covers
them all. When searching several ttyrecs for something you then plan
to look up with ipbt, it's therefore convenient for ttygrep to
support the same facility. Added the `-j' option which does this;
default behaviour is unchanged.


git-svn-id: svn://svn.tartarus.org/sgt@6612 cda61777-01e9-0310-a592-d414129be87e
Patch from `Sartak', for greater case-insensitivity in playback
commands plus < and > as synonyms for forward and backward a frame.


git-svn-id: svn://svn.tartarus.org/sgt@6713 cda61777-01e9-0310-a592-d414129be87e
New data structure based on ext2fs's file layout, which removes the
need for a sorting phase without being nearly as heavyweight as a
bunch of B-trees.


git-svn-id: svn://svn.tartarus.org/sgt@6766 cda61777-01e9-0310-a592-d414129be87e
Reinstate memory-usage tracking after the r6766 storage management
upheaval.


git-svn-id: svn://svn.tartarus.org/sgt@6767 cda61777-01e9-0310-a592-d414129be87e
Update TODO to reflect the fact that our data structure is now
background-load-capable, even if we still don't actually support
background loading.


git-svn-id: svn://svn.tartarus.org/sgt@6768 cda61777-01e9-0310-a592-d414129be87e
Remove a comment about the sort phase from README.


git-svn-id: svn://svn.tartarus.org/sgt@6769 cda61777-01e9-0310-a592-d414129be87e
`Sartak' suggests a couple of small fixes: recompute current wait
interval when toggling log time, and guard against integer overflow
when entering large numeric prefixes.


git-svn-id: svn://svn.tartarus.org/sgt@6795 cda61777-01e9-0310-a592-d414129be87e
Search functionality, both forward and backward. Also in this
checkin, a bunch of minor fixes turned up by `gcc -Wall' and valgrind.


git-svn-id: svn://svn.tartarus.org/sgt@6858 cda61777-01e9-0310-a592-d414129be87e
Ahem. Actually search the right bits of the screen...


git-svn-id: svn://svn.tartarus.org/sgt@6859 cda61777-01e9-0310-a592-d414129be87e
Tighten up portability of code in a few places.


git-svn-id: svn://svn.tartarus.org/sgt@6860 cda61777-01e9-0310-a592-d414129be87e
Handy diagnostic tool I've had lying around for a while and not
checked in.


git-svn-id: svn://svn.tartarus.org/sgt@7254 cda61777-01e9-0310-a592-d414129be87e
Arrange to build ipbt with bob.


git-svn-id: svn://svn.tartarus.org/sgt@7255 cda61777-01e9-0310-a592-d414129be87e
In the event of trying to wait for a negative length of time, clip
to zero. Currently I'm not aware of any way this can occur other
than by reading a ttyrec containing non-monotonic timestamps (in
which case you also have to have used -T to force ipbt's format
detection to consider it valid in the first place).


git-svn-id: svn://svn.tartarus.org/sgt@7379 cda61777-01e9-0310-a592-d414129be87e