oistart is a shell script which is ought to run applications associated with protocol or extension, just like 'start' command in Windows. As Unixes don't have any intrinsic associations, special file named associations is used. First of all, oistart script should be executable, it won't run otherwise. chmod 755 bin/oistart ------------------------------------------------------------------- IMPORTANT NOTE: ------------------------------------------------------------------- oistart is written in bourne shell. This is the default shell for most Unixes. There's a newer replacement to sh, bash (Bourne-Shell Again). Bash does it very well too. However you can not run oistart with any other shell like csh or ksh. If you have csh or ksh as default shell on your system, and /bin/sh is just a link to it you have to modify oistart so that it will address to a right shell. You can tell which shell is in fact your /bin/sh by trying to ls -l it. If it is a symbolic link, ls -l will tell you where it actually points at. It is harder if it is a hard link, see your sysadmin in the case. If you know where bourne shell, or bash is, edit the first line of oistart to point to that shell. For example, if you have bash, it would look like this: oistart:1: #!/bin/bash ------------------------------------------------------------------- If you already have Netscape Navigator or Netscape Communicator package, most likely you won't need to edit associations, as it is written for it. Let's see what is what there: http: netscape -remote openURL(%f) # netscape %f File format is quite simple. The first field here is the protocol name, as according to standard URL formation. So, if oistart would get something beginning with http and a colon it would execute the command. Pay special attention to the rightmost part of the string. Altough separated with hashmark, this is not a comment. Generally, Netscape can pass commands like openURL to the running instance of itself. But it won't ever start if there's none. So, if the first command fails, the second one is executed. %f stands for argument here. But if the URL isn't fully formed (==has no protocol specifier), it is assumed that it's a local file and application is choosen by its suffix. Suffix associations should be listed straight afterward protocol ones. Look: html netscape -remote openURL(%f) # netscape %f Everything is the same here, except for the colon after the first field, which is absent. Now, let's see how to make oistart running lynx instead of netscape. Lynx doesn't has GUI, so it has to have some host window. xterm can play this role just fine: file: xterm -e lynx %f # xterm -e lynx %f Both right fields are the same, because lynx can't communicate with already existent instances of itself. Here you may get into trouble for each opening of help item would open another window. SPECIAL NOTE ON mailto: protocol ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unix-type systems don't provide with standard interactive mail sending tools. Because of that, there is a script called lauchmail, which is located in arch directory (for SunOS, it would most likely be $THG/bin/SunOS/sun4u-sparc). launchmail takes the only argument for addressee mail address (without mailto: prefix) and launches specified mailer. Elm (ran in xterm window) is set as default. You can either specify your own preferred mail tool, or uncomment one from the list.