Path: utzoo!utgpu!watmath!watcgl!wsflinn From: wsflinn@watcgl.waterloo.edu (Scott Flinn) Newsgroups: comp.sys.atari.st Subject: Re: anybody know how to "hook" into MORE? Message-ID: <12054@watcgl.waterloo.edu> Date: 24 Oct 89 01:35:49 GMT References: <2315@hcr.UUCP> <1135@electro.UUCP> Reply-To: wsflinn@watcgl.waterloo.edu (Scott Flinn) Organization: U. of Waterloo, Ontario Lines: 29 In article <1135@electro.UUCP> ignac@electro.UUCP (Ignac Kolenko) writes: >In article <2315@hcr.UUCP> miken@hcr.UUCP (Mike Nemeth) writes: >>i am not enamoured of the "more" command. i have my own version that >>is more to my liking (ie. i can search forward/backward, back up a >>page, choose another file, ...). does anybody know of a way to call >>a user defined piece of code instead of the routine that gets called >>when i doubleclick on a file and choose "show"? or am i just fingerpainting >>with Prep H... > > >ya, this is actually easier than you most people think. simply use some sort >of desktop.inf editor (ie: QUIKINF.PRG, a fine Quick Utility) to edit >the installed applications for your machine. simply pick your favorite text >editor as the installed application, and set the application mask to be >what ever document you want to look at: [etc.] This method is mainly satisfactory, but suffers from one major drawback: the program must load from disk before it runs. I no longer have anywhere near enough memory to keep a ram disk installed, but I do have enough to store a TSR that provides a decent 'more' and print utility. The supplied 'more' utility runs directly from ROM ... can something in desktop.inf be changed to tell it to run some code from a different place? Cheers, -- Me: Scott Flinn / "If it doesn't fit, force it. Domain: wsflinn@watcgl.waterloo.edu / If it breaks, then it didn't UUCP: watmath!watcgl!wsflinn / fit anyway."