FPT Reference Manual - Command-line Commands
The configuration file, config.fsp is used to set up site or user-specific defaults. config.fsp resides in the main FPT directory, for example, for FPT version 3.7, by default under Windows: "C:\Program Files\SimCon\FPT\FPT37", typically, under Linux or Unix: /usr/local/bin/fpt/fpt37 and FPTMAIN: under VMS.
The file config.fsp contains:
A reference to the file user.fsp which contains the
LICENSEE and KEY commands.
FPT commands to set up site or user-specific characteristics, such as the maximum length of file names and the default input and output file name extensions. For example:
% maximum base file name length = 100
% primary input file name extension : ".f"
% include input file name extension : ".inc"
Example
! *****************************************************************************
! CONFIG.FSP - Configuration file
! Commands written to this file will be executed before input is read from
! the user's terminal. Ensure that the file protection allows read access.
! *****************************************************************************
! Licensing Information
! ---------------------
FPTMAIN:user.fsp
! *****************************************************************************
! Site-specific commands
! -----------------------
! Some suggested commands are shown but are commented out
! Allow '/' to introduce commands on the operating system command line
% ACCEPT COMMAND CHARACTER '/'
! Code Format - choose one of these, or construct your own
FPTMAIN:compact.fsp
!!!FPTMAIN:spaced.fsp
% COLUMN FORMAT
! File name characteristics
%INPUT FILE NAME EXTENSION: '.for'
%LOWER CASE FILE NAMES
!!! %INCLUDE INPUT FILE NAME EXTENSION: '.inc'
!!! %MAXIMUM BASE FILE NAME LENGTH = 8
!!! %NO WARNINGS FOR NON-PRINTING CHARACTERS
! Interactive characteristics
%NUMBER LINES
%WINDOW 9
%DEFINE FPTTEST: J:\fpt\fpttest
%DEFINE FPTTESTS: J:\fpt\fpttests
! End of CONFIG.FSP
! *****************************************************************************
Copyright ©1995 to 2012 Software Validation Ltd. All rights reserved.