Skip to content

Synesthesia uncleanly processing ANSI escape sequences #3

Description

@AlchemicRaker

I'm not sure to what extent this is synesthesia's fault necessarily, but when synesthesia pipes into a second synesthesia, the final output is full of broken ANSI escape sequences.

$ tail -f /var/log/nginx/access.log | synesthesia "[0-9]+" | synesthesia -b "[a-z]+"
m202m.m131m.m97m.m247m - - [m21m/Jul/m2014m:m15m:m24m:m14m +m0000m] "GET /x/x/x.aspx? HTTP/m1m.m1m" m200m m59m "http://www.x.com/blog/default.aspx" "Mozilla/m5m.m0m (Windows NT m6m.m1m) AppleWebKit/m537m.m36m (KHTML, like Gecko) Chrome/m36m.m0m.m1985m.m125m Safari/m537m.m36m"

In this example, the coloring from the first synesthesia process is garbled and lost, and the coloring from the second synesthesia process renders properly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions