Split the write() function in half.
The two new functions are write() and write_body(). The write() function calls write_body(). This write_body() is designed to be used by the display() function.
Authored by: bugman 2007-11-23
Parent: [r3862]
Child: [r3864]