Using TR WebNewsReader on Apache/VMS.

Offline Newsreader
Post Reply
Message
Author
maustin

Using TR WebNewsReader on Apache/VMS.

#1 Post by maustin »

only minor edits are required to get this to work. The edits change the multi-dot filenames to single or no-dot formats.

the two files that needed modification are [.lib]post_inc.php and [.lib]thread_inc.php. (see diff output below for changes)

There are some anomalies when trying to get the app to see new newsgroups added to the groups.txt (list of newsgroups) and grpaccess.txt (list of newgroups with access modes (y for write - n for nowrite) This could have probably been handled in one file..


Michael Austin

$ diff [.lib]post_inc.php
************
File [.LIB]post_inc.php;2
189 $cachefile=str_replace(".","",$newsgroups);
190 $cachefile=$spooldir.'/'.$newsgroups.'-cache.txt';
******
File [.LIB]post_inc.php;1
189 $cachefile=$spooldir.'/'.$newsgroups.'-cache.txt';
************




$ diff [.lib]thread_inc.php; [.lib]thread_inc.php;1
************
File [.LIB]thread_inc.php;5
91 $group = str_replace(".","",$group);
92 if ($compress_spoolfiles) {
******
File [.LIB]thread_inc.php;1
91 if ($compress_spoolfiles) {
************
************
File [.LIB]thread_inc.php;5
97 $group = str_replace(".","",$group);
98 $file=fopen("$spooldir/$group-data.dat","w");
******
File [.LIB]thread_inc.php;1
96 $file=fopen("$spooldir/$group-data.dat","w");
************
************
File [.LIB]thread_inc.php;5
398 $infofilename = str_replace(".","",$infofilename);
399 $infofile=fopen($infofilename,"w");
******
File [.LIB]thread_inc.php;1
396 $infofile=fopen($infofilename,"w");
************
************
File [.LIB]thread_inc.php;5
486 $cachefile = str_replace(".","",$cachefile);
487 $fp_cachefile=fopen($cachefile,"w");
******
File [.LIB]thread_inc.php;1
483 $fp_cachefile=fopen($cachefile,"w");
************
************
File [.LIB]thread_inc.php;5
958 $filename = str_replace(".","",$filename);
959 $file=fopen($filename,"w");
******
File [.LIB]thread_inc.php;1
954 $file=fopen($filename,"w");
************

Robert Trawinski

ODS-5 disks and Newsportal Newsreader

#2 Post by Robert Trawinski »

I installed mod_php 1.2-1 on my Itanium/VMS8.2/ODS-5/CSWS1.3-1. Newsportal Newsreader started without any changes (there are multidot files names in PHP scripts, and there are multidot PHP script and config files). Of course I had to change some settings (but I did not change sources) and I had to change PHP_SETUP.COM to work with ODS-5 files as release notes say.

Code: Select all

$ differ APACHE$COMMON:[000000]PHP_SETUP.COM APACHE$COMMON:[000000]PHP_SETUP.COM ;1
************
File APACHE$COMMON:[000000]PHP_SETUP.COM;7
   46   $
   47   $ DEFINE /NoLog DECC$EFS_CASE_PRESERVE ENABLED
   48   $ DEFINE /NoLog DECC$EFS_CASE_SPECIAL ENABLED
   49   $ DEFINE /NoLog DECC$EFS_CHARSET ENABLED
   50   $ DEFINE /NoLog DECC$FILE_SHARING ENABLED
   51   $
   52   $ SET NOON
******
File APACHE$COMMON:[000000]PHP_SETUP.COM;1
   46   $ SET NOON
************

Number of difference sections found: 1
Number of difference records found: 6

DIFFERENCES /IGNORE=()/MERGED=1-
    APACHE$COMMON:[000000]PHP_SETUP.COM;7-
    APACHE$COMMON:[000000]PHP_SETUP.COM;1

Post Reply