Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!hplabs!hp-pcd!hplsla!andyc From: andyc@hplsla.HP.COM (Andy Cassino) Newsgroups: comp.sys.atari.st Subject: Re: anybody know how to "hook" into MORE? Message-ID: <5440068@hplsla.HP.COM> Date: 23 Oct 89 17:55:58 GMT References: <2315@hcr.UUCP> Organization: HP Lake Stevens, WA Lines: 35 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"? ---------- I have a way to do this, but it's pretty kludgy. First, let me state I am doing this is in Neodesk 2.04; I haven't tried it in the TOS desktop. Even in Neodesk, I don't think this is supposed to work. So here's what I did. I first installed my preferred "more" as an application for two file suffixes. The problem is, that's not enough, I need about a dozen suffixes. So, I edited the neodesk.inf file and found the line that installed the application. I duplicated this line as much as I needed immediately below the existing line, and changed the suffixes in the duplicate lines. Well, what do you know, but it worked - have my preferred more installed for a dozen suffixes! I've been doing this for a couple of months, and nothing has gotten upset about it yet. Well, I know you can *try* to do the same thing to the TOS desktop.inf file, but I have no idea if it will work. Disclaimer: The opinions expressed herein are those solely of the author, who has no pecuniary interest in the companies mentioned. Copyright (c) 1989 by Andrew Cassino. Permission for distribution on USENET hereby granted. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Andy Cassino % % uucp: hplabs!hplsla!andyc domain: andyc%hplsla@hplabs.hp.com % % Hewlett-Packard Lake Stevens Instrument Division % % 8600 Soper Hill Road Everett, WA 98205-1298 % % (206) 335-2211 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%