> Isn't fmt[end-prompt] = '\0'; writing past the allocated buffer? Yes it is! Thanks for catching that. Not sure where the "+1" at the end of the allocation went, I'll find some time in a bit to check each alloc again and resubmit. Should I just resubmit 1/2, or 2/2 (unmodified) as well? Thanks, Avery