File: XTree:\Forum archive |Bottom_of_page

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive

Re: ReleaseSpec and LogSpec

Posted By: John Gruener <>
Date: Monday, 31 August 1998, at 5:21 p.m.

In Response To: Re: ReleaseSpec; Mouse; XTree Forum (John Gruener)


I am adding one item to my suggested ReleaseSpec definition, and then adding a totally new, complementary, (and I think very useful), function which I'll call "LogSpec".

For completeness of having the entire definitions in one place I'm repeating ReleaseSpec here with the modification.

ReleaseSpec:

While in the directory window we press Alt-Release. Currently we see Branch, Disk drive and Files in branch. We add to that "Specify directories", (or "Specify branches"). After pressing "S" we get a new prompt, "Release Spec:" At this point we can enter a list just as at the "Filespec:" prompt. Separation is by spaces, quotes are required for embedded spaces, and embedded wildcards will be supported. If Enter is pressed without an entry, "*.*" will be assumed. After pressing Enter, ZTree will collapse all branches *under* the highlight bar, (and of course their sub-branches), which meet the spec. It will be assumed that, if the branch *on which* the highlight bar rests meets the spec, it is *not* to be closed, (since a simple "-" would have done the trick). These branches will look, then, just as if we had manually gone down the tree and pressed "-" on each one that matched. No new displays will be necessary. ReleaseSpecs will be added to a history list, and F3-Last will be available.

LogSpec:

While in the directory window we press Alt-Log. Currently we see Branch, Disk drive, One Level, Refresh directory, and Tree Only. We add to that "Specify directories", (or "Specify branches"). After pressing "S" we get a new prompt, "Log Spec:" At this point we can enter a list just as at the "Filespec:" prompt. Separation is by spaces, quotes are required for embedded spaces, and embedded wildcards will be supported. If Enter is pressed without an entry, "*.*" will be assumed. After pressing Enter, ZTree will log all files in the branches and their sub branches *under* the highlight bar, which meet the spec. It will be assumed that, if the branch *on which* the highlight bar rests meets the spec, it is *not* to be logged, (since a simple "*" would have done the trick). These branches will look, then, just as if we had manually gone down the tree with the "\" key and pressed "*" on each one which matched. No new displays will be necessary. LogSpecs will be added to a history list, kept separately from the ReleaseSpecs history, and F3-Last will be available.

Discussion:

The modification to ReleaseSpec is the default "*.*" reply. It would not only be consistent with Filespec, but it would work nicely in my new LogSpec definition.

At the ReleaseSpec prompt, a reply of "*.*" would have the same effect as having pressed "-" followed by "+". Not a big deal, but consistent. In the LogSpec, however, it will have the effect of logging all branches under the highlight bar, but *not* the one on which the bar rests. This is tedious to do right now, and I saw a request elsewhere for such a function.

Coupled together, these two functions would give us lots of power to quickly log a drive in a pre-determined manner. (Again, let's wait a bit, Dan, for the multiple-drive capability, unless Kim really wants to do it at the same time).

Regards,
John

Messages in This Thread

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive is maintained by Mathias Winkler with WebBBS 3.21.

 
---<>---
 
Xtree and XtreeGold are registered trademarks of Symantec Inc.
Other brands and products are trademarks of their respective holders.


FILE COMMANDS:  Directory_view Previous_file   Next_file cuRrent   /Help |Top_of_page