Description of PMRINTF utility. As You maybe know when using standard output to screen from Presentation Manager program, on the display nothing is seen. So to debug the simplest thing You must use some BIG, COMPLICATED and EXPENSIVE debugger. NO LONGER. In PM standard output is not lost. You need only to catch it and show in OS/2 text Window. Program PMRINTF.EXE does this and allows for using 'printf' function from C, 'writeln' statement from MS PASCAL, or Borland PASCAL for OS/2 and 'write' statement from MS Fortran Presentation Manager programs. You run PMRINTF from OS/2 Window. Syntax: pmrintf APPNAME PARM1 PARM2 .... where APPNAME is your debugged program's name, PARM1 is the first command line parameter to Your program, PARM2 is the second command line parameter to Your program, etc. Results are visible in the same OS/2 Window. If it is obscured by Your program window move it to some convenient place to see both windows simultaneously. To view results while Your program is being executed you should use nonbuffered output. So following requirements apply: 1. For C program, immediately at the beginning of main, place statement: setbuf(stdout,NULL); 2. For Borland Pascal after each writeln call flush(output); No other prerequisities are needed. MS Fortran and MS Pascal use nonbuffered standard output by default. Attention. There is similar in purpose utility written by some IBM employee. It's for IBM C Set only. It requires linking in to Your program a replacement printf function. PMRINTF is different in internal design and therefore is independent of compiler used and works with wider range of compilers. 32 and 16 bit. Author: Stanislaw Kozlowski POLAND 00-442 Warsaw ul. Idzkowskiego 3 m.25 EMAIL:ml@igf.edu.pl