Subject: Re: <creeeeeek> the door opens a crack...

From: [email-masked] (Michael Richardson)
Date: Sun, 10 May 1992 11:48:35 -0700

On May 8,  7:20pm, James Powell wrote:
} I am indeed interested in a command level (shell and beyond) door.

  You say you need this for running newsreaders and error correcting
file transfer protocols --- I assume that you mean you want to drop
the player into rn, or sz, etc..  right? 
  You want an 8 bit clean connection --- do you need a pty in between,
or would a stream pipe with ldterm or ttcompat do the trick (do you
need /dev/tty in other words)... Hmm. I just realized I haven't a clue
how to *make* a stream pipe under SunOS or even if I can. socketpair()
isn't what I want. Onwards....

} Michael Richardson writes:
} >  A co-process might be created in a chroot'ed environment to act as a

} Mike Gallaher <[email-masked]> writes:
} >Write a program that logs into the moo as a player, and sits in
} >a room waiting for people to come in and say, for instance,
} >"ls", to which it would respond

  Neither of these give you want you want -- access from the external
program to the users' connection. I presume that they are either
logged in via terminal server to your `bbs' by modem and terminal
program, or they have some other mechanism to start a protocol on
their side. If they are logged into a Unix machine and telnet'ed to
the MOO, well: (t)rrn and ftp ;-) --- and run sz locally.
  I do not believe that there is a way to pass file descriptors
through sockets of any kind. (I'm hoping to be told that I'm wrong)
  This is definitely possible with stream devices, so it should be
reasonably trivial to post a special `read' on that users' socket
until the external program `returns' --- I think an independant
(possibly chroot'ed) process would be best here. 

  P.S. concerning server slow-down --- I'm noticing the occasional
iassoc()... task exceeded seconds too. I'm not entirely sure I
understand what iassoc() is doing that requires so much time though.
object in room/on player matching is not it I think.

-- 
   :!mcr!:            |  The postmaster never | So much mail, 
   Michael Richardson |    resolves twice.    |  so little time.
HOME: [email-masked]     Bell: (613) 237-5629
SCHOOL: [email-masked]

---

From: Clay Luther <[email-masked]>
Date: Mon, 11 May 1992 07:33:48 -0700

> object in room/on player matching is not it I think.

Pick up a copy of the GNoo server, which has assoc and iassoc built into the
server.  You will need to make a small change the the assoc and iassoc 
moo calls (that is, passing the @args to listassoc() and listiassoc() built-ins)
but, it's a simple fix, and you will notice a difference.

The GNoo server is ftp'able at morticia.cnns.unt.edu, /pub/mud.

-- 
Clay W. Luther                  [email-masked]
System Manager                  Center for Network Neuroscience
University of North Texas       PO Box 5218 Denton, Texas 76203
817/565-3896,3472               aka. Malraux@GodNet (Bushashuru!)