aMule Bug Tracker - aMule | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000856 | aMule | Feature Request | public | 2006-03-30 15:39 | 2006-03-30 19:33 |
| Reporter | quinox | ||||
| Assigned To | Kry | ||||
| Priority | normal | Severity | tweak | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | SVN | ||||
| Target Version | Fixed in Version | SVN | |||
| Fixed in Revision | |||||
| Operating System | |||||
| Summary | 0000856: Extended amulecmd with 'show log' and 'reset' command | ||||
| Description | AmuleCMD is missing 2 commands that I like to use, show log and reset (to reset the log file). It's a trivial implementation ofcourse, I've added a patch to add those commands (I used the aMule-CVS-20060327 source). | ||||
| Steps To Reproduce | |||||
| Additional Information | When this is implemented, IMO http://bugs.amule.org/view.php?id=339 [^] will be solved too, since this can be achieved with a simple script like this one: --begin-- #!/bin/sh domule() { amulecmd -c "$@" | grep " >" } domule "show log" | sed " /: Failed to / {s/: \(.*\)/: `tput setaf 1`\1`tput sgr0`/;} /: Finished downloading/ {s/: \(.*\)/: `tput setaf 2`\1`tput sgr0`/;} /: Downloading / {s/: \(.*\)/: `tput setaf 3`\1`tput sgr0`/;} " echo "" domule "status" | sed " /Download:/ {s/\(Download:\)\(.*\)/\1`tput setaf 3`\2`tput sgr0`/;} /Upload:/ {s/\(Upload:\)\(.*\)/\1`tput setaf 2`\2`tput sgr0`/;} " domule "reset" >/dev/null --end-- Which will give a nice coloured output as you can see here: http://qtea.nl/tmp/extended.amulecmd.png [^] Thanks for all the good work you guys do ;) | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | http://bugs.amule.szerverem.hu/file_download.php?file_id=135&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2006-03-30 15:39 | quinox | New Issue | |||
| 2006-03-30 15:39 | quinox | File Added: extended.amulecmd.patch | |||
| 2006-03-30 19:30 | Kry | Status | new => assigned | ||
| 2006-03-30 19:30 | Kry | Assigned To | => Kry | ||
| 2006-03-30 19:33 | Kry | Status | assigned => resolved | ||
| 2006-03-30 19:33 | Kry | Fixed in Version | => CVS | ||
| 2006-03-30 19:33 | Kry | Resolution | open => fixed | ||
| 2006-03-30 19:33 | Kry | Note Added: 0001933 | |||
| Notes | |||||
|
|
|||||
|
|
||||