Re: prompt_hook

will guaraldi <[email protected]>
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
On Tue, 20 Apr 2004, Chris Heilman wrote:
>
> I've used the net_read_filter for some pre-processing stuff.  I needed
> to get at it before anything else, and something (I don't remember
> exactly, maybe it was prompt detection) always happened first so I
> couldn't use priorities.  Is there another/better way that I should do
> this?  Why remove the hook?  Is there a performance hit for having a
> hook if nothing registers with it?

Mmmm...  prompt detection for arbitrary strings (i.e. " >"  prompts)
shouldn't do anything unless you explicitly enable it.  So I'm guessing
your issue was with something else, but I'm not sure.

See if you can figure out what the issue was and let me know and we can
see if it's possible to work around it, or if I should re-implement the
net_filter_hook.  (I don't think it'd be that hard to re-implement.)

I was thinking of removing the net filters because they were originally
for implementing things like MCCP and SSL on the network layer in a module
and I don't think we're going down that track anymore.

/will


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.