@@@@@ @@@@@ @@@@@ @@@@@ @ @ @ @ @ @@@@@ @ @@@@@ @ @@@@ @@@@@ @@@@@ @ @@@@@ @ @@@@@ @ @@@@ @@@@@ @@@@@ @@@@ @ @ @ @@@ @ @ @ @ @@@@ @ @ @ @@@ @ @ @ @ @ @ @ @@@ @ @ @ @ @ @ @ @ @@@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @@@@@ @@@@@ @@@@@ @@@@@ @@@@ @@@@@ @ @ @@@@@ @@@@@ @@@@@ @@@@@ @@@@ @@@@@ @ @ @@@@ @@@@ @ @@@@ @@@@ @@ @ @ @@ @ @ @ @@@@ @@@@ @ @@@@ @@@@ @ @ @ @ @ @ @@@ @ @@@@ @@@@ @@@ @ @@@@ @@@@ TABLE OF CONTENTS TABLE OF CONTENTS PURCHASE AND LICENSE INFORMATION . . . . . . . . . 1 INTRODUCTION to FED FileEdit . . . . . . . . . . . 2 WHY FileEdit? . . . . . . . . . . . . . . . . 2 USING FED (FileEdit) . . . . . . . . . . . . . 2 DISPLAY LAYOUT . . . . . . . . . . . . . . . . 3 CONFIGURATION and SCREEN COLORS . . . . . . . 4 USING FEDSETUP . . . . . . . . . . . . . . . . 5 EDITING CONTROLS . . . . . . . . . . . . . . . . . 6 COMMAND KEYS . . . . . . . . . . . . . . . . . 6 CURSOR MOVEMENTS . . . . . . . . . . . . . . . 12 FILE WINDOW CONTROLS . . . . . . . . . . . . . 14 FIND and LOCATE STRING EDITING . . . . . . . . 15 REVISION HISTORY . . . . . . . . . . . . . . . . . 16 v1.53 . . . . . . . . . . . . . . . . . . . . 16 v1.52 . . . . . . . . . . . . . . . . . . . . 16 v1.51 . . . . . . . . . . . . . . . . . . . . 16 v1.50 . . . . . . . . . . . . . . . . . . . . 16 v1.42 . . . . . . . . . . . . . . . . . . . . 16 v1.41 . . . . . . . . . . . . . . . . . . . . 17 v1.36 . . . . . . . . . . . . . . . . . . . . 17 v1.35 . . . . . . . . . . . . . . . . . . . . 17 v1.34 . . . . . . . . . . . . . . . . . . . . 18 v1.33 . . . . . . . . . . . . . . . . . . . . 18 v1.32 and earlier . . . . . . . . . . . . . . 18 INDEX . . . . . . . . . . . . . . . . . . . . . . . 21 PURCHASE AND LICENSE INFORMATION PURCHASE AND LICENSE INFORMATION FED FileEdit binary file editor version 1.53 FED FEDSETUP Color configuration utility for FED v1.53 FEDSETUP Copyright 1990 Phillip M. Nickell All rights reserved, with the following exceptions: These programs are NOT public domain but are being distributed via the "Shareware" concept. These programs may be freely distributed but are not to be sold except by the author. You may distribute the programs to others in unmodified form with all of the documentation intact. Commercial software distributors are welcome to distribute the programs if they charge only a nominal fee for processing, postage and the cost of media, but do not charge for the programs proper. The programs are not warranted in any way. I accept no liability other than to refund the license fee if you are not satisfied with the performance of the programs. Feel free to try out the programs for 30 days to see if they meet your needs. If you continue to use the programs after the trial period please send $20.00 (US) as a single copy license fee to: NSoft Company Phillip M. Nickell 1027 19th Ave. Longmont, Co. 80501 A single copy license fee entitles you to execute the program on one machine at a time. You may move the program from machine to machine, store the program on several machines or store the program on a network fileserver as long as the program is only executed on one computer at a time. Volume discounts, site licenses, LAN licenses and corporate licenses can be arranged with very reasonable terms. The source code can also be licensed with certain restrictions on disclosure and distribution. Please see the file LICENSE.DOC for additional details. Please send any reports of bugs or requests for multiple copy licensing to the above address. 1 INTRODUCTION to FED FileEdit INTRODUCTION to FED FileEdit WHY FileEdit? WHY FileEdit? This program is a binary file editor. It allows the user to modify or edit any kind of file in alpha or hex editing modes. The program is much more convenient to use than Debug for editing files, and is much smaller, and more convenient to use for its intended purpose, than many other 'universal' utility editors. FileEdit is designed as a single-purpose, functionally robust, compact utility program that is fully self-contained in one small executable file. The program should be used on IBM PC or compatible machines. USING FED (FileEdit) USING FED (FileEdit) Just enter FED on the command line. FED will pop up a window of file names in the current directory for you to choose from. You may, if you wish, specify a file name on the FED command line. The file may be on another drive or directory and may be specified with a full or relative path. If you use a wildcard filename on the command line the window will contain just those filenames that satisfy the wildcard specification. The wildcard file name specified may also be a full or relative path specification. You may also just specify a drive letter such as 'D:', or a path such as 'D:\UTILS\' in which case all of the files in the specified drive or directory will be listed. You browse the file from the main screen where the file can be scrolled up or down in blocks of 256 bytes or in lines of 16 bytes. When editing in alpha or hex modes all cursor movement and file movement commands are available. You can switch directly from hex to alpha editing and back to hex editing without having to exit edit mode. While browsing or editing a file you always have help available. Just press F1. The length of a file cannot be changed with FileEdit. Cursor movements are restricted to the existing file data. 2 DISPLAY LAYOUT DISPLAY LAYOUT The display contains an Alpha/numeric representation of the current file block (256 bytes) with a ruler line above. The characters are listed from left to right, top to bottom in a 16 x 16 character grid. IBM style graphic character filtering can be toggled on or off. The display also contains a hexadecimal representation of the current file block with a ruler above. The hex digits are listed from left to right, top to bottom, in a 16 x 16 grid. The Alpha and Hex grid positions on the screen can be swapped, and the Hex display can be switched so that the hex data is displayed in four groups of four bytes or in an evenly spaced 16 byte pattern. The center of the display contains a 4 to 8 character hexadecimal or decimal offset address for the beginning of each line of the data. This address is the actual zero-based offset of the data in the file. The 4 digit hex offset will be expanded to 5 or more digits if the value exceeds hex FFFF. You may toggle the offset display between hex and decimal display mode. Above the offset address is a small area where certain status information and values will be displayed. The items here can be: nnn decimal value of the current hex character nnnn current search address during find or locate PRINT printing in progress WRITE writing changed block. Below the main display are status lines that contain information showing the current status of the editor. These status items are: Alpha filter (Filter On, Filter Off) Address mode (DecA, HexA) Relative offset (Decimal or Hex value) Find mode (Find Exact, Find ALL) Editing status (Viewing, Alpha Editing, Hex Editing) Hex display (Normal Hex, Grouped Hex) Current file name & Copyright notice Relative Offset is a decimal or hex value for your position in the file relative to a marked position in the file. Also below the main display is an area where prompts are issued for alpha search strings and hex locate strings. The character at the current cursor position will be highlighted, as will any edited data. Edited data under the cursor will blink. There will also be highlights in the edge of the grid borders that mark the current cursor X-Y location. 3 CONFIGURATION and SCREEN COLORS CONFIGURATION and SCREEN COLORS Screen colors and other configuration defaults for FED operations can be set with the FEDSETUP utility program FEDSETUP.EXE. FEDSETUP assumes that the FED.EXE to be configured is in the same directory. You may specify a path\filename on the FEDSETUP command line to specify a different location or filename for FED.EXE. The configuration setting changes are stored in the FED.EXE executable file. FED.exe is fully self contained. You only need Fedsetup.exe if you wish to make permanent configuration changes. The colors and settings that can be configured with fedsetup (and the color and monochrome defaults) are: defaults color mono Overall screen background color black black Ruler color cyan dim Ruler background color black black Text & File Window text color gray dim Text & File Window background black black Edited text color white bright Edited text background color black black Border & File Window border color red dim Border & File Window border background black black Border highlight color orange bright Border highlight background color black black Cursor position text & File Window cursor highlight color black black Cursor position & File Window cursor background color gray dim Offset Address text color cyan dim Offset Address background color black black Status line text color black black Status line background color cyan dim Filename (line-24) text color brown dim Filename (line-24) background color black black Prompt line text color yellow bright Prompt line background color black black 4 Help screen text color gray dim Help screen background color black black Alpha filter option off Grouped Hex Display option off Decimal address display option off Exact search string matching off CGA Snow checking off Reverse Presentation off Reuse Search Strings on Snow checking can be turned on for those system that exhibit flashing during screen updates. This will slow screen updating a little. There is an option in the color selections to set all of the colors back to the above 'Factory Defaults'. USING FEDSETUP USING FEDSETUP FEDSETUP is simple to operate. It is menu driven and supports a Microsoft compatible mouse if one is installed using Mouse.com or Mouse.sys. You move the cursor up or down, press enter (or the left mouse button) to select an item or the next menu level. Press Escape (or the right mouse button) to return to the previous menu level. When you arrive at a color selection menu the cursor position will indicate which color is currently selected. If you then move the cursor to a different color and press enter the new color will be selected. However, if you move the cursor to a different color and press escape the color selection is not changed. On each menu you can press the letter shown on the left to immediately select that item without having to move the cursor. After all your selections have been made you should return to the main menu and select either "Quit- Save Changes" or "Quit - Abandon Changes". 5 EDITING CONTROLS EDITING CONTROLS COMMAND KEYS COMMAND KEYS F1 F1 HELP screen. The help screen gives a summary of the HELP screen. available control and editing keys. It is available at any time while browsing or editing. Alt-A, F-2 Alt-A, F-2 ENTER ALPHA EDIT MODE. When in alpha edit mode ENTER ALPHA EDIT MODE alpha/numeric and control key values typed will replace the alpha character above the cursor in the alpha display grid. Also accepted are decimal character values entered by the Alt-Numeric KeyPad combinations possible on PC compatibles. The hex equivalent will replace the hex value in the hex display grid. Text that is different from the original will be highlighted. The status line will indicate alpha editing in progress. Use the Escape key to exit editing mode. Alt-H, F-3 Alt-H, F-3 ENTER HEX EDIT MODE. When in hex edit mode pairs of ENTER HEX EDIT MODE numeric/hex key values (0-9, A-F) and blanks (spaces) are accepted. The hex value will be placed in the hex display grid. The equivalent Alpha representation will be placed in the Alpha display grid. The spacebar acts the same as typing the single screen character that is at the cursor. For example, to change E3 to E9 you can press Space-9 or E9. Edited data will be highlighted if it is different from the original. The status line will indicate hex editing in progress. Use the Escape key to exit editing mode. Alt-W, F-4 Alt-W, F-4 WRITE MODIFIED BLOCK. Write any changes in the current WRITE MODIFIED BLOCK block of 256 bytes back to the file. If you have made changes to a block and have not written them to the file and then hit the Escape key to exit edit mode, the program will ask you if you wish to write the changes. If you have made changes then attempt to perform a file movement, cursor movement or any other command that may cause the current block to move from the screen the program will query you to write the current block before performing the command. A [WRITE] status flag will appear at the top of the display while writing is in progress. 6 Alt-U Alt-U UNDO CURRENT BLOCK. Cancel any modifications you have made UNDO CURRENT BLOCK to the current screen block before you write it back to the file. All editing highlights will be removed. This command is only valid, of course, while in hex or alpha editing mode. Once modifications have been written back to the file they cannot be undone with this command. Del DELETE Del DELETE SINGLE BYTE UNDO. The DELETE key can be used during editing SINGLE BYTE UNDO DELETE to UNDO an edited byte of data. The edited byte, which is highlighted, is returned to its original value, the highlight is removed and the cursor is advanced. Alt-F, F-5 Alt-F, F-5 FIND ALPHA STRING. The program will prompt you for a text FIND ALPHA STRING search string. The search will start at the current cursor position in the file. The search can be case sensitive or it can find any-case text depending on the setting of the EXACT toggle. When the string is found the display will be moved and the cursor placed under the first character of the data. If the string is not found the display will be unchanged and the program will 'beep'. The hex search address will be displayed at the top of display while the search is in progress, and the prompt area will show the search string. You may press Escape to abort a search in progress. The Find string may be edited. For successive Finds you will be presented with the previous find string to be edited. See the topic 'Find and Locate String Editing' on page 15 for 'Find and Locate String Editing' details. Alt-R, Alt-F5 Alt-R, Alt-F5 FIND & REPLACE ALPHA STRING. FED will prompt for a text FIND & REPLACE ALPHA STRING search string. If the string is found then it will then prompt for a replacement string. The text is replaced from the start of the found text for the number of characters in the find text or the replacement text, whichever is shorter. You may then edit, undo or write the changes. Alt-M (more) will repeat the Find/Replace. Find/Replace is an editing command, so you must be in an editing mode before you can invoke it. The Find and Replace strings can be edited. Successive Find & Replace commands will present you with the previous Find and Replace strings to be edited for reuse. 7 Alt-L, F-6 Alt-L, F-6 LOCATE HEX STRING. The program will prompt you for a string LOCATE HEX STRING of hex search values. You may enter the data in character pairs (e.g. 1D 03 E5 FF ) if you wish or you may leave out the blanks. Invalid hex value pairs ( AX BG etc ) will be ignored during the locate operation. If you use an odd number of characters the program will ignore the last character in the string. Searching and display acts the same as for the Alpha search. Locate string prompting and editing works just like Find string editing. Alt-F6 Alt-F6 LOCATE & REPLACE HEX STRING. This command will prompt you LOCATE & REPLACE HEX STRING for hex value strings in the same manner as the Alt-L (Locate Hex) command. The action of locating and replacing bytes is identical to that of Alt-R (Find & Replace). Bytes will be replaced starting at the first byte of the locate string for the number of bytes in the locate string or the replacement string, whichever is shorter. The Alt-M (more) command will repeat the Locate & Replace. You must be in either editing mode to invoke this editing command. Locate & Replace string prompting and editing works the same as for Find & Replace. Alt-M, F-7 Alt-M, F-7 MORE FIND/LOCATE. This command repeats the last Find, Find MORE FIND/LOCATE & Replace, Locate or Locate & Replace, targeting the next occurrence of the Alpha or Hex search string. If the string is not found the display is not changed. Alt-J, F-9 Alt-J, F-9 JUMP TO ADDRESS. The program will prompt you for an offset JUMP TO ADDRESS address and will jump to that address. If the requested address is already on the screen the cursor will be moved directly to that location, and no screen updates will occur. If the requested address is not on the screen, the program will seek to place the requested address centered vertically in the grid unless the address entered is too small to accommodate centering. If you enter an offset value larger than the file the program will position to the end of the file. You will be prompted for hex or decimal format addresses, as appropriate, to match the current address display mode. 8 Alt-F9 Alt-F9 MARK RELATIVE POSITION. The relative position offset in the MARK RELATIVE POSITION status area shows your position relative to a marked point in the file. The mark point is set to the beginning-of-file when a file is opened. You can mark your current cursor position by pressing Alt-F9. The relative position from the mark is shown in Decimal or Hex to match the current address display mode. Ctl-F9 Ctl-F9 JUMP TO MARKED POSITION. Jumps to the position marked by JUMP TO MARKED POSITION the Alt-F9 command. Alt-E, F-8 Alt-E, F-8 TOGGLE CASE SENSITIVE FIND. The program can search for case TOGGLE CASE SENSITIVE FIND sensitive text or it can search for a match ignoring upper/lower case in text. The status line shows SEARCH EXACT or SEARCH ALL. This toggle is ignored by the hex locate function which searches for an exact binary match of the data. The starting condition of this toggle can be set with the FedSetup utility. Alt-T, F-10 Alt-T, F-10 TOGGLE ALPHA FILTER. The alpha display defaults to non- TOGGLE ALPHA FILTER filtered mode where the control characters and IBM graphic characters are displayed. Toggling the filter will replace graphic characters in the display with periods. The status line shows the filter status. The starting condition of this toggle can be set with the FedSetup utility. Alt-G, F-11 Alt-G, F-11 GROUPED HEX DISPLAY. This toggle changes the way the hex GROUPED HEX DISPLAY data is presented. The default is to display the hex data in an evenly spaced format of 16 bytes. This toggle switches the hex display format to four groups of 4 bytes or back to even spacing. You may switch at any time - even while editing. When switched, the ruler above the hex display block switches to match. Printing will be in the same format as the screen. The status line shows the normal/grouped hex display status. The starting condition of this toggle can be set with the FedSetup utility. 9 Alt-=, Alt-F11 Alt-=, Alt-F11 REVERSE SCREEN PRESENTATION. This toggle switches the REVERSE SCREEN PRESENTATION screen positions of the Hex and Alpha grids. The supplied default is with the Alpha grid on the left of the screen and the Hex grid on the right. You can switch to Hex on the left and back again any time you wish. The starting condition of this toggle can be set with the FedSetup utility. Alt-D, Alt-F10 Alt-D, Alt-F10 TOGGLE HEX/DECIMAL ADDRESSES. This switches the TOGGLE HEX/DECIMAL ADDRESSES display of the on-screen data offset addresses from hex format to decimal format. The rulers above the hex data grid are also changed from hex to decimal format. The display of the data in the hex grid is not changed, and is still shown in hex format. The starting condition of this toggle can be set with the FedSetup utility. Alt-P, F-12 Alt-P, F-12 PRINT FILE. This starts printing the file from the current PRINT FILE block to the end of the file. The print format is similar to what is on screen and will contain three blocks per page. The alpha/hex rulers are printed at the top of each page along with the page number and file name. A [PRINT] status flag will show at the top of the display. To print the entire file just move to the top of the file first with the Home key. The file blocks are shown on the screen as they are printed and the file will return to the starting point upon completion of printing. Print data is sent to the dos PRN: device. To abandon printing at any time just press Escape. The print job will be abandoned at the completion of the current file block and the display will return to the starting point. 10 ESC ESC EXIT FILE, ESCAPE EDIT, ABANDON PRINT, ABANDON SEARCH. EXIT FILE, ESCAPE EDIT, ABANDON PRINT, ABANDON SEARCH If you are in alpha or hex edit mode this exits the edit mode. If in view mode, this will close the file and exit the program. If printing the print job will be halted. If you are in a long search (alpha or hex) then the search will be terminated. When exiting an edit mode you will be prompted to write any changed data. Alt-N, Alt-F1 Alt-N, Alt-F1 NEW FILE. This pops up a window of file names to choose NEW FILE from. If a wildcard filename was used on the original command line then only those file names matching the wildcard will be displayed. You choose a file name with the up/down cursor keys and select it with the return key. Press escape to close the file name window and return without selecting a new file to edit. Alt-O, Alt-F2 Alt-O, Alt-F2 SHELL to OS (drop to dos). This command executes a command SHELL to OS interpreter which the user can exit and return to FED. The command interpreter loaded is the one specified by the dos environment 'COMSPEC' string. You may shell any time during editing or browsing. The file position, cursor position and any edited data on the screen will be preserved for your return to FileEdit. 11 CURSOR MOVEMENTS CURSOR MOVEMENTS Cursor-Up Cursor-Up Move up one line. The file will scroll down one line as required to keep the cursor on the screen. Cursor-down Cursor-down Move down one line. The file will scroll up one line as required to keep the cursor on the screen. Cursor-left Cursor-left Move cursor left one character. The cursor will move to the previous line and the file will scroll as required to keep the cursor on the screen. Cursor-right Cursor-right Moves the cursor right one character. The cursor will move to the next line and the file will scroll one line as required to keep the cursor on the screen. Ctl-Cursor-left Ctl-Cursor-left Moves the cursor to the left-most byte in the grid. If the cursor starts at the left edge of the display it will move up one line, and the file will scroll as necessary. Ctl-Cursor-Right Ctl-Cursor-Right Moves the cursor to the right-most byte in the grid. If the cursor starts at the right edge of the display it will move down one line, and the file will scroll as necessary. Page-Up Page-Up Move to previous block. The cursor maintains position. 12 Page-Down Page-Down Move to the next block in the file. The cursor will maintain position except when the new position would place the cursor past the end-of-file. Home Home Move to top-of-file. The first block of the file is displayed. The cursor moves to the first byte in the file. End End Move to end-of-file. The last block of the file is displayed. The cursor moves to the last byte in the file. Ctl-Home Ctl-Home Moves the cursor to the top line of the block. The horizontal cursor position is not changed. Ctl-End Ctl-End Moves the cursor to the last line of the block at the current horizontal position. 13 FILE WINDOW CONTROLS FILE WINDOW CONTROLS Cursor-Up Cursor-Up Move the highlight up and scroll the file list if required. Cursor-Down Cursor-Down Move the highlight down and scroll the file list if required. Page-Up Page-Up Move to previous group in file list. Page-Down Page-Down Move to next group in file list. Home Home Move to beginning of file list. End End Move to end of file list. Escape Escape Close file window without selecting file. Enter / Return Enter / Return Select file name and close window. A-Z, 0-9, etc. A-Z, 0-9, etc. Move highlight to the next file name or previous file name beginning with that character. 14 FIND and LOCATE STRING EDITING FIND and LOCATE STRING EDITING When entering Find, Locate or Replace strings you have several editing commands available to make the job of creating or changing longer strings convenient. Also, the previous Alpha Find, Hex Locate, Alpha Replace and Hex Replace strings are saved independently, and the appropriate one will be presented for editing at your next Find/Locate/Replace command. You may, if you prefer, turn off the 'Recall for Edit' of the previous search strings in the Operating Selections menu of FedSetup. Trailing blanks in the strings are NOT stripped so that you can Find and Replace blanks. Blank characters in the strings are displayed on the screen as a ' ' (Character value 250) character to make it easier to edit trailing blanks. Words are considered to be groups of one or more non-blank characters separated by one or more blanks. If you are between words, the Delete-Word-Right command will delete blanks up to the first non-blank character. If you are in a word it will delete characters up to the first blank. You finish string editing by pressing Enter, Cursor-up, Cursor-down, Ctl-E, Ctl-X or Escape. If you press escape, your editing changes are not saved. The string editing controls are: Cursor-Left, Ctl-S Left one character Cursor-Right, Ctl-D Right one character Ctl-Cursor-Left, Ctl-A Left one word Ctl-Cursor-Right, Ctl-F Right one word Home, Ctl-R Beginning of line End, Ctl-C End of line Delete, Ctl-G Delete character at cursor Backspace Delete char left of cursor Ctl-T Delete Word Right Insert, Ctl-V Insert toggle Ctl-Y Delete/Erase line Esc, Enter, Cursor-up, Cursor-Down, Ctl-E, Ctl-X Finish Editing 15 REVISION HISTORY REVISION HISTORY New for v1.53 New for v1.53 Slightly changed the way Hex editing acts on screen, and allowed spacebar to 'skip nybble' in hex edit mode. Alpha edit now allows you to enter a decimal value with the Alt-numeric keypad so that entering an 'Alt-10' in alpha mode is same as entering '0A' in hex mode. Added relative position counter in the status area, Alt-F9 to set (mark) relative position counter and Ctl-F9 for jump to marked position. Fixed a bug (introduced v1.50) that caused FED, in some cases, to ask you if you wanted to write changed data when there was actually no changed data to write (Minor annoyance). Fixed a bug (introduced in v1.52) that caused intermittent video problems (Immediate upgrade suggested). New for v1.52 New for v1.52 Full editing of current and previous Find, Locate and Replacement strings added. Added an option in FedSetup to turn off the recall of previous find/locate/replace strings for editing. Data under the cursor will blink if the byte has been edited (highlighted). New for v1.51 New for v1.51 The file selection window now has indicators that show the relative position in the total file list. Find/Replace and Locate/Replace commands added. Alt-G is now used to toggle the grouped hex option, Alt-R for Find/Replace. Entering 'D:' on the command line now acts as if you had entered 'D:*.*'. New for v1.50 New for v1.50 Improved display routines to improve display scrolling speed. 30% to 50% improvements are common. Added 'Reverse Presentation' configuration option into FED and FEDSetup. The reverse hex toggle has been replaced by the Group Hex/Normal Hex toggle. A Single-Byte-UNDO has been added on the Delete key. An option was added to Fedsetup to set all colors to 'Factory Defaults'. FED.DOC has been indexed. New for v1.42 New for v1.42 Added support for FEDPUT which allows the REGISTERED user to replace the copyright notice on the help screen with custom text. Please read the LICENSE.DOC file for more information. 16 New for v1.41 New for v1.41 This release implements full color support (foreground and background colors) for all screen objects. All object colors can now be set with a foreground color and a background color. Separate colors for alpha area objects and hex area objects have been eliminated. There is now just one set of colors for data text, data borders and highlights. Fedsetup has been completely redone and is MUCH improved over previous versions. New for v1.36 New for v1.36 The Video cursor has been turned off. FileEdit now relies upon the 'current cursor position color selections' as the position cursor. The Alt-N/Alt-F1 new file command is now available while editing as well as browsing. The file window will now highlight the file name previously selected from that window in the current editing session. In prior versions the first file name was always highlighted. New for v1.35 New for v1.35 Screen highlighting of data that has been edited has been improved. Prior versions did not attempt to handle highlighting of edited text. Now, data that has been edited, but not yet written to the file, will be highlighted on the screen. The meaning of the Hex and Alpha text highlight color configurations now mean the color used for edited text. Color selections have been added for the text foreground color and text background color for the one byte datum at the current cursor position. This allows the text at the cursor position to be easily differentiated from normal and edited text. When edited text is written to the file the screen highlights will be removed to indicate that the on-screen text is identical to the data in the file. A 'Snow checking' option was added. Snow checking OFF (the default) improves display update speed. Snow checking ON is necessary with many color graphics adapters (CGA) to reduce screen flash as video memory is updating. The HOME key (top of file) now positions the cursor to the first byte of the file. Prior versions moved the cursor to the first line while maintaining horizontal position. 17 The END key (end of file) now positions the cursor to the last byte of the file. Prior versions moved the cursor to the last line while maintaining horizontal position. The Alt-U command has been added to UNDO current editing changes. The ALT-F10, ALT-F1 and Alt-F2 keys implemented. New for v1.34 New for v1.34 A Decimal/Hex address toggle has been added. The search speed for alpha and hex data in version 1.34 is much improved over v1.33. The time required to search large files is reduced by 30% to 50%. The exact improvement depends much on the speed of your hard drive and controller. Performance of searches is also improved tremendously for floppy disk searches due to a larger data buffer for the search data. This version fixes a bug that caused improper file name wildcard handling when a wildcard filename was specified for a directory other than the default directory. New for v1.33 New for v1.33 Version 1.33 is a maintenance release. Earlier versions failed to save and restore the screen background video attributes during the Alt-O (Shell to Dos) procedure. The problem was revealed when the FED background color was configured differently than the dos screen background color. Thanks go to the folks at the Royal Ontario Museum for the bug report and other constructive comments. New for v1.32 and earlier New for v1.32 and earlier The find/locate functions now implement a Boyer-Moore style string searching algorithm in assembly language for higher speed. Find and Locate is now approximately twice as fast as in v1.31 when operating from hard disk or ram disk. This change also fixes a minor bug in the Find/Locate function. New for v1.31 New for v1.31 FileEdit now accepts wildcard filenames on the command line. If a wildcard filename is used the file selection window shows just those selected files. Full or relative path\file names are accepted in all cases. 18 New for v1.30 New for v1.30 FileEdit now pops up a window of file names instead of prompting for a file name. The decimal value of the character under the cursor is shown in the status area. Fedsetup accepts an optional path and/or filename on the command line for the location of the fed.exe file to be configured. New for v1.22 New for v1.22 The F11 and F12 keys have been implemented for those with enhanced keyboards. This also removes a bug that allowed an F11 or F12 keystroke to enter hex 05 or 06 characters in alpha-edit mode. Unfortunately, F11 and F12 are not supported on the Tandy 1000 series. New for v1.21 New for v1.21 Function keys f2 through f10 have been implemented. The previous command keys still function as before. After editing a block the program will only query you once to write the changed data. Before, the program would on occasion ask you about the changed data twice. New for v1.20 New for v1.20 Control-Home and Control-End keys have been implemented. Control- cursor-left and Control-cursor-right now will scroll if the cursor is at the edge of the block. Alpha Find and Hex Locate searching can be terminated early with the escape key. The [WRITE] changed data will only take place when there is changed data to write. Otherwise Alt-W [F-4] is ignored. There are now borders around the hex and alpha grids. The grid cursor highlights are now a color change in the edge of the border. The ALT-O command has been added which allow the user to shell out to the operating system. The color setting utility can now set 16 different screen colors. 19 New for v1.10 New for v1.10 FileEdit v1.00 had many restrictions on which functions could be performed while in alpha or hex edit mode. Most of these restrictions were removed in v1.10. All functions except the request for a new file are now available while editing as well as viewing a file. The program now properly handles read-only files. A r/o file may still be browsed. The Alt-J [F-9] (Jump to address) command has been added. The color settings have been slightly enhanced. The character at the current cursor position in the grids is highlighted with the grid text editing color. 20 INDEX INDEX Abandon Print . . . . . . . 11 Keys (cont) Abandon Search . . . . . . 11 Alt-T, F-10 . . . . . 9 Alpha Edit Mode . . . . . . 6 Alt-U . . . . . . . . 7 Alpha Filter Toggle . . . . 9 Alt-W, F-4 . . . . . . 6 Case Sensitive Find Backspace . . . . . . 15 Toggle . . . . . 9 Ctl-Cursor-left . 12, 15 Colors . . . . . . . . . . 4 Ctl-Cursor-Right . 12, 15 Command Keys . . . . . . . 6 Ctl-End . . . . . . . 13 Command Line . . . . . . . 2 Ctl-Home . . . . . . . 13 Configuration . . . . . . . 4 Cursor-down . . . 12, 14 Cursor Movements . . . . . 12 Cursor-left . . . 12, 15 Display Layout . . . . . . 3 Cursor-right . . . 12, 15 Editing Controls . . . . . 6 Cursor-Up . . . . 12, 14 Escape Edit . . . . . . . . 11 Del Word Right . . . . 15 Exit File . . . . . . . . . 11 Del, Delete . . . 7, 15 FedPut . . . . . . . . . . 16 End . . . . . . . 13-15 FedSetup . . . . . . . . . 4 Enter . . . . . . . . 14 Using FedSetup . . . . 5 ESC, Escape . . . 11, 14 File Window Controls . . . 14 F1 . . . . . . . . . . 6 Find & Replace Alpha . . . 7 Home . . . . . . . 13-15 Find Alpha String . . . . . 7 Insert . . . . . . . . 15 Grouped Hex Display . . . . 9 Page-Down . . . . 13, 14 Help Screen . . . . . . . . 6 Page-Up . . . . . 12, 14 Hex Edit Mode . . . . . . . 6 Spacebar . . . . . . . 6 Hex/Decimal Addresses License Information . . . . 1 Toggle . . . . . 10 Locate & Replace Hex . . . 8 Introduction . . . . . . . 2 Locate Hex String . . . . . 8 Jump to Address . . . . . . 8 Mailing Address for Jump to Marked Position . . 9 NSoft . . . . . . 1 Keys Mark Relative Position . . 9 A-Z, 0-9 . . . . . . . 14 More Find/Locate . . . . . 8 Alt-=, Alt-F11 . . . . 10 New File . . . . . . . . . 11 Alt-A, F-2 . . . . . . 6 Print File . . . . . . . . 10 Alt-D, Alt-F10 . . . . 10 Reverse Screen Alt-E, F-8 . . . . . . 9 Presentation . . 10 Alt-F, F-5 . . . . . . 7 Revision History . . . . . 16 Alt-F6 . . . . . . . . 8 Screen Colors . . . . . . . 4 Alt-F9 . . . . . . . . 9 Shell to OS . . . . . . . . 11 Alt-G, F-11 . . . . . 9 Single Byte Undo . . . . . 7 Alt-H, F-3 . . . . . . 6 Snow Checking . . . . . . . 5 Alt-J, F-9 . . . . . . 8 String Editing, Alt-L, F-6 . . . . . . 8 Find/Loc/Repl . . 15 Alt-M, F-7 . . . . . . 8 Undo . . . . . . . . . . . 7 Alt-N, Alt-F1 . . . . 11 Undo Current Block . . . . 7 Alt-Numeric-KeyPad . . 6 Using FED . . . . . . . . . 2 Alt-O, Alt-F2 . . . . 11 Write Modified Block . . . 6 Alt-P, F-12 . . . . . 10 Alt-R, Alt-F5 . . . . 7 21