-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.ovms
66 lines (51 loc) · 2.33 KB
/
README.ovms
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
February 11, 2003
At the time of the initial port, I was not aware of a make facility
for OpenVMS. So, I would just compile and link the various files by
hand:
$ cc netperf.c
$ cc netlib.c
$ cc netsh.c
$ cc nettest_bsd.c
$ cc netserver.c
$ link/exe=netperf netperf.obj,netsh.obj,netlib.obj,nettest_bsd.obj
$ link/exe=netserver netserver.obj,netsh.obj,netlib.obj,nettest_bsd.obj
Installation for OpenVMS has a few differences from installation under
say Unix. There is no inetd for VMS - however, there is the concept
of an adding an auxilliary service that seems quite similar.
To configure netperf for operation as an auxilliary service, you will
need to edit/use the netserver_run.com file and alter the "path" to
netserver accordingly. The version that ships is setup for where Rick
Jones did his initial porting work and most likely is not apropriate
for you :)
$ define sys$output sys$sysroot:[netperf]hello_service.log
$ define sys$error sys$sysroot:[netperf]hello_service.log
$ run sys$sysroot:[netperf]netserver.exe
Then it will be necessary to "define" netperf (netserver) as an
auxilliary service. This will need to be customized as apropriate for
your system
$ tcpip set service netserver -
_$ /port=12865 -
_$ /protocol=tcp -
_$ /user=system -
_$ /limit=48 -
_$ /process_name=netserver -
_$ /file=sys$sysroot:[netperf]netserver_run.com
And then it is necessary to enable the service:
$ tcpip enable service netserver
If you want to disable the service, you can issue the command
$ tcpip set noservice netserver
By default, OpenVMS is case-insensitive with commandlines, and will
downshift everything to lower case. This does not interact well with
netperf's use of command-line options like "-H" and "-h" with rather
different meanings.
To workaround that, the following defines are believed to be
sufficient.
$ define DECC$ARGV_PARSE_STYLE ENABLE
$ define DECC$EFS_CASE_PRESERVE ENABLE
$ define DECC$POSIX_SEEK_STREAM_FILE ENABLE
$ define DECC$EFS_CHARSET ENABLE
$ set process /parse_style=extended
I do not know if this will be something one can also do for the
netserver - presumeably one could put these things in the
netserver_run.com file (guessing). At present though I've not tried
that, and I'm also not sure that netserver has any upper-case options.