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
#!/bin/sh cd /home/$user/vw7.9.1pul/bin/linux86/ ./vwlinux86gui -=/home/$user/Dokumente/NAK/Smalltalk/image.im exit
Can anyone help me to do that (and resolve the mystery, what an Environemt variable is)?
Thanks a lot!