Hyper: Running cat on a PDF results in garbled characters

Created on 31 Aug 2016  路  4Comments  路  Source: vercel/hyper

Running cat on some PDFs results in characters being garbled until Hyperterm is restarted. Definitely not high priority but still interesting anyway.

hyperterm_bug

The characters are valid in that you can still type commands and run them so it's purely a visual issue.

I'm going to assume this is related to Hyperterm and not cat itself since I don't have any other terminals to test at the moment. I haven't had the same issue with the regular OS X terminal

Most helpful comment

Why would you cat a pdf? 馃挱

All 4 comments

Same issue with any terminal. It's an ANSI escape sequence that switches to a graphics mode. reset fixes it.

Oooh, that's actually really interesting! I'll have to have a look into that.

Why would you cat a pdf? 馃挱

Why wouldn't you!

Haha, I was bored on the train this morning (with no WiFi) and I just started using cat on my Documents folder. Y'know, stuff that it isn't intended to be used on just to see what would happen.

I didn't realise it was an ANSI thing though since the regular OSX Terminal didn't give me the same issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hxnt picture hxnt  路  3Comments

anthonyettinger picture anthonyettinger  路  3Comments

ghost picture ghost  路  3Comments

stan-stripe picture stan-stripe  路  3Comments

laur1s picture laur1s  路  3Comments