File name Case problemsNote: Many problems running Windows programs on Wine can be solved just by putting the file in the correct case (lower case usually). The Winplotr program is one of these and you will be required to convert the files into lower case.
If using the chcase perl script for UNIX, just go to the offending directory and run the following command to get all the files (in this example) into lower case:
chcase -r -d '*' (goes through subdirectories)
chcase -d '*.*' (just files with the *.* format in the present working directory)
Winplotr and Fullprof Rietveld
(Note 1: Winplotr can have problems spwaning programs under Wine/Linux. Fullprof cannot be spawned but other sub functions of Winplotr can)
(Note 2:The Winplotr setup program does not work at the moment)
(Fullprof and Winplotr are available from your closest CCP14 based mirror via the Fullprof tutorials page. Just grab the Winplotr zip file which also includes fullprof.)
On the Linux machine, unzip the previously ZIPPED c:\fullprof area (based on Wine install) in /c/fullprof (wine will see this as c:\fullprof).
As all the files are in UPPER CASE, while in the /c/fullprof directory use the following chcase command to convert them to lower case. (this is a simple Perl script downloaded off the internet as given in the above address that can be installed in /usr/bin)
chcase -r -d '*'
Setting DOS Style Environment variables in Linux
Under bash shell (following my be non-optimal or non-robust - though remembering that the System S/Platon single crystal suite is not happy using the latest Linux bash shell - use csh instead), put the following in the .bashrc file located in the home directory.
Then resource the .bashrc file using the command source .bashrc
Under Cshell/csh, put the following in the .cshrc located in the home directory.
Then resource the .cshrc file using the command source .cshrc
If you want to set these environment variables on the csh command line use:
Running Fullprof for Windows Under Wine/LinuxNow run wfp2k.exe (make the exe's lower case if not already) using the command:
You can also tell Wine to emulate a certain version of Windows in case this is what the program wants.
wine -winver win95 wfp2k
(If you find Winfullprof gives an error on startup saying it is having a problem involving a file called fullprof.dir, delete this file, then try running Winfullprof again. This dodgy file was probably created by attempting to spawn Fullprof from within Winplotr)
Running Winplotr for Windows Under Wine/LinuxNow run winplotr.exe (make the exe's lower case if not already) using the command:
Things are happy, browse and open a data file. Be happy if possible!
Running Win Fullprof under Wine/Linux/Gnome
Running Winplotr under Wine/Linux/Gnome