On 20/9/12 22:05, Barry Margolin wrote:
>> Sure, I could ask then to run a 'set -x' in the typescripted shell, but
>> that is almost as ugly..
>
> Try using "col -b" to post-process it.
Thanks
Ah. better. col never made it sufficiently up on my horizon
It still seems to not know all sequences as the commandlines
> script works by running the shell through a pseudo-tty, so it just sees
> all the characters passing through, and doesn't know anything about the
> application being run. For instance, if you ran Emacs or vi, there
> wouldn't really be any "final commands".
Sure. I only really care what it does to shell prompt input (and
eliminate attempts to build a new command from history etc). Some of my
users seem to be *very* bad at typing, littering a simple commandline of
20 characters with at least 60 cursor edits etc.. Makes it hard to
follow what they did when it doesn't work and i need to see their input
cheers