A Rewrite of Brett Bohnenkamper's screenFetch script in C.