LINUX

Document Sample
LINUX
********************************************************************

Linux Overview

********************************************************************



The complete b34s for linux is in a file b34sx.tgz. One command installs

b34s. After this is done two scripts are made.



Step 1 Installing the b34s files:



To uncompress from cdrom:



tar xzvf /mnt/cdrom/b34sx.tgz --directory /usr/local/lib



If the file is in the directory on your linux machine, the command



tar xzvf b34sx.tgz --directory /usr/local/lib



will place the b34s and its subdirectories in



/usr/local/lib/b34slm





Note: The b34sx.tgz file was made as follows:



From /usr/local/lib which is one directory above /usr/local/lib/b34slm



tar czvf /output-dir/b34sx.tgz b34slm



Where /output-dir/ was the path of the location of the *.tgz file



Example:



tar czvf /home/home1/hhstokes/tar/b34sx.tgz b34slm



Step 2 Turning on B34S



Copy the file



b34s.ini



into /usr/local/lib/b34slm



This turns on B34SX





Step 3 Making the scripts b34s and b34sx



The user should make scripts b34s and b34sx for batch and

Display Manager use of B34S. These can be placed any where. Most users

use /usr/local/bin or /usr/bin



********************************

b34s script



On Linux the calling script to run a file is:



/usr/local/lib/b34slm/b34sx -Wl,-r185,-p187 -f$1.b34 -s$2 \

-r$1 -L/usr/local/lib/b34slm/

rm -f tempfn





Place these three lines in /usr/bin and give it the name b34s



Note that the character \ continues the command line



If the Display Manager and graphics are not needed use the form:



/usr/local/lib/b34slm/b34sx -Wl,-r185,-p187 -f$1.b34 -s$2 -NODM \

-r$1 -L/usr/local/lib/b34slm/

rm -f tempfn







+++++++++++++++++++++++++++++



b34sx script



The b34sx script will bring up the Display Manager interface in either

graphics or text mode depending from where it has been called.





/usr/local/lib/b34slm/b34sx -Wl,-r185,-p187 -s$2 \

-L/usr/local/lib/b34slm/

rm -f tempfn



Place these three lines in a file called b34sx in /usr/bin or

/usr/local/bin



+++++++++++++++++++++++++++++



Be sure make the scripts b34s and b34sx are execuitable with the

commands



chmod a+rx b34s

chmod a+rx b34sx



In the directory



/usr/local/lib/b34slm



give command



chmod a+rx * *



to turns things on.

To test the system type



b34sx





The Display Manager should have come up!!!!



************************************************************************

LINUX Notes:

************************************************************************



The B34S Linux version b34sx works like other unix systems.



The Linux b34sx can be run in batch or with the Display Manager.

The interface is 100% simular to the Windows 95/98/NT interface.

If b34sx is run on Linux in a X-Windows screen, the Display Manager

will come up in graphics form. If b34sx is called from a dial up line

in text mode, the screen will automatically be in text mode. Usually

b34s is run from one of three scripts.



The script b34sx calls the Display Manager version.



The script b34s calls the batch version.



The script b34s2 runs the program in batch but allows graphics.



The b34s2 command makes the screen flash as the job runs.

If the job does not require graphics, many people prefer the b34s

command.



IMPORTANT: Remember linux is case sensitive. Use b34s NOT B34S.



The B34S Linux release was built with the Lahey LF95 Express

compiler. The speed gains are substantial over what the LF90

version of B34S (b34sw.exe) can obtain. This is especially true

for DO loops under the Matrix Command. On the same machine using

LF95 for both the Windows and Linux versions, the Linux version is

up to 20% faster.



********************************************************************

Windows 98 and Linux file structure

********************************************************************



Windows files have the character ^M placed at the end of each line.



The utility program w2linux can be used to convert such files,

although this may not be required. The linux b34s will automatically

remove ^M (char(13)) and detect the end of file character ^Z

(char(26)). If the b34s data loading step reads an external data file

or an FSAVE file is used, the file may have to be manually converted.

The program w2linux can be used to make the conversion or the unix

command

tr -d '\r' unixfile



can be used. To setup w2linux, copy w2linux from directory



/home/username/b34slm/



to the directory



/home/username/bin/



or the directory



/usr/bin/



The first directory can be used by a user without super user status.

The latter directory is used to make b34s useable for all accounts

on the unix machine.



the command



w2linux filename



will convert the file filename. Alternatively if the command



w2linux



is given the user will be prompted. The file structure problem occurs

when files are copied from a Linux machine that also has a Windows disk.

The linux cp command will not "fix" the file. The unix utility ftp will

make such a fix.


Share This Document


Related docs
Other docs by TitusYoung
Re-imagining Services Retreat Plan
Views: 5  |  Downloads: 0
Health Information
Views: 27  |  Downloads: 0
PDQ (081302)
Views: 9  |  Downloads: 0
Voyager 2001.2 release notes
Views: 30  |  Downloads: 0
Strategic Redux
Views: 10  |  Downloads: 2
Client Download Instructions
Views: 12  |  Downloads: 0
Budget Request Form in MS Excel format
Views: 7  |  Downloads: 1
SCAINPUT
Views: 1  |  Downloads: 0
by registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!