


**************************************
**** Command-Line Defined Symbols ****
**************************************

BSD                  4.x BSD UNIX
POSIX                IEEE POSIX Standard
SYSVR2               System V, Release 2
SYSVR3               System V, Release 3
TURBOC               MSDOS 3.2 with Turbo-C Compiler



*******************
**** Constants ****
*******************

CMDLEN               Maximum length of built-in command
CMTCHAR              Indicates comments in VFRC files
COPYCMD              Default copy command string
CURDIR               Name of current directory
DIRCHAR              Character used to indicate a directory in display
DIRNAMELEN           Maximum length of a directory name
EDITCMD              Default edit command string
ENABLESIBSHELL       0/1 Flag: enable sibling shell facility?
FSIZETLIMIT          Info messages appear if file sizes exceed this limit
MAXNAMELEN           Maximum length of a file name
O_text               Constants (do not change)
PRINTCMD             Default print command string
PTRCHAR              Indicates substitution parameters in VFRC files
RETAGCHAR            Character used to indicate retag in display
SPECIAL1             Directory name always included in display
SPECIAL2             Directory name always included in display
TAGCHAR              Character used to indicate tagged file in display
VERSION              Program ID, with version number
VFRC                 Name of VFRC file prefixed with a slash
VF_NOTDIR            Item is not a directory flag (do not change)
VF_OK                OK status flag (do not change)
VIEWCMD              Default view command string



*******************
**** Variables ****
*******************

Cmd                  Buffer for commands sent to sibling shell (non-TURBOC)
  Type: char [420]             
Shell                Pointer to pipe to sibling shell (non-TURBOC)
  Type: FILE                   
Shelle               Pointer to the environment variable SHELL (non-TURBOC)
  Type: char *                 
cfirst               Pointer to first command in list
  Type: cmdentry *             
cfnum                Number of current file
  Type: integer                Range: 0..maxint           
cfptr                Pointer to current file in dir list
  Type: entry *                
cmdcopy              Text of copy command
  ** Set from VFRC File **
  Type: char [CMDLEN]          
cmdedit              Text of edit command
  ** Set from VFRC File **
  Type: char [CMDLEN]          
cmdmsgfmt            Format string for Command or Info/Status Message windows
  Type: char [6]               
cmdmsgwin            (WINDOW) Command Message Window
  Type: WINDOW *               
cmdprint             Text of print command
  ** Set from VFRC File **
  Type: char [CMDLEN]          
cmdset               Array of names and token codes for VFRC commands
  Type: vfrccmnd *             
cmdview              Text of view command
  ** Set from VFRC File **
  Type: char [CMDLEN]          
confirmdel           0/1 flag: confirmation on single file deletes
  ** Set from VFRC File **
  Type: integer                Range: 0/1                 
confirmentfmt        Format string for Confirmation Message Window
  Type: integer                Range: 0..maxint           
confirmwin           (WINDOW) Confirmation Message Window
  Type: WINDOW *               
curfentfmt           Format string for current file
  Type: integer                Range: 0..maxint           
curfilewin           (WINDOW) Current File Info subwindow
  Type: WINDOW *               
curframe             Current frame number (first frame is 0)
  Type: integer                Range: 0..maxint           
curstart             Number (from point of view of dir list) of first file in current frame
  Type: integer                Range: 0..maxint           
dirwin               (WINDOW) Directory Display subwindow
  Type: WINDOW *               
dname                Name of current directory
  Type: char [DIRNAMELEN]      
efirst               Pointer to first element of directory list
  Type: entry *                
entformat            Format string for directory display entry
  Type: integer                Range: 0..maxint           
errentfmt            Format string for Error Message Window
  Type: integer                Range: 0..maxint           
errorwin             (WINDOW) Error Message Window
  Type: WINDOW *               
exitcheck            0/1 flag: confirmation on exiting VFILER
  ** Set from VFRC File **
  Type: integer                Range: 0/1                 
filecount            Total number of files loaded (in dir list)
  Type: integer                Range: 0..maxint           
ghelpmsg             Text of group help window
  Type: char *                 
helpmsg              Text of default help window
  Type: char *                 
helpwin              (WINDOW) Help Window
  Type: WINDOW *               
homedir              Buffer containing name of home (startup) directory
  Type: char [DIRNAMELEN]      
