It's much more fun to do this with make [root at nt2 /]# while 1 > do > make >outfile 2>&1 > vi outfile > vi sourcefile.c > done Then I just go through the compile/debug cycle, fixing things a few at a time until I get a good build. I will often omit the "vi sourcfile.c" if I have that file open in an editor in another terminal. Nick Walter