From: Sven W. <em...@sv...> - 2003-03-23 16:07:38
|
Hi all, first of all: phpEselGui should now work with all mlDonkey-versions ;-) deleted config-entry: mlvers added config-entry: useAuth updated the comments (password is _needed_ with versions <2.03 !) updated cutDonkeyResponse to work with and without auth so with "set term_ansi FALSE" all works fine :-) **** At this point i started to work on automatically parsing all the ANSI-stuff in the telnet-output (have a look at askDonkey and cutDonkeyResponse) I figured out to kill all of them i found ;-) But, and that's a big problem, some reg-expr. don't work anymore. The problem seems to be, that the parsed ANSI-Tags have a unprintable character which i can't see (and therefor not parse). What does this practically mean? An example: we look for files in "vd"-output with something like "^\[" This works with term_ansi being FALSE _and_ with downloads which aren't running (speed = "-"). If there is some speed this line is coloured (and this preg_match doesn't work, but all "[34m" and so on are parsed away!?). So there has be some character between "^" and "\[" i think, but i can't parse it :-( can you find my failure (i uploaded my code with some debugging code to CVS)!????? HELP c u Sven ----- We are Microsoft of Borg. Assimilation is imminant. Resistance is.... Error in Borg.dll. Press OK to abort. |