Drew DeVault 10/30/2019

An old-school shell hack on a line printer

Read Original

The article details a personal project where the author connects a vintage Epson LX-350 dot matrix line printer to a Linux system via USB. To achieve 'great hack value,' they write Go code to create a functional shell interface that outputs to the printer, emulating an old-school teletypewriter (TTY). It explains the use of pseudo-terminals (ptys), ANSI escape sequences, and the historical context of TTYs versus visual terminals.

An old-school shell hack on a line printer

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week