Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!cbosgd!ukma!psuvm.bitnet!psuvax1!burdvax!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.micro.amiga Subject: Re: Executing programs from icons Message-ID: <2914@sdcrdcf.UUCP> Date: Wed, 30-Jul-86 13:22:32 EDT Article-I.D.: sdcrdcf.2914 Posted: Wed Jul 30 13:22:32 1986 Date-Received: Sat, 2-Aug-86 01:34:42 EDT References: <4457@decwrl.DEC.COM> Reply-To: lwall@sdcrdcf.UUCP (Larry Wall) Organization: System Development Corporation R&D, Santa Monica Lines: 32 In article <4457@decwrl.DEC.COM> haden@bisque.dec.com (Steven Haden) writes: > I have a got a question on Amiga-Dos. > How can I execute a program (say xx) from a icon created by the Icon-ed. > Xx runs without any problem from CLI. I created an Icon with Icon-ed. It's > got the name xx.info. When I double click the Icon, the Amiga crashes. > It seems I miss a link between the two files xx and xx.info. I don't know what to say--I got it to work for me. I can invoke emacs that way. I went one step farther and set up document files that, when double clicked, bring up emacs. Now, if only emacs would open the file automatically, we'd have something. Bring up the info menu on your icon, and make sure all the fields look right. There's a field called (I think) "Tool" that has to have the name of the program to execute. Unfortunately, you apparently can't use that field to pass any arguments. When the workbench has a selected icon, why doesn't it just pass the name of the file in through argv? It seems to me that emacs would be much more useful from the workbench if that happened. Is there some reason it wasn't done the easy way? (Sorry if this is covered in the manuals--still saving up my shekels for a set.) Along the same line, do any of the new emacses have workbench support? My wife grows weary of typing ^X^F. I must confess I am amazed at how far we've gotten by spending $0 on software. When the house refinancing goes through, maybe we can buy something with a little more meat on it, but we've been kept pretty happy with the public domain stuff so far. I haven't bought a paint program yet, but the AbasiC program called "jpad" is nice for the kids to doodle around on. Larry Wall sdcrdcf!lwall