rpVTctrly
rpVT Ctrl-Y
The assisting commands Y & Ctrl-Y
General questions on the Y commands
1) Is the 'Y' an rpVT or a ZTree command?
It is a ZTree command. It was conceived by rpVT writer Rudy Penteado but rapidly adopted by Kim Henkel which recognized on it a potentially good form of extending ZTree functionality. It is generated in ZTree operation and it is transmitted to any interested assistant application, carrying the file identification 'to operate with' and a group of parameters that will govern the requested transformation. Here it is how you use it:Enter Y or "Ctrl-Y" in ZTree. The message 'Assist:' will pop up in the lower bar. Enter a command string to be directed to your selected application (or use the history list). The filename under the highlight bar and your entered or selected string are sent to the assisting applications. The first letter in the string determines which application should process it. R is reserved for rpVT, other assisting applications in the future will get corresponding letter attributions by ZedTek.
If you use Ctrl-Y, the command string and all tagged filenames are passed to the assistant application, for processing. When Ctrl-Y is used, the assisting application is responsible for issuing an answer for ZTree to untag or not, the corresponding file.
You can add some spaces and a # followed by comments on your command. This will make the history list from ZTree to look like a Help file for each time you have to use the
'Y' cmd.
Although Y commands are now very mnemonic you must understand that the command itself is the set of the 4 first characters and the secondary command, when exist, is the first character only. Those 4 and 1 characters are mandatory and sufficient to trigger the command, but up to 32 characters can follow those first 4 and 1 without any consequence. This way, all these 3 are the same command:
Y Rsearch file,tag,y,abcd ytu uiop, # Comments
Y Rsearch,tag,y,abcd ytu uiop, # Comments
Y Rsear,t,y,abcd ytu uiop, # Comments
2) What is the difference between''command, routine or transformation", in here?
None. We use the different names to illustrate better what the results of the operation are. If an Y operation produces a copy of the original file with an indexed new name and the corresponding modifications inside the file, we call it a transformation. If it only sets parameters, displays, status, etc., we call it a command. If it produces files that do not have a 'one to one' correspondence with the original, we call them routines.The Search command (Rsearch,)
The Search & Replace transformation (Rreplace)
The File Split routine (Rsplit,)
The Join routine (Rjoin,)
The Code Format transformation (Rcode,format)
The Code Execution command (Rcode,exec)
The Slide View command (Rslide,)
The Output File command (Routput,)
The Sort transformation (Rsort,)
Note: This page originate from http://www.rpvt.com
. This website being closed down, its original webpages have been included in this Wiki for posperity with some light editing.
Contributors to this page: bernhard
and
admin
.
Page last modified on Wednesday 13 of June, 2007 14:46:38 EDT by bernhard.
