fudged sprintf2.t and pack.t