10 November 2004, 02:09 | #1 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
c:list
hi any one know how to make this comman list the files in alphabetical order?
ie like 'ls -la' list #? all just dumps everying thing in no particular order :/ |
10 November 2004, 04:54 | #2 |
Zone Friend
|
I'm 99% sure that there is no other way than either using a replacement tool, or than writing a small script, like this, for instance:
=== WORKAROUND: === Code:
.key arg .bra { .ket } run >nil: list >PIPE:tmp{$$} {arg} nohead sort PIPE:tmp{$$} to * But at least it also works on any OS >= 2.04+ Save it to a name of your choice (eg 'listit') and apply the script (s) bit so that it gets executed without 'execute': Code:
protect listit s add This usenet post may also come in handy, unfortunately though, the mentioned List42_7 has been withdrawn from Aminet. === REAL SOLUTION: === Consider that the pipe handler shipped with OS 2.x/3.0/3.1 is not able to correctly pipe between commands, hence it may be regarded as 'partly broken'! - Get working PIPE from Aminet (by Osma Ahvenlampi). - Copy pipe to C: - Make two S:shell-startup modifications as described in the docs of the new pipe handler (inside the *.lha) and reboot the Amiga. And now do this simple line henceforth: Code:
list #? | sort in: out: You may as well try this on bog-standard OS 2.04 or 3.0/3.1 - it will NOT work! (Guaranteed! ) Last edited by andreas; 19 December 2004 at 09:44. |
10 November 2004, 11:04 | #3 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
With OS3.5 or better you can enter
list all sort n |
12 November 2004, 03:51 | #4 |
Zone Friend
|
I know.
3.5 has fixes awaited by Amigans for YEARS. (This functionality had already been available in old MS-DOS from about 1988, so no wonder this had provided a lot of fodder for PeeCee-Amiga-battles back then) Last edited by andreas; 12 November 2004 at 04:03. |
12 November 2004, 03:58 | #5 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
hmm you would of thought that they would have put in a feature to list the files by name.
|
12 November 2004, 04:01 | #6 |
Zone Friend
|
Hey, there you are! Have you ever tried my solutions above?
|
12 November 2004, 09:25 | #7 | |
Registered User
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
|
Quote:
Also i created aliases for unix like commands to avoid ls instead of list, delete instead of rm and so on. I suggest you to give it a try |
|
12 November 2004, 10:39 | #8 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
hmm i remember finding one shell in one of the asm_course.lha or asmcourse.lha from aminet and it had a ls function built in.
I might just find a list replacement :/. Or I may have to learn c and modify the commodore one =] If you edit the Kickstart roms? can you use a standard burner to burn it back to a prom chip and slap her in your A1200? Or is this another topic? sorry andreas. Your alternative idea is a good idea, a bit long tho. Looks like UNIX shell programming. I have no idea what the .key and .bra in your scrip do, as my A600HD and A1200HD were 2nd hand I didn't receive the manuals so I really don't know how to fully utilise AmigaDOS from KS 2.0+ And also with your script do I edit s:shell-startup (or what ever its called) and call it. "list #? la" alias newlistscript ;?? Last edited by redblade; 12 November 2004 at 23:42. Reason: apologising to andreas |
19 December 2004, 09:40 | #9 |
Zone Friend
|
Well, then try the solution with the PIPE handler replacement.
This should do the job nicely. Feel free to pester me with any questions if you're stuck anywhere. (What a shame that a BROKEN pipe handler was shipped with the original workbenches! ) Third solution: Meanwhile, I got List version 42.7 (that never made it into workbench and is now withdrawn from Aminet) thanks to Amiga Rob! You could just try to overwrite the old List command by the new one, which is now able to do lots of nice things like sorting etc. Gimme a shout if you missed the file on the zone. Last edited by andreas; 19 December 2004 at 13:11. |
20 December 2004, 08:39 | #10 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
no I got the file thank you, it was a nice upload, although those other options with list 42.7 I think it was usergroups were rather interesting???.
Was the next amiga WB from commodore supposed to have networking built in? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
List in alphabetical order in dropdown list of Floppy Drives | Zed | request.UAE Wishlist | 1 | 06 February 2010 17:26 |
The Trade List | Loedown | MarketPlace | 3 | 27 May 2009 12:50 |
X-List | Ultron | request.Apps | 2 | 31 July 2006 19:05 |
List 42.x | andreas | request.Apps | 6 | 14 November 2004 23:13 |
Vermillion's list | VermillioN | project.SPS (was CAPS) | 20 | 27 May 2003 09:23 |
|
|