跳到主要内容

用户命令

为实现这一目标, 用户界面提供以下命令集:

WHO         user supplies which host, and given a list of [user,
teletype, jobs].

WHERE user supplies identification of another user, and program
tries to find him on all the servers it knows about (for
1 server, that code was very easy to write!)

OPEN or CLOSE user specifies which port to turn on or turn off.

PORT MAP gives the user a picture of all his ports.

CONNECT user specifies host, user, and port identification. If
successful, results in an open connection to the
specified user.

DISCONNECT user specifies port, and connection is cleanly broken.
  • WHO: 用户指明哪台主机, 得到一份 [用户, 电传打字机, 作业] 的列表.
  • WHERE: 用户提供另一位用户的标识, 程序会尝试在它所知道的所有服务器上找到他(对于 1 台服务器, 这段代码非常容易写! )
  • OPEN 或 CLOSE: 用户指定要打开或关闭哪个端口.
  • PORT MAP: 向用户展示其所有端口的示意图.
  • CONNECT: 用户指定主机, 用户和端口标识. 成功时, 会与指定用户建立一条打开的连接.
  • DISCONNECT: 用户指定端口, 连接被干净地断开.

以上描述适用于 MIT-DMCG 上的程序. 其他 ITS 系统上很快也会有类似的程序.

在 TENEX 上, 用户界面通过 RSEXEC 子系统提供. 对用户而言, RSEXEC 看起来很像标准的 TENEX EXEC, 但并不局限于本地系统. 除端口 (PORTS) 的概念之外, 其命令结构与前面所述的类似:

@ WHERE   (is user) THOMAS

列出用户 Thomas 每一个“当前活动”的作业. 每个作业由其网络站点, 作业标识号和所连接的终端来标识.

@ SITES   (of user) BRESSLER

列出用户 Bressler 拥有账户的所有(当前可访问的)网络站点.

@ LINK    (to TTY0 103 (AT SITE) UTAH-10

把用户的终端链接到 UTAH PDP-10 上的 106 号终端.

@ WHO

列出当前登录到每个(可访问的)网络站点的用户. (WHO 带有用于指定所选站点的选项. )