Re: Format strings -fu: truncating/padding

2009-12-04 Thread Chris Jones
On Fri, Dec 04, 2009 at 04:46:52AM EST, Jeremie Le Hen wrote: > Hi list, > > I've been using screen for a couple of years with a hardstatus string > stolen on the web and tinkled a bit afterward. But now I'd like to > improve it. > > Format escape sequences are fairly easy to understand (althou

Format strings -fu: truncating/padding

2009-12-04 Thread Jeremie Le Hen
Hi list, I've been using screen for a couple of years with a hardstatus string stolen on the web and tinkled a bit afterward. But now I'd like to improve it. Format escape sequences are fairly easy to understand (although re-reading them is another thing ;p) except the truncation/padding stuff.

Hardstatus-fu: truncating/padding

2009-12-04 Thread Jeremie Le Hen
Hi list, I've been using screen for a couple of years with a hardstatus string stolen on the web and tinkled a bit afterward. But now I'd like to improve it. Format escape sequences are fairly easy to understand (reading them is another thing ;p) except the truncation/padding stuff. I've tried