GeistHaus
log in · sign up

A terminal case of Linux

fasterthanli.me

Has this ever happened to you? You want to look at a JSON file in your terminal, so you pipe it into jq so you can look at it with colors and stuff. That’s a useless use of cat. …oh hey cool bear....

1 page links to this URL
Terminating the terminal case of Linux

I remember it like it was yesterday. It was a very calm and pleasant evening, when, all of a sudden, amos the fasterthanlime published an article entitled "A terminal case of Linux". With a title that makes you sigh when you get it, he explains his adventure of capturing colored terminal output of a Linux process. After a journey through the bowels of libc, the Land of Terrible Truths, and as is in Amos's style, many underlying details of the problem, we arrive at a program that does what we've set out to do. Well, almost.…

0 inbound links article en