JetCommander a Filemanager and Editor for OS/2 and DOS Version 2.0 (c) 1995-1996 Software-Development Frank Klosek 1.0 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.0 Description of Program features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1 Usage of own programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2 Start large programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.3 User Pulldown. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.0 Operating concept. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.1 Main Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.1.2 Activate Pulldown. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.1.3 Macrorecorder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.1.4 Special keys in the Lineeditor . . . . . . . . . . . . . . . . . . . . . . 6 3.1.5 Other general keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.1.6 Dialog Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 The file window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2.1 Commands in the file window. . . . . . . . . . . . . . . . . . . . . . . . 7 3.2.1.1 Select files or directories, file mask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.1.1.1.1 Wildcards in file or selection mask . . . . . . . . . . . . . . . . . . . . . 8 3.1.1.1.2 Combination of several file masks. . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2.1.2 Change Display Mode. . . . . . . . . . . . . . . . . . . . . . . 9 3.2.1.2.1 Filedisplay long/short . . . . . . . . . . . . . . . . 9 3.2.1.2.2 Display with/without directory tree, two filewindows. . . . . . . . . . . . . 9 3.2.1.3 Move the File Cursor . . . . . . . . . . . . . . . . . . . . . . 9 3.2.1.4 Calculate Directory Sizes. . . . . . . . . . . . . . . . . . . . 10 3.2.1.5 Other Keys in the File List. . . . . . . . . . . . . . . . . . . 10 3.2.2.1 File attributes. . . . . . . . . . . . . . . . . . . . . . . . . 10 3.2.2.2 Copy Files . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.2.2.3 Delete Files, Directories. . . . . . . . . . . . . . . . . . . . 12 3.2.2.4 Edit files . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.2.2.5 Positioning. . . . . . . . . . . . . . . . . . . . . . . . . . . 12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.2.2.6 Search Text . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.2.2.7 Command execution with file. . . . . . . . . . . . . . . . . . . 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2.2.11 Move files or directories . . . . . . . . . . . . . . . . . . . 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2.2.14 Change drive (selection). . . . . . . . . . . . . . . . . . . . 13 3.2.3 File Special Pulldown. . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.3.1 Compare files. . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2.3.1.1 Compare Directory trees. . . . . . . . . . . . . . . . 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.2.3.3 File find. . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.2.3.3.1 Global Filelist. . . . . . . . . . . . . . . . . . . . 16 3.2.3.4 Command recursive . . . . . . . . . . . . . . . . . . . . . . . 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.3.7 Search text recursive. . . . . . . . . . . . . . . . . . . . . . 17 3.2.3.9 Decompress Archive . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.3.10 Compress files. . . . . . . . . . . . . . . . . . . . . . . . . 17 3.3 The Directorytree. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.3.1 Commands in Treewindow . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.3.1.2 Search a directory in the tree . . . . . . . . . . . . . . . . . 18 3.3.1.3 Refresh the tree . . . . . . . . . . . . . . . . . . . . . . . . 18 3.3.1.4 Create a directory . . . . . . . . . . . . . . . . . . . . . . . 18 3.3.1.5 Move the treecursor. . . . . . . . . . . . . . . . . . . . . . . 18 3.5 Integrated Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.5.1 Save File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.5.2 Quit Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.5.4 Load a new file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.5.5 Activate next/previous file. . . . . . . . . . . . . . . . . . . . . . . . 20 3.5.6 Line functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.5.7 Copy/Delete/Move Lines . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.5.8 Mark Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.5.9 Save marked block to file. . . . . . . . . . . . . . . . . . . . . . . . . 21 3.5.10 Search Text in Files. . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.5.12 Show Picklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.5.13 Other Commands in Editor. . . . . . . . . . . . . . . . . . . . . . . . . 22 3.5.14 Command line. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.5.16 Definition of Keywords. . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.6 User defined Pulldown. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.6.1 Definition of the User pulldown. . . . . . . . . . . . . . . . . . . . . . 24 3.6.2 Multiple commands in command . . . . . . . . . . . . . . . . . . . . . . . 25 3.7 Show Drive Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.8 Fileviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.8.1 Commands in Fileviewer . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.9 Show files automatic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4.0 Installation of JetCommander . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.1 Environment and JetCommander-Files . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.2 Preference File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.0 Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.2 Parameter in Command Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.3 JetCommander Start Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.3.1 Direct access to Userpulldown after start. . . . . . . . . . . . . . . . . 30 5.6.1 Archivedefinitionexample . . . . . . . . . . . . . . . . . . . . . . . . . 31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.8 JetCommander on Servicedisk. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.9 Problems and Solution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.0 Technical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 8.0 Warranty and License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.0 Registration in America. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 9.1 JetCommander - REGISTRATION outside America . . . . . . . . . . . . . . . . . . . . . . . . 39 1.0 Introduction JetCommander is a Filemanager and Editor for OS/2, MS-DOS and WINDOWS95. JetCommander allows a uniform Operation in the two Operating Systems. Quick access to files is realized by one key stroke or a mouseclick per operation. (Shortcut Keys). JetCommander is a program with about 480kB disk usage per Operating System. It's perfectly usable as servicetool, even started from floppy disk. Directorytrees are saved on harddisk and read only after user action. Quick access to the Directories is possible without reading the whole tree. JetCommander supports long filenames under OS/2 and WINDOWS95 and networking. While copying files with long filenames from HPFS to FAT the names are automatically converted. Multiple file edit is possible with the integrated fileeditor. Functions to copy text from one file to another are implemented. With the integrated Fileviewer files are displayed in ASCII or HEX mode. JetCommander is able to work with ZIP, ARJ, ZOO, LHA and LZH archives. 2.0 Description of Program features 2.1 Usage of own programs You can define in Setup for the following functions your own programs. Edit (internal editor available) File View (internal viewer available) These programs are started with the actual file as parameter if the specific function is activated. 2.2 Start large programs In the DOS Version the program uses Expanded- or Extendedmemory to swap program memory while before executing commands. This allows to start large programs using the whole DOS Memory. 2.3 User Pulldown With the definition of a User Pulldown you can pop up a pulldown containing several self defined program starts. 3.0 Operating concept In the file window you see all directories and all files in alphabetic order (default). It is possible to show the directory in a second window. 3.1 Main Operations All user input is processed via keyboard or mouse. 3.1.2 Activate Pulldown You can activate a pulldown with F9 or directly with the mouse. 3.1.3 Macrorecorder A Macrorecorder is part of JetCommander. You can use it to record a key sequence and replay it once or multiple times. ALT-1 starts and stops recording. ALT-2 starts replay with replay factor ALT-3 starts replay one time With this function you can simplify an operation you wish to do with all files in a filelist. The maximum number of keystrokes recorded is 512. 3.1.4 Special keys in the Lineeditor With the following key combinations the line editor supports some special functions : SHIFT-F1 : Change edit field to upper case SHIFT-F2 : Change edit field to lower case CTRL-CURSOR, CTRL-HOME,CTRL-END, : Moves the cursor 3.1.5 Other general keys ESC Cancel actual function F1 Online Help, context sensitive CTLR-CURSOR-UP shows a history of entered strings when working in an edit line / field to retrieve previously entered commands. 3.1.6 Dialog Windows For some functions, the program uses dialogue windows. You can jump from one edit field to another with TAB and SHIFT-TAB or simply CURSOR-UP/DOWN. In an editfield you can immediate edit the string after activating the specific field. Using the mouse a field is selected with a single mouseclick and executed after two mouseclicks. Yes/No Buttons are marked with [ ] and toggled with the SPACE key. Pressing RETURN ends the dialogue and starts the specific function. With CTLR-CURSOR-UP you can retrieve all previously entered Strings to choose one for the edit field. 3.2 The file window For better identification, directories, executable files, and files with hidden or system attribute are displayed in different colors. Colors are defined in setup. 3.2.1 Commands in the file window 3.2.1.1 Select files or directories, file mask INSERT or a mouseclick with the right mousekey selects the actual file. The filecursor moves forward one file. If the file is already selected, this function disables the selection. With the + key on the numeric keypad you may enter a specific filemask for fileselection (NUM +). For security reasons directories are not selected with this way. NUM - for UNSELECT unselects the files. NUM * inverts the current selection. 3.1.1.1.1 Wildcards in file or selection mask A special algorithm allows file and selection masks like *.[c- h]. All files with extension c,d,e,f,g, and h will be displayed or selected. Its also possible to define masks normally not available under DOS or OS/2. w*x.exe , all files with w at the beginning and x as last char before the extension are selected or displayed *all.*a a[b-d]*.exe, all files with a as first letter,b,c or d as second letter, followed by any characters and extension .EXE. *. all files without extension a*. all files without extension with an a as first letter. 3.1.1.1.2 Combination of several file masks The combination of several filemasks, separated through a semicolon is possible in all functions where a filemask is entered. Inverse masks are entered with a leading < character. Mask Result f.ex.: *.c;*.h; ---> *.c and *.h <*.obj ---> all files, except *.obj files <*.obj;<*.exe ---> all files, except *.exe and*.obj *.txt;*.bat;a*.;[c-f]*.doc 3.2.1.2 Change Display Mode 3.2.1.2.1 Filedisplay long/short With ALT-F1 you can toggle the file display mode between 3 different modes : 1. Short display without file information 2. Long display with File size, file attributes and file date 3. Full display mode for global file list or drives with long filenames with complete file path or long file name display. This mode can also be entered in setup 3.2.1.2.2 Display with/without directory tree, two filewindows The display of the parallel directory tree is defined in setup. You can switch between the display mode with/without directory tree or the two file window mode by pressing SHIFT-F3. 3.2.1.3 Move the File Cursor HOME Jump to begin of file list CURSOR/PAGE CTRL-PAGE UP Jump to previous Directory (cd ..) CTRL-BACKSPACE Jump to the Root Directory (cd \) END Jump to the End of File List 3.2.1.4 Calculate Directory Sizes Its possible to calculate the size of a whole directory including all subdirectories on directory entry in the file list. In long display mode (ALT-F1 to toggle) the size is then displayed just like a normal file size. Its also possible to calculate the sizes of all directories actually displayed in the file list. The display changes automatically to long display mode. With this function you can calculate the disk usage of certain programs. 3.2.1.5 Other Keys in the File List CTRL-R Refresh the actual file list ALT_F5 Compress files to archive ALT_F6 Decompress archive ALT_F8 Show command history directly TAB, SHIFT-TAB Changes the active window, file-window <-> tree -window or file-window-1 <-> file-window-2 3.2.2.1 File attributes Filemenu / Attribute This functions sets file attributes and file date and time. Its possible to set attributes of directories. (create hidden directories) 3.2.2.2 Copy Files Key : F05 : This function copies files or directories. Copying one file or multiple files with confirmation causes JetCommander to display a warning if the destination file already exists. If files are copied to floppy disk and the disk space is exhausted, a new disk is demanded. If you copy directories, you can copy the whole directory tree. Empty subdirectories will be created. After activation the function the destination path should be entered in the command line. If the directory is new, it will be created after accepting. It is possible to enter multiple directories without existence of the single subdirectories. All directories will be created. Example : Directory : C:\test\x\y\z is entered and on drive c: exists only \test, then \x\y\z will be created. If an empty destination directory is entered or CURSOR UP (or a mouseclick on the destination field) is pressed, the directory tree is displayed for selection of the destination path. In 2 filewindow mode, the path of the inactive window is offered as destination directory. 3.2.2.3 Delete Files, Directories Key F08 (Del) With this function you can delete files and directories dependent from the actual file cursor position. If the cursor is positioned on a directory, all subdirectories including all files will be deleted after two security questions. !!! ATTENTION !!! 3.2.2.4 Edit files F04 :Edit file with external editor. The editor must be defined in SETUP. If no external editor is defined the internal editor is used. 3.2.2.5 Positioning ALT + A..Z : Goto File starting with the character A...Z 3.2.2.6 Search Text ALT-F7 or Special menu This function searches a text in files. If JetCommander finds the text in a file, a the fileviewer shows the file contents. You can toggle the display mode between ASCII and HEX. In the filemenu the search may be activated on all selected files to reduce the number of searches. If the text is in the file, the file remains selected, if not the select mode is removed. In the last two lines of the Viewwindow the commands are displayed : ESC abort searching F file skip, continues searching in next file H shows hex dump S switch to search only mode without displaying each file when text is found. This allows a quick search leaving select mode on at files where text is found. I invalid hit, file selection is removed E edit the file with the integrated editor. The cursor is positioned on the first line where the search text is found. 3.2.2.7 Command execution with file RETURN or : Execute a command with swapping (DOS-Version). Doubleclick Cursor Up displays a command history of entered left commands. You can select one and edit it after RETURN in the command line. If the file extension is combined with a command in the preference file, the complete command is executed. 3.2.2.8 Print files CTRL-F09 : Prints the current or all files selected Printing may be canceled with ESC 3.2.2.9 Directorytree ALT-F10 : Show directory tree, change path and drive 3.2.2.11 Move files or directories F06 : Moves a file/directory or all selected files/directories to another directory of the same or another drive. 3.2.2.13 Change sort criteria CTRL-F3..F7 : changes to a specific sort criteria of the current list 3.2.2.14 Change drive (selection) ALT-F02 : pops up a window with all drives available in the system. To change to the drive, enter the drive key when the window is displayed 3.2.3 File Special Pulldown 3.2.3.1 Compare files This function compares all selected files from the actual file list with the files of a destination directory comparing date, time, size and existence. Different files remain selected. The file display shows behind the filename:  or OLD, if source file is older than destination file  or NEW, if source file is newer than destination file - or ---, if source file does not exist in destination path < or <<<, if source file got the same date an time but the file is smaller than in destination path > or >>>, if source file got the same date and time but the file is bigger than in destination path. 3.2.3.1.1 Compare Directory trees You can use the compare function to compare whole subdirectory trees. You have to make a global filelist of all files you want to compare. 1. File find : Mask : .\*.* -> all files from the actual directory are searched and added to the global file list. 2. Compare files, the destination path must have the same subdirectory structure. 3.2.3.1.2 Compare directories If working in the two filelist mode, the two directories may be compared directly with one function. The marks are similar to the ones of the function compare files. 3.2.3.3 File find This function searches files on one drive. The search mask is entered with wildcards and directory names. .\*.* searches all files starting at actual path \*.c searches all files with extension c from root path *.[c-h] searched *.c,*.d,*.e,*.f,*.g and *.h a*92.doc .\*.txt;*.bak searches *.txt and *.bak All files matching the search mask are placed into a global filelist. In this filelist, you can use all JetCommander functions for further operation with the files If no seachmask is entered, *.* is default. If no directory is entered, the root path \ is used. 3.2.3.3.1 Global Filelist Functions like filefind, textsearch creates such a list. The difference to a local list is that the complete path of the files is displayed whether in the bottom line of the window or directly in the window. ALT-F1 toggles the display modes to full display where the directory is displayed for each file directly in the list. To change to the directory of a specific file enter 'g' (GOTO). A normal filelist window is opened in this directory on top of the global list. After leaving this list with ESC, the global list is displayed again. 3.2.3.4 Command recursive This functions allows execution of a command with all files matching the entered search mask. The execution is displayed in a window. f.e: Mask : \*.bak Command : del All files with extension .BAK are deleted on the drive. 3.2.3.7 Search text recursive This function finds a specific text in all files an add the files into a global file list. You have to enter the search string, the directory and filemask You can select if the file should be displayed immediately or if you want to enter the files only into the global list for further operations. 3.2.3.8 Open Archive JetCommander works with archives just like directories. In an archive, the following functions are possible : Copy file(s) from the archive View file(s) Autoview Print file(s) Edit file(s) Search text in files Wordprocessing ! Attention, the files may not be copied back to the archive using the normal save functions. You have to save it to another path !. Delete file in archive 3.2.3.9 Decompress Archive This function allows to decompress a complete archive to a path specified with ALT-F6. 3.2.3.10 Compress files Compresses the current or all selected files to an archive. The default archive type is ZIP. This may be overwritten entering a new name with the desired extension (ARJ,LHA,ZOO,LZH). 3.3 The Directorytree It can be used for copy, file compare and for directory change purposes. 3.3.1 Commands in Treewindow 3.3.1.1 Expand or Collapse Tree + : Expands/reads the tree starting at the current F05 directory for one subdirectory level - : Collapse the subdirectorytree below the current F06 directory. * : Expands/reads all subdirectories starting at the F03 current directory. 3.3.1.2 Search a directory in the tree a-z : If you enter any char the cursor is positioned automatically on the next entry matching the mask.If no entry is found, the char is ignored. The search mask is displayed at the bottom of the window. ALT_G : Searches the next directory matching the mask. ALT_D : Deletes the actual Seachmask 3.3.1.3 Refresh the tree CTRL-R : Reads the tree again 3.3.1.4 Create a directory F07 : Creates a directory below actual cursor. 3.3.1.5 Move the treecursor PAGE UP/DOWN : Goes upward/downward one page. CTRL-PAGE UP/DOWN: Go upward/downward to directory of same subdirectory level. CURSOR LEFT : Go to father of actual directory (cd ..) CURSOR RIGHT/DOWN: Move on entry down END : Go to end of the tree HOME : Go to the top of the tree ESC : Abort function, (reading the tree) CTRL+Key : Changes drive DELETE : Deletes all Subdirectories below the actual directory including all files after confirmation. !! ATTENTION !! 3.5 Integrated Editor The integrated editor allows editing one or more files. Functions to copy text from one file to another are implemented. You can activate the editor with F4 for fileedit. The macrofunctions of JetCommander are useful for several functions not yet implemented in the editor. The editor supports Syntax Coloring, that means that keywords int the text are colored. This enhances the readability of the text. Syntax Coloring is activated in dependence of the fileextension. At the moment the following fileextensions are supported. The keywords may be user defined for several file types. The editor offers the possibility to search Brackets, to find the matching Bracket. {} [] and () If the file was edited earlier and saved, the editor saves the last position and jumps to this location if the file is loaded again. In sum the editor saves the position for 200 files. 3.5.1 Save File F2 : Save File, you can enter a new filename 3.5.2 Quit Editor ESC/F10 : Quit editor ALT-F2 : Save and Quit the Editor 3.5.4 Load a new file ALT-F3 activate a filelist and load a new file after selection (selection is just like in normal filelist). SPACE toggles long and short display. TAB opens a editline for entering a filename directly. 3.5.5 Activate next/previous file ALT-F10: Edit next loaded file CTRL_F10 : Edit previous loaded file 3.5.6 Line functions ALT-J: Join two lines 3.5.7 Copy/Delete/Move Lines ALT-C / F5: Copy a marked block ALT-D / F8: Delete a marked block ALT-M / F6: Move the marked block 3.5.8 Mark Lines ALT-L / F3: Mark a line / several lines if one is already marked ALT-U / F4: Unmark the block 3.5.9 Save marked block to file ALT-W: Save marked block into a file 3.5.10 Search Text in Files CTRL-F : Search one more time ALT-F7 CTRL-I : Search Text case insensitive F7 CTRL-S : Search Text case sensitive All exact matches are marked in the text. 3.5.11 Search Bracket ALT-K :searches, if the cursor is on a bracket CTRL-F7 the matching bracket. 3.5.12 Show Picklist CTRL-F3 : shows a filelist with the 200 edited files to select one for editing. (right mousekey on INSERT) 3.5.13 Other Commands in Editor F1 : Show help ALT-G : Goto Linenumber CTRL-HOME: Goto top of file CTRL-END: Goto end of file 3.5.14 Command line ESC : Change to command mode. You can enter : / : Search Text case sensitive \ : Search Text case insensitive Number : Go to line with entered number Each other command is executed as operating system command Other keys with common functions : PAGE UP, PAGE DOWN, HOME, END, CURSOR, RETURN, INSERT, TAB, SHIFT TAB In a line the special keys of the line editor are active (UNDO...) 3.5.16 Definition of Keywords Five group of keyword colors are available (type 1-5). Comments are treated separate. All word separators are single char keywords and have to be defined, except the space character. Special types : Start of comment type 20 End of comment type 22 Single line comment type 21 All keyword definitions for all filetypes are entered in one file. The F> statement shows the definition of the fileextension for the following keyword block. The keywords until the next F> appears are all valid for the current file extension (type). Syntax of one keyword definition KEYWORD , TYPE Example: Definition of some Keywords for *.C,*.CPP,*.H and *.HPP files F> C,CPP,H,HPP /* ,20 // ,21 */ ,22 % ,4 " ,4 . ,4 / ,4 if ,1 do ,2 for ,2 while ,2 continue ,2 #undef ,3 defined ,3 sizeof ,4 default ,4 goto ,4 #pragma , 5 The color of the keyword may not be defined in this version. 3.6 User defined Pulldown Its possible to define a User pulldown in a ASCII File named - JC.DAT (DOS file ) or - JC2.DAT (OS/2 file) It is activated by pressing the hotkey ALT-F7 every time when JetCommander is waiting for a key. Sometimes this is the only way to jump quickly to the operating system for formatting a floppy disk when no formatted disk is available (for example). Under OS/2 this is no problem, but for DOS task switching is not possible. 3.6.1 Definition of the User pulldown The start of a pulldown definition in marked by a special char followed by a > character. The ^ marks the hotkey in the pulldown entry for quick access. An example is already on disk. The following definitions are used by JetCommander to build a pulldown : P> Header definition of Pulldown E> Pulldown entry text (text in line) D> Definitions concerning the actual entry # Line with comment The char ^ marks the hotkey Without any definitions : Command line of Pulldownentry PULLDOWNDEFINITIONS D> XPOS = nr Upper left position of pulldown D> YPOS = nr Upper left position of pulldown D> XWIDTH = nr minimal width of pulldown, ignoring shorter text entries D> SWAP = 0 don't swap for command execution (DOS only) D> SWAP = 1 swap for command execution (DOS only) D> WINDOW = 0 D> WINDOW = 1 Open a window for elution D> WINXPOS = nr upper left corner of window, row D> WINYPOS = nr upper left corner of window, line D> WINXWIDTH = nr x- width of the window D> WINYWIDTH = nr y- width of the window D> CURSOR = 1 activate cursor for execution D> WAIT = 0/1 wait after command execution D> PARAMETER = 0/1 ask for a parameter before command execution. The parameter will be inserted at the % char of the command string. 3.6.2 Multiple commands in command Multiple commands can be entered separated by a ; character. They are executed one after the other, dependent of the definition 'D> WAIT = n' the program will wait after the execution of each command. Example : P> User Pulldown D> XPOS = 20 D> YPOS = 5 D> XWIDTH = 20 E> ^Operating system D> SWAP = 0 D> WINDOW = 1 D> WINXPOS = 2 D> WINYPOS = 1/ D> WINXWIDTH = 70 D> WINYWIDTH = 20 D> CURSOR = 1 cmd.exe E> Operating system ^command D> SWAP = 1 D> CURSOR = 1 [ ] E> ^List D> SWAP = 0 list E> ^Format a disk D> SWAP = 0 D> WINDOW = 1 D> WINXPOS = 10 D> WINYPOS = 6 D> WINXWIDTH = 50 D> WINYWIDTH = 10 D> CURSOR = 1 D> PARAMETER = 1 format %; E> ^Checksum of files D> SWAP = 1 D> WINDOW = 0 D> WAIT = 0 c:;cd \tools;cd vir;antidote /x c:;antidote /x d:; antidote /x e:; 3.7 Show Drive Information Call in Setupmenu Some useful drive information is shown for the available drives. The drive letter, drive label, free drive space, total drive space and the current directory is displayed. 3.8 Fileviewer Files can be viewed in ASCII and HEX mode using the internal fileviewer of JetCommander. If in setup no fileviewer is defined the internal one is used pressing a F3. 3.8.1 Commands in Fileviewer CURSOR UP/DOWN PAGE UP/DOWN : Moving through the file HOME/POS1 : Jumps to the start of the file END : Jumps to the end of the file CURSOR LEFT/RIGHT : Scrolls the window horizontal F5 : Displays only ASCII chars, in the range of DEZ 20 to 128. The key has toggle function. * : Non printable characters are replaced with a dot. This allows a print out with print screen F2 : Long lines are wrapped. F4 : Toggle display mode to hex 3.9 Show files automatic To activate the autoviewmode , you simply have to enter a CTRL- F2. This is advantageous in the two filelist display mode. In one window the filecursor is moved and in the other one the file contents is displayed after a short delay. TAB changes to the viewwindow. All functions of the fileviewer ar active in this window. 'Z' (Zoom) zooms the window to a big one. Entering CTRL-F2 again, switches off the autoviewmode. 4.0 Installation of JetCommander Copy all files from the disk to a destination directory on your harddisk of use INSTALL.CMD from the disk for the OS/2 version. This will do everything for you. Then you have to define your programs like editor, wordprocessing and file viewer in the SETUP Pulldown of JetCommander. Program entries must be entered including the complete path of the program. JetCommander checks the existence of the program before accepting the name. 4.1 Environment and JetCommander-Files JetCommander needs one Environmentvariable called JC. Please set it in CONFIG.SYS (for OS/2) or in AUTOEXEC.BAT (for DOS) to the path, the file and its additional files is located. f.ex. SET JC=C:\JC If you got problems with online help or the User pulldown, the Environment for JetCommander is not set correctly. You have to set the Environmentvariable TMP to a temporary path (RAMDISK) for swapping the program code if no extended or expanded memory is available. This path is also used for temporary file extraction from archives. f. ex. SET TMP=f:\tmp 4.2 Preference File In the JetCommander-Preference File (jc.pre, jc2.pre) you can combine a fileextension with a command you want to execute with files matching this extension. After executing QUICK-START in the filelist, the actual fileextension is searched in the preference file, and when found directly executed. Per line one definition of a fileextension and the command is defined. The Specialmenu offers you a possibility to edit the preference file with the integrated editor. 5.0 Setup In SETUP-Pulldown you can enter the path for the editor, the wordprocessing and other programs. Additional several JetCommander Settings like Screen Save Time, Color Settings, User Level.. and lots more are defined. 5.2 Parameter in Command Strings You can force JetCommander to ask for a Parameter before command execution for functions like : - PREFERENCES - FUNCTION KEYS - COMMAND STRINGS with [ ] (Space in brackets) in the command string. f.e.: format [ ] With % the actual filename is inserted at this position. %% inserts the actual filename without extension. 5.2.1 Internal Editor/Viewer with commands The internal editor and viewer may be used entering [JCEDIT] or [JCVIEW] in the command string. 5.3 JetCommander Start Options JetCommander got the following start options. Start JetCommander : /WIN : if you got problems with DOS Multitaskingenvironments not known by JetCommander 5.3.1 Direct access to Userpulldown after start You can immediately activate the user pulldown with the start parameter /MEN, without the normal JetCommander windows. + changes (toggles) to the normal JetCommander windows. 5.6 Archiveprograms To use the archive features JetCommander must know some definitions of the archivers you prefer to use. These one are entered in a external ASCII file JC2.ASE or JC.ASE for all archive types. JetCommander works with ZIP, ARJ, LHA and ZOO Archive. JetCommander distinguishes the following fileextensions : ZIP, ARJ, LHA, LZH, ZOO The definitions includes : - Path of the archive program for compression - Path of the archive program for decompression - Command to add a file to the archive - Command to delete a file in the archive - Command to extract a file from the archive - Command to list archive - Two dummy commands (for future use) 5.6.1 Archivedefinitionexample File JC.ASE or JC2.ASE : F> ZIP e:\tools\pkzip.exe e:\tools\pkunzip.exe -a -d -e -d -o -v -q -q ################################################ F> LHA e:\tools\lharc.exe e:\tools\lharc.exe a d e v q q ################################################ F> ZOO e:\tools\os2\zoo.exe e:\tools\os2\zoo.exe -add -delete -extract -view -q -q ############################################### F> ARJ e:\tools\arj.exe e:\tools\arj.exe a d e v -q -q ############################################## F> LZH e:\tools\lha.exe e:\tools\lha.exe a d e v -q -q 5.8 JetCommander on Servicedisk JetCommander is also useful as Filemanager on a servicedisk when OS/2 has to be booted from a bootdisk. For this purpose you simply have to copy a DLL (Dynamic Link Library) to the disk containing JetCommander. The names of the two libraries are MONCALLS.DLL and MOUCALLS.DLL located in the directory OS2\DLL of the operating system. 5.9 Problems and Solution P: No help using F1 P: Extension Preferences and Userpulldown not accessible S: The environmentvariable JetCommander is not defined to the path of JetCommander an the add-on files (JC.DAT, JC.PRE , JC.HLP) P: Hidden files are not displayed S: See SetUp/Confirmations P: Crash during drive change in File/Tree display mode S: Probably a result of an error in the treefile. Delete all treefiles (JC_C.TRE, JC_D.TRE....) in the directory JetCommander.TRE. The directory is located under the installationpath, if the environmentvariable JetCommander is set. Otherwise TMP or C:\ is used P: Subdirectories are not deleted completely. S: Probably some files with hidden attribute are in one of the subdirectories. These files are deleted when you have set up this in SetUp/Confirmations S: Another reason is that other programs or DLLs are in one of the subdirectories in use from OS/2. End all programs and start OS/2 again,perhaps from disk when you want to delete system dlls. S: Another open OS/2 session or DOS session is working in the directory you want to delete. End this session and delete again. P: Programs are not started under OS/2 S: Check if in CONFIG.SYS of OS/2 the entry SET COMSPEC= ... points to a valid OS/2 command- processor. Usually : SET COMSPEC=C:\OS2\CMD.EXE P: SWAP error under DOS while executing a program S: You may not have enough expanded or extended memory or you have no disk space in TMP-directory or the actual drive. P: Functions like file find are searching always the whole drive and not starting at the current directory S: Enter in the search mask the path you want to search from. If you want to search starting from the current directory, the following mask must be entered. : .\*.* (.\ = current directory) P: JetCommander does not start after reboot S: See 5.6 P: You don't see a .. directory entry to change to the upper directory S: You can change to the upper directory always with CTRL-PUP, even if no .. entry is displayed. P: Program stops under DOS without any reason S: Probably you are working with a DOS Multitasking- environment, that is not recognized by JetCommander (DESQVIEW, Novell DOS 7 (with Taksswitcher)). Start JetCommander with /WIN as parameter to solve this problem P: After a programstart under DOS JetCommander does not return to the filewindow S: You have loaded a resident program, that uses the memory of the JetCommander swap area. JetCommander can't return and is ended. Start resident programs before JetCommander. P: No files are displayed with TCPIP and OS/2 on network drives There is one entry in the filelist : ERROR : 50 A: The TCPIP package used does not support 32-BIT access to network drives. The WPS will also not show any drives. Get a new version of TCPIP (> 2.x) P: Problem decompressing archives A: JetCommander uses the directory TMP or TEMP for decompression of the files. Perhaps there is not enough space or no write permissions. 7.0 Technical Data 8.0 Warranty and License JetCommander is no Public Domain Program. You may not use this program without for commercial or noncommercial purposes without a license. You can test JetCommander for a trial period of 30 days. If you want to use it after this time you must register your copy. W A R R A N T Y D I S C L A I M E R ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ *** PLEASE READ THIS INFORMATION CAREFULLY *** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ I MAKE NO WARRANTY OF ANY KIND, ³ ³ EXPRESSED OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY ³ ³ WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A ³ ³ PARTICULAR PURPOSE. ³ ³ ³ ³ I DO NOT ASSUME ANY LIABILITY ³ ³ FOR THE USE OF THIS SOFTWARE BEYOND THE ORIGINAL PURCHASE ³ ³ PRICE OF THIS SOFTWARE. ³ ³ ³ ³ IN NO EVENT I'LL BE LIABLE TO ³ ³ YOU FOR ANY ADDITIONAL DAMAGES, INCLUDING ANY LOST PROFITS, ³ ³ LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ³ ³ ARISING FROM THE USE OF, OR INABILITY TO USE, THIS SOFTWARE ³ ³ AND ITS ACCOMPANYING DOCUMENTATION, EVEN I ³ ³ HAVE BEEN ADVISED OF THE POSSIBILITY OF ³ ³ SUCH DAMAGES. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Order your license at : Frank Klosek Reichenberger Ring 76 63512 Hainburg Germany FIDONET : 2:244/1351.43 EMAIL : fklosek@wombaz.robin.de CIS : 75074,1234 Tel. : (++49) 06182/65435 9.0 Registration in America ________________________________________________________________________ JetCommander Filemanager and Editor for OS/2, DOS and WINDOWS95 (c) Frank Klosek Germany ________________________________________________________________________ Mail Orders To: BMT Micro PO Box 15016 Wilmington, NC 28408 U.S.A. Voice Orders: 9:00am - 7:00pm EST (-5 GMT) (800 414-4268 (orders only) (910) 791-7052 Fax Orders: (910) 350-2937 24 hours / 7 Days Online Orders via modem: (910) 350-8061 10 lines, all 14.4K (910) 799-0923 Direct 28.8K line Ordering and general ordering questions: Via AOL: bmtmicro via Compuserve: Thomas Bradford, 74031,307 via Internet: orders@bmtmicro.com tbrad@wilmington.net We accept Visa, Mastercard, Discover, American Express, Money Order, Cashiers Check, Personal Check. Please do not send cash in the mail. Personal checks are subject to clearance. Each copy of the package includes the latest version of JetCommander _________________________________________________________________ Name ________________________________________________________________ Address _____________________________________________________________ _____________________________________________________________ Phone _______________________________________________________________ E-Mail ______________________________________________________________ Product Quantity Price Number of copies _________________________ ______________ ________________ JetCommander OS/2 + DOS/WIN95 $ 49 x ____________ = + $_______ JetCommander OS/2 $ 39 x ____________ = + $_______ JetCommander DOS/WIN95 $ 39 x ____________ = + $_______ Shipping and Handling (no quantity limit): + $_______ Email - Subject to Credit Card Verification Free Fax - Subject to Credit Card Verification.. Free Worldwide 1st Class ....................... Free 2nd Day Priority, USA Only ................ $ 4.00 US US Postal Service International Express (Including Canada and Mexico), allow up to 7-10 days ............................... $ 20.00 US Airborne Select Delivery (USA Only) $ 8.00 US FedEx Overnight, USA Only (delivery by 3:00 pm the following day) .............. $ 15.00 US FedEx Europe/Japan (guaranteed delivery within 3 days) .......................... $ 30.00 US Worldwide, any business with a valid FedEx account can charge shipping to their FedEx account and pay no shipping charges to us. Total: $_______ For credit card payment only Circle one: VISA / Master / Discover / American Express Credit card number:_____________________________________________ Expiration date:________________________________________________ Authorization signature:________________________________________ ________________________________________________________________________ The german version of JetCommander is only available directly from the author Frank Klosek Reichenberger Ring 76 63512 Hainburg Germany FIDONET : 2:244/1351.43 fklosek@wombaz.robin.de CIS: 75074,1234 Tel. : (++49) 06182/65435 ________________________________________________________________________ 9.1 JetCommander - REGISTRATION outside America +----------------------------+----------+-----------+-------------+ | JetCommander Quantity | 1-9 | 10-30 | 30-n | +----------------------------+----------+-----------+-------------+ | DOS/WIN95-License | $39.- | $35.- | $30.- | | OS/2-License | $39.- | $35.- | $30.- | | DOS/WIN95+OS/2 License | $49.- | $45.- | $40.- | +----------------------------+----------+-----------+-------------+ You may pay cash or with cheque or with direct foreign transfer to my local bank account (preferred way). Frank Klosek Reichenberger Ring 76 63512 Hainburg Germany name of my bank : BEZIRKSSPARKASSE SELIGENSTADT account number : 24110207 bank number : 50652421 * * * JetCommander ORDER FORM 2.0 * * * Remit to: Frank Klosek Reichenberger Ring 76 Info: 63512 Hainburg Germany JetCommander OS/2 Version Qty ____ @ $_________ JetCommander DOS/WIN95 Version Qty ____ @ $_________ JetCommander OS/2+DOS/WIN95 Version Qty ____ @ $_________ Shipping and handling, Europe : $4 per copy All other countries: $10 per copy $_________ Total $_________ Name : _____________________________________ Title : _______________ Company: ____________________________________________________ Address: ____________________________________________________ ____________________________________________________________ _____________________________________________________________ Signature : _____________________________________ Where did you get your copy of JetCommander _______________________________