Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!ruuinf!praxis!ajsiemel From: ajsiemel@cs.ruu.nl (Allard Siemelink) Newsgroups: comp.sys.amiga.advocacy Subject: Default tools $PAGER, $EDITOR et cetera Message-ID: <4810@ruuinf.cs.ruu.nl> Date: 8 Feb 91 12:48:22 GMT Sender: news@ruuinf.cs.ruu.nl Lines: 17 Wouldn't it be easy to do this by SetFunction()-ing the LoadSeg() (and probably some other Dos-functions) The new LoadSeg would just compare the file name against all the defined $WHATEVERS and in case it matches replace this filename by the user selected tool, The new LoadSeg() then would look something like this: NewLoadSeg(, ...) { if in ($PAGER, $EDITOR ...) then = UserSelected($PAGER); OldLoadSeg(, ...); } ---------------------------------------------------------- Ajay Siemelink ajsiemel@praxis.cs.ruu.nl