lines.pas: simple text viewer