Special Printing Client Program
NTSND is a program for transferring data to a remote printer
without any translation (good for binary files). This program
supports products such as the Emulex NETJET for the HP 4Si/Mx
printer. The command options are:
NTSND [?] [-inpq argument] file [file [...]]
? List the Help Text and Exit NTSND
i IP Address Remote Server Name / IP Address
n Port Number Remote Server Port Number
p filespec Password File
q Query for File Name
The NTSND program is invoked from the IND control file
NTSND.COM:
.open sy:tcpfun.com
.data r sy:vbgexe.sav
.data TCP:ntsnd.sav
.data -bp PAS:paswrd.fil
.close
@TCP:quote 'p1' 'p2' 'p3' 'p4' 'p5' 'p6'
HTTP Server Program
RHTTP is an HTTP/0.9 server supporting only simple request
and response formats for GET, HEAD, and POST methods. The POST
method always responds as unimplemented. HTTP transfers are
always in BINARY format except for files of type HTM, DOC, TXT,
and LST which are in ASCII format. The command options are:
RHTTP [?] [-p filespec] [-z s] [-erv]
? List the Help Text and Exit RHTTP
e Enable Monitoring of all
RHTTP Transactions
p Specify the HTTP Directory and Home File
r Restart RHTTP after Disconnect
v Verbose Mode
z s Inactivity Timeout in seconds
The HTTP directory and home file must be specified, using the -p
option. The directory path is used as the base directory for
all HTTP accesses. HTTP accesses with absolute directory speci-
fications (e.g. dl1:file.ext) are reported as unauthorized.
The RT-11 version of RHTTP does not support subdirectory pro-
cessing. The home file is the file read when a request is made
with no file specified, this is typically the home page for this
computer system.
The program may be started interactively (for diagnostic pur-
poses) by the IND control file RHTTP.COM:
.sets cmdlin "-rpz HTP:/home.htm 30 "+ ...
... "'p1' 'p2' 'p3' 'p4' 'p5' 'p6'"
.open sy:tcpfun.com
.data r sy:vbgexe.sav
.data TCP:rhttp.sav
.data 'cmdlin'
.close
$@sy:tcpfun
The program is normally started as a system job by the TCPIP.RUN
command file. When started as a foreground or system job the
program gets the command line arguments from the file
TCP:RHTTP.CML:
-r -p HTP:/home.htm
The RHTTP program requires, at the minimum, a dedicated
device (logical device) and a home file. Only files in this
directory are accessable by the http server. The home file is
the file read by the http server when no specific file is speci-
fied. The http directory and home file are specified by the
RHTTP option:
-p dl1:/home.htm
NOTE
The slash, /, is required to delimit the HTTP base
directory.
All accesses to files outside the http directory are not per-
mitted and are reported as unauthorized. Absolute references
are not allowed (e.g. dl1:/file.ext) even if they are in the
http directory, these are also reported as unauthorized. Use
only relative paths in file specifications to the http direc-
tory. These requirements provide the most security for http re-
quests which require no password authentication.
The home file is an HTML file and should be written to re-
flect the functionality of the browsers you wish to support with
this http server.
Gopher Server Program
RGOPH is a simple Gopher server supporting transfers of text,
binary, and image files and linking to other network resources
using basic ASCII text constructs. The command options are:
RGOPH [?] [-p filespec] [-z s] [-erv]
? List the Help Text and Exit RGOPH
e Enable Monitoring of all
RGOPH Transactions
p Specify the Master GOPHER File
r Restart RGOPH after Disconnect
v Verbose Mode
z s Inactivity Timeout in seconds
The Gopher master file must be specified, using the -p option.
The master file contains the access specifications for the go-
pher server. The format of the master file is described in the
file RGOPH.CFG and included here for reference:
NOTE
The RT-11 version of RGOPH does not support local sub-
directory processing, only real devices and logical
devices are supported for local access.
#
# This is the Master Gopher List
#
# Each entry has the following format:
#<code><TAB>description
# <TAB>file or list specification
# <TAB>machine name or IP address
# <TAB>port number
#
# End list with '.' and <CRLF>
#
# Common item types specified by <code> are:
#
# 0 item is a file
# 1 item is a directory
# 2 item is a CSO phone-book server
# 3 Error
# 4 item is a NINHEXed MacIntosh file
# 5 item is DOS archive of some sort
# 6 item is a UNIX uuencoded file
# 7 item is an Index-Search server
# 8 item points to a text-based telnet server
# 9 item is a binary file
# + item is a redundant server
# T item points to a text-based TN3270 session
# g item is a GIF format graphics file
# I item is some kind of image file
#
# All references are described in RFC1436
#
The master list contains file and list references which denote a
tree structure of accessible resources. A typical master list
is shown here to clarify the specification.
The top level follows:
0 About This GOPHER Site
sy2:/gopher.dsk/rgoph.doc
shop-pdp.kent.edu
70
1 TCP/IP Package For TSX-Plus, ...
List1/
shop-pdp.kent.edu
70
1 ASxxxx Assemblers and Linker
List2/
shop-pdp.kent.edu
70
.
The 'List1/' (<code> = 1) specification indicates this is a
directory of subitems:
#
# Elements of List1/
#
List1/
0 Abstract [2K]
sy3:/tcpip.pkg/abstra.doc
shop-pdp.kent.edu
70
0 Documentation [158K]
sy3:/tcpip.pkg/manual.doc
shop-pdp.kent.edu
70
9 Minimal Package, Logical Disk Image, [300K]
sy3:/tcpipm.dsk
shop-pdp.kent.edu
70
9 Complete Package, Multilevel Logical ...
sy3:/tcpip.pkg/tcpip.dsk
shop-pdp.kent.edu
70
9 Disk1 of Package, RX02 Image [494K]
sy3:/tcpip.pkg/tcpip.dsk/disk1.dsk
shop-pdp.kent.edu
70
9 Disk2 of Package, RXO2 Image [494k]
sy3:/tcpip.pkg/tcpip.dsk/disk2.dsk
shop-pdp.kent.edu
70
9 Disk3 of Package, RXO2 Image [494k]
sy3:/tcpip.pkg/tcpip.dsk/disk3.dsk
shop-pdp.kent.edu
70
9 Disk4 of Package, RXO2 Image [494k]
sy3:/tcpip.pkg/tcpip.dsk/disk4.dsk
shop-pdp.kent.edu
70
9 Disk5 of Package, RXO2 Image [494k]
sy3:/tcpip.pkg/tcpip.dsk/disk5.dsk
shop-pdp.kent.edu
70
9 Disk6 of Package, RXO2 Image [494k]
sy3:/tcpip.pkg/tcpip.dsk/disk6.dsk
shop-pdp.kent.edu
70
9 Disk7 of Package, RXO2 Image [494k]
sy3:/tcpip.pkg/tcpip.dsk/disk7.dsk
shop-pdp.kent.edu
70
9 Documentation Source, RX02 Image [494K]
sy3:/tcpip.pkg/tcpip.dsk/tcpdoc.dsk
shop-pdp.kent.edu
70
9 Current Updates, Logical Disk Image [988K]
sy3:update.dsk
shop-pdp.kent.edu
70
.
The 'List2/' (<code> = 1) specification indicates the presence
of a second directory of available resources:
#
# Elements of List2/
#
List2/
1 ASxxxx for PDP-11 and LSI-11 Computers
List2.1/
shop-pdp.kent.edu
70
1 ASxxxx for PC Compatible Computers
List2.2/
shop-pdp.kent.edu
70
.
These elements also contain references to additional subdirec-
tories of resources. Nesting to any level may be accomplished
using this syntax. Ensure that all subdirectory references have
unique names. The use of 'xxxxx/' is not required, any unique
character string may be used to reference a subdirectory entry.
The program may be started interactively (for diagnostic pur-
poses) by the IND control file RGOPH.COM:
.sets cmdlin "-rp GPH:/home.htm "+ ...
... "'p1' 'p2' 'p3' 'p4' 'p5' 'p6'"
.open sy:tcpfun.com
.data r sy:vbgexe.sav
.data TCP:rgoph.sav
.data 'cmdlin'
.close
$@sy:tcpfun
The program is normally started as a system job by the TCPIP.RUN
command file. When started as a foreground or system job the
program gets the command line arguments from the file
TCP:RGOPH.CML:
-r -p GPH:/home.htm