Open a terminal on Solaris and execute the following 4 commands in
sequence :

1) source /afs/uncc.edu/coe/unix/opt/mgc/cshrc.en2002
2) vsim

A window of ModelSim SE-64 PLUS 5.7c will appear.

Then do the following :
1) File -> New -> Project( Create a project of <name>)(a new window will appear)
2) Choose "Create New File" and type <filename>, or add an existing file by browsing
3) Double Click the <filename> in the main ModelSim Window.
4) Once the program is edited and saved, Click on Tools -> Compile.
5) A new Compilation window appears - select <filename> and click OK.
6) Check for errors in the main window.
6) If there are no errors, goto  Main Window : Simulate->Simulate
8) Select <entityname> from the "work" directory ... click OK.
        design loads in the main window.
9) Main Window : View->All
10) Highlight a signal in the signals window, click Edit->Force
       (this will enable you to assign values to the signal)
10) In the signals/variables windows ... click Add->Wave->Signals/Variables in Design and
       click the RUN icon to check outputs.
11) Quit modelsim