Hi, in the absence of any reliable C reference I can only guess what "iscntrl (EOF)" should return. IMHO EOF should be classified as a control character in the C locale. The GNU libc says it isn't a control character. Could anybody check that either in the standard or on other platforms? Thanks for your help! Guido -- http://stud.uni-sb.de/~gufl0000/ mailto:guido@freemint.de