aMule Forum

English => Feature requests => Topic started by: morph on November 22, 2005, 11:27:12 PM

Title: amulecmd - command history
Post by: morph 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
Title: Re: amulecmd - command history
Post by: Kry on November 23, 2005, 12:18:49 AM
That's already there
Title: Re: amulecmd - command history
Post by: morph 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
Title: Re: amulecmd - command history
Post by: Kry 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.
Title: Re: amulecmd - command history
Post by: phoenix 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!