Category Archives: Uncategorized

Ode to Amazon’s automated systems

A week or so ago I received a parcel from Amazon.  It was addressed to me, but inside the only thing was an HP inkjet cartridge (I own a Canon printer) and the receipt was someone else’s (their name, address, … Continue reading

Posted in Uncategorized | Leave a comment

Read the current terminal size from within bash

I’ve long wondered about a clean way to read terminal (xterm) escape sequence responses, especially from script/the command line.  I’ve just come across a need to query the terminal size, and so it was time to go digging.

Posted in Uncategorized | 3 Comments