Well, anyway, here is some sample code, because it bugged me that I was getting a bit brusque with my answers last night.
For the header:
xTot, yTot = term.getSize()
headerInf = "This is your header." -- Change for what you want
xStat = xTot/2 - (#headerInf /2)
term.setCursorPos(xStat, 2) -- Just a guess on layout, mind you.
term.write(headerInf)
For the bottom, honestly the easiest way would be to take line four of the above and make it this:
xStat = xTot * 3/4
then make a wrap-around function, with a section similar to this:
xMax = xTot-xStat
if #Update[i] > xMax then
Update[i]["a"] = string.sub(Update[i], 1, xMax-1)
Update[i] = string.sub(Update[i], xMax-1, #Update[i])
end
Of course, that's only a fragment of what it should be. I would finish it, but the recursion would kill my brain this early in the morning (for me, anyway).