Listing came from Mike McEwan. Actually it originally belonged to me (GT) as I recognise my own handwriting in one of the lines that was being worked on! I remember this code from when I was working at the Wavetank for Steven Salter one summer. I think it ran on RSX11 or RTS11. I know that the additions for the 'C' command were mine; I can't remember what else I did. Perhaps some of the hacks to allow files with CR/LF as well as plain LF. Graham