Dec 092017
CM_FILER 5.23 : Powerful, compact file manager with side-by-side display of files or trees and full suite of services in either mode. Also: built-in line editor, app launcher, spooler & file finder. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
CF523.ADD | 1047 | 476 | deflated |
CM_FILER.BRF | 6435 | 1961 | deflated |
CM_FILER.COM | 16512 | 5566 | deflated |
CM_FILER.DOC | 175122 | 49300 | deflated |
CM_FILER.OVY | 77136 | 44384 | deflated |
CM_FILER.REG | 8871 | 2908 | deflated |
Download File CM_FILER.ZIP Here
Contents of the CM_FILER.DOC file
*******************************
* *
* CM_FILER -- Version 5.22 *
* *
*******************************
SHAREWARE DISK/FILE MANAGER
Copyright 1992 Charles F. Martin
President, NoVaSoft - Member ASP
3239 Riverview Dr.
Triangle, VA, USA 22172-1421
Phone (703) 221-1471/1833 CompuServe 72130,1400
Internet [email protected]
_______
____|__ | (R)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER
Assembled using Wolfware Assembler WASM Ver 2.22x,
(c) 1985-1991 Eric Tauck, Wolfware
Manual developed using PC-Write Ver 3.04,
(c) 1983-90 Bob Wallace, Quicksoft
*******************************
* *
* CM_FILER -- Version 5.22 *
* *
*******************************
TABLES OF CONTENTS:
_____
INDEX TO TOPICS AND OPERATIONS:
_____
OVERVIEW:
Program Logical and Physical Organization. . . Ov-3
Security Features. . .
Monitor Options. . . Ov-4
Precautions and Limitations. . .
Assumption about User's Familiarity with DOS. . . Ov-5
Additional Note for Windows Users. . . Ov-6
Assertion. . .
Special Thanks. . .
_____
TUTORIAL -- Chapter 1: File Handling:
GETTING STARTED, or the "Kernel" and the "Overlay". . . 1-1
Rename CM_FILER to Spare My Fingers. . . 1-2
The Screen. . . 1-3
The Help Area. . .
The Modifier Keys. . . 1-4
Two Panels. . .
Cursor Movement. . . 1-5
Switching Drives or Disks. . .
Subdirectories. . .
Copy Some Files, then Do It with Tags. . . 1-6
Tagging, Backing Up. . . 1-7
Moving Files. . .
Deleting a File. . . 1-8
The Tagging Convention Expounded on. . . 1-9
Renaming a File OR a Directory. . .
Some Additional Tagging Options. . . 1-10
The File Freshener. . . 1-11
Different Ways to Show the Files. . .
The Data Entry Window. . . 1-12
Disk Space Occupied versus Actual File Size. . . 1-13
File Attributes. . .
Changing the Date/Time Stamp of a File. . . 1-14
"
Printing a File. . .
Making Some Notes About Your Files. . . 1-15
Printing a Directory Listing. . .
Comparison Mode. . .
Hide Mode. . . 1-16
Mask Template. . .
Displaying Date and Time. . .
Changing or Adding a Volume Label. . .
Some Safeguards. . . 1-17
Help. . .
Date/Time Display. . .
Quitting CF. . .
_____
TUTORIAL -- Chapter 2: File Viewing and Editing:
Viewing a File. . . 2-1
Record Delimiters. . .
Information Area. . .
Cursor Movement. . .
Find a String. . . 2-2
Leading and Trailing Blanks in the Data Window. . . 2-3
Editing a File. . .
Edit Mode Limitations. . .
Overstrike vs Push Right. . .
Editing a Line. . .
More on Record Delimiters. . . 2-4
Block Operations. . .or the REAL Power of CF's Editor. . .
Marking a Block, and the Copy Buffer. . .
Delete, Copy, Move. . . 2-5
Restoring from Inadvertent Block Deletion. . .
Sending a Block of Text to the Line Printer. . .
. . .or to a File. . .
Replace and Global replace. . . 2-6
Leaving Edit Mode. . .
Backup File Protection. . .
Creating a New File. . .
Help. . .
CM_FILER -- Table of Contents ii
_____
TUTORIAL -- Chapter 3: The TREE Functions:
The Display. . . 3-1
Copying structures. . . 3-2
The "Copy Into" Function. . . 3-4
Moving structures. . . 3-5
Copying Just the Files. . .
Copying Just the Directory Array. . .
Deleting Structures. . .
Delete Just the Files. . . 3-6
Show the File List. . .
Find a File. . . 3-7
Print a Hard Copy of the Tree. . . 3-8
Precaution Regarding CF_TRASH.CAN. . .
Leaving the Tree Functions. . .
Help. . .
_____
TUTORIAL -- Chapter 4: Executing Child Processes:
Child Process Defined. . . 4-1
Resident Footprint of CF. . .
"Shelling" to DOS. . . 4-2
Executing a Program from the Main Screen. . .
Immediate Execution. . .
Execution with Command Line. . .
Execution with a Single File Name in Command Line. . . 4-3
"Seeding" the Command Line. . .
Changing the Command Line "Seed" Delimiter. . . 4-4
Customizing Your Child Process File Specifications. . .
A Further Execution Option -- Instant ZIPping/UNZIPping. .4-6
ZIP a File. . . 4-7
Now UNZIP a File. . .
Tailoring CF for custom ZIP/UNZIP spec. . . 4-8
Specifying a Password for Access from Screen Saver. . .
_____
REFERENCE -- Description by Operation:
_____
MEMORY MAPS -- Information on Memory Allocation:
CM_FILER -- Table of Contents iii
*******************************
* *
* CM_FILER -- Version 5.22 *
* *
*******************************
INDEX TO TOPICS AND OPERATIONS:
Topic or Operation Module Command Page
------------------ ------ ------- ----
Appending files:
to target panel Main
to source panel Main
Application launching: See
Child process execution
ASCII entry with keypad: Edit
Attributes, directory:
toggle "hide", at curs Main 2 1-13
toggle "hide", at curs Tree 2 3-2
Attributes, file: 1-13
toggle "read", at curs Main 1, no tags
toggle "read", tagged Main 1, w/ tags
toggle "hide", at curs Main 2, no tags
toggle "hide", tagged Main 2, w/ tags
toggle "sys", at curs Main 3, no tags
toggle "sys", tagged Main 3, w/ tags
toggle "arch", at curs Main 4, no tags
toggle "arch", tagged Main 4, w/ tags
zero all attrs, at curs Main 0, no tags
zero all attrs, tagged Main 0, w/ tags
Back up files in directory: 1-7
file at cursor Main B, no tags
tagged files in direc Main B, w/ tags
Block operations: Edit 2-4
Change directories: 1-6
to directory at cursor Main
to parent directory Main P
show direc in opp panel Main
show parent in opp panel Main
to root directory Main \
Tree
Change to new drive or disk: Main N 1-5
Tree N
Topic or Operation Module Command Page
------------------ ------ ------- ----
Child process execution:
Shell to DOS Main S 4-2
quick execute file at Main Q 4-2
cursor, no command
line
put file at cursor into Main X 4-2
queue for execution
seed command line with Main
full path spec to file
at cursor
seed command line with Main
name of file at cursor
edit command line and Main
execute file in queue
execute file in queue, Main
no edit of command
line
execute file in queue, Main
first adding name of
file at cursor to
command line
assign executable files Main
to Function Keys Keys
Compare mode, toggle: M/T
Concatenating files:
to target panel Main
to source panel Main
Copy operations:
file at cursor to target Main C, no tags 1-6
tagged files to target Main C w/ tags 1-6
freshen one directory Main
from another
structure, incl files Tree C 3-2,3-4,3-5
structure w/o files Tree
text in marked block Edit
Create new file: Main F
Cursor movement:
in directory listings Main 1-5
in tree structures Tree 3-2
in editor Edit 2-1
Data entry line: All 1-12
Date/time, change file: Main
CM_FILER -- Index Ind-2
Topic or Operation Module Command Page
------------------ ------ ------- ----
Date/time, display system: Main
Definitions:
CF_TRASH.CAN directory 1-8
Child process 4-1
Compare mode 1-15
Hide mode 1-16
Kernel 1-1
Module Ov-3,1-1
Overlay 1-1
Source panel 1-4
Target panel 1-4
Delete operations:
"soft" vs "hard" 1-8,1-9
resetting D to hard 1-9
file at curs, soft Main D, no tags 1-8
file at curs, hard Main
tagged files, soft Main D, w/ tags 1-8
tagged files, hard Main
directory at cursor Main D, dir void only 1-6
structure at curs, soft Tree D 3-6
structure at curs, hard Tree
text in marked block Edit
line of text Edit
word of text Edit
text to end of line Edit
Directory:
delete (only if empty) Main D 1-5
delete direc structure Tree D or
make new Main M 1-5
Tree M 3-2
rename Main R 1-2,1-9
Tree R 3-2
display subdir in srce Main
display subdir in trgt Main
display parent in srce Main P
display parent in trgt Main
display root in source Main \
display root in target Main
display source in trgt Main
CM_FILER -- Index Ind-3
Topic or Operation Module Command Page
------------------ ------ ------- ----
Display options:
show Hidden files, Main
dirs; toggle Tree
Compare mode, toggle Main
Tree
define filename Mask Main
Find file Tree F 3-7
Show file list Tree S 3-6
file time, size in K Main - 1-13
no file time, full size Main + 1-13
DOS, Shell to: Main S 4-2
Edit file at cursor: Main E 2-3
File Masking: Main
File sorting: Main
Find file: 3-7
from main module Main
from tree module Tree F
Find string: Edit
Form feed printer: Main
Tree
Edit
Freshen directory from Main
opposite panel:
Function Keys:
assign applications to Main
Function keys
put app at F1-F9 into Main Fn 4-5
queue for execution
execute queued Fn app Main
execute app to operate Main
on file at cursor
execute app to operate Main
on constructed
command line
Global replace string: Edit
CM_FILER -- Index Ind-4
Topic or Operation Module Command Page
------------------ ------ ------- ----
Go to file, first letter... Main G, then letter 1-5
to subdirectory, 1st ltr Main
Help, on-line: Main H Ov-2,1-17
Tree H 3-8
Edit
Hide mode, toggle: M/T
Kernel, resident, set size: Main K 4-1,4-5
Launching applications: See
Child process execution
Limitations:
dir size (300,600,1200) Main Ov-4
file size in edit mode Edit Ov-5
memory required (182 K) Ov-4
tree entries (500 dirs) Tree Ov-5
dir nesting (8 levels) M/T Ov-5
Make new directory: Main M 1-5
Tree M 3-2
Masking, in direc listing: Main
Monitor options: Ov-4
Moving operations:
files within disk Main
structures w/in disk Tree
block of marked text Edit
New drive or disk, change: Main N 1-5
Tree N 3-2
Notes, view and edit: Main O 1-15
NULL character, entering Edit
Ordering scheme, select: Main
Overcopy switch, toggling: Main
Tree
Password, entering: Main
CM_FILER -- Index Ind-5
Topic or Operation Module Command Page
------------------ ------ ------- ----
Printing:
put file in print queue Main L 1-14
look at print queue Main
cancel print queue Main
print directory listing Main
print directory listing Main O, then
with notes
print tree structure Tree
Print marked text block Edit
Output block to file Edit
Quitting:
to DOS from main module Main
to DOS from tree module Tree
to main from tree module Tree
to main from file edit Edit
to main from file view Edit
Remove directory: Main D (must be void) 1-6
Rename file or directory at Main R 1-2,1-9
cursor: Tree R 3-2
Replace string: Edit
Resident kernel, set size: Main K 4-1,4-5
Screen saver:
normal timeout to Main Ov-3
forcing before timeout Main
freshening directories Main Ov-6
after return, switch
setting
Security features:
cleared I/O buffers Ov-3
password access denial Main Ov-3
Shell to DOS: Main S 4-2
Sorting of files: Main
Subdirectories:
make new Main M 1-5
Tree M 3-2
rename Main R 1-2,1-9
Tree R 3-2
CM_FILER -- Index Ind-6
Topic or Operation Module Command Page
------------------ ------ ------- ----
Tagging operations on files:
toggle Tag at cursor Main T 1-6,1-9
toggle All tags in direc Main
clear or set All tags Main A 1-6,1-9
all files same naMe as Main
all files same Ext as Main
all files as New as Main
all files as Old as Main
tag in oPposite panel Main
"Append" or "Alt" Tag Main
Time/date, change file: Main
Time/date, display system: Main
TSR's, precaution about: Ov-4
UNZIPping with PKZIP utils:
with command line edit Main U 4-7
no command line edit Main
View file at cursor: Main
Volume label, setting: Main V 1-16
ZIPping with PKZIP utils:
with command line edit Main Z 4-7
no command line edit Main
designating files to ZIP Main
CM_FILER -- Index Ind-7
*******************************
* *
* CM_FILER -- Version 5.22 *
* *
*******************************
OVERVIEW:
There are five files in the CM_FILER Version 5.22 package --
CM_FILER.COM - The "kernel" of the program
CM_FILER.OVY - Its supporting overlay
CM_FILER.DOC - This manual, which is the full documentation
CM_FILER.BRF - A brief summary of features for quick reference
CM_FILER.REG - A file containing the registration form, an
explanation of the Shareware concept, and a
statement of the Association of Shareware
Professionals concerning its ombudsman services
for registered users of Shareware applications.
CM_FILER is not "public domain" software or "freeware". It is offered to
you as Shareware for your evaluation and distribution unaltered to
others, with the understanding that, if you find you are using it after a
30-day trial period, you will pay a registration fee of $30. Please
refer to CM_FILER.REG for registration information and a definition of
Shareware. I am so convinced of CM_FILER's wide usability and appeal
that, once you register your copy, I will send you an instant $10
commission each and every time someone else registers a copy and cites
you as the source of it! You may make as much money by passing CM_FILER
to others as you care to. CM_FILER MUST be passed as an UNALTERED
collection of the above five files, together on one disk, or as a
compressed file, e.g., using the PKZIP (c) utility.
The form in which I prefer to pass CM_FILER, because it requires no
external decompression utilities, is as the self-extracting file
CM_FILER.EXE, which on execution extracts all five files. A perfectly
suitable alternative form, preferable if you have the PKZIP utilities
because it takes up less space, is as the Zip file CM_FILER.ZIP, which on
unZipping yields all five files. Any package that contains all five
files unaltered is acceptable.
CM_FILER provides a quick, simple, "one-touch" operating environment
for your IBM-compatible 80x86-based computer running under DOS Version 2
or later. While its name implies it is a file manager, it is much, MUCH
more. Once you have used CM_FILER for a few sessions, you will not want
to struggle with the DOS COMMAND.COM command processor or your other file
managers ever again! CM_FILER was painstakingly written in Assembly
language over a three-year period, carefully factoring the suggestions of
a dozen of the world's pickiest electrical, mechanical and nuclear
engineers with whom I work. It is compact and lightning fast.
CM_FILER is capable of doing everything your DOS COMMAND.COM
processor or other file manager can do, and more, but with EASE! --
displaying two directories side-by-side; copying one or more files from
one directory to another; backing up files in the same directory;
deleting and renaming files and directories; setting file and directory
attributes; concatenating (stringing together) multiple files; viewing
and editing files; making and removing subdirectories; printing files in
the "background" while you perform other tasks; setting disk volume
labels; printing directory listings; keeping notes; displaying two disk
structures side-by-side as "trees", and performing a full set of
operations on their structures; and executing child processes -- all with
a minimum number of keystrokes and maximum "transparency".
Operations are keyed to single-letter mnemonics, making CM_FILER
intuitive and easy to learn. For example, the letter "C" means "copy",
the letter "D" "delete", and so forth. Almost everything you need to
know about CM_FILER is contained in a two-line prompt at the bottom of
the screen, or can be summoned instantly with a single keystroke
(surprise! "H" for "help"), with no delay for external file reading,
since the help is imbedded in the program code. There are only a few
things for which you will need to refer to this manual once you begin
using CM_FILER.
CM_FILER employs the BIOS and DOS disk service routines which are
embedded in ROM or loaded into RAM when your computer boots, and the DOS
file operation safeguards and error flags are employed, such as denying
access to remove non-void subdirectories. I have added a few of my own,
such as protection of files against being overwritten by zero-length
files of the same name (resulting from an occasional DOS read-write
failure).
CM_FILER performs most operations immediately, and does not ask
for confirmation as other file managers do, unless file destruction is
involved. You must confirm with a separate keystroke, for example,
that you really DO want to delete files, or that you really DO want to
overwrite a more recent version of a file during a copy operation.
Otherwise CM_FILER takes for granted that you are doing exactly what you
had in mind, on the basis that a mistake can be recovered from with just
a few more keystrokes. The "mass" operations, like copying large numbers
of tagged files, all have an
CM_FILER -- Overview Ov-2
_____
Program Logical and Physical organization. . .
The CM_FILER program code is organized "logically" (in the
programmer's sense) into three sections, or "modules". These will be
referred to variously as the "main module" or "main screen"; the "editor
module" or "editor"; and the "tree module" or "tree functions". The
distinction betwenn modules is that each performs some major function or
group of functions fundamentally different from the rest. On the other
hand, the program is broken PHYSICALLY into two main pieces, in this case
two files, namely, the file "CM_FILER.COM", sometimes referred to herein
as the "kernel"; and the file "CM_FILER.OVY", or the "overlay". The
kernel contains the most vital part of the main module, the "starter",
and the overlay, which the kernel loads contiguous to itself in memory,
contains the rest of the main module, plus all of the editor and tree
modules. A memory map is included for those interested.
_____
Security Features. . .
CM_FILER incorporates security features which support its
use on systems containing sensitive information:
o You may specify a password, and change it at any time during a
session, which must be given back to reenter CM_FILER once it has gone
to screen-saver mode (about 1-1/2 minutes after last keystroke from
main screen display). This password is the bottom-most field in the
data entry screen presented by the key combination
in further detail in Chapter 4.
o You may force CM_FILER into screen-saver mode with the key
combination
your computer immediately, you don't have to wait the 1-1/2 minutes for
the screen-saver to automatically be invoked.
o CM_FILER attempts to locate and overwrite all the DOS
input/output buffers with the continuous string "CFCFCFCF..." before
starting any file writing operations. This way, the file being
written cannot contain any stray data at the end of its last sector
that was hanging around in the buffers from a previous read operation.
A word of caution, however: I have seen and factored in the two
different conventions I have observed in DOS Versions 2 and 3 for coaxing
DOS to divulge where its buffers are. The buffers are better hidden in
DOS Version 4; under this version and most certainly 5 as well, CM_FILER
will simply report that it used UNCLEARED buffers during each copy
operation. Otherwise, it will report that it used cleared buffers.
CM_FILER -- Overview Ov-3
An even more secure version 5.22x is available on request which
simply ignores any command that would result in file writing if the DOS
buffer structure cannot be located for clearing.
_____
Monitor Options. . .
CM_FILER should work with all reasonably current IBM-compatible
CGA/EGA/VGA and monochrome monitors, though I have heard of some problems
with machines under very early BIOS (Basic Input/Output System) versions.
If you have an LCD monitor other than Tandy, you may invoke the special
color set using the letter "L" in the command line. For Tandy LCD's use
"T". (Tandy for some unfathomable reason inverts the function of the
high-intensity bit in the color attribute.) If you have a "monochrome"
monitor being driven by a color card, CM_FILER senses the color card's
presence and defaults to the "color" vice "monochrome" color set. You
may find the color attributes indistinct in this case. Try running
CM_FILER with the letter "M" in the command line. This instates the
special monochrome attribute set. The letter "C" in the command line
forces the default color set.
_____
Precautions and Limitations. . .
There are a few precautions and limitations the user should be
aware of:
o Terminate-and-Stay-Resident programs should NOT be run as child
processes of CM_FILER. At best you will end up with horribly
fragmented memory when you exit CM_FILER, and at worst you will
have a SYSTEM CRASH.
o CM_FILER requires a minimum of 186KB of free memory to run. This
permits generous memory allocations for the directory listings,
a print spooler buffer, and a large copy buffer. During
execution of child processes, however, the resident portion of
CM_FILER can be made to occupy as little as 16KB, using the
"Small" footprint option of the "Kernel" command (letter "K"
pressed from the main screen -- discussed more in Chapters 1
and 4).
o Maximum directory size recognized by the main module varies from
300 to 1200 entries, depending on free memory available. If
the directory size limit is reached, an informational note is
given. The rest of the directory is inaccessible, as though it
were hidden. This is a benign, non-damaging limitation.
CM_FILER -- Overview Ov-4
o The algorithms used by the editor module place certain
limitations on it in "edit" mode which do not apply in "view"
mode. If you attempt to edit a file which exceeds these
limitations, the editor reverts to view mode automatically:
o Files too large to fit in available memory in one
shot, or files with more than 16,380 records.
o Files with any record longer than 8190 characters.
o The tree module limits the number of entries in a directory tree
structure to 500 total subdirectories.
o The main and tree modules both limit the depth of directory
nesting to eight levels (eg, "C:\1\2\3\4\5\6\7\8" is an example
of the most deeply nested path allowed), and the length of path
specifications to 63 characters.
o A limitation of DOS itself which users frequently run into and
are puzzled by, because of the cryptic error message DOS
returns, is the maximum number of entries permitted in the root
directory. This number is 112 for 5.25" disks formatted at
360KB and 3.5" @ 720KB; and 224 for 5.25" @ 1.2MB and 3.5" @
1.44MB. The error message returned is "Access denied creating
file". Be aware that the volume label and each subdirectory is
an "entry", as well as each file.
o Finally, CM_FILER does not yet support mouse or 43/50 line
EGA/VGA display capability. I have concentrated on packing the
MOST COMPLETE set of useful operational features into the
smallest, most intuitively organized package I could, and have
not yet had the time (and do not yet have the hardware
capability myself) to write and debug these additional user
interface features. With respect to the mouse, my feeling is
that ease of use has less to do with the HARDWARE interface
between the user and the computer than the LOGICAL interface,
and I have concentrated on writing the best logical interface
possible. (In other words, a cumbersomely constructed program
remains cumbersome, EVEN when you add a mouse!)
If there is overwhelming response to CM_FILER requesting
addition of mouse capability and/or 43/50 line display, I will
add it. Otherwise I will stick with the basics.
_____
Assumption about User's Familiarity with DOS. . .
It is assumed that the user knows at least a smattering about DOS
system operation, and has at least a beginner's understanding of the
CM_FILER -- Overview Ov-5
use of the DOS COMMAND.COM processor, or other file management
programs. I assume terms like "file", "subdirectory" and "path" need
not be defined. If these are alien notions, however, there are any
number of books on DOS written to different levels of proficiency
which may be consulted as a resource.
_____
Additional Note for Windows Users. . .
Though not designed as a Windows application, CM_FILER appears to be
operating satisfactorily in the Windows environmemt. One nuisance
feature will probably need to be corrected if you are running it under
Windows, however. The default assumption on return from screen saver
mode is that the disk directories have not been altered while CM_FILER
has been idling. Under Windows, this is not necessarily a valid
assumption, since another foreground application may have operated on the
directories CM_FILER was selected to when it went into the background.
Therefore for Windows users there is a switch which may be set telling
CM_FILER to refresh the directory listings on return from the screen
saver. After you have read Chapter 2 on file editing, select
CM_FILER.COM for editing. On about the fourth line down you will see a
line "REFRESH AFTER SCREEN SAVE=N". Be sure you are in Overstrike mode,
and just change the "N" to "Y".
_____
Assertion. . .
I believe CM_FILER Version 5.22 is the most powerful and transparent
file manager code you will ever find anywhere for its price and size. It
is being offered as a Shareware utility in the hope that you will find it
useful, and further that you will remit the required registration fee of
$30 for the convenience it offers. Please remember that the Shareware
industry depends on the integrity, encouragement and financial support of
its user public.
_____
Special Thanks. . .
. . .to Nick Capik and Tom Vavoso who found most of the subtle bugs
by pushing CM_FILER past my expectations, and challenged me to include
features that turned out to be useful to us all; and to Eric Tauck, who
provided an excellent and inexpensive Assembly language programming
environment, then tailored it to my needs, and gave me some inside dope
on several undocumented DOS features. His Wolfware Assembler WASM can be
had by sending $10 to Eric Tauck, 1304 Deerpass Road, Marengo, IL 60152.
CM_FILER -- Overview Ov-6
*******************************
* *
* CM_FILER -- Version 5.22 *
* *
*******************************
TUTORIAL -- Chapter 1: File Handling:
GETTING STARTED , or the "Kernel" and the "Overlay":
As mentioned in the OVERVIEW above, I refer to the 17 KB
CM_FILER.COM file as the "kernel", the vital part of the main module, and
the 74 KB CM_FILER.OVY file as the "overlay", which contains the rest of
the main module and the editor and tree modules. Physically breaking the
program into two files served two purposes -- it got around an arcane 64
KB limit on .COM files imposed by DOS Version 2, and it let me give you
two options for how much of the program to leave resident in memory when
running child processes (more in Chapter 4).
For now, copy CM_FILER.COM and CM_FILER.OVY into the root directory
of your hard disk or a working floppy using your good ol' DOS COMMAND.COM
processor, and save a write-protected copy for your library. With the DOS
system prompt showing the drive these two files are now on, run the
kernel CM_FILER.COM by entering "cm_filer". The DOS command processor
will load and execute CM_FILER.COM, which in turn will find and load the
overlay CM_FILER.OVY. The whole 91 KB (17+74) is now residing in
memory, ready to respond to commands.
Before anything else, press "K" (for "resident Kernel" option). You
will see two choices, "L" for "large footprint" and "S" for "small
footprint", and under the cursor a capital "L" or "S" ("L" if you are
running a virgin copy of CM_FILER) showing the current selection. "L"
signals CM_FILER to leave the whole 91 KB (CM_FILER.COM + CM_FILER.OVY)
resident in RAM when it executes other programs ("child processes"), "S"
signals CM_FILER to turn back over to the DOS system the 74 KB occupied
by the overlay for use by the child process. For now, select "L", since
a 91 KB resident footprint is not a great sacrifice. If the original
setting (the letter under the cursor) had been "S", we need to embed in
the CM_FILER.COM file the new setting. Press
change completely -- this is the user-defined "child process"
specification page discussed in more detail in Chapter 4 -- don't worry
about it for now!), and then
CM_FILER.COM is on being accessed. The new "Kernel size" option is now
embedded right in that file.
(As an aside, this little exercise points out a fairly unusual
feature of CM_FILER, namely that the information about user-selected
options is embedded right into the program code file itself, not carried
in some external configuration file. No extra files, all self-contained,
no hassle.)
_____
Rename CM_FILER to Spare My Fingers. . .
Now, feel free to rename CM_FILER.COM to "CF.COM" for short, and the
overlay CM_FILER.OVY to "CF.OVY". (It is important to keep these two
files named THE SAME, by the way.) In fact I will refer to them simply
as "CF" from here on, since that results in fewer keystrokes for me! Put
the cursor on the line reading "CM_FILER COM" and press "R" (for
"rename"). A window will open up at the bottom that says:
Rename CM_FILER.COM
to >CM_FILER.COM<
with the cursor blinking on the first "C" in the data entry field denoted
by the "> <" pair. (CM_FILER is assuming that you want to rename just
the CM_FILER.COM file, since this is the most frequent use of the rename
facility, and further is offering you the same name as the "default" or
starting entry in the new name field, since often when you rename a file,
you may be only changing a few characters.)
In this case we want to rename all the files that start with
"CM_FILER"; that is, we would really like to use the DOS "wild card"
convention "*" and have the upper line read "CM_FILER.*". To do this,
press either the up arrow or
the "Rename. . ." line, and press
Type "*" and press
Rename CM_FILER.*
to >CM_FILER.* <
Simply type "CF.*" and press
This quick exercise sounded complicated when you read it, but won't
be when you try it. And it illustrates a few "nice touches" I have tried
to build in to minimize your keystrokes.
From here on the explanations are not so detailed. I recommend you
fiddle with scratch disks initially, until you are familiar with all of
CF's capabilities. If you are running DOS Version 2, put CF, both the
.COM and .OVY files, on one of the paths defined in a DOS "path" command,
so that it can "find" itself after running child processes. This is not
necessary under DOS Version 3 and later.
CM_FILER -- Chapter 1 1-2
_____
The Screen. . .
You should by now have noted an economy of screen usage. The left
panel shows the contents of the root directory on the default drive.
Line 1 of this active panel shows the disk volume name if any, and a
prompt area for four display enhancement features: the key combination
"
file ordering schemes; ^H toggles the "hide" mode switch; ^C toggles the
"compare" mode switch; and ^M allows specifying a file "mask". Line 2
shows the path to the current directory, whose first 20 entries are
displayed in lines 3-22. Line 23 gives vital information about the disk,
such as room left, and lines 24-25 contain an abbreviated help screen.
The thick versus thin sections of the vertical line to the left of
the file list denote the relative position and size of the current screen
display within the full directory listing.
If you do not press a key within about 1- minutes, the screen
goes into screen-saver mode. Just press any key to return to the main
display. You may force the screen-saver mode with "
_____
The Help Area. . .
The two-line help area at the bottom of the screen contains a set of
abbreviated cues to assist with the recollection of the mnemonic single-
key commands. With no "modifier" keys pressed [i.e., the keys
available with the unmodified keys, with the mnemonic code highlighted.
These are typically the most frequently used operations; the letter C for
"Copy file(s), E for "Edit file", D for "Delete file or directory", T for
"Tag file", the number 1 for "toggle the file Read-only attribute", and
so forth.
Additional commands are available which use similar mnemonic
devices, but with the keyboard modified by
one of the
are the commands enabled by the letters shown in highlight, modified by
the key you are holding down (and shown in shorthand notation at the
upper left of the two-line help). Press
these operations, both "unmodified" and "modified", will be explained as
we go along. Just be aware that the visual cues for the modifier keys are
there when you want them.
CM_FILER -- Chapter 1 1-3
_____
The "Modifier Keys". . .
Incidentally, there is some rationale for which of the
or
operation, and there are some devices which may help you remember the
modified keys as well as the more straightforward mnemonic devices of the
unmodified keys:
o The modifier "
transfers of control or data to or from the other panel. For example,
"
this subdirectory in the other panel and jump across to it. Other
commands which follow this convention, and which you will encounter in
more detail, are "
o The modifier "
a "switch" or "tags" -- that is, to invert something. For example,
"
"on") it goes to N ("no" or "off"), if N it goes to Y. Other examples
include "
o The modifier "
operation associated with a mnemonic alphabet key, but which key was
already tied up in its "unmodified" form as a mnemonic for a more
frequent operation. For example, "C" means "Copy", and is one of the
most frequent operations; "
and is used far less frequently. (In the editor,
used a LOT, since the unmodified keys are used for typing text!)
_____
Two Panels. . .
Each of two "panels" corresponds to a "path" to files, in the DOS
vernacular. Open the right panel with the right arrow, and you will be
prompted at the bottom of the screen to specifiy a drive letter.
(Lines 24-25 become the "dialog" area for information to you about
what CF is doing, or what it is waiting for you to do.) Just press
the letter corresponding to a valid drive -- don't press
letter key. The root directory of that drive will be shown in the
right panel in the same format as the left panel. The bright yellow
color of the path specification on line 2 and the blinking cursor now
identify the right panel as the "source" path. The left panel has
become the "target" or "destination" path for copy and append
operations.
Whenever CF is in "compare" mode and the cursor is on the name of a
file in the source panel that also happens to exist anywhere in the
target path, the target panel display is adjusted so that the file
CM_FILER -- Chapter 1 1-4
appears in the panel, and its date/time signature is put in high-
intensity to catch your eye and show you the duplication. If the date,
time and size of the two files are not the same, the date/time signature
of the NEWER file will blink. You can toggle compare mode off and on
with the key combination "
_____
Cursor Movement. . .
Shift back and forth with the left and right arrow keys. You are in
effect switching source and target paths. Use the up/down arrows,
there, and then moves up 19 lines in the directory.
for the opposite direction.
directory,
The command "G" (for "Go to...") moves the cursor in the directory
to the first file whose first character has an ASCII value equal to or
greater than a character you specify. This is most useful for moving
quickly to a general area of a large alphabetically-ordered directory,
based on knowledge of at least the first letter of the filename you are
looking for. "
In "compare mode", whenever there is a duplicate file name
highlighted in the opposite panel, you may jump directly across to it
with the move
_____
Switching Drives or Disks. . .
CF cannot tell when you have changed disks in the drive whose
contents are shown on one of the screen panels. You have to tell it by
putting the cursor in that panel and pressing "N" (for New disk), and
then the letter designator for that drive at the ensuing prompt.
Likewise, if you want to switch drives, say from A to B for the right-
hand panel, put the cursor to the right, press "N" and "B".
To close the right-hand panel, press "N" and "
_____
Subdirectories. . .
Make a new subdirectory in the source path by pressing "M" (for the
DOS command Mkdir) and entering a name. Find it in the display in
alphabetical order, move the cursor to it and press
path on line 2 of the screen display, and only the "
the file listing. Go back to the parent directory by pressing
CM_FILER -- Chapter 1 1-5
the cursor on the "
the panel. You can navigate down and back up through the directory
levels in a path this way, one level at a time. If you are several
levels deep, there is another quicker way back to the root directory than
by hitting "P" repeatedly, and that is the backslash key "\". It works
like the DOS command "cd \".
To put a subdirectory from the current source panel into the target
panel, put the cursor on it and press "
listed in the opposite panel, and the cursor shifts over to it. In
similar fashion, "
the opposite panel, and "
panel. Finally, "
target. This is handy for quickly setting up the same panels side-by-
side for ZIPping/unZIPping, discussed in Chapter 4.
Remove a subdirectory by placing the cursor on it and pressing "D"
(for "Delete", which I use interchangeably for file deletion and
subdirectory removal). Note that the subdirectory has to be empty first
-- a DOS safeguard.
_____
Copy Some Files, then Do It with Tags. . .
Put the cursor on a file name and press the letter "C". This copies
the file from the source to the target path. "Tag" several files with
the letter "T". Now press "C" to copy this group from source to target.
Clear all the tags with "A" (tag/untag All). Press "A" again, and see
that all the files are now tagged. Untag an individual file with "T".
("T" actually toggles the state of an internal tag bit assigned to each
file and used for temporary marking purposes only. "A" clears all the
tags if any were set, or sets all the tags if all were clear. No
information is changed on the disk itself. (These are "volatile" tags,
maintained only until the directory is re-read for some reason, such as a
file deletion or a copy operation into the directory.)
CF looks first at the space available on the target path before
it starts to copy. If it doesn't see enough room free, it doesn't
start the operation, and alerts you to the problem. This prevents
write errors, messed up file allocation tables and incomplete files
that can result when space runs out during a copy operation.
CF has several special features in the copy operation:
o If an identical file exists in the target path -- same
name, extension, date, time AND size -- CF does not copy the source to
the target, as this would be wasted motion, on the assumption that the
files are identical. This feature may be toggled with the command
press
CM_FILER -- Chapter 1 1-6
or "...=Y" for yes, do overcopy identical files. You might, for example,
want to set the switch to Y to rewrite files on a disk where the
directory table is intact but you suspect corruption of data sectors.)
o If a file by the same name but newer date/time is found
on the target, CF will ask you specifically to verify that you really
do want the newer file overwritten.
o If the source file has length 0 bytes, or if the source and
target files have the same date/time but the source is smaller, CF will
ask for overwrite confirmation. This provides some protection against
overwriting a good file with one which has become corrupted by a previous
copy error.
o If a file by the same name but with the read-only
attribute set is found on the target, CF will ask you to verify that you
want it overwritten. (Likewise if the target file is hidden and the hide
switch is on.)
_____
Tagging, Backing Up. . .
With a couple of files tagged, look at the line just below the
last line of the directory listing. You will see the space in use in the
current directory ("KB Used"), the amount of disk space occupied by any
tagged files ("Tagd") and the space still free ("Free"). Also, in the
line below will appear after each tagging operation the current number of
files tagged. Disk space is expressed in kilobytes, in integer multiples
of the disk media cluster size, so what you see is the amount of space
ACTUALLY tied up on the disk. (If your disk is a 5.25" DSDD floppy its
clusters are probably one KB each. Every file takes up at least one
cluster, so a 1-byte file takes up a one KB of disk space, the same as a
1024-byte file.)
Assuming the amount of space represented by tagged files is less
than or equal to space available, press "B" to back up all the tagged
files. CF's convention for assigning backup file names in this
operation is to make the first letter of the extension an underscore
character ("_"), and then add the first two characters of the original
file extension.
_____
Moving Files. . .
With the panels selected to different subdirectories on the same
disk, one or more files may be "moved" from one subdirectory to the
other. This operation does not read and write the file data clusters,
but only changes the subdirectory table entries, so large files may be
moved around quickly. Tag files if desired, as with "Copy", and press
CM_FILER -- Chapter 1 1-7
the move command "
another kind of "copying", but you are "shifting" files instead). If
the conditions are not satisfied for moving (i.e., directories on same
disk), CF will default to copy mode.
_____
Deleting a File. . .
With the cursor on a file and no files tagged, pressing "D" results
in deleting the file under the cursor, after your confirmation. If one
or more files are tagged, they will be deleted after confirmation, not
the file under the cursor. "
same as normal tags as far as the delete operation is concerned.
On your hard disks, CF actually performs what I will call a "soft"
delete for this operation. The files are not deleted using the DOS
delete function, but rather are redated to the current date and time, and
moved into a directory created by CF, called "CF_TRASH.CAN". If you
delete files from your hard disk by mistake, they are RELIABLY
recoverable just by switching to the CF_TRASH.CAN directory and moving
them back to the directories they came from using
If you delete a second file by the same name as a file already
collected in the CF_TRASH.CAN directory by a previous soft delete
operation, CF tries to rename this second file by replacing the last
character in the file name with a "1". If this name is already in use,
it tries to rename with a "2" instead, then a "3", and so on, through
"9". Thus, you are assured under all reasonable circumstances of not
losing any deleted files, even duplicates. The only problem is that you
may have trouble telling which duplicate is the original, as CF redates
each of them during the "soft" delete.
Each time you select a new drive in the main module, CF looks to see
if it is a hard drive (A and B are always taken to be floppies), creates
the directory CF_TRASH.CAN if it is not already present, and then looks
in CF_TRASH.CAN for the presence of files with any date earlier than the
current date. If it finds any, it will ask you if you want to purge them
-- that is, perform the "hard" DOS file delete on yesterday's trash. .
You have the options "yes", "no", or "
the thash can. You probably want to keep the CF_TRASH.CAN as uncluttered
as possible, just to avoid tying up disk space needlessly. If you prefer
to "empty the trash" less often than daily, be prepared to be pestered
with the same question each time you select that disk! (The "D" command
performs a "hard" delete in the CF_TRASH.CAN directory -- this is the one
exception.)
CM_FILER -- Chapter 1 1-8
This "soft" delete facility is NOT intended as a means of backing up
files, but rather is built in SOLELY for the purpose of RELIABLE recovery
from inadvertent file deletion.
An additional delete option is available -- "
delete. This operation performs the DOS delete always, regardless of the
type disk selected. Use it when you KNOW you will not want to recover
the deleted files.
And if you are REALLY sure of yourself, you can turn "D" from soft
delete to hard delete. There is a switch available only by editing the
CF.COM file. On the fifth line from the top of the screen on the first
video page, you will see "D IS HARD DELETE=N". With overstrike edit
mode, change the N to Y.
_____
The Tagging Convention Expounded on. . .
For all the above commands (copy, delete, move, back up), the
operation is performed on ALL THE TAGGED FILES in the source panel, if
ANY are tagged, and only on the file at the cursor if NONE are tagged.
Some file managers offer different commands for "copy tagged" and "copy
file at cursor", and so forth. I have always found this unnecessarily
complicated. For the FEW occasions in which you have a bunch of files
tagged to do one of these operations (say you want to copy them), and you
discover just before you start that you really wanted to do some other
operation on just one of them first (say you realize one of them is out-
of-date and you want to delete it), you will have to either untag them
all with "A", do the operation on the one file, then retag and do the
original operation; OR just postpone the one-file operation. For the
example, it is easier just to toggle the tag on the one out-of-date file
off with "T", copy the other bunch, clear the tags, and delete the one.
It becomes just a matter of a little thought about the order in which you
do things.
The "view" operation (discussed in Chapter 2) does NOT clear
existing tags. So, suppose you are cleaning up a disk, tagging files
that you recognize by name as no longer needed in preparation for a
single, massive delete, and you come to one you aren't sure about. Put
the cursor on it, press
decide if it's a keeper, and
placed tags are still there, and the cursor is on the mystery file
waiting for you to decide whether or not to tag it! (Another nice
touch!)
CM_FILER -- Chapter 1 1-9
_____
Renaming a File OR a Directory. . .
Since we'e already done this, I'll just briefly say that it works
for directories, too. A word about the wild card character "*". In the
earlier exercise, we used it in the first window to declare that we
wanted to rename all the files with "CM_FILER" as the name, and any
extension, to "CF" with the same extension. You may use the "*" in the
name field of the first window instead of the extension, but not in both.
Used in the name field, it means "change this extension, wherever it
appears, to this other extension". This option is less useful.
If used in the first data window, the "*" MUST also be used in the
second window in the same position. CF always senses the use of "*" in
the first window, and seeds the second window with this character in the
right position.
The "*" may be used in the second window, even if not in the first,
as a shorthand for "keep the same name (extension)". For example, if you
wanted to rename just "CM_FILER.DOC" to CF.DOC", put the cursor on
"CM_FILER DOC" in the source panel, press "R", type "CF.*" in the lower
window, and
convention taken from DOS. (Sorry to you DOS heavies -- for simplicity I
chose not to complicate things by including "?" in the wild card library
for this facility!)
_____
Some Additional Tagging Options. . .
In addition to "T" (which toggles the state of an individual file's
"normal" Tag) and "A" (which clears or sets All tags), there are some
more tagging operations. "
later. "
the file under the cursor, "
files in the panel of the same date or Newer as the file at the cursor,
"
files with the same names as files tagged in the source panel. (This is
good for updating to a floppy only the files which were already on it.)
And finally, "
If, for example, you wanted to copy all .COM files, put the cursor
on any .COM file, press "
of the day, you wanted to copy/update all the files written or revised
today. Just put the cursor on any file with today's date and press
"
files. Press "
after a final check of the screen.
Or suppose you have a large subdirectory on your C drive hard disk
CM_FILER -- Chapter 1 1-10
containing more files than fit on a single floppy. The first time you
make up a multiple-floppy backup set, you will want to organize the files
into the backup disks in some way that makes sense to you, perhaps with
files of a type together, and with some free space on each disk for file
growth. Each subsequent time that you update this backup set, follow this
simple procedure: 1) set up one panel as the path to the directory on
the C drive whose files you are backing up; 2) put the first backup disk
in drive A or B and select it as the source panel; 3) tag all the files
on this backup disk; 4) press "
all the files that appear on the backup floppy; 5) arrow across to the C
drive directory as the source, and press "C" to update all the tagged
files to the floppy. Repeat with the other floppies.
_____
The File "Freshener". . .
In the example above, the "
duplicate files in the opposite panel to facilitate "freshening" the
files in backup floppies from the primary directory. The sequence
described, however, has two minor drawbacks:
o First, it takes a lot of keystrokes from when you stick a backup
floppy into drive A, say, to when you have a freshened backup disk.
Namely, you would have to insert the floppy in A drive and press:
"N" and "A" to announce the presence of the disk change in drive A and
display the backup floppy's root directory; "A" to tag all the files in
the backup floppy; "
directory in the opposite panel (the primary directory); "Lf Arr" or "Rt
Arr" to get across to the opposite panel; "C" to copy all its tagged
files to the backup, and then possibly "n" one or more times to protect a
file on the backup floppy which happens to be newer; and finally "Rt Arr"
or "LF Arr" to get back to the A drive to repeat the process for the
second backup floppy.
o Second, the "
date and time -- it tags any file in the opposite panel with the same
name as any tagged file in the source panel, regardless of whether it is
newer or older. But in the file freshening example, we really only want
to overwrite older files on the backup floppy with newer versions of
files from the primary directory, and not newer with older.
For these reasons I added a file freshener command, "
the above example, with the target panel set up with the primary
directory whose files you are backing up, put the backup floppy in drive
A, press "N" and "A" to bring up its root directory in the source panel,
and then just press "
none were already tagged, or leaves existing tags as-is if some were
tagged: then tags all the files in the opposite panel with the same name
as tagged files in the source but which are NEWER; then copies those to
the source; and finally updates the source panel display, leaving the
CM_FILER -- Chapter 1 1-11
target panel (primary directory) display tagged to show you what was
copied. Just three key strokes!
_____
Different Ways to Show the Files. . .
Press the combination
screen which gives seven choices for file ordering, with the cursor
blinking on the current selection. Press a number key "1" through
"7". The files will now be reordered in the new scheme. The options for
ordering by date/time are particularly useful in the visual sense when
backing up just the files revised today, as in the example above.
_____
The Data Entry Window. . .
The data entry window you encountered in the renaming exercise
responds to most of the usual line-editing key presses:
o
o
space following the next blank or punctuation mark.
o
goes to the beginning of the field.
o
o
o
Hold down the
255 on the numeric keypad. When you lift the
IBM symbol for that ASSCII code will appear in the window, and
the cursor will advance a space.
o
o
o
moves up a line. (The rename facility in the main module and the
"replace string" facility in the editor use this convention.)
For entering file names and subdirectories, all letter keys are
registered as upper case, regardless of
positions, just for the sake of uniformity and ease of alphabetizing.
For command lines, which may be case-sensitive, both cases are enabled.
CM_FILER -- Chapter 1 1-12
When a default entry is offered, it will be deleted if the first keypress
is an alphanumeric character. The one exception to this rule is the file
rename window following a use of "*" in the extension of the old name.
_____
Disk Space Occupied versus Actual File Size. . .
Now take a look at the file listing. You see the name of the
file, date, time and size in KB. As with the disk space information
just below the file list display, size is in integer multiples of
clusters occupied. If you want to see exactly how big a file is, in
bytes, press "+" to expand the size field. (I had to give away the
file time to do this and still keep the two panels readable.) Shift
back to the "contracted" kilobyte form of file size with "-".
_____
File Attributes. . .
Also in the file list, to the far right in each panel, you will
probably see A's. This means that the DOS "Archive" attribute bit is
set in the file attribute byte. DOS sets this bit everytime it
operates on a file. CF lets you operate on this bit and the other
bits in the DOS file attribute byte -- "Read-only", "Hidden", and
"System". Before doing this exercise, look at the top line of the
display. If you see "cHide=N", that means that files with the DOS
"Hidden" attribute set will be displayed anyway -- i. e., the CF "Hide
switch" is off. Chances are you will see "Y" instead of "N", meaning
that the Hide switch is on -- the default setting. In this setting,
files will disappear from view as you set the DOS hidden attribute, so we
need to toggle the hide switch to "N". Press "
switch off.
Either tag one or more files, or position the cursor on the file
whose attribute(s) you want to set, and press "1" to toggle the state of
the Read Only attribute, "2" to toggle the Hidden attribute, "3" to
toggle the "System" file attribute, "4" to toggle the Archive attribute,
or "0" (zero) to clear all attributes. You may also toggle the hide
attribute (with "2") of a subdirectory, but this must be done one
subdirectory at a time. Note that "hiding" a file makes it invisible to
CF only when the hide switch is set on, as shown in the top line. Toggle
this hide mode off and on with the combination "
further below). Decide for yourself which mode you prefer. Some people
like to hide the "overhead" files and directories on their disks, and
leave the hide switch on as the default setting to "clean up" the
display.
CM_FILER -- Chapter 1 1-13
_____
Changing the Date/Time Stamp of a File. . .
You may change the date and/or time of a file by putting the cursor
on it and pressing "
the new date, using the current date in the file's date/time stamp as the
default, and then the time.
_____
"
Suppose you have two files that you want to stick together as
one, heel-to-toe. Tag them with "append" tags with the key
combination "
concatenated, and press "C". CF will create a file in the target path
with the same name as the first "
but with extension ".APF" (for "APpended File"). Then it appends into
this target file each of the "
may concatenate up to 35 files at a time this way. The order in which
the file was "
left of the file name as it is tagged (1-9, then a-z). If you had
pressed "B" instead of "C" after affixing the "
concatenated file would have been assigned the "backup" form of the
append extension, namely "._AP", and been written into the source path
instead of the target.
_____
Printing a File. . .
You can print a file to the parallel printer just by putting the
cursor on the file and pressing "L" (for Line print). The file will
be put into a special print "queue" for printing to line printer 1 on the
parallel port as a background process while you are doing other things,
like editing another file, updating disks, etc. Up to five files may
be put in the print queue, which may be viewed with "
At times the printer may halt momentarily during
disk operations. CF gives preference to disk operations over
printing, to avoid any conflict in time-critical operations. Also, if
you shell to DOS while a file is printing from CF, printing will be
suspended for as long as you stay in the COMMAND.COM processor, for a
similar reason as above. You may terminate printing with "
actually clears the entire print queue. To force a form feed at the end
of the file you have just queued, press "
next file. CF sets an internal flag to check that the last character sent
to the printer from that file is a form feed. If it is not, then it sends
one. ("
form-feeding the printer from the keyboard.
CM_FILER -- Chapter 1 1-14
_____
Making Some Notes About Your Files. . .
If you are like me, you sometimes forget what a program with a
strange name does, or what a particular data file is. CF lets you
write notes to yourself about any file. Press the letter "O", and a
nOtepad opens up in the opposite panel. You can type a little narrative
for each file in the directory. The editing keys work much the same as
in the line editor, except that you are limited to 39 characters for each
entry. Each time you call up the notepad, it appears as it did the last
time you edited it. You may just browse with the up/down arrows,
or
if you want to save that edit of the notes.
The notepad is contained in a hidden file call "NARATIVE.CF", and
notes follow the file when it is copied or moved to another path or
renamed. If you delete a file, its notes will be lost the next time you
call up the notepad.
_____
Printing a Directory Listing. . .
Press "
you do this from the nOtes field, you also get a listing of the notes,
and the file size entries is either the abbreviated or full value, de-
pending on the display mode set in the directory table (toggled with +-).
_____
Comparison Mode. . .
At the top of the screen you see a message "^Comp=Y". The "Y" means
"yes", the compare "switch" is enabled, so that any file in the target
panel whose name is the same as the file in the source panel will be
shown and its date-time stamp highlighted for easy identification. If
the files have different date-time, the newer version will be blinking.
You may toggle this switch with the key combination "
In comparison mode there is a useful feature which enables you to
get quickly to a file with the same name in the opposite panel. In
arrowing back and forth between panels in comparison mode, with some
files by the same name in each panel, you probably noticed that the
target panel shifted as necessary to bring the duplicate name into view,
but as soon as you shifted over to the target panel, it "remebered" and
adjusted the display back to where the top line and cursor had been left,
and you lost the duplicate file from view. But suppose you had seen a
more recent file in the target panel, as evidenced by the blinking
highlight, and you REALLY wanted immediately to arrow over to it and copy
CM_FILER -- Chapter 1 1-15
it into the source. The
resets the target panel display parameters so the cursor goes right to
the matched file name.
_____
Hide Mode. . .
Also at the top is the message "^Hide=Y". This means that hide mode
is enabled -- the screen display will not show any "hidden" files --
those with the hidden attribute set. This is handy for cleaning up your
displays -- just hide the overhead! You may toggle the state of this
switch with the key combination "
switches is set as the default any time you do a "
discussed in the chapter on child processes.
_____
Mask Template. . .
Also at the top is the message "^Mask=????????.???". This is a mask
that lets you sift out all but files with a certain characteristic. For
example, if you want to see only the .EXE files, press "
type "EXE", and