Am 29.09.2011 um 03:03 schrieb Greg 'groggy' Lehey: >> Add a 0x0d to the end of the string (0xa = LF, 0xd = CR) > > No, that is a Microsoftism. UNIX doesn't use \r to terminate a line. No, actually that's a teletype thing and predates Microsoft. And not a problem of line termination. Achim