Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!mips!apple!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!dkuug!freja.diku.dk!kimcm From: kimcm@diku.dk (Kim Christian Madsen) Newsgroups: comp.lang.c Subject: Re: MORE/PAGING routine needed ... Message-ID: <1990Nov12.111335.22772@diku.dk> Date: 12 Nov 90 11:13:35 GMT References: <1244@eci.UUCP> <14420@smoke.brl.mil> Organization: Department Of Computer Science, University Of Copenhagen Lines: 18 gwyn@smoke.brl.mil (Doug Gwyn) writes: >I never understand requests like this. A functional requirement is >described, then the obvious solution is immediately rejected. What >exactly is the objection to system("more filename")? Several reasons on the fly: 1) spawns new processes, which can be a nuissance on slow systems! 2) you don't have the ability to modify the behavior of the application called to suit the needs of the calling application, e.g. disabling shell-escapes for security reasons. 3) a hidden request for knowledge of how the application in question works, if you're a binary site. Kim Chr. Madsen