APPENDIX - PLATFORM-DEPENDENT INFORMATION

		    Supplemental Information for Intel Linux
			    EC 1.1/0106 (int.lnx/00)

Introduction
This document contains information about EDBC that is specific to
the Intel Linux operating system.

System Requirements
Minimum hardware requirement:
- 486x33 processor
- 16Mb RAM with 32Mb swap
- 200Mb disk available
On a minimal system EDBC should probably not be run with
memory-hungry Linux applications such as the X windowing system.

Compatible Versions
EDBC for Linux requires a Linux system based on the glibc 2.1
C-language libraries.  A list of such systems includes, but is not limited
to: RedHat 6.1, Caldera 2.3, SuSE 6.2, TurboLinux 3.6, Debian "potato".
NB Due to significant differences between glibc 2.1.3x and 2.1.96-14; and
unresolved issues with gcc-2.96, EDBC is not at present supported on
RedHat 7.0.

Compatible Bourne-style Shells
EDBC was developed and tested on an Linux system using GNU
bash shell, version 1.14.7(1).  Use of this shell as "/bin/sh" is
recommended for best results.  See the "Frequently Asked Questions"
section below for more details.

Installation
Use the following information in conjunction with the Getting Started
guide.  Information presented here supersedes information in the Getting
Started guide.

LD_LIBRARY_PATH
This release of EDBC supports the use of shared libraries.
The LD_LIBRARY_PATH environment variable must be set to add the EDBC
shared libraries to your shared library path.  Set this variable as
shown in the following examples:
	For C-style shells (such as tcsh):
		setenv LD_LIBRARY_PATH /lib:/usr/lib:$EDBC_ROOT/edbc/lib
	For Bourne-style shells (such as bash):
		export LD_LIBRARY_PATH=/lib:/usr/lib:$EDBC_ROOT/edbc/lib

Syscheck
EDBC provides a system-requirement checking program called syscheck
that tries to determine whether the machine on which EDBC is running
has sufficient resources.  For this release of EDBC for Linux
this program always returns a good result, regardless of the system
parameters.  During edbcstart processing the message "Your system has
sufficient resources to run EDBC" will always be displayed, regardless
of the hardware and software resources available.

Frequently Asked Questions

Question: Linux provides multiple sh-type shells.  Which should I
use with EDBC?
Answer: On Linux systems the file /bin/sh is a link to a shell such
as bash, ash, ksh, or zsh.  This is the shell that is invoked when a
Bourne shell script is run.  EDBC was developed and tested on an
Linux system using GNU bash, version 1.14.7(1).  Limited, successful
testing has also been done with the ksh and zsh shells.  Testing has
turned up problems running EDBC with version 2.0.3 of the bash
shell (this will manifest itself, for example, as a permissions problem
running ckpdb).  The problem with bash 2.x is not unique to EDBC;
the release NOTES file supplied with the source code to bash release
2.0.3 explains this issue and provides an "*unofficial*" patch to bash.
This patch will, indeed, correct the problems running EDBC.

Question: Where are the function keys PFK1 through PFK4 on my PC keyboard?
Answer: Although key bindings and terminal settings vary with equipment
and with character sets, the following should work if you are running
EDBC on an Linux console in vt100 mode.  Set TERM to vt100 and
set TERM_EDBC to vt100f.  The keys PFK1 through PFK4 should be bound to
the top row of the numeric key pad.

Question: How can I map the function keys PFK1 through PFK4 for an xterm?
Answer: Running EDBC in an xterm, set TERM to xterm and set
TERM_EDBC to vt100fx.  Then use xmodmap to determine and set your
function keys.  "xmodmap -pke" should show current settings.  (Use "man
xmodmap" to determine the syntax for your version of xmodmap.)  You will
probably find that there are no bindings for KP_F1 through KP_F4; you
will need to bind them.

For example: to bind keys Shift-F1 through Shift-F4 create a file "mykeys"
that contains:
	keycode 67 = F1 KP_F1
	keycode 68 = F2 KP_F2
	keycode 69 = F3 KP_F3
	keycode 70 = F4 KP_F4

Then issue the command:
	xmodmap mykeys

Shift and F1 through F4 will now be defined as PFK1 through PFK4.

Question: What compiler and compiler switches were used to create the
 Linux version of EDBC?  Are there additional switches needed
for compiling C-language application programs?
Answer: EDBC was compiled using the GCC compiler version provided
by the RedHat Linux package egcs-2.91.66 with the following switches:

-O -fPIC -fsigned-char -fno-strength-reduce -fwritable-strings -DLINUX
-DXLIB_ILLEGAL_ACCESS

Question: Do I need to modify system kernel parameters before running
EDBC?
Answer: No.  Standard kernels and kernels compiled with default values
(without modifying the Linux source headers) should provide adequate
resources.  However, changing certain EDBC default parameters (such as
enabling more than one cache size) may warrant an increase in certain 
Linux kernel parameters (such as shmmax).

Question: Do I need to change the permissions for /dev/kmem in order to
run EDBC on Linux?
Answer: No.  While this step is required on some Unix-type systems,
this is not required for this version of EDBC for Linux.

Question: When I try and compile the Fortran code generated by the ESQLF 
pre-compiler using g77, it fails with 'Unrecognized statement name.....'. 
Why?
Answer: The g77 compiler (which is bundled with many if not all Linux 
distributions) does not support some of the statements that the ESQLF 
pre-compiler generates. Further information is available at:
http://www.gnu.org/software/gcc/onlinedocs/g77_1.html
 
Question: When using alternative EDBC character sets, is there anything
else I need to do, apart from setting ED_CHARSETXX, to get the characters 
to display correctly?
Answer: As long as the terminal you are working from is using the same 
character set as EDBC there shouldn't be a problem. If you are having 
trouble with characters not being displayed properly, try starting
the terminal with specific character set. 

	e.g. If you are using shiftjis (Japanese DoubleByte character set)
as the ED_CHARSETXX setting in a 'kterm', start the kterm with the following
command:

	kterm -km sjis

This will ensure the terminal starts up with the correct character set.
It is also worth mentioning that you may encounter problems using double
byte character sets and kterm. If you do, try using the rxvt terminal instead.

e.g.
	rxvt -km sjis

for shiftjis.

Known Problems in EDBC EC 1.1/0106(int.lnx/00)

Contact Computer Associates Technical Support for a workaround/patch for
the following known problems.  In each case the bug number precedes the
description of the problem. Please note the problems documented here are 
the problems present ONLY in the Intel Linux version. For information
on Generic problems, see the 'Release Notes for EDBC Release 1.1/0106'.