inchidden            0/1 flag: include hidden files in display
  ** Set from VFRC File **
  Type: integer                Range: 0/1                 
infomsgwin           (WINDOW) Information/Status Message Window
  Type: WINDOW *               
ldcnt                Number of files displayed in dirwin
  Type: integer                Range: 0..maxint           
more                 0/1 flag: more files are in list than shown on screen
  Type: integer                Range: 0..maxint           
pid                  Process ID for sibling shell spawned on startup (non-TURBOC)
  Type: integer                Range: 0..maxint           
savefile             Holding place (temporary) for current file name
  Type: char [DIRNAMELEN]      
taggedsize           Total size of tagged files
  Type: integer                Range: 0..maxint           
vfrcfile             Buffer containing the name of the VFRC file
  Type: char [DIRNAMELEN]      



********************
**** Structures ****
********************

CMDELT               Structure of user-defined command (same as cmdentry)
CMDELTPTR            Pointer to cmdentry structure
  ** Set from VFRC File **
ENT                  Structure for directory list element (same as entry)
ENTPTR               Pointer to directory list element
VFRCMD               Structure for VFRC command set (same as vfrccmnd)
cmdentry             Structure of user-defined command
  ** Set from VFRC File **
entry                Structure for directory list element
vfrccmnd             Structure for VFRC command set



*******************
**** Functions ****
*******************

advance              Advance arrow and internal pointer to the next file on the screen
  ** Changes Screen Display **
center               Center passed string and return pointer to the centered text
closedir             Close directory file/inodes (system-dependent)
clrinfomsg           Remove Information Message window (infomsgwin) from screen
  ** Changes Screen Display **
cmdmsg               Display Command Message in cmdmsgwin
  ** Changes Screen Display **
cmdret               Cleanup after returning from shell command
  ** Changes Screen Display **
command              Position cursor and get single-character command
  ** Changes Screen Display **
confirmmsg           Display confirmation message in confirmwin
  ** Changes Screen Display **
cprocess             Preprocess shell command line, replacing $d, $f, and $n with values
csubst               Convert $d, $f, $n in source string to %s in target string
dir                  Load directory into linked list from disk
dirsize              Return the size of a directory entry (system-dependent)
displaycf            Display information on the current file in curfilewin
  ** Changes Screen Display **
displaycur           Clear cursor from old position and place it at new position
  ** Changes Screen Display **
displaydir           Display directory starting at EFIRST in dirwin
displayent           Display entry in ith position (used by displaydir)
displaymain          Display main window (at top)
displaytag           Display the tag character of the current file
  ** Changes Screen Display **
dogroup              Process Group subcommand
  ** Changes Screen Display **
dosubshell           Execute command line via the sibling shell spawned on startup
  ** Changes Screen Display **
dosystem             Execute command line via a subshell (system)
  ** Changes Screen Display **
errormsg             Display error message in errorwin and get single-character response
  ** Changes Screen Display **
findf                Find the file whose name starts with the parameter, setting CURFRAME, CFNUM, etc
getcurwd             Get current working directory (system-dependent)
getline              Input line with editing from the console
  ** Changes Screen Display **
getvfrc              Load VFRC file and interpret/set options
helpme               Display help window helpwin
  ** Changes Screen Display **
infomsg              Display Information Message in infomsgwin
  ** Changes Screen Display **
moveupdate           Move arrow on screen and update screen
  ** Changes Screen Display **
ncscrefresh          Refresh the screen without clearing it first
  ** Changes Screen Display **
opendir              Open directory file/inodes for reading (system-dependent)
parse                VFRC line parser
readdir              Read next directory record (system-dependent)
reload               Reload current directory and refresh screen
  ** Changes Screen Display **
rewinddir            Reset directory file/inodes for reading (system-dependent)
screfresh            Clear the screen and refresh it
  ** Changes Screen Display **
setcfptr             Make the current file pointer point to the file indicated by CFNUM
setfilenumbers       Set the number fields of the file entries in the linked list
setghelp             Set up help window helpwin with group help text
setgroup             Display or clear GROUP command message
  ** Changes Screen Display **
sethelp              Set up help window helpwin with default help text
store_entry          Store one directory entry into linked list (used by dir)
vf                   Main VFILER processor after initialization by MAIN
  ** Changes Screen Display **
xreload              Reload current directory
