|
masterkrueger Wanderer
Joined: 24 Jan 2010 Posts: 65 Location: Hamburg
|
Posted: 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 |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4672 Location: Pensacola, FL, USA
|
Posted: Fri May 21, 2010 11:35 am |
Did you make sure to check Trigger on Prompt and uncheck Trigger on Newline?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
masterkrueger Wanderer
Joined: 24 Jan 2010 Posts: 65 Location: Hamburg
|
Posted: 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 :)
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
masterkrueger Wanderer
Joined: 24 Jan 2010 Posts: 65 Location: Hamburg
|
Posted: Thu May 27, 2010 6:41 pm |
Ok :) you're the Master ^^
|
|
|
|
|
|