Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"emulator for the Linux text console"

Not portable. Oh, well. Nice idea.



If you read the code [0], the author is using the phrase "Linux text console" to mean the Unix tty interface (/dev/tty, ANSI escape sequences, TIOCGWINSZ ioctl, etc). So it probably is portable to other Unix-like systems such as *BSD, macOS, Cygwin, etc, without much effort.

[0] https://github.com/dmsc/emu2/blob/master/src/video.c


I just built and ran it on macOS and it seemed to work fine.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: