VFILER VFILER Overview, Revision 3 Install Installing VFILER Commands VFILER Command Summary DIR The DIR Form User User Functions: 0-9 # Tagging Tagging Commands: T U GT GU Display File Display Commands: P V Ops File Operations Commands: C D F GC GD GF R Movement Movement Commands: Arrows + - J Q Misc Miscellaneous Commands: A H N S Z ^C ? :VFILER 3.x Overview VFILEÒ  (foò Videï FILER)¬  deriveä froí FILER¬  waó Overview� createä   tï  givå  thå  ZCPR³  useò  á   specializeä   filå � manipulatioî  utilitù  whicè  coulä takå  advantagå  oæ  thå � speciaì  featureó  oæ  ZCPR3®  Iô performó thå  samå  basiã � functionó aó DISK7¬  CLEANUP¬  WASH¬ anä SWEEP¬ buô iô takeó � thå  ZCPR³  environmenô intï accounô anä addó  commandó  anä � featureó  whicè makå VFILEÒ morå comfortablå foò  thå  ZCPR³ � user®  VFILEÒ containó essentiallù thå samå featureó aó thå � otheò  tooló  buô addó morå ZCPR3-specifiã featureó  anä  ió � totallù   screen-oriented¬   beinç  designeä  tï  ruî  oî  á � conventionaì  CRÔ  whicè  supportó  cursoò  address¬   cleaò � screen¬ anä (optionally© eraså tï enä oæ line. VFILEÒ  significantlù  simplifieó thå  useò  interface® � Undeò VFILER¬  aî alphabetizeä listinç oæ fileó ió presenteä � tï thå useò alonç witè á pointer®  Thå useò employó pointeò � movemenô commandó tï movå thå pointeò up¬  down¬  right¬ anä � lefô  aó desireä untiì iô ió pointinç tï á filå oæ interest® � Oncå  pointinç tï sucè á file¬  thå useò maù theî perforí  á � numbeò oæ operationó oî thå file. Overview VFILEÒ ió invokeä bù á commanä linå oæ thå followinç � form: VFILER dir:filename.typ wherå alì parameteró arå optional®  "DIR¢ ió thå  directorù � tï  initiallù  loç thå useò into¬  anä iô maù bå  anù  ZCPR³ � directorù reference¬  sucè aó á mnemoniã (likå "ROOT:"© oò á � DÕ  forí  (likå  "B7:¢  oò  "12:")®  "filename.typ¢  ió  aî � ambiguouó  filå  namå  whicè ió useä tï perforí  aî  initiaì � selectioî oæ thå fileó tï bå displayeä bù VFILER. Thå referencå foò thå ambiguouó filå namå ió storeä  iî � Systeí Filå 4¬  and¬  aó such¬ caî bå dynamicallù changeä bù � usinç  thå  SETFILÅ commanä durinç thå executioî oæ  VFILER® � Iæ  á ZCPR³ commanä likå "SETFILÅ ´ afn¢ ió  executeä  whilå � VFILEÒ  ió  running¬  theî thå definitioî oæ thió  ambiguouó � filå referencå ió changed¬ anä thå nexô timå VFILEÒ restartó � executioî thå ne÷ ambiguouó filå referencå ió iî effect¬ anä � thå fileó arå selecteä accordingly. Overview Thió HLÐ Filå applieó tï VFILEÒ 3.0®  VFILEÒ 3.°  wilì � onlù  ruî  undeò ZCPR³ unlesó thå Environmenô Descriptoò  ió � madå internaì tï VFILER¬  iî whicè caså VFILEÒ wilì bå  1/4Ë � larger. Therå  arå  somå customizatioî equateó aô thå fronô  oæ � thå  VFILER.MAà sourcå file®  Thå useò wilì  generallù  noô � carå  abouô touchinç these¬  buô theù arå availablå iæ hå sï � desires®  Feeì  freå  tï examinå  them®  Onå  sucè  equatå � enableó   oò  disableó  thå  built-iî  documentatioî  (help© � feature®  Iæ thió featurå ió disabled¬  anù helð  referencå � wilì chaiî tï thió HLÐ filå (VFILER.HLP© anä VFILER.COÍ wilì � bå abouô 1Ë shorter®  Iæ enabled¬ thå conveniencå oæ onlinå � helð whicè ió accesóed quicklù ió available. Enjoy using VFILER! Rick Conn :Installing VFILER Install Installatioî   oæ  VFILEÒ  ió  quitå  simple¬   aó   ió � installatioî  oæ  thå variouó utilitieó  undeò  ZCPR3®  Alì � VFILEÒ requireó iî thå waù oæ installatioî ió thaô á pointeò � tï  thå  ZCPR³  Environmenô Descriptoò  bå  provideä  tï  iô � (unlesó  VFILEÒ haó beeî assembleä tï contaiî aî Environmenô � Descriptor¬  iî whicè caså thå entirå Environmenô Descriptoò � is necessary). Z3INÓ  caî  bå useä tï instalì  VFILER®  Tï  dï  this¬ � creatå  aî INÓ filå (calì iô VF.INS© containinç thå namå  oæ � thå VFILER.COÍ filå oî onå line®  Assuminç thaô youò systeí � Environmenô  Descriptoò  filå ió nameä  SYS.ENV¬  issuå  thå � command: Z3INS SYS.ENV VF.INS VFILER is now installed. :VFILER Command Summary Summary -- Tagging Commands -- --------- File Operations ----------- Ô - Taç Filå à - Copù Filå Ä - Deletå File U - Untag File F - File Size R - Rename File G - Group Copy/Delete/FSize/Tag/Untag -- File Print & View -- --- User Functions --- -- Cursor -- P - Print V - View 0-9 - Execute # - Help ^E ^ -- Movement Commands -- ---- Miscellaneous ---- ^S <-+-> ^D - File Forward A - Toggle Alpha Sort v - File Backward H - Help File Š ^X + - Screen Forward N - New DIR - - Screen Backward S - Disk Status -- Screen -- J - Jump tï á Filå Z - ZCPR3 Command ^A Left Q - Refresh Screen ^C - Exit ^F Right Summary Movement Commands -- ^E - Move Up (Wrap to Bottom) ^X - Move Down (Wrap to Top) ^D - Move Right (Wrap to First File of Next Line) ^S - Move Left (Wrap to Last File of Previous Line) ^F - Move Screen Right (Wrap to First Screen) ^A - Move Screen Left (Wrap to Last Screen) Thå  user'ó Z3TCAÐ entrù maù definå fouò otheò  single-� characteò  commandó  tï  conforí tï thå arro÷  keyó  oî  hió � specifiã  terminal®  Theså commandó wilì overridå  thå  seô � describeä  abovå  iæ anù conflictó exisô (thaô is¬  iæ  youò � down-arro÷ keù generateó á ^E¬ ^Å wilì no÷ meaî Movå Dowî iî � alì cases). Screeî  Lefô  anä Righô makå senså wheî therå  arå  toï � manù fileó tï fiô oî onå screen®  Iî thió case¬  thå  fileó � arå  brokeî  intï screeî directories¬  anä Screeî  Lefô  anä � Righô arå useä tï movå betweeî them. :The DIR Form DIR Form Thå Copy¬ Masó Copy¬ anä Logiî commandó prompô thå useò � foò thå directorù tï copù oò loç into® Thå useò maù specifù � anù accepteä ZCPR³ DIÒ forí iî responså tï this. Thå  ZCPR³  DIÒ  forí maù bå eitheò  á  DÕ  (Disk/User© � specificatioî  oò á directorù namå (mnemonic)®  Exampleó oæ � DIÒ formó include: B <-- Disk B, Current User 7 <-- Current Disk, User 7 B7 <-- Disk B, User 7 wordstar <-- DU associated with the name WORDSTAR Iî VFILER¬  theså entrieó maù bå optionallù suffixeä bù � á  coloî (:© aó thå useò desiresº  "B7:¢ anä "B7¢ meaî  thå � samå  thing®  Iæ  á DIÒ forí ió referenceä  iî  thå  VFILEÒ � command line, it MUST be followed by a colon. :User Functions User Fcts Thå  VFILEÒ  useò  ió giveî addeä  flexibilitù  iî  hió � commanä  invocatioî capabilitù bù thå uså oæ á seô oæ  user-� definablå functions¬  whicè arå executeä bù strikinç á digiô � froí ° tï 9® Thå basiã ideá ió this: 1© thå useò createó á filå calleä VFILER.CMD» thió � filå containó hió extendeä commanä set 2©  VFILER.CMÄ ió placeä alonç thå user'ó  commanä � searcè path 3©  wheî  thå useò ió iî VFILEÒ anä hå  strikeó  á � digiô  oò á pounä sigî (#© foò help¬  VFILEÒ searcheó  alonç �Šthå patè foò thå firsô VFILER.CMÄ filå iô findó anä extractó � thå informatioî froí it User Fcts Sincå  VFILEÒ  searcheó foò VFILER.CMÄ alonç thå  path¬ � severaì VFILER.CMÄ fileó maù bå availablå foò thå user® Foò � instance¬  iæ thå patè ió $¤ -¾ A¤ -¾ A15¬  theî VFILEÒ wilì � looë iî thå currenô directory¬ disë A/currenô user¬ anä disë � A/useò 1µ foò VFILER.CMD® Á general-purposå VFILER.CMÄ filå � maù bå placeä iî A15¬  anä special-purposå VFILER.CMÄ  fileó � (sucè aó foò assembleò languagå development¬  à development¬ � worä  processing¬  etc© maù bå placeä iî selecteä useò areaó � oî A®  Foò instance¬ A· coulä contaiî Worä Staò anä ió useä � foò worä processinç anä thaô B· ió thå scratcè areá foò texô � files® Witè thió path¬ á useò editinç fileó iî B· wilì finä � WÓ iî A7¬  VFILER.CMÄ (foò worä processing© iî A7¬  anä  hió � systeí commandó iî A15. Anù optionó requireä foò thå commandó arå prompteä for¬ � anä  wheî  thå useò inputó valueó foò  alì  options¬  VFILEÒ � chainó  tï thå ne÷ commanä viá thå ZCPR³ Commanä Linå Buffeò � feature¬  executeó thå commanä linå generated¬  anä returns® � VFILER is a true shell under ZCPR3. User Fcts Thå structurå oæ VFILER.CMÄ ió quitå simple® Iô caî bå � createä  bù  anù CP/Í texô editor¬  anä iô consistó  oæ  thå � followinç typeó oæ lines: 1© á commanä line¬ whicè beginó witè á digiô (0-9© � anä  containó thå texô oæ thå commanä tï bå executeä  shoulä � thaô digiô bå typeä bù thå user 2©  á  helð block¬  whicè ió printeä wheneveò  thå � useò typeó á pounä sigî (#)» thió blocë ió denoteä bù á linå � whicè beginó witè á pounä sign¬ anä iô extendó tï thå enä oæ � thå file 3©  á  commenô  line¬   whicè  ió  useä  tï  embeä � explanatorù comments¬  whicè arå foò referencå purposeó onlù � anä noô seeî bù thå VFILEÒ user COMMAND LINE User Fcts Thå  commanä  linå consistó oæ á digit¬  zerï  oò  morå � spaceó (whicè arå ignored)¬ anä thå texô oæ thå commanä witè � embeddeä promptó foò useò input®  Theså promptó arå denoteä � bù  beinç  encloseä iî single- oò double-quoteó  (§  oò  ")® � Wheî  VFILEÒ  executeó theså commanä lines¬  iô  printó  thå � prompô  containeä withiî thå quoteó aó theù arå  encountereä � anä  waitó foò thå useò tï inpuô á linå oæ texô  (terminateä � bù á RETURN)¬  aô whicè poinô thå texô ió substituteä iî thå � commanä  linå wherå thå prompô is®  Iæ á prompô extendó  tï � thå  enä  oæ  á commanä line¬  iô neeä  noô  bå  terminated® � Example: 1 copy 'Source File? ' 'Destination Dir? ' wilì  definå  useò functioî 1®  Thå useò ió  prompteä  witè � "Sourcå File¿  "¬  hå enteró hió text¬  iô ió substituteä iî � thå commanä line¬ hå ió prompteä foò "Destinatioî Dir¿ "¬ hå � agaiî  enteró  á  response¬   iô  ió  substituted¬  anä  thå � resultinç commanä linå ió chaineä to. User Fcts 1 copy 'Source File? ' 'Destination Dir? ' Iæ  thå useò respondó witè "myfile.txt¢ anä "C0:"¬  theî thå � commanä line copy myfile.txt C0: ió built® Notå thaô spaceó anä otheò characteró betweeî thå � promptó arå significant. 1 mcopy 'Dest Dir? '='Source File? ' will generate (to the same inputs) mcopy C0:=myfile.txt PASSED PARAMETERS User Fcts Threå  parameteró  maù bå passeä froí VFILEÒ  intï  thå � commanä  linå beinç generated®  Theså parameteró anä  theiò � symboló are: Symbol Parameter %D Current Disk Letter %U Current User Number (1 or 2 digits) %F Current File Name (pted to by arrow) %$ DU:FILENAME for Current File Iæ  thå  useò  musô inserô á  '%§  characteò  intï  thå � commanä  linå hå ió building¬  '%%§ placeó onå '%§ intï  thå � line® Example: echo Disk is %d, User is %u, File is %f printó (iæ thå useò ió iî A1µ anä ptinç tï MYFILE.TXT): Disk is A, User is 15, File is MYFILE.TXT HELP BLOCK User Fcts Thå Helð Blocë iî thå VFILER.CMÄ filå ió simplù á blocë � oæ texô whicè extendó froí thå pounä sigî (#© iî thå filå tï � thå enä oæ thå file®  Thió helð informatioî ió displayeä tï � thå useò aó onå screen¬  anä iô ió thå responsibilitù oæ thå � persoî whï writeó thå VFILER.CMÄ filå tï seå thaô thió  bodù � oæ  texô  (includinç thå linå thå asterisë ió on©  doeó  noô � exceeä 2² lines® Example: # Help for Word Processing 1 - Run WordStar 2 - Run WordMaster 3 - Run ROFF4 COMMENT LINE User Fcts Á  commenô linå ió anù linå whicè doeó noô begiî witè á � digiô  oò  á  pounä sign®  Thå texô oæ  thaô  linå  ió  thå � comment® Iô ió noô displayeä tï thå VFILEÒ useò anä ió useä � onlù  foò  referencå tï thå persoî whï wrotå thå  VFILER.CMÄ � file® Example: ! This is a comment This is also a comment RUNNING ZEX User Fcts Likå  alì  standarä ZCPR³ Shells¬  VFILEÒ  ió  ablå  tï � supporô  thå executioî oæ thå thå ZEØ commanä filå processoò � oî  toð oæ itself®  Iæ ZEØ ió running¬  VFILEÒ wilì  simplù � prompô ZEØ foò inpuô ratheò thaî enterinç itó normaì screen-� orienteä displaù mode® Iî thió way¬ á commanä executeä froí � thå  VFILER.CMÄ  filå maù invokå ZEX¬  anä alì  oæ  thå  ZEØ � commanä  filå processinç wilì bå performeä beforå VFILEÒ  ió � reentered. SAMPLE VFILER.CMD User Fcts ! VFILER Command File for Richard Conn 1 xdir 'XDIR Options? ' 2 protect %D%U:%F 'PROTECT Attributes? ' 3 wm %$ 4 t2a 5 echo Disk=%d User=%u File=%f DU:FILENAME = %$ #VFILER Command File for Richard Conn The following VFILER Macros are provided -- 1 - XDIR with Options 2 - PROTECT Current File 3 - Edit Current File 4 - TERM III 5 - Echo Current File and Text :Tagging Commands Tagging Ô - Taç filå foò inclusioî foò masó copù tï anotheò  DÕ � (disk/user© area®  Filå remainó taggeä untiì eitheò á disë � log-iî  oò 'U§ ió useä tï untaç it®  Á 't§ markeò ió placeä � bù thå taggeä filenamå aó á remindeò thå filå ió taggeä  foò � masó copù oò masó delete. Õ  - Untaç filå previouslù taggeä foò masó  copy®  'U§ � caî  bå useä tï movå cursoò 'forward§ foò quicë untagginç oæ � files®  Logging-iî  drivå  agaiî witè 'N§ alsï  untagó  alì � files. Ç Ô oò Õ - Grouð (Mass© Taç oò Untag® Useò ió prompteä � foò thå operation¬  anä twï oæ hió optionó arå Ô anä U®  Iæ � eitheò  operatioî ió selected¬  tagginç oò untagginç  occuró � automaticallù  froí  thå cursoò positioî tï thå enä  oæ  thå � screeî  oî  alì fileó iî thió area®  Iæ thå useò wisheó  tï � theî seå thå accumulateä sizeó oæ thå taggeä files¬  thå Ç Æ � (Grouð Filå Size© commanä maù bå issued. :File Display Commands Display Ð - Prinô texô filå tï CP/Í lisô devicå (printer)® Anù � keypresó cancels. Ö  - Vie÷  texô filå oî console¬  witè  paginatioî  anä � single-linå turn-up®  ^D v ^X :Miscellaneous Commands Misc Á - Togglå Alphá Sort® Thió commanä reverseó thå senså � oæ thå sorô oæ thå currenô directory¬ reloadó thå directory¬ � anä refresheó thå screen¬ havinç sorteä iô iî thå ne÷ sense® � Sortinç  ió donå bù filå namå anä typå oò bù filå  typå  anä � name. È  - Invokeó  externaì HELÐ Information®  VFILEÒ  wilì � chaiî  tï  HELÐ anä displaù thå informatioî  iî  VFILER.HLP® � VFILEÒ  checkó  tï  seå  iæ HELÐ caî  bå  founä  alonç  patè � (externaì  iæ available¬  internaì iæ externaì patè  ió  noô � available©  anä doeó noô attempô tï chaiî iæ HELP.COÍ cannoô � bå found. Î - Logiî ne÷ DÕ areá foò displaù anä reseô systeí  foò � disë changes® Formaô oæ DÕ forí ió samå aó 'C§ foò copy. Misc Ó  - Statuó oæ requesteä drive¬  showó  remaininç  disë � storagå   iî  kilobyteó  anä  numbeò  oæ  fileó  iî  currenô � directory. Ú - Ruî anù ZCPR³ Commanä Line®  Useò wilì bå prompteä � foò  commanä line¬  anä VFILEÒ wilì bå reentereä iî samå  DÕ � areá aó wheî commanä waó executed®  Commanä wilì executå iî � thå originaì DÕ area as indicated by the prompt. ^C - Exit to Operating System. ¯  oò  ¿  - Prinô Commanä Summarù  (Shorô  Helð  Info)® � VFILEÒ  maù bå assembleä tï omiô built-iî help¬  creatinç  á � VFILEÒ  whicè  ió  abouô 1Ë shorteò thaî á VFILEÒ  witè  thå � built-iî  help®  Iæ  thå built-iî helð  ió  omitted¬  theså � commandó chaiî tï thå VFILER.HLÐ filå instead.