utoddl@ecsvax.UUCP (Todd M. Lewis) (04/24/89)
How about making the LFORMAT="" on the LIST command more general. Its current behavior regarding the %S business is, er, surprising. Having the meaning of %S change depending on how many of them are used is confusing at best, and doesn't "enhance [my] computing pleasure".[1] I propose: 1) keeping the %S the way it is (for backwards compatability, in every sense), 2) adding %P, which would always be substituted by the path to the file in question, 3) adding %F, which would always be substituted by the file name of the file in question. The %P and %F could be used as often as necessary. Under the current system, you only get the equivilant of %F, %P%F, %P%F%P, or %P%F%P%F, with your text sprinkled in between, and THAT'S IT! If you need the file name twice w/o the path somewhere in between, you're outta luck! Don't even think about using the file name 3 times. With my proposed changes, I could write the following and make it work: .key fspec/a,path2/a .bra { .ket } LIST >t:q{$$} {fspec} LFORMAT="echo *"%P%F*"*Ncmp %P%F {path2}%F" EXECUTE t:q{$$} Of course, I would have to diddle around with {path2} to make sure it ended with a ':' or a '/', but the point is that under the current system some very reasonable uses for the LIST command are impossible. [1] 1.3 Enhancer manual, one of the first pages. _____ | Todd M. Lewis Disclaimer: If you want my employer's ||\/| utoddl@ecsvax.uncecs.edu ideas, you'll have to || || _buy_ them. | || |___ (Never write a program bigger than your screen.)