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

Bug#400725: release-notes: How to view logs generated by 'script'?



On Tue, Nov 28, 2006 at 11:01:54AM +0100, Jan Wagner wrote:
[ viewing script(1) typescripts with less ]
> Unfortunately with less I have many control chars wich makes 
> it a bit difficult to work with. 'more' seems to work 
> more proper.

FWIW, 'less -R' should do better than plain 'less'.

But still, this is an annoying problem I know no standard solution for;
IMO there really should exist a utility to strip such ANSI control
sequences.  The best I've found so far is a small program by James
Carlson, see the usenet thread "VT100 to text utility" at [1].  

Hmm, Joey, do you think something like this would qualify for moreutils?

Nikolaus

[1] http://groups.google.com/group/comp.terminals/msg/1fdc79377950d045




Reply to: