I am a pretty new Linux Mint user. I use Mint 14 with Cinnamon.
I have a little problem concerning the program "VisualWorks" by the company Cincom. VisualWorks is an IDE for Cincom Smalltalk, a object-oriented programming language, I am learning in university. Since I need VisualWorks at home (I want to stop using windows), I downloaded the image file from the Cincom website. Luckily their software is compatible to Windows, Linux and Mac OS.
So I mounted the .iso file and installed VisualWorks to the path /home/$user/vw7.9.1pul
After the installation was complete, a popup opened with the following message:
"Please set an environment variable named: VISUALWORKS
to the value: /home/$user/vw7.9.1pul
in the appropriate unix startup file."
After a bit of using google, I kind of found out how to do that. I have no real idea, what I did, but here are the steps, I performed yesterday:
1. I set an Environment Variable by opening a terminal and typing:
"export /home/$user/vw7.9.1pul" (with my username for $user, of course).
After doing that "export -p" showed a newly added value "declare -x VISUALWORKS="/home/$user/vw7.9.1pul"
I have no idea what an environment variable is and why or for what I need to set it. After a reboot "export -p" didn't show "VISUALWORKS="/home/$user/vw7.9.1pul" anymore. So somehow I did something wrong.
But here is what I want to do: I want .im files to be opened by Cincom Visual Works automatically.
There is no Shortcut for VisualWorks anywhere. I already managed to open VisualWorks by command line and wrote a shell script to load my image automatically, but there must be an easier way to do that. Here is my shell script:
- Code: Select all
It seems that the file "vwlinux86gui" in the folder "/bin" located in the installation path of VisualWorks opens the program. My script is working, but I want, that .im files are opened automatically by Visualworks, because I don't want to write a shell script for every .im file I need to open.
Can anyone help me to do that (and resolve the mystery, what an Environemt variable is)?
Thanks a lot!