Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
masterkrueger
Wanderer


Joined: 24 Jan 2010
Posts: 65
Location: Hamburg

PostPosted: Fri May 21, 2010 7:51 am   

<IAC><EOR> pattern
 
Hi, is it possible to catch IAC END-OF-RECORD patterns from a MUD?
I tried to match for EOR but it did not work. Are there any other capture parameters
to catch this one, because my Prompt ends with

Line1<CR><LF>
Line2<CR><LF>
Line3<CR><LF>
...
><IAC><EOR>

">" is my Prompt but using ^\>\s+ (as detected my CMUD) don't stop at this line.


Thanks
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4672
Location: Pensacola, FL, USA

PostPosted: Fri May 21, 2010 11:35 am   
 
Did you make sure to check Trigger on Prompt and uncheck Trigger on Newline?
_________________
Discord: Shalimarwildcat
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri May 21, 2010 4:20 pm   
 
There is no way to trigger on low-level telnet protocol characters such as IAC EOR. However, as Shalimar suggested, a trigger with the "Trigger on Prompt" option selected will fire on the IAC EOR sequence if you have the EOR/GA option enabled in your preferences.
Reply with quote
masterkrueger
Wanderer


Joined: 24 Jan 2010
Posts: 65
Location: Hamburg

PostPosted: Sun May 23, 2010 10:52 am   
 
But there is the Trigger "Telnet" with "Telnet Option Number" and Nr. 239 should be EOR. But if this is not working i will just use normal pattern matching :)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed May 26, 2010 4:49 pm   
 
No, the Telnet triggers only fire on the IAC SB Option data. EOR does not use SB option data. A "Prompt" Telnet trigger will fire on the IAC WILL/WONT/DO/DONT sequence that is used to enable/disable an option. So nothing fires on just the IAC EOR sequence, sorry.
Reply with quote
masterkrueger
Wanderer


Joined: 24 Jan 2010
Posts: 65
Location: Hamburg

PostPosted: Thu May 27, 2010 6:41 pm   
 
Ok :) you're the Master ^^
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net