Category: 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, etc., nothing to do with me).  Turns out, Amazon can’t cope with this sort of…

  • 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.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close