跳到主要内容

Telnet 子系统

Telnet 子系统的代码应当能轻松装入一个核心页,因为它做的事情很少。它实际上是在用户主机 (HOST) 中、在远程用户与服务主机之间建立一条分路。Telnet 命令有:

   ESCAPE CHAR IS ___________<CR>      Declares a character which
Telnet will watch for.
Subsequent strings typed
between this character and
a carriage return are not
shunted through to the serving
host, but sent instead to the
Telnet program in the user's
local HOST.

这个转义字符与用户主机上的删除字符并不相同。

   CONNECT TO __________________<CR>   The official site name of the
desired serving HOST is typed
(i.e.: SRI, UTAH, UCLA, UCSB).
Telnet attempts to establish a
connection. If the attempt is
successful, the following
characters are shunted through
the user's local machine. The
connection places the user in
the pre-logged in state at
the serving HOST.
   LOGOUT<CR>                          Telnet issues the logout command
sequence to the serving HOST.
If the user simply rubs out and
kills his PDP-10 job, the
PDP-10 will indicate to the 940
that the connection is closed.
The 940 system primitives do
whatever they do when a normal
dataphone connection is
suddenly broken.
   COPY FILE                           A file copying command is
available in TELNET to
move data along on auxiliary
connections from the
user's HOST file system
to the serving HOST.
        On the 940 this is:

COPY <file name> TO NETWRK.
- - -

On the PDP-10:

NETWRK <- DSK: <file name>
--------------------------

这些 TELNET 命令在首次进入 TELNET 子系统时、或在已声明的转义字符之后被接受。