Just in any case anyone is interested in what's actually in that directory, here's a listing:
RHESUSSYS$ dir apache$root:[php.scripts]
Directory APACHE$SPECIFIC:[PHP.SCRIPTS]
SYSINFO.DIR;1 0.50KB 22-SEP-2009 21:21:35.44
Total of 1 file, 0.50KB
Directory APACHE$COMMON:[PHP.SCRIPTS]
PHP_CALENDAR.PHP;1 1KB 27-JUL-2009 10:33:18.95
PHP_INFO.PHP;3 0.50KB 22-SEP-2009 19:19:48.26
PHP_INFO.PHP;2 0.50KB 22-SEP-2009 19:13:20.18
PHP_INFO.PHP;1 0.50KB 27-JUL-2009 10:33:19.11
PHP_ODBC.PHP;1 0.50KB 27-JUL-2009 10:33:19.44
PHP_OPENVMS.PHP;1 7KB 27-JUL-2009 10:33:19.62
PHP_RULES.PHP;1 0.50KB 27-JUL-2009 10:33:19.79
Total of 7 files, 10KB
Grand total of 2 directories, 8 files, 11KB
Also, how does one generate a file with version number -1?
Sampsa
On 22 Sep 2009, at 22:40, Sampsa Laine wrote:
Hmm...The rule seems to somehow work for .1:
http://rhesus.sampsa.com/php/php_rules.php.1http://rhesus.sampsa.com/php/php_rules.php.0http://rhesus.sampsa.com/php/php_rules.php.-1
As well as -1:
http://rhesus.sampsa.com/php/php_rules.php;-1
And ;0 is covered by the rewrite anyhow:
http://rhesus.sampsa.com/php/php_rules.php;0
Any other separator legal for version numbers? Am I missing anything else?
Sampsa
On 22 Sep 2009, at 22:36, Johnny Billquist wrote:
Sampsa Laine wrote:
Just to clarify, are we now talking about the flaw in CSWS_PHP or just general syntax for VMS filenames? Or both?
Both. Since we're talking about legal filenames in VMS, it means that CSWS_PHP must understand them as well, or else they are just easy ways of getting around your rewrite rules.
Johnny
Sampsa
On 22 Sep 2009, at 22:25, Mark Abene wrote:
For the record, both [] and <> will work on TOPS-20 for directory names.
Brackets [] are naturally preferable because they don't require a shift,
which is much more comfortable when typing quickly.
Johnny Billquist wrote:
Mark Wickens wrote:
Hope you guys don't mind but I mentioned this to the Hoff and he pointed
out that a period '.' can be used validly instead of a ';' as a
separator between the version number and the filename.
Indeed. You can also use <> instead of [] as directory brackets.
All because of confusion within DEC at the time when they tried to
decide on a standard for all DEC OSes.
(Because of this confusion, TOPS-20 changed it's syntax to be <> and .,
but then VMS reverted the decision, but in the end they had to allow
both variants, to keep something like compatibility between VMS and
TOPS-20. RSX also allows the same.)
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
Hmm...The rule seems to somehow work for .1:
http://rhesus.sampsa.com/php/php_rules.php.1http://rhesus.sampsa.com/php/php_rules.php.0http://rhesus.sampsa.com/php/php_rules.php.-1
As well as -1:
http://rhesus.sampsa.com/php/php_rules.php;-1
And ;0 is covered by the rewrite anyhow:
http://rhesus.sampsa.com/php/php_rules.php;0
Any other separator legal for version numbers? Am I missing anything else?
Sampsa
On 22 Sep 2009, at 22:36, Johnny Billquist wrote:
Sampsa Laine wrote:
Just to clarify, are we now talking about the flaw in CSWS_PHP or just general syntax for VMS filenames? Or both?
Both. Since we're talking about legal filenames in VMS, it means that CSWS_PHP must understand them as well, or else they are just easy ways of getting around your rewrite rules.
Johnny
Sampsa
On 22 Sep 2009, at 22:25, Mark Abene wrote:
For the record, both [] and <> will work on TOPS-20 for directory names.
Brackets [] are naturally preferable because they don't require a shift,
which is much more comfortable when typing quickly.
Johnny Billquist wrote:
Mark Wickens wrote:
Hope you guys don't mind but I mentioned this to the Hoff and he pointed
out that a period '.' can be used validly instead of a ';' as a
separator between the version number and the filename.
Indeed. You can also use <> instead of [] as directory brackets.
All because of confusion within DEC at the time when they tried to
decide on a standard for all DEC OSes.
(Because of this confusion, TOPS-20 changed it's syntax to be <> and .,
but then VMS reverted the decision, but in the end they had to allow
both variants, to keep something like compatibility between VMS and
TOPS-20. RSX also allows the same.)
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
Oh god, that brings back some bad memories, "Where the **** is that squiggly thing on this stupid Finnish keyboard? I am never using these stupid umlauts when I grow up, damn it" = me at around 12 years of age.
And here we are, 20 years later, I can barely string together a coherent written sentence in my native tongue. I blame ASCII.
Sampsa
On 22 Sep 2009, at 22:34, Johnny Billquist wrote:
Paul Koning wrote:
Excerpt of message (sent 22 September 2009) by Johnny Billquist:
Mark Wickens wrote:
Hope you guys don't mind but I mentioned this to the Hoff and he pointed
out that a period '.' can be used validly instead of a ';' as a
separator between the version number and the filename.
Indeed. You can also use <> instead of [] as directory brackets.
All because of confusion within DEC at the time when they tried to decide on a standard for all DEC OSes.
The reason for avoiding [] is that those are "national characters" --
they might be letters with umlauts or stuff like that, in the ancient
days of non-English 7-bit character sets. Latin-1 obsoleted that
notion. But until that happened, there was an internal DEC directive
to avoid those code points... []{}\_|# and perhaps even $...
A few people paid attention, most (like RSTS) just ignored it.
Indeed. But after a while I got used to reading DB0: 120,114 :-)
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
Sampsa Laine wrote:
Just to clarify, are we now talking about the flaw in CSWS_PHP or just general syntax for VMS filenames? Or both?
Both. Since we're talking about legal filenames in VMS, it means that CSWS_PHP must understand them as well, or else they are just easy ways of getting around your rewrite rules.
Johnny
Sampsa
On 22 Sep 2009, at 22:25, Mark Abene wrote:
For the record, both [] and <> will work on TOPS-20 for directory names.
Brackets [] are naturally preferable because they don't require a shift,
which is much more comfortable when typing quickly.
Johnny Billquist wrote:
Mark Wickens wrote:
Hope you guys don't mind but I mentioned this to the Hoff and he pointed
out that a period '.' can be used validly instead of a ';' as a
separator between the version number and the filename.
Indeed. You can also use <> instead of [] as directory brackets.
All because of confusion within DEC at the time when they tried to
decide on a standard for all DEC OSes.
(Because of this confusion, TOPS-20 changed it's syntax to be <> and .,
but then VMS reverted the decision, but in the end they had to allow
both variants, to keep something like compatibility between VMS and
TOPS-20. RSX also allows the same.)
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
Paul Koning wrote:
Excerpt of message (sent 22 September 2009) by Johnny Billquist:
Mark Wickens wrote:
Hope you guys don't mind but I mentioned this to the Hoff and he pointed
out that a period '.' can be used validly instead of a ';' as a
separator between the version number and the filename.
Indeed. You can also use <> instead of [] as directory brackets.
All because of confusion within DEC at the time when they tried to decide on a standard for all DEC OSes.
The reason for avoiding [] is that those are "national characters" --
they might be letters with umlauts or stuff like that, in the ancient
days of non-English 7-bit character sets. Latin-1 obsoleted that
notion. But until that happened, there was an internal DEC directive
to avoid those code points... []{}\_|# and perhaps even $...
A few people paid attention, most (like RSTS) just ignored it.
Indeed. But after a while I got used to reading DB0: 120,114 :-)
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
Paul Koning wrote:
Excerpt of message (sent 22 September 2009) by Mark Wickens:
Hope you guys don't mind but I mentioned this to the Hoff and he pointed
out that a period '.' can be used validly instead of a ';' as a
separator between the version number and the filename.
True in VMS, not in RSX. That's a small feature for cultural
compatibility with TOPS-20...
.dir <bqt>login.cmd.47
Directory DU4:<BQT>
22-SEP-09 23:19
LOGIN.CMD;47 3. 16-FEB-09 11:37
Total of 3./5. blocks in 1. file
.set /host
Host=MIM RSX-11M-PLUS V4.6 BL87mP
.
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
Excerpt of message (sent 22 September 2009) by Johnny Billquist:
Mark Wickens wrote:
Hope you guys don't mind but I mentioned this to the Hoff and he pointed
out that a period '.' can be used validly instead of a ';' as a
separator between the version number and the filename.
Indeed. You can also use <> instead of [] as directory brackets.
All because of confusion within DEC at the time when they tried to
decide on a standard for all DEC OSes.
The reason for avoiding [] is that those are "national characters" --
they might be letters with umlauts or stuff like that, in the ancient
days of non-English 7-bit character sets. Latin-1 obsoleted that
notion. But until that happened, there was an internal DEC directive
to avoid those code points... []{}\_|# and perhaps even $...
A few people paid attention, most (like RSTS) just ignored it.
paul
Excerpt of message (sent 22 September 2009) by Mark Wickens:
Hope you guys don't mind but I mentioned this to the Hoff and he pointed
out that a period '.' can be used validly instead of a ';' as a
separator between the version number and the filename.
True in VMS, not in RSX. That's a small feature for cultural
compatibility with TOPS-20...
paul
Just to clarify, are we now talking about the flaw in CSWS_PHP or just general syntax for VMS filenames? Or both?
Sampsa
On 22 Sep 2009, at 22:25, Mark Abene wrote:
For the record, both [] and <> will work on TOPS-20 for directory names.
Brackets [] are naturally preferable because they don't require a shift,
which is much more comfortable when typing quickly.
Johnny Billquist wrote:
Mark Wickens wrote:
Hope you guys don't mind but I mentioned this to the Hoff and he pointed
out that a period '.' can be used validly instead of a ';' as a
separator between the version number and the filename.
Indeed. You can also use <> instead of [] as directory brackets.
All because of confusion within DEC at the time when they tried to
decide on a standard for all DEC OSes.
(Because of this confusion, TOPS-20 changed it's syntax to be <> and .,
but then VMS reverted the decision, but in the end they had to allow
both variants, to keep something like compatibility between VMS and
TOPS-20. RSX also allows the same.)
Johnny
Sampsa Laine wrote:
*cries a little*
This regex is going to be like 800 chars, right?
Probably. :-)
The syntax for the filename is a little tricky, unfortunately.
And with ODS-5, it is probably even worse...
Johnny
Sampsa
On 22 Sep 2009, at 22:20, Johnny Billquist wrote:
Mark Wickens wrote:
Hope you guys don't mind but I mentioned this to the Hoff and he pointed
out that a period '.' can be used validly instead of a ';' as a
separator between the version number and the filename.
Indeed. You can also use <> instead of [] as directory brackets.
All because of confusion within DEC at the time when they tried to decide on a standard for all DEC OSes.
(Because of this confusion, TOPS-20 changed it's syntax to be <> and ., but then VMS reverted the decision, but in the end they had to allow both variants, to keep something like compatibility between VMS and TOPS-20. RSX also allows the same.)
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol