Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • The same question exists here stackoverflow.com/questions/6306728/…
    – dset0x
    Commented Oct 17, 2012 at 20:50
  • @zmode that's not the identical, that one is about removing all ansi codes, whereas here the OP wants to "keep color escape sequences"
    – eis
    Commented Oct 17, 2012 at 20:55
  • @Tiddo Do you know how the other script would handle the color escapes? it would sound peculiar that it could handle them...
    – eis
    Commented Oct 17, 2012 at 21:02
  • @eis - The other script is ansifilter. It generates colored HTML from ansi input. By design it is able to handle color escapes, but for some reason it can't handle the movement escape characters.
    – Tiddo
    Commented Oct 17, 2012 at 21:36
  • @Tiddo ok, makes sense.
    – eis
    Commented Oct 18, 2012 at 8:24