youki@newmars.ics.osaka-u.ac.jp (Youki Kadobayashi) (04/24/91)
Archive-name: sys/next/systemworks/1991-04-23 Archive: cs.orst.edu:pub/next/sources/SystemWorks.tar.Z [128.193.32.1] Original-posting-by: youki@newmars.ics.osaka-u.ac.jp (Youki Kadobayashi) Original-subject: Re: Automatic opening of compressed (.Z) files upon clicking Reposted-by: emv@msen.com (Edward Vielmetti, MSEN) >>>>> On 22 Apr 91 00:15:39 GMT, phayes@magnus.acs.ohio-state.edu (Patrick W Hayes) said: > So, what I want to know is, can I give a script an icon, and a document icon, > so that I can click on a .Z file from the browser and have it do the same thing > (without writing any code) ? I wrote such application. You can give a csh/bash/perl/mush script an small window. My first motivation was identical to yours -- "zopen". I also wanted to print files, unpack ztar archives, edit PS files, play scorefiles on our MIDI keyboard, etc., without writing any code for every such a little application. > Or does 2.0 do this for you (I'm still on 1.0.) I was informed there are program called /NextDeveloper/Demos/Accepter but I'm not informed what the program does. Therefore, I don't know whether or not the 2.0 provides seamless interface between UNIX and NextStep. > A version of this Uncompress with a few buttons etc. > is available on sonata as well in the pub/next/sources-1.0 directory, along > with the Unknown source. But it must be modified to do what I want it to-- > launch the uncompressed version automatically and then get rid of the > uncompressed version when I'm done with it. I tried to get Unknown to launch > a script, but it didn't seem to work. Really, NeXT should do something about > this; I shouldn't have to recompile Unknown and write an interface C program > every time I want to do something like this (launch a unix document off to a > standard unix utility from the workspace.) Any ideas? I agree. And I have an idea. I think my program can do this. You can obtain this program via anon-FTP from: site: cs.orst.edu directory: pub/next/sources filename: SystemWorks.tar.Z (contains binary as well as sources) caution: tested only under 1.0 It's freely re-distributable under the GNU General Public License. Enjoy. -- Youki Kadobayashi Dept. of Info. and Comp. Sci, Osaka University, Japan -- comp.archives file verification cs.orst.edu -rw-r--r-- 1 jasmerb 31 357671 Apr 14 12:46 pub/next/sources/SystemWorks.tar.Z found systemworks ok cs.orst.edu:pub/next/sources/SystemWorks.tar.Z