lst2run new tool;

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
JackFoo
Senior Member
Senior Member
Posts: 373
Joined: 2003-02-05, 19:53 UTC
Location: ERROR

Post by *JackFoo »

Oh, right you took the version from the second post, it's a debug version get the one from the first post.

p.s. To Mods please edit my message on the first page (post #13803) and remove the b64 posting since it contains a debug version that is no longer needed.

Cheers.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

To Mods please edit my message on the first page (post #13803) and remove the b64 posting
Done.

BTW: Any idea why I sometimes get only a console window saying "wrong" when running lst2run? On second click it works fine. It seems that the listfile isn't created fast enough and lst2run doesn't find it.
I am using lst2run v0.4 (beta).

TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
JackFoo
Senior Member
Senior Member
Posts: 373
Joined: 2003-02-05, 19:53 UTC
Location: ERROR

Post by *JackFoo »

Hmm, are you sure we're talking about the same tool, iirc lst2run never made it past 0.1 alpha (it works good enought as it is)...

Unless I developed sclerosis and lost the sources for 0.4 beta, which might be since I remeber losing sources for something.

EDIT: Nm. I indeed lost the sources for it ... sorry ... the last I have is the .1alpha, found the binaries.

No idea about what's up sorry. Though I doubt it starts before the list is created since TC doesn't call the command before creating the list prolly.

p.s. did you try specifying -p 0 so the screen freezes?

Cheers.
User avatar
JackFoo
Senior Member
Senior Member
Posts: 373
Joined: 2003-02-05, 19:53 UTC
Location: ERROR

Post by *JackFoo »

Well looking at the code again, there is this

Code: Select all

lf = fopen(argv[listfile], "rt");

if(!lf)
{
	printf("wrong");
	return;
}
Which definitely argues for your supposition, meaning Christian could probably explain what's up... though I have never seen that happen.

Cheers.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

OK, that indeed seems to confirm things. :)
lf = fopen(argv[listfile], "rt");

if(!lf)
{
printf("wrong");
return;
}
I cannot resist suggesting using a more descriptive informational message next time. :D

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
JackFoo
Senior Member
Senior Member
Posts: 373
Joined: 2003-02-05, 19:53 UTC
Location: ERROR

Post by *JackFoo »

Well I didn't expect to be getting and invalid file pointer or an inaccessible file... I should have used Verbotten :) which seems like a very fashionable non-user-friendly message now-days. Oh, well.

Btw. since you're are in verbouse relationship with Christian you could ask him about the list file and the weird parameter parsing with lst2str:

http://www.ghisler.ch/board/viewtopic.php?t=12859

Cheers.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Well I didn't expect to be getting and invalid file pointer or an inaccessible file...
Yes, that's why you made the check. ;)
a very fashionable non-user-friendly message now-days.
Yesterday (in a totally different matter) I was presented another superb error message:
---------------------------
Services
---------------------------
Could not start the Server service on Local Computer.

Error 317: 0x13d
---------------------------
OK
---------------------------
Btw. since you're are in verbouse relationship with Christian you could ask him
I am in no privileged position concerning such matters. So, just to go back on topic:

Christian,
Does TC check the existence of the temporary listfile before calling the external program?

TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply