Ok, I can't give this script thing up. I'm working on it while on vacation. a) Why do I want script to work? Many folks have given alternatives, but I have a pretty hard req for a "Script" like utility: 1) I'm using some NT code that that allows me to launch a bash script, but I can't feed any stream processing steps, such as: bash --login scripttorun.bsh parm1 parm2 | tee IwishIcouldDothis.log 2) Also, some folks (at least 3 so far) have reviewed the expect book and posted a snippet of using expect. While interesting, the major reason I'm not using that is because it only tracks commands as issued, not the output each command throws. b) Where I'm at in the compile of script.c located in util-linux-2.11d: Corinna's reply stated I could use : Open with O_NOCTTY. I did this code, attached below, but get the following error. perry@PERRYT20 /cygdrive/c/dykes/data/wrk/mkwf/activity-work/typescript/util-linux-2.11d/misc-utils $ gcc -I../lib script.c -o script.exe script.c: In function `main': script.c:125: warning: assignment makes pointer from integer without a cast /cygdrive/c/DOCUME~1/perry/LOCALS~1/Temp/ccIAem9J.o(.text+0x71c):script.c: undefined reference to `cfmakeraw' collect2: ld returned 1 exit status Assuming I can figure out warning or ignore, the ld error has me stumped. Is there a cygwin programmer who knows what this means. I'm not sure how to debug it. I looked through ld man page and other content for references to cfmakeraw, and so far not sure what this is or how to get rid of error. As always your helps is appreciated well in advance. Regards, Perry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/