I agree that Oleg's suggestion may not be any simpler,
but it is more "standard" - I think your script was the
first time I've encountered an "interactive" shell script.
Brought back "fond" memories of APL and  4 take quote-quad
= 'QUIT' which created a charming and well documented bug
in a financial organization using MAGIC when they tried to
bring on line their office in Quito Equador...

As long as I'm working on the command line, I don't really
think tar -xzf j... ; sudo required much more care (or
knowledge/understanding) at that point, a script with
parameters, and perhaps a non-default installation path
as arguments would be more familiar and not much harder
to do. Certainly for Linux an RPM or other standard method
would seem like a big step forward. In OSX, most users have
never opened terminal (even though it is my favorite and
first to open application) so any of these things are a
mystery to them. They are used to a very simple install
that may require the administrator password, but that they
are used to.

Seems to me that an install shell could be put into a normal
OSX form without too much work, and could be reused as
changes are made without too much trouble. I say that without
having tried to create one - so I'll take a look at it.

- joey



At 17:31  -0400 2007/09/29, Eric Iverson wrote:
I don't think it fair to say the installer requires more care than the 601 tar and sudo.

If the user accepts defaults and keeps typing c things are pretty simple. The only complication is if the user insists on setting a different folder and even that is about as simple as it can be.

Your suggestion is interesting. But on reflection I don't see that it is any simpler.

The user I care most about is the the one that is completely new to J. Suggestions on how to make the current shell script better for thhe new user are most welcome.

----- Original Message ----- From: "Oleg Kobchenko" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Saturday, September 29, 2007 4:48 PM
Subject: [Jbeta] Installer interface


The new interactive installer is interesting. However, it requires
more care from user and creator, more places to make checks.

Alternative could be traditional command-line tool:
- run first time without parameters, shows help
- run with destination folder parameter, does install


Oleg


On Sep 28, 2007, at 20:24, "Eric Iverson" <[EMAIL PROTECTED]> wrote:

re: chmod required. I have made a change and wonder if you could try this again. That is, remove everthing and start over and do the download again. This time you may not require the chmod or you may simply run into other problems (downloading a file that is executable).

Does the shell script installer really feel so much more ancient than the previous tar/sudo/etc steps?

What would you recommend instead? I know there are options on the Mac, but I don't think there are easy options on Linux and at least for now I want to keep them the same. J is a program developers tool, not and end user app. If someone provided a complete and easy installer customized for the Mac that was dead easy for us to use I might take a look.

I know that Java distributes as a bin shell script for Linux and Mac. They also support other formats such as rpm and something Mac specific but I don't think we can get into packaging options. I kind of like the openness of the shell script.

The default location is ~/jsoftware/j602 not ~/j602 but I guess you would consider that to be even more obtrusive.

----- Original Message ----- From: "Joey K Tuttle" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Friday, September 28, 2007 7:34 PM
Subject: Re: [Jbeta] test


At 18:19  -0400 2007/09/28, Eric Iverson wrote:
J602 betas are available.


First comment about install in OS 10.4.10 --

Strange/weird - (compared to any other application I've seen)

chmod +x was indeed required. Or alternatively, "sourced" as -
iMg5:~/Desktop jkt$ . ./j602abeta_mac_powerpc.bin.sh

Strange to be in a /bin/sh dialog - feels so "last century..."

Nice that I can direct to install someplace less intrusive than
~/j602 (thanks for that)

Interesting changes in profile.ijs (I haven't searched for
more information about multi-user installations - but that
sounds promising.

More later I'm sure...

- joey
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm




____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to