There are several subtitling programs available for fansubbers. None are for Unix and only a couple are freely available, and those are not source-available. In late 1996, I put together the very basic skeleton of a subtitling program.

This code falsely (and fatally) assumes zero transmission time between the program and the X Server. Oh, well.

subtitle-0.01.tar.gz or browse the code.