The XTAB system utilizes the following four(6) ascii files:

 Script  Save as ...  Description
     
 xtabpp  xtabpp  Script that executes the XTAB pre-processor.
 xtabpp.global  xtabpp.global  Script that executes the XTAB pre-processor. (Global version)
 xtabpp.pl  xtabpp.pl  The Perl pre-processor.
 xtabgo  xtabgo  Script that executes the generated Perl program.
 xtabgo.global  xtabgo.global  Script that executes the generated Perl program. (Global version)
 xtab_common  xtab_common  The Perl code common to all XTAB generated programs.

To get the files, click on the script name, it will come up as a text file, and then save it as the Save as name.

These files should/could reside in your home directory for single user mode, or in a specified directory for global user mode. In global mode the scripts reference $XTAB_HOME/bin (the specified directory).

We assume Perl is in your PATH.


For Single (For Global user mode see below) user mode:

Get the files to your home directory. (You probably want to put your home directory in your PATH.)

xtabpp.pl
xtabpp
xtab_common
xtabgo

Now issue:

>chmod 755 xtabpp xtabgo

Now you should be ready to go. Now use an editor to create an XTAB program, lets call it prog01.

Now use xtabpp to test it:

>xtabpp prog01

This tests prog01 for errors.

xtabpp.pl creates an intermediate file prog01.ppo (Pre Processor Ouput) that is removed.

Once xtabpp is run without errors you can run:

>xtabgo prog01

This tests prog01 for errors, and then executes prog01.pl.

The output is sent to the terminal as well as prog01.prn. (.prn contains form feeds (\f))

To get a printed copy:

>lp prog01.prn

Your system may vary.

Now another user can obtain the xtab system by copying these files to their home directory:

xtabpp.pl
xtabpp
xtab_common
xtabgo

And away you go ...


Global user mode:

This will likely require the advice and concent of your local UNIX ADMINISTRATOR.

As UNIX ADMINISTRATOR:

Follow the following senereio:

Create a new user (say): xtab.

That user xtab will have a home directory (say): /home/xtab

Now sign on as user xtab, and:

>mkdir bin
>cd bin

Now create a file xtabup as:

#!/bin/ksh
export $XTAB_HOME=/home/xtab
export PATH=$PATH:$XTAB_HOME/bin

Now you should have the following in your $XTAB_HOME/bin directory:

xtabup
xtabpp.global
xtabpp.pl
xtabgo.global
xtab_common
...

Now issue:

>mv xtabpp.global xtabpp
>mv xtabpp.global xtabpp
>chmod 755 xtabpp xtabgo

Now the general user signs on and issues first:

>. /home/xtab/bin/xtabup

This creates the XTAB environment.

Now the general user should be ready to go.

Now use an editor to create an XTAB program, (say) prog01.

Now use xtabpp to test it:

>xtabpp prog01

This tests prog01 for errors.

xtabpp.pl creates an intermediate file prog01.ppo (Pre Processor Ouput) that is removed.

Once xtabpp is run without errors the user can run:

>xtabgo prog01

This tests prog01 for errors, and then executes the generated program prog01.pl.

The output is sent to the terminal as well as prog01.prn. (.prn contains form feeds (\f))

To get a printed copy:

>lp prog01.prn

Your system may vary.

And away you go ...