By the way, as an example, have a look at CHIMPY::INFO.TXT.
This is also a great place to put stuff like "Private system, no guest login available. Please don't attempt to connect" etc
Sampsa.
On 14 Oct 2009, at 13:26, Sampsa Laine wrote:
Guys,
I just had an idea for making nodes on the network more accessible:
Drop a file called INFO.TXT into the default account FAL directory if you have one enabled. This file can give a brief description of the system and guest logins etc.
I've even knocked out a quick CGI script for viewing this info online.
Sampsa
Guys,
I just had an idea for making nodes on the network more accessible:
Drop a file called INFO.TXT into the default account FAL directory if you have one enabled. This file can give a brief description of the system and guest logins etc.
I've even knocked out a quick CGI script for viewing this info online.
Sampsa
Tried that too, still can't see them listed. I'm sure I'm missing something really obvious - I'm pretty sure that the CGI params are passed as symbols, not logicals...
Sampsa
On 6 Oct 2009, at 00:43, Johnny Billquist wrote:
No, I would expect that to be equivalent to SHOW SYMBOL/GLOBAL *
I am probably thinking about LOGICALS, and not SYMBOLS. Can't you just try a SHOW LOG/ALL instead?
Johnny
Sampsa Laine wrote:
Amusingly enough, even that doesn't show me the HTTP variables:
Output from SHOW SYMBOL/GLOBAL/ALL in the CGI DCL:
$FACILITY == "%X00000001"
$IDENT == "%X00000000"
$RESTART == "FALSE"
$SEVERITY == "1"
$STATUS == "%X00010001"
APACHE$DCL_BIN == "$ APACHE$COMMON:[000000]APACHE$DCL_BIN.EXE"
APACHE$DCL_CMD == "@APACHE$COMMON:[CGI-BIN.FIDONODES]FINDNODE-DEV.COM"
APACHE$DCL_ENV == "$ APACHE$COMMON:[000000]APACHE$DCL_ENV.EXE"
APACHE$DCL_RUN == "$ APACHE$COMMON:[000000]APACHE$DCL_RUN.EXE"
APACHE$FLIP_CCL == "$ APACHE$COMMON:[000000]APACHE$SET_CCL.EXE"
APACHE$SET_CCL == "$ APACHE$COMMON:[000000]APACHE$SET_CCL.EXE"
HTTPD == "$ APACHE$COMMON:[000000]APACHE$HTTPD.EXE"
PHP == "$ PHP_ROOT:[BIN]PHP.EXE"
SAY == "WRITE SYS$OUTPUT"
On 5 Oct 2009, at 23:55, Marc Chametzky wrote:
SHOW SYMBOL/ALL just dumps P1-P9. *cries a little*
I think you'd need "SHOW SYMBOL/GLOBAL/ALL" to see the other global symbols. By default, "SHOW SYMBOL/ALL" defaults to /LOCAL.
--Marc
--
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
No, I would expect that to be equivalent to SHOW SYMBOL/GLOBAL *
I am probably thinking about LOGICALS, and not SYMBOLS. Can't you just try a SHOW LOG/ALL instead?
Johnny
Sampsa Laine wrote:
Amusingly enough, even that doesn't show me the HTTP variables:
Output from SHOW SYMBOL/GLOBAL/ALL in the CGI DCL:
$FACILITY == "%X00000001"
$IDENT == "%X00000000"
$RESTART == "FALSE"
$SEVERITY == "1"
$STATUS == "%X00010001"
APACHE$DCL_BIN == "$ APACHE$COMMON:[000000]APACHE$DCL_BIN.EXE"
APACHE$DCL_CMD == "@APACHE$COMMON:[CGI-BIN.FIDONODES]FINDNODE-DEV.COM"
APACHE$DCL_ENV == "$ APACHE$COMMON:[000000]APACHE$DCL_ENV.EXE"
APACHE$DCL_RUN == "$ APACHE$COMMON:[000000]APACHE$DCL_RUN.EXE"
APACHE$FLIP_CCL == "$ APACHE$COMMON:[000000]APACHE$SET_CCL.EXE"
APACHE$SET_CCL == "$ APACHE$COMMON:[000000]APACHE$SET_CCL.EXE"
HTTPD == "$ APACHE$COMMON:[000000]APACHE$HTTPD.EXE"
PHP == "$ PHP_ROOT:[BIN]PHP.EXE"
SAY == "WRITE SYS$OUTPUT"
On 5 Oct 2009, at 23:55, Marc Chametzky wrote:
SHOW SYMBOL/ALL just dumps P1-P9. *cries a little*
I think you'd need "SHOW SYMBOL/GLOBAL/ALL" to see the other global symbols. By default, "SHOW SYMBOL/ALL" defaults to /LOCAL.
--Marc
--
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
Amusingly enough, even that doesn't show me the HTTP variables:
Output from SHOW SYMBOL/GLOBAL/ALL in the CGI DCL:
$FACILITY == "%X00000001"
$IDENT == "%X00000000"
$RESTART == "FALSE"
$SEVERITY == "1"
$STATUS == "%X00010001"
APACHE$DCL_BIN == "$ APACHE$COMMON:[000000]APACHE$DCL_BIN.EXE"
APACHE$DCL_CMD == "@APACHE$COMMON:[CGI-BIN.FIDONODES]FINDNODE-DEV.COM"
APACHE$DCL_ENV == "$ APACHE$COMMON:[000000]APACHE$DCL_ENV.EXE"
APACHE$DCL_RUN == "$ APACHE$COMMON:[000000]APACHE$DCL_RUN.EXE"
APACHE$FLIP_CCL == "$ APACHE$COMMON:[000000]APACHE$SET_CCL.EXE"
APACHE$SET_CCL == "$ APACHE$COMMON:[000000]APACHE$SET_CCL.EXE"
HTTPD == "$ APACHE$COMMON:[000000]APACHE$HTTPD.EXE"
PHP == "$ PHP_ROOT:[BIN]PHP.EXE"
SAY == "WRITE SYS$OUTPUT"
On 5 Oct 2009, at 23:55, Marc Chametzky wrote:
SHOW SYMBOL/ALL just dumps P1-P9. *cries a little*
I think you'd need "SHOW SYMBOL/GLOBAL/ALL" to see the other global symbols. By default, "SHOW SYMBOL/ALL" defaults to /LOCAL.
--Marc
SHOW SYMBOL/ALL just dumps P1-P9. *cries a little*
I think you'd need "SHOW SYMBOL/GLOBAL/ALL" to see the other global symbols. By default, "SHOW SYMBOL/ALL" defaults to /LOCAL.
--Marc
Mark Wickens wrote:
Woops,
Sorry, hostname should be appsoftint.co.uk (it was missing the 't'
before)
Thanks, Mark.
On Mon, 2009-10-05 at 21:27 +0300, Kari Uusim ki wrote:
Mark Wickens wrote:
Hello,
Would someone be able to host some files for me on a drive reachable
from my hecnet node ORAC please? I am having issues with cluster
incompatibilities that are preventing me from getting the files off a
more local machine. It's 24MB worth of 5.5.2-H4 OpenVMS patches, so very
on-topic! I can let you know when they're pulled and you can then delete
them - it's a one off request.
The files can be pulled via ftp from the following location:
Hostname: appsofint.co.uk
Username: guest
Password: Uptime1
Directory: ./OpenVMS-5.5.2-H4-Patches
Thanks a million!
Regards, Mark.
.
I could do it, but I cannot reach the ftp server. Do you have an IP address to it?
Regards,
Kari
So far so good, but couldn't see any files in the directory or download any files. Maybe the access list is too restrictive?
Kari
Huh? Maybe I'm thinking wrong. Hmm, by the way, try what someone else suggested (can't remember who), and check your logicals instead. I would expect them to live there...
SHOW LOG/ALL
Johnny
Sampsa Laine wrote:
Actually,
SHOW SYMBOL/ALL just dumps P1-P9. *cries a little*
Sampsa
On 5 Oct 2009, at 20:13, Sampsa Laine wrote:
Doh. I stupidly did SHOW SYMBOL *. Oh well, live and learn.
Sampsa
On 5 Oct 2009, at 20:13, Johnny Billquist wrote:
Try SHOW SYMBOL/ALL instead. :-)
Johnny
Sampsa Laine wrote:
Erm, no I wasn't - this is all new to me, much like Classical Arabic grammar :)
I managed to get enough pages out of the "Writing Real Programs in DCL" on Google Books to make it work though.
Sampsa
On 5 Oct 2009, at 19:43, Johnny Billquist wrote:
You are aware that there are more tables than just the LOCAL and SYSTEM
tables, do you?
Johnny
Sampsa Laine wrote:
Turns out that they were defined after all, but just now shown by the SHOW SYMBOL commands. Oh well. It works.
Sampsa
On 5 Oct 2009, at 18:53, Steve Davidson wrote:
Sampsa,
I would take a look at logicals. They may actually be using them instead. Most of my scripts use logicals so that it doesn't matter where the script is run from.
-Steve
------------------------------------------------------------------------
*From:* owner-hecnet at Update.UU.SE <mailto:owner-hecnet at Update.UU.SE> [mailto:owner-hecnet at Update.UU.SE] *On Behalf Of *Sampsa Laine
*Sent:* Monday, October 05, 2009 12:17
*To:* hecnet at Update.UU.SE <mailto:hecnet at Update.UU.SE>
*Subject:* [HECnet] OT: CGI parameters in CSWS?
Sorry about the less-than-entirely-relevant question, feel free to ignore, but I am confused, yet again.
I'm trying to write a quick script to search a file and output the results, in HTML, over HTTP, so I've decided to use a small DCL script with the CSWS web server on OpenVMS 8.3. I can't figure out where CSWS sticks the CGI parameters however, the book says they're meant to be defined as symbols, but this is what my script sees:
SHOW SYMBOL/LOCAL *
P1 = ""
P2 = ""
P3 = ""
P4 = ""
P5 = ""
P6 = ""
P7 = ""
P8 = ""
SHOW SYMBOL/GLOBAL *
$FACILITY == "%X00000001"
$IDENT == "%X00000000"
$RESTART == "FALSE"
$SEVERITY == "1"
$STATUS == "%X00010001"
APACHE$DCL_BIN == "$ APACHE$COMMON:[000000]APACHE$DCL_BIN.EXE"
APACHE$DCL_CMD == "@APACHE$COMMON:[CGI-BIN.FIDONODES]FINDNODE.COM"
APACHE$DCL_ENV == "$ APACHE$COMMON:[000000]APACHE$DCL_ENV.EXE"
APACHE$DCL_RUN == "$ APACHE$COMMON:[000000]APACHE$DCL_RUN.EXE"
APACHE$FLIP_CCL == "$ APACHE$COMMON:[000000]APACHE$SET_CCL.EXE"
APACHE$SET_CCL == "$ APACHE$COMMON:[000000]APACHE$SET_CCL.EXE"
HTTPD == "$ APACHE$COMMON:[000000]APACHE$HTTPD.EXE"
PHP == "$ PHP_ROOT:[BIN]PHP.EXE"
SAY == "WRITE SYS$OUTPUT"
Where did QUERYSTRING etc go?
Here's the script ( http://rhesus.sampsa.com/cgi-bin/fidonodes/findnode.com?q=foo ) :
$ write sys$output "content-type: text/html"
$ write sys$output ""
$ write sys$output "<html><hr /><pre>"
$ WRITE SYS$OUTPUT "SHOW SYMBOL/LOCAL *"
$ show symbol/local *
$ WRITE SYS$OUTPUT "SHOW SYMBOL/GLOBAL *"
$ show symbol/global *
--
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
--
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
Ok, that explain it :)
Does anybody happen to know why CSWS doesn't pass QUERY_STRING_UNESCAPED, but it does QUERY_STRING? Is there some Apache option I need to set?
CSWS = I64VMS CSWS V2.1-1 on VMS V8.3-1H1 / Itanium.
Sampsa
On 5 Oct 2009, at 20:18, Johnny Billquist wrote:
Nothing wrong with *, just that you won't get other tables like that.
There are some tables that are shown by default, if you don't specify otherwise. Also, by default, all tables are searched when you try to translate a symbol, and they are searched in a specific order, so that you can "overwrite" system values with your own versions without affecting other users. And this is done in several levels, so that you have a login logical table, and a process logical table, and a group logical table, and so on...
When you write programs, you can specify that you don't want to search certain tables as well.
So, for your scripts, you weren't examining the right tables, but when you wanted translations done, the symbols were found somewhere anyway, even if you didn't examine those tables explicitly. :-)
Johnny
Sampsa Laine wrote:
Doh. I stupidly did SHOW SYMBOL *. Oh well, live and learn.
Sampsa
On 5 Oct 2009, at 20:13, Johnny Billquist wrote:
Try SHOW SYMBOL/ALL instead. :-)
Johnny
Sampsa Laine wrote:
Erm, no I wasn't - this is all new to me, much like Classical Arabic grammar :)
I managed to get enough pages out of the "Writing Real Programs in DCL" on Google Books to make it work though.
Sampsa
On 5 Oct 2009, at 19:43, Johnny Billquist wrote:
You are aware that there are more tables than just the LOCAL and SYSTEM
tables, do you?
Johnny
Sampsa Laine wrote:
Turns out that they were defined after all, but just now shown by the SHOW SYMBOL commands. Oh well. It works.
Sampsa
On 5 Oct 2009, at 18:53, Steve Davidson wrote:
Sampsa,
I would take a look at logicals. They may actually be using them instead. Most of my scripts use logicals so that it doesn't matter where the script is run from.
-Steve
------------------------------------------------------------------------
*From:* owner-hecnet at Update.UU.SE <mailto:owner-hecnet at Update.UU.SE> [mailto:owner-hecnet at Update.UU.SE] *On Behalf Of *Sampsa Laine
*Sent:* Monday, October 05, 2009 12:17
*To:* hecnet at Update.UU.SE <mailto:hecnet at Update.UU.SE>
*Subject:* [HECnet] OT: CGI parameters in CSWS?
Sorry about the less-than-entirely-relevant question, feel free to ignore, but I am confused, yet again.
I'm trying to write a quick script to search a file and output the results, in HTML, over HTTP, so I've decided to use a small DCL script with the CSWS web server on OpenVMS 8.3. I can't figure out where CSWS sticks the CGI parameters however, the book says they're meant to be defined as symbols, but this is what my script sees:
SHOW SYMBOL/LOCAL *
P1 = ""
P2 = ""
P3 = ""
P4 = ""
P5 = ""
P6 = ""
P7 = ""
P8 = ""
SHOW SYMBOL/GLOBAL *
$FACILITY == "%X00000001"
$IDENT == "%X00000000"
$RESTART == "FALSE"
$SEVERITY == "1"
$STATUS == "%X00010001"
APACHE$DCL_BIN == "$ APACHE$COMMON:[000000]APACHE$DCL_BIN.EXE"
APACHE$DCL_CMD == "@APACHE$COMMON:[CGI-BIN.FIDONODES]FINDNODE.COM"
APACHE$DCL_ENV == "$ APACHE$COMMON:[000000]APACHE$DCL_ENV.EXE"
APACHE$DCL_RUN == "$ APACHE$COMMON:[000000]APACHE$DCL_RUN.EXE"
APACHE$FLIP_CCL == "$ APACHE$COMMON:[000000]APACHE$SET_CCL.EXE"
APACHE$SET_CCL == "$ APACHE$COMMON:[000000]APACHE$SET_CCL.EXE"
HTTPD == "$ APACHE$COMMON:[000000]APACHE$HTTPD.EXE"
PHP == "$ PHP_ROOT:[BIN]PHP.EXE"
SAY == "WRITE SYS$OUTPUT"
Where did QUERYSTRING etc go?
Here's the script ( http://rhesus.sampsa.com/cgi-bin/fidonodes/findnode.com?q=foo ) :
$ write sys$output "content-type: text/html"
$ write sys$output ""
$ write sys$output "<html><hr /><pre>"
$ WRITE SYS$OUTPUT "SHOW SYMBOL/LOCAL *"
$ show symbol/local *
$ WRITE SYS$OUTPUT "SHOW SYMBOL/GLOBAL *"
$ show symbol/global *
--
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
--
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