#!/bin/perl ##################################################################### # Global Constants ##################################################################### require "flush.pl"; $StartupDir = `pwd`; chop $StartupDir; $ExdasyDir = "$StartupDir/Exdasy"; $ISISDir = "$StartupDir/isis"; $BinDir = "$StartupDir/bin"; $TPLDir = "$StartupDir/tpl"; $TmpDir = "$StartupDir/tmp/$$"; $TmpFile = "$TmpDir/Temp"; require "$BinDir/password.pl"; &ReadParse(); $ENV{PATH} = $ENV{PATH} . ":$BinDir"; umask 0000; mkdir($TmpDir,0777); chdir($TmpDir); #$SIG{'HUP'} = 'CleanUp'; #$SIG{'INT'} = 'CleanUp'; #$SIG{'QUIT'} = 'CleanUp'; #$SIG{'ABRT'} = 'CleanUp'; #$SIG{'KILL'} = 'CleanUp'; #$SIG{'BUS'} = 'CleanUp'; #$SIG{'SEGV'} = 'CleanUp'; #$SIG{'PIPE'} = 'CleanUp'; #$SIG{'ALRM'} = 'CleanUp'; #$SIG{'TERM'} = 'CleanUp'; #----------------------------------------------------------------- # Main Program #----------------------------------------------------------------- # `kill -9 xxx xxx`; # exit; #&PrintDebugCommands(); #exit; $path = $ENV{'PATH_INFO'}; &HTMLHeader(); print <<"end_tag";