in reply to had me going there for a moment.
in thread different terminal

NOTE: there should be a chomp in there somewhere, but I forgot...

No, things should be kept simple.

- printf "%s\n",join("\n",@lines); + print @lines;

All those lines in @lines come with "\n".

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'