Content-type: text/html
To vehicle more human-input information in written text.
Record performance time of written text and vehicle it as additional information: saving and reproducing every single action during the composition of a text let us vehicle emphasis in written communication.
As this simple concept, our implementation is also kept very minimalistic while we welcome programmers to embed it in communication applications, as in emails, blogs, visual poetry, slides and what not.
Beware this software is hacky, u need to love text. A manual page is provided and commandline formulas to be casted in a terminal.
This software is written in thread-safe POSIX C++ and can be ported to most platforms, it provides a real-time recorder for serial timed data, recording 64bit tuples key/msec with low-latency. Included are programs providing a text console interface for the user to experiment with keyboard.
A Web application written in PHP/MySQL and Ajax could be used to publish TBT written into the world wide web.
In the .tbt format, text is saved with a timestamp for each letter:
_________ ___________
| u-int | u-int |
| 64bit | 64bit | m-seconds = 1/1000 of a second
--------- -----------
| char | m-seconds | char = ASCII or higher bit char code
--------- -----------
| Total: 128bit |
---------------------
However export to different formats is planned including generation of web-ready code in HTML and Javascript, a daemon to provide timed input thru a socket on the network (TCP/IP) and what not.
Input is captured from the console, but can be extended to intercept any application using some h4x0r keylogging technique on different OS.
The main functionalities are exclusive (use one or the other):
Record a Time Based Text
The bin mode will store a binary file you can play with the playtext command.
The html mode will produce a simple html page, in which your text will be played. The distributed script file tbt-typewriter.js should be present in the same directory of the html file. For further information about the html mode please the the README.html file.
The ascii mode produces pure ascii text file, one character per line, with the information about the key pressed, and the timestamp.
The following switches are optional:
<number>
So far a few methods are implemented, posix should be the most compatible, rtc works only with Linux kernel and requires suid authority.
$ tbt -c -r mytext.tbt
$ tbt -c -p mytext.tbt
$ tbt -c -r -s ascii mytext.txt
$ tbt -c -r -s html mytext.html
This manual is Copyleft (c) 2007-2008 Denis Rojo <jaromil@dyne.org>
Permission is granted to copy, distribute and/or modify this manual under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. Permission is granted to make and distribute verbatim copies of this manual page provided the above copyright notice and this permission notice are preserved on all copies.
The most recent version of tbt sourcecode and up to date documentation is always available for download from http://tbt.dyne.org.
* README.mutt * README.html