Add a maintainable version of resize, with a copy target and a header thatprovides all the glue needed without other X headers.
Import Xterm's resize(1) for querying (x)terminal sizes in base for headlessclients