aMule Forum
English => Feature requests => Topic started by: carpelo on June 21, 2005, 05:34:08 PM
-
I would like to search for files like i did with mldonkey, just from the console.
Is it possible to create the search command for next releases?
-
Isn't that what amuled + amulecmd are for?
Regards.
-
skolnick: you cannot search with amulecmd....but you can with amuleweb ;)
-
Fine, I have never used amulecmd, so I had no idea about the no-searching issue. But amuleweb seems a fine solution.
Regards.
PS & OT: my browser lost the ability to show the "quick reply" option on these forums...why could be that? forums options?
Regards.
-
deltaHF updatet the forum and forgot this nice little plugin...I told him already :]
-
I think it is usefull because amuleweb or at least the templates aren't text browser compatbile because of Java Script. Another advantage is the easy script usage of amulecmd.
cu
Mr Faber
-
Mr Faber: while making search from amulecmd is technically possible, it's almost unusable. You have 2 alternatives: web and amulegui.
As for text-based browser: well, how to put this gently ? Get rid of it. Even palmos have full-featured, java+javascript supporting browser. There's 2 ways to run scripts: server-side and client side. Server can't (I'm still thinking on a way to add it). But, almost all client (browser) can. So, since by now there's no script on server-side - client have to do the work.
-
If someone only have a terminal pc he can use aMule too if he can search with amulecmd or if amuleweb is accessable through text browsers.
JavaScript is good as an extra part like controlling inputs but the template should still be usable in most cases without JavaScript like many webpages out there.
You can log in with links but after login you can't see any page because every link needs JavaScript.
I mean simple bash scripts. I use amulecmd often with them updating ipfilter list or shared files or add ed2k links from an other computer. Thats only possible with amulecmd as far as I know. If amulecmd can search it is possible to create a basic interface only working with scripts without knowing one line ec2.
cu
Mr Faber
-
You can log in with links but after login you can't see any page because every link needs JavaScript.
We have to use it because there's no server side scripts. But - I'm working on it.
If someone only have a terminal pc
What is "terminal PC" ? Even P2 can run X. This must be some really marginal environment, like remote terminal.
I mean simple bash scripts
This is even worse. Bash can't do regexp check. And filenames often contain chars from other languages. How would you handle it ? Ask from amulecmd to base64-encode it ?
Conclusions:
1. After amuleweb will have scripts, you will be able to create template without javascript (or any other script)
2. Search capability of amule / amulecmd (it must be implemented on both sides, FYI) is not even "nice-to-have" and I personaly not going to code it. May be other people think differently - it's open source, you know.
-
The fact is that i connect to my home computer from a remote computer with SSH (i mean, i'm not interested in amuleweb for instance as i can't connect from remote shells), and for me amulecmd is the best way to check the downloads, uploads, set bandwith....
The only thing, and important one i think, that i miss is to be able to Search.
Since i connect to my homepc with SSH, i need console commands to work with amule.
I know that mldonkey's search command is quite effective, and it's used by many people as the main way of looking for files.
i understand that not all can be possible for now.
Anyway, congratulations for your work, you, amule dev team
-
That's what I mean with a terminal pc. I really like the console and often use ssh.
The big advantage of aMule IMHO is the aMuled and it should be possible to administrate it without useing and X-Server.
Thats why I asked in past for changing preferences through amulecmd. Without this it is impossible to change preferences without restarting amuled. Remote-Gui isn't so good for slow connections.
With searching in amulecmd the biggest part of aMule should be accessable without a GUI.
cu
Mr Faber
-
I still don't know why is it unusable. What's the problem lfroen?
-
Kry: it's not that you can't make it usable. It's not that easy as people mignt think. And, what's more impotent - you don't really need it.
carpelo: In every place where you can use ssh, you can tunnel your connection to amuleweb, so it's not a real problem, sorry.
Since you can't automize search, you're going to do this manually anyway. You've got so weird setup that you do have command line but can't yse browser ? Must be joking :) amulecmd is for automated tasks, like change speeds / ipfilter from cron. Or shutdown from "at". Or print stats. For interactive tasks (search!) go fix your setup and use browser.
-
I don't agree, lfroen. Accessing via ssh only is not so weird setud. And it doesn't hurt to add new stuff to amulecmd. You don't want to do it? I'ts ok for me, but don't say the idea is stupid. Other people might want to do it themselves.
-
Well, adding a local search command that returns a numbered list and then adding an "add from search" command that uses the returned number should be easy and usable.
Cheers!
-
That's what I'm thinking about.
BTW: why is lgobal not possible? We have it on webserver.
-
You need to add it on core side too (just like with amuleweb). You should encode filename before printing it out to console.
Yes, you can have global search in same way as amuleweb.
but don't say the idea is stupid.
Never said it's stupid. Did said "practically unusable".
Accessing via ssh only is not so weird setud
No, not so weird. But "ssh - yes, browser - no" is weird. Remember about ssh tunneling feature.
-
Originally posted by Kry
BTW: why is lgobal not possible? We have it on webserver.
Yes, it is possible, but clumsy from a console interface point of view. Would the results be returned while the prompt is already shown? Would look something like a program running in the background and printing the results on the screen. In this case, there should be a command to cancel the search too, it can take some time to complete a global search. Also, some printf at the end of the search would be nice too, so that the user know that it is over.
Cheers!
-
Could be done same as in webserver, eg, user starts searching with 'search somefile', then later he types 'showsearchresults', and the already fetched results will be displayed. Just an idea.
-
That was what I was thinking about.
-
hi again,
do you know if someone is working on it?
thanks in advance