Is there any way to get rid of the escape sequences generated by most modern programs? I would like to learn emacs but the output is almost unreadable. Thanks.