Thanks. (*s7* 'filenames) should be (*s7* 'file-names). If you don't want the libc stuff, just comment out the (require libc.scm) at the top of the file. I didn't realize that r7rs thinks current-output-port is a built-in parameter object. It isn't in s7 -- sorry.