Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!keele!cca04 From: cca04@seq1.keele.ac.uk (P.J. Mitchell) Newsgroups: comp.unix.shell Subject: ksh EOF problem Message-ID: <787@keele.keele.ac.uk> Date: 9 Jan 91 17:48:03 GMT Sender: news@seq1.keele.ac.uk Organization: Keele University Lines: 13 Has anyone found why ksh hangs on receiving EOF on Suns yet ? I've seen the question asked but I've not seen an answer here. I've had a look at ksh using dbx on my Sun and it *appears* that the problem lies in the getsc_() function in ksh/src/lex.c which defines EOF to be 0 instead of -1. Is this anything to do with it ? Yours in hope.... -- Paul Mitchell (CMA#136(18) MAG#65715 DoD#0145) | Computer Centre, JANET: p.j.mitchell@uk.ac.keele.seq1 | Keele University, Keele, USENET: p.j.mitchell@seq1.keele.ac.uk | Staffordshire, ST5 5BG, U.K. BITNET: p.j.mitchell%seq1.keele.ac.uk@ukacrl | (+44 or 0)782 621111 ext 3302