scripts
scripts copied to clipboard
Cannot convert files from ANSI-art galleries
Hello, while trying to convert this .ans file with your script:
cat fist.ans | ./ansi2html.sh -p > fist.html
I received a mess. Should your script work with these files?
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.
This e-mail in Markdown
It would be good to get a screenshot as my terminal doesn't make much sense of it either with:
iconv -fiso-8859-1 < pb.o/scripts/priv/ansi2html/ansi2html_tests/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.
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
So you accept this issue as a change request? Great news, and many thanks.