On Wed, Apr 26, 2006 at 09:50:06PM +1000, Martin Pool wrote: > Also (iirc) some terminal emulators will assume the lines ought to > wrap together if text extends to column 80. Indeed. And thinking over my COLUMNS remark, it should be very easy to support. So ... width = (ioctl() or getenv(COLUMNS) or 80) - 1 Matt