aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Amulecmd : Search  (Read 7914 times)

carpelo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Amulecmd : Search
« 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?
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Amulecmd : Search
« Reply #1 on: June 22, 2005, 02:40:32 AM »

Isn't that what amuled + amulecmd are for?

Regards.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Amulecmd : Search
« Reply #2 on: June 22, 2005, 08:33:49 AM »

skolnick: you cannot search with amulecmd....but you can with amuleweb ;)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Amulecmd : Search
« Reply #3 on: June 22, 2005, 01:15:30 PM »

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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Amulecmd : Search
« Reply #4 on: June 22, 2005, 01:41:00 PM »

deltaHF updatet the forum and forgot this nice little plugin...I told him already  :]
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
Re: Amulecmd : Search
« Reply #5 on: June 22, 2005, 02:44:27 PM »

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
Logged

lfroen

  • Guest
Re: Amulecmd : Search
« Reply #6 on: June 22, 2005, 03:34:08 PM »

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.
Logged

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
Re: Amulecmd : Search
« Reply #7 on: June 22, 2005, 06:10:35 PM »

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
« Last Edit: June 22, 2005, 06:14:29 PM by Mr Faber »
Logged

lfroen

  • Guest
Re: Amulecmd : Search
« Reply #8 on: June 22, 2005, 08:21:57 PM »

Quote
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.

Quote
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.

Quote
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.
Logged

carpelo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Amulecmd : Search
« Reply #9 on: June 22, 2005, 10:38:49 PM »

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
« Last Edit: June 22, 2005, 10:43:21 PM by carpelo »
Logged

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
Re: Amulecmd : Search
« Reply #10 on: June 22, 2005, 11:14:33 PM »

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
« Last Edit: June 22, 2005, 11:17:01 PM by Mr Faber »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Amulecmd : Search
« Reply #11 on: June 22, 2005, 11:15:38 PM »

I still don't know why is it unusable. What's the problem lfroen?
Logged

lfroen

  • Guest
Re: Amulecmd : Search
« Reply #12 on: June 23, 2005, 05:25:09 AM »

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.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Amulecmd : Search
« Reply #13 on: June 23, 2005, 10:29:26 AM »

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.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Amulecmd : Search
« Reply #14 on: June 23, 2005, 01:30:58 PM »

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!
Logged
Pages: [1] 2