.PL63 .PN1 L..........................................R...L.....................A .FO2 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>@@ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ UNOTE 086 Page # .HE5 From : Customer Services Ref: UNOTE 086~ L...............................................................R.L..A Re : Running Multiple Uniplex Languages One One Machine AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>@@ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ L.......T.......T.......T.......T.......T.......T.......T.......T.........M Running Multiple Uniplex Languages On One Machine@@ HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH L.......T.......T.......T.......T.......T.......T.......T.......T.........J To install multiple languages of Uniplex character-base and windows you can use the following method. The example given here will comprise of installing a full English copy, and then installing a French version using parts of the English installation.~ Please note : SCO ODT can not be installed using this method.~ To install the English version :~ mkdir /usr/english~ cd /usr/english~ Extract the Base, AOS, AGS, UW and English TEXT Tapes. Set your UNIPLEX_NAME to be "english". Run UAP/install Once the English version has installed and you have entered the necessary installation keys you will then need to modify the following files to recognise what language the version will be running. UAP/XW/.xdtdir/C - move C to english~ UAP/XW/uxapps/.xdtdir/C - move C to english~ UAP/XW/uxutility/.xdtdir/C - move C to english~ /usr/lib/X11/english/app-defaults/XDesktop~ Search in this file for any line containing the word "Rule". Wherever the rule file is defined, it will have a directory name and you will need to change all occurences of "C" to the appropriate language. In this case "english".~ /usr/x/lib/sysinfodir/english~ Search in this file for "locked_on_desktop".~ You will see something resembling the following :~ %// PLEASE DO NOT ALTER THE FORMAT OF THE NEXT TWO LINES ..L.....T.......T.......T.......T.......T.......T.......T.......T....R /; %// Ensures root directory is locked on to desktop.~ %$HOME$; %// Ensures the user's home directory is locked out.~ L.......T.......T.......T.......T.......T.......T.......T.......T....J Put the following lines below the %$HOME$ line :~ /usr/english/UAP/XW/uxutility; /usr/english/UAP/XW/uxapps; So the file will then look like this :~ %// PLEASE DO NOT ALTER THE FORMAT OF THE NEXT TWO LINES ..L.....T.......T.......T.......T.......T.......T.......T.......T....R /; %// Ensures root directory is locked on to desktop.~ %$HOME$; %// Ensures the user's home directory is locked out.~ /usr/english/UAP/XW/uxutility;~ /usr/english/UAP/XW/uxapps;~ L.......T.......T.......T.......T.......T.......T.......T.......T....J Next, the front-end scripts will need to be modified to look in the appropriate place, depending on the language you are running. Copy /usr/bin/uxwindows to /usr/bin/eng.uxwindows Edit /usr/bin/eng.uxwindows and add /usr/english/UAP/cmds to the PATH variable set at the top of the file. Then copy /usr/bin/uxuniplex to /usr/english/UAP/cmds. Edit /usr/english/UAP/cmds/uxuniplex and change the Uredirect variable to look in /usr/english, and change the LANG variable to be english. You should now have a fully installed English version of Uniplex that is modified to recognise what language it is when you have multiple languages installed. To install a French version using major parts of the already installed English version, the procedure is practically the same but changing the files to see the French language. For example :~ mkdir /usr/french~ cd /usr/french~ Extract the UW and French TEXT tapes.~ Remove the UAP/bin directory.~ Remove the UAP/demo/CLIP_ART directory.~ Remove the UAP/unsupported directory.~ L.......T.......T.......T.......T.......T.......T.......T.......T......R ln -s /usr/english/UAP/bin /usr/french/UAP/bin~ ln -s /usr/english/UAP/demo/CLIP_ART /usr/french/UAP/demo/CLIP_ART~ ln -s /usr/english/UAP/unsupported /usr/french/UAP/unsupported~ ln -s /usr/english/UAP/dbs/check.iem /usr/french/UAP/dbs/check.iem~ ln -s /usr/english/UAP/filters/hershey /usr/french/UAP/filters/hershey~ L.......T.......T.......T.......T.......T.......T.......T.......T....J Copy the contents of the english UAP/.installation directory to the french UAP/.installation.~ cd /usr/french/UAP/.installation~ rm */.installed~ cd /usr/french~ setenv UNIPLEX_NAME french~ UAP/install~ Once the French version has installed and you have entered all neccessary installation keys, you will then need to modify the installation to recognise the correct language :~ Change the following :~ UAP/XW/.xdtdir/C - move C to french~ UAP/XW/uxapps/.xdtdir/C - move C to french~ UAP/XW/uxutility/.xdtdir/C - move C to french~ Edit the following file :~ /usr/lib/X11/french/app-defaults/XDesktop~ Search in this file for any line containing the word "Rule". Wherever the rule file is defined, it will have a directory name and you will need to change all occurences of "C" to the appropriate language. In this case "french".~ Next, edit /usr/x/lib/sysinfodir/french~ Search in this file for "locked_on_desktop".~ You will see something resembling the following :~ %// PLEASE DO NOT ALTER THE FORMAT OF THE NEXT TWO LINES ..L.....T.......T.......T.......T.......T.......T.......T.......T....R /; %// Ensures root directory is locked on to desktop.~ %$HOME$; %// Ensures the user's home directory is locked out.~ L.......T.......T.......T.......T.......T.......T.......T.......T....J Put the following lines below the %$HOME$ line :~ /usr/french/UAP/XW/uxutility;~ /usr/french/UAP/XW/uxapps;~ So the file will then look like this :~ %// PLEASE DO NOT ALTER THE FORMAT OF THE NEXT TWO LINES ..L.....T.......T.......T.......T.......T.......T.......T.......T....R /; %// Ensures root directory is locked on to desktop.~ %$HOME$; %// Ensures the user's home directory is locked out.~ L.......T.......T.......T.......T.......T.......T.......T.......T....R /usr/french/UAP/XW/uxutility;~ /usr/french/UAP/XW/uxapps;~ L.......T.......T.......T.......T.......T.......T.......T.......T....J Next, the front-end scripts will need to be modified to look in the appropriate place, depending on the language you are running. Copy /usr/bin/uxwindows to /usr/bin/fre.uxwindows Edit /usr/bin/fre.uxwindows and add /usr/french/UAP/cmds to the PATH variable set at the top of the file. Then copy /usr/bin/uxuniplex to /usr/french/UAP/cmds. Edit /usr/french/UAP/cmds/uxuniplex and change the Uredirect variable to look in /usr/french, and change the LANG variable to be french. You should then be able to call up an English and French version of Uniplex Windows. Please note that if you have been running for example, English uxwindows, you must remove your $HOME/xdtinitial.xde before running the French uxwindows, or you will have ghost files displayed on your desktop.~