 In the films script, much of the characters speech and much of the  narration are actually lines taken from the James Jones (I) (qv)  novel "From Here to Eternity". For example, Witt frequently speaks  the words of Private Pruitt, and Sergeant Walsh speaks the words of  Sergeant Warden.