bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flashing symptoms


From: Frank Heckenbach
Subject: Re: flashing symptoms
Date: Tue, 7 Nov 2000 09:12:09 +0100

Thomas Dickey wrote:

> On Fri, Nov 03, 2000 at 09:28:57PM -0330, Neil Zanella wrote:
> > 
> > 
> > On Fri, 3 Nov 2000, Thomas Dickey wrote:
> > 
> > > I'm not sure what you're seeing - running in 'script' itself should be
> > > transparent (no pun) to you, just like typing
> > >   $SHELL
> > > to start a subshell.  The typescript file would contain everything sent to
> > > the screen, including escape sequences.
> > > I generally either translate it
> > > to printable form or replay it slowly to see the steps.
> > 
> > I got this far and the escape sequences I got differ significantly in some
> > places. Now how do I replay it slowly?
> 
> just for a starting point (they're not programs that I port), I put a
> zips of unmap and slowcat in ftp://dickey.his.com/ncurses
> 
> map/unmap are filters that convert to/from escape sequences, and slowcat
> uses a time-delay between characters, e.g.,
>       slowcat -9 typescript
> goes v e r y   s l o w l y.
> 
> (if there's enough interest, I may package them more neatly)

BTW, I recently wrote a program for a similar purpose. I called it
tless (less with terminal control sequences sequences). It allows to
step forward and back through a file with escape sequences. Stepping
back is done be re-writing the complete file up to the new position,
so it's not well suited for larger files. It's quite primitive, but
it has worked for me. If anyone is interested, I've put it at
http://fjf.gnu.de/tless.c

Frank

-- 
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
PGP and GPG keys: http://fjf.gnu.de/plan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]