fline wrap bug - 05/10/03 10:49 PM
ok so i made a script to read my zonealarm firewall logs and put them into a @window .. kinda like tail -f in linux .. it also puts in [resolving] into the echo .. then dnses the ip and uses $fline and /rline to replace the [resolving] with the resolved host
since the hostname could be big i wrap the echo with -i2
ok so if the whole echo and the [resolving] part fits onto one line and not wrapped it works fine
but if [resolving] is wraped to the next line, indented and i do $fline(@bleh,*217.184.100.255:* *[resolving]*,0) it returns null because the [resolving] is wraped to the next line.. but if i maximize the window and make the line fit on one line itll work
heres what the line looks like
[05:29:00pm 05/10/03] IN/Block UDP 217.184.100.255:1025 -> 165.247.33.255:137 [resolving] netbios-ns
you can test for youself by making a window ..
//window @bleh | echo -i3 @bleh [test1] [test2] [test3] [test3] [test4] [test5] [test6] [test7] [test8] [test9] [test10] [test11] [test12] [test13] [test14] [test15] [test16] [test17] [test18]
then resize mirc or the window so [test12] gets wrapped to the next line then do //echo -a fline: $fline(@bleh,* [test12] *,0)
now maximize mirc or the window so [test12] fits on the first line and do //echo -a fline: $fline(@bleh,* [test12] *,0)
since the hostname could be big i wrap the echo with -i2
ok so if the whole echo and the [resolving] part fits onto one line and not wrapped it works fine
but if [resolving] is wraped to the next line, indented and i do $fline(@bleh,*217.184.100.255:* *[resolving]*,0) it returns null because the [resolving] is wraped to the next line.. but if i maximize the window and make the line fit on one line itll work
heres what the line looks like
[05:29:00pm 05/10/03] IN/Block UDP 217.184.100.255:1025 -> 165.247.33.255:137 [resolving] netbios-ns
you can test for youself by making a window ..
//window @bleh | echo -i3 @bleh [test1] [test2] [test3] [test3] [test4] [test5] [test6] [test7] [test8] [test9] [test10] [test11] [test12] [test13] [test14] [test15] [test16] [test17] [test18]
then resize mirc or the window so [test12] gets wrapped to the next line then do //echo -a fline: $fline(@bleh,* [test12] *,0)
now maximize mirc or the window so [test12] fits on the first line and do //echo -a fline: $fline(@bleh,* [test12] *,0)