Priest of the Order of the Butterfly
Posts: 543 from 2007/8/6
From: Pending...
According to my old reference book, opt a, d, f and i are only still recognised for compatibility with (much!) older versions of workbench - like 1.x From 2.0 onward the command format is stated more like this:
DIR [<dir|pattern>] [ALL] [DIRS] [FILES] [INTER]
INTER replaces OPT I and it's an interactive directory listing mode that pauses at each directory listing name and waits for user input. Specifically:
Return - shows the next name in the list
E - enters a directory
B - goes back one directory level
DEL or DELETE - deletes a file or empty directory
T - types the contents of a file
C - enter additional AmigaDos commands
Q - quit interactive
? - shows a list of the interactive mode commands
The only ones I ever used were E & T - I've just found out about the others. The one that lets you enter additional commands has one caveat - entering another DIR INTER command (or nesting two DIR INTER commands) doesn't work the way you might expect. As mentioned above, if this is done on a system with a working dir command the output is just like the non-nested MorphOS DIR INTER command.
PPC assembly ain't so bad... ;)