aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amulecmd - command history  (Read 2853 times)

morph

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 213
    • http://matrixhasu.altervista.org/
amulecmd - command history
« on: November 22, 2005, 11:27:12 PM »

Hi,
it should me good to have the command history into amulecmd, so that with up arrow you'll be able to get the last command(s), as bash shell.

Bye
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amulecmd - command history
« Reply #1 on: November 23, 2005, 12:18:49 AM »

That's already there
Logged

morph

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 213
    • http://matrixhasu.altervista.org/
Re: amulecmd - command history
« Reply #2 on: November 23, 2005, 12:42:57 AM »

strange, trying to get the previos command got

Code: [Select]
$ amulecmd
This is amulecmd CVS Tue Nov 22 07:02:09 CET 2005

Creating client...


---------------------------------------
|          aMule text client          |
---------------------------------------

Use 'Help' for command list

aMulecmd$ help show
SHOW: Show queues/lists.

Shows upload/download queue, server list or shared files list.

This command cannot have an argument.

This command is incomplete, you must use one of the extensions below.

Available extensions:
DL         Show download queue.
Servers    Show servers list.
UL         Show upload queue.

aMulecmd$ ^[[A

is some configuration needed? Which one?

Thanks
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amulecmd - command history
« Reply #3 on: November 23, 2005, 12:50:45 AM »

I'm forced to say IWH, but maybe you need libreadline or whatever it use installed. Wait for someone with more free time to reply.
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 - command history
« Reply #4 on: November 23, 2005, 02:59:24 AM »

You certainly need a readline compatible library installed. aMule has an M4 that tests for some options at configure time. But if you don't have readline, it still compiles, but you will not have readline support.

Here with FC4:
$ rpm -qa | grep read
readline-5.0-3
readline-devel-5.0-3

Cheers!
Logged