[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

5122: Re: [MUD-Dev] Mail from mud Update :)

[Full Header] [Plain Text]
From: JC Lawrence <claw@under.Eng.Sun.COM>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 06 Jan 1998 16:37:41 -0800
References: [1]
Organization: Kanga.Nu
On Sat, 3 Jan 1998 19:18:27 PST8PDT 
Richard Woolcock<KaVir@dial.pipex.com> wrote:
> Stephen Zepp wrote:
>>  Vadim Tkachenko wrote: 

> I'm catching up on xmas mail, so sorry if someone has mentioned this
> already...  try a & on the end of the command within system.  

The problem is still getting the return code from the spawned process.

> I use
> a similar thing to delete player-recognition files - system("rm -f
> -r ../known/*/Kavir &"); or whatever.  I really need to find some
> effective way to pack info about everyone you know into a single
> file, yet have a decent way of removing all knowledge of you from
> everyone elses file when you die...

I suggest using a variation on reference counting where every data node
keeps a pointer to what that node refers to, what objects know
about that data node, and objects keep a list of all that data nodes
that reference that object.

From there its just a matter of iterating across the appropriate lists
and cleaning up.

--
J C Lawrence                               Internet: claw@null.net
                                           Internet: coder@ibm.net
----------(*)                        Internet: jc.lawrence@sun.com
...Honourary Member of Clan McFud -- Teamer's Avenging Monolith...