In PATHFIND.MOD you can replace 'stdio' with 'InOut', but then FST Modula-2 will produce a 25k EXE file (!) To compile using stdio, type SET M2OUTPUT=OBJ, then compile - but do not link. Exit M2 and type LINK PATHFIND+STDIO+SYSTEM (then just press enter for all prompts). This will produce a 1.6k EXE.