Am Di., 28. Jan. 2020 um 22:28 Uhr schrieb Paul B Mahol <onemda at gmail.com>: > +static int isansicode(int x) > +{ > + return (x == 0x1B) || (x >= 0x20 && x < 0x7f); I would have expected at least CR and LF, maybe also the tabulator, to be valid characters. Carl Eugen