Cannot convert files from ANSI-art galleries
ant-222 opened this issue · 5 comments
It would be good to get a screenshot as my terminal doesn't make much sense of it either with:
iconv -fiso-8859-1 < fist.ans
This image looks to be made from multiple passes, but ansi2html isn't handling resetting the position and is just outputting them one after another.
Sorry for the previous message. I didn't know Github did not process Markdown correctly when loading it from e-mails.
It would be good to get a screenshot as my
terminal doesn't make much sense of it either with:iconv -fiso-8859-1 < fist.ans
The image should render
thus—if
that's what you ask.
This image looks to be made from multiple passes,
but ansi2html isn't handling resetting the position
and is just outputting them one after another.
Do you mean that the failure of your script to render that file is expected
behavior? If so, it shame because a shell script one of the most simple,
portable, and self-contained solutions. Could you, perhaps, consider
implementing multipass support? It would make you script a great tool
for many ANSI-art galleries, such as the
one
whence I downloaded the fist.ans
expample.
Thanks for the screenshot.
Ideally the script should handle this