From: rtr AT rd DOT bbc DOT co DOT uk (Richard Russell) Newsgroups: comp.os.msdos.djgpp Subject: Cannot redirect or pipe console output (printf) Date: 17 Apr 1998 13:24:57 GMT Organization: British Broadcasting Corporation, UK Lines: 8 Message-ID: <6h7l79$j1o@bbcnews.rd.bbc.co.uk> NNTP-Posting-Host: 132.185.128.19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm sure this is an FAQ, but I can't find the answer in the places I have looked. Attempting to redirect the output from printf to a file using '>' on the command line, or to pipe it to 'more' with '|', is ineffective. The program originates on a Unix platform (compiled with gcc) and redirection and piping work OK there. However, when compiled for DOS with DJGPP the output appears to go to the screen irrespective of the '>' or '|'. Richard.