.Topic NoContext

 ELECTRONIC MANUAL - HEXEDIT
 ***************************
 Hyper-Text File Viewer | Copyrights by Andy Mhling


 {Double-Click here:ManualHelp} <- If you want to know how to use the manual!

 Welcome to this Manual.
 I'll explain how to use my Hex Editor if you read this manual.


 {Index:Index} <- To start right away
 {Infos:Infos} <- If you want to have some additional Information about
                  this Manual or HEXEDIT!

.Topic History

 Thank you for reading this lines about how this Project started.

 It started back in the early summer of '98.
 I wanted to create my own Hex Editor that should be better than the one
 that I was using in those days. I tried it but the first Version of HEXEDIT
 really sucked, so I didn't want to continue with the project anymore and I
 stopped. But in the late summer the idea of a new Version was born and I
 started again. I've learned a lot of the mistakes of the first Version and
 I really concentrated on bringing this Version to a happy end. HEXEDIT
 should be able to open any File, no matter how large the File is.
 During the creation of HEXEDIT I kept asking myself why I'm writing this
 Program because not very many people still used DOS in those days.
 The compromise was, that HEXEDIT is concepted for DOS but works also
 with Windows (except NT) and OS/2.
 So finally in December of '98 the first Version of HEXEDIT was released,
 when I was convinced that the Program was ready to use it.
 Many other Version followed soon that corrected some Bugs or added something
 to HEXEDIT or at least kept the Code Up-To-Date.

 Well now I've briefly told the story of this Program but as I don't know
 if anyone's interested in this stuff so far - I'll stop here...


 {Index:Index}

.Topic Infos

 First off let me warn you:

 HEXEDIT has not the same comfort as a Windows-Application!
 In Windows the conditions are better for a Program that uses
 the mouse to scroll and little Icons to navigate through the
 Program - or maybe I'm just too lazy to implement all this in my
 Programs. No seriously, it is really hard work to create the same
 comfort in a DOS-Program and I didn't thought that this was worth
 the work that it would have required. If you don't wan't to miss
 those things you'll probably better use a Hex Editor for Windows.
 But I suggest everyone who worked his way through the manual to this point:
 Try HEXEDIT then decide if you like it or not!

 I must admit that I'm still a real Fan of DOS and I'll always write my
 Programs basically for DOS. I still have (the real) DOS on my Computer.
 Not only DOS but I still have it! I don't know if I'll ever start to
 learn writing Programs for Windows but right know I'm a 'DOS-Only' Designer.

 Although HEXEDIT is for DOS, it works without any Problems together with
 Windows (3.XX, 95, 98) and OS/2.

 NOTE: The {Boot-System:BootS} Features are not available if you use OS/2,
       or if you still use a DOS-Version that's not higher than 3.30!
       All other Functions will work without any Problems (even the
       'Drive Info'-Function in the Boot-System Menu will work with both
       of them)!

 If you shouldn't have a MF-II Keyboard, or if you're using a DOS Version
 lower than 3.30 (together with an old ROM-BIOS) HEXEDIT won't work, but
 everybody has a MF-II Keyboard today. If you're still using the old
 80286 System with an old keyboard, you may not have the MF-II Standard!

 The Program works with the 'FAT 32' but HEXEDIT will only be able to use
 the Filenames in the old 8+3 System!

 HEXEDIT is abled to open Files with any Size (For further information
 see {Open a file:Open}!). You might imagine how this works:
 HEXEDIT divides the Files in 'Sectors'. If you enter a new
 Sector HEXEDIT has to load it from the disk. This may take some time,
 but normally you won't even recognize it. But don't worry:
 If you have to edit something that is located at the border between
 two Sectors HEXEDIT will not always re-load one of the two if you change
 between the two lines at he border. To ensure that this will never happen,
 HEXEDIT uses a technique called 'Overlapping-Sectors'!
 This technique makes sure that a Sector has not 1 but 2 borders and if
 you've enterd a new Sector the border will be moved to another place so
 that - if you now jump back a line - you won't re-enter the last sector!
 Some additional Information:
 The size of a Sector is 15360 Byte and the Size of the Overlapped-Sector
 is 15104 Byte.

 NOTE: If the last Sector of a File contains less than 256 Byte and you
       leave this Sector, the whole last Sector is now in the overlapped
       part of the new one, so that you can go to the last Byte of the
       File without being in it's last Sector! Keep that in mind if
       you wonder yourself why you can enter the last Sector of a file
       only sometimes (you can enter it if you haven't left it right
       before...).

 Of course I could have made the Sectors bigger, but then HEXEDIT would have
 needed EMS or maybe XMS Memory. But a Program that is a kind of a
 'bigger Utility', should have no or very less requirements. That's why I
 decided to put the Sectors completely in the conventional Memory!

 If you've already used a Hex Editor for DOS you should be able to
 handle this Program without reading the whole manual because every
 DOS Hex Editor has a little Help-Window (mine too...) where you can
 read all the shortcuts and the rest should explain itself. But if you
 don't know how to handle it or just wan't to know how to use a certain
 feature, here you'll find everything explained to you!

 Some more information about this manual and HEXEDIT:

 Chars in '< >' brackets (in this manual) show you what keys you can press
 in HEXEDIT in the situation that is explained.
 The chars are either written using their own symbol (like <a>, <1>)
 or using their common name (like <RETURN>, <ESC>)...

 In any Dialogbox you can change the options by using the red letter of
 the according description. HEXEDIT doesn't care if you use capital
 letters or not!

 If HEXEDIT requires a confirmation, for example, normally a Message-Box
 will appear containing a little text. Now you can either press
 'y' or 'n' (check this manual for detailed information).
 You won't have to press <RETURN> after you pressed one of the keys!

 You know that I'm not responsible for anything that you destroy using my
 Program (especially the Boot-Sector Functions can affect bad things
 if you don't know how to use them!) but if you know how to use
 such a Program you should not get any Problems with it.
 In case that you're scared now:
 Read the manual carefully to find out how to use the different
 functions, then it's no Problem to use HEXEDIT! You can recover every
 File before exiting and the Boot-System Functions are not dangerous
 IF you just DON'T try anything that's not in the manual.

 And if you are an experienced Computer-User you will understand the
 way of how the single Functions work, anyway. So you can easily decide
 for yourself if something is dangerous or not!

 But now enough of this stuff about HEXEDIT and me, go on and read the manual
 or try out the Program!


 {Index:Index}


.Topic ManualHelp

 How to use this manual?
 -----------------------

 The whole manual is based on a system that's called Hyper-Text.
 That means that you can easily jump to all the different Topics
 by using the so called 'Hot-Spots'. The active {Hot-Spot:ManualHelp}
 is written in Yellow, all the other {Hot-Spots:ManualHelp}
 are written in red. You can change the active Hot-Spot by pressing
 TAB for going to the next, or SHIFT+TAB for going to the previous Hot-Spot.
 Press RETURN to jump to the Topic of the current active Hot-Spot or
 Double Click on it with the left Button of your mouse (Click one time
 with the left or the right Button to highlight a Hot-Spot...)
 You can use the Arrow-Keys to navigate through a Topic or you can
 use the Scroll-Bars together with your mouse and the left Button to
 scroll Up and Down. Finally you can use Page Up/Down to go (who could
 guess...) one page Up or Down.Home and End change between the first
 and the last char in a line!

 Press ESC to exit the Manual...

 NOTE: If you're using a Multitasking-System you can read this manual
       while working with HEXEDIT, so that you can try everything
       right away!

 That's all...

 Back to the {Start Screen:NoContext}
 or to the {Index:Index}

.Topic Facts

 {Index:Index} <- If you just thought: D'oh, I am on the wrong page!

 Here you are finally. I hope you understood everything that I wanted to
 explain in this manual. I know my english is sometimes rather bad (I just
 can't stop writing some nouns with a capital letter for example). Sometimes
 I felt really stupid writing a manual that explains the usage of a
 Hex Editor to someone that normally knows how to use such Programs.

 I would really appreciate getting a feedback (any kind) of you. Send me
 a letter or e-Mail me or maybe call me up (OK, hardly anyone would really
 do this...)
 No seriously, let me know what you think of my Program (If you use it;
 If you hate it or if you (really) like it). Of course you can (no you
 should!) also write me if you've found any bugs or if you have any
 suggestions for me!

 So here's how you can contact me:

 Andy Muehling,
 Eulenweg 2
 85757 Karlsfeld, Germany

 Or e-Mail me ( :-) would anybody really write me an ordinary letter?) at:
 Anywhere@Europe.Com

 Finally here's a list of the people I want to thank:

 The brave Beta-Testers:

  - Phillip - 'You'll never bring this Program to an end' - Engel:
    He tested almost every version of this Program.

  - Florian - 'I've lost your Disk, can you give me a new one?' - Huber:
    He tried to press all keys at once just to see what happens

  - Robert - 'What's a Hex Editor for?' - Zoeberlein:
    He tested the Program on a Pentium II System

  Thank you guys!

  Special Thanks to Phillip Engel who integrated HEXEDIT in one of his own
  Programs, that he's still developing (at the Moment it's called FilZip)!


 Thanks to everybody who has supported HEXEDIT!

 Thank YOU for using this Program!




.Topic Index

 Index of this Manual
 --------------------

 At first there's a list of all the different {Versions of HEXEDIT:VerList}
 that have been released so far and what they can/can't do.

 {How to use this Manual:ManualHelp}

 {The Start Screen:NoContext}
 {Some Information:Infos}
 {The history of HEXEDIT:History}
 {The 'Liner Notes':Facts}

 {Keyboard Reference:KeyB}

 {1    How to start HEXEDIT:StartHE}
 {2    Open a file - The File-Open Dialog:Open}
 {3    The Screen of HEXEDIT:Screen}
 {4.1  The Hex-Window:HWin}
 {4.2  The File-Window:HWin}
 {4.3  The 2 different Window-Modes:WinMode}
 {5    The basic Editor Functions:BasicF}
 {5.1  The Clipboard Editor:ClipBoard}
 {6    The advanced Editor Functions:SpecialF}
 {6.1  The Goto-Function:Goto}
 {6.2  Jump to a Sector:Jump}
 {6.3  The ASCII-Table:ASCII}
 {6.4  Printing a File:PrintF}
 {7    The Backup-Feature:Backup}
 {7.1  The Undo-Function:Undo}
 {8    Save a file:Save}
 {8.1  The Save-As Dialog:SaveAs}
 {9    The Search Dialog:Search}
 {10   The Replace Dialog:Replace}
 {11   The Boot-System Features:BootS}
 {11.1 Drive Info:DInfo}
 {11.2 Read Boot-System:ReadBS}
 {11.3 Write Boot-System:WriteBS}
 {12   The Calculator:Calculator}
 {13   Exit HEXEDIT:Exit}

.Topic VerList

 A List of all the different Versions of HEXEDIT
 -----------------------------------------------

 Version 1.0: A secret release using the old concept, a bad Version
              compared to the newer ones. If you have HEXEDIT 1.0
              get a newer Version.

 Version 2.0: A new beginning using the 'Overlapping Sectors'-Technique
              All the {Basic Functions:BasicF} are available.

 Version 2.1: Gradually HEXEDIT becomes better. A new Save-As Function is
        -2.4  installed the Backup Function is Up-Dated and finally {Goto:Goto}
              is available. (Ver 2.4 is the first Release-Version, all the
              other Versions were released secretly...)

 Version 2.5: Among some little Up-Dates (to keep the Code Up-To-Date)
              HEXEDIT gets a {Calculator:Calculator}.

 Version 2.6: Together with an Up-Date to the Save-As Function the
              {ASCII-Table:ASCII} is installed.

 Version 2.7: Two Up-Dates for the Goto-Function and the ASCII-Table are
              installed.

 Version 2.8: A new, more comfortable Save-As Function and all the
              {Boot-System Features:BootS} are available.

 Version 2.9: Updated Open-Dialog and the {Search:Search} Function are
              installed.

 Version 3.0: Replace is installed. The internal Structure of the Code is
              completely changed.

 Version 3.1: The internal Structure is still 'under construction'.
              Two more {Advanced Editor-Functions:SpecialF}!

 Version 3.2: Finally the internal Structure is changed.
              All Clipboard-Functions are available as well as the
              {Print-Feature:PrintF}!

 Version 3.3: The new internal Structure is implemented in HEXEDIT.
              The 'Use Difference Only' - Search is available!

 Version 3.4: Up-Dates for the Search Function and the Insert-Mode
              are installed now, the Help-Window is implemented


 This Manual is written for the latest Version of HEXEDIT!


 {Back to Index:Index}

.Topic StartHE

 Starting HEXEDIT
 ----------------

 To start HEXEDIT using DOS (no matter what Version) type:

 HEXEDIT

 then press RETURN (You must be in the Directory in which HEXEDIT.EXE
 is located).

 To start HEXEDIT using Windows (without changing to the DOS-Mode/Prompt):

 -Windows 3.11 Goto the File Menu of the Program-Manager and choose 'Run'
 -Windows 95/98 Open the Start-Menu then select 'Run'

 Type the path to the Program followed by HEXEDIT.EXE then click on 'OK'.
 (e.g. C:\PROGRAMS\HEXEDIT\HEXEDIT.EXE)

 Of course you can also start HEXEDIT using the Explorer/File Manager of
 Windows.

 See also:
 {Loading a File:Open}


 {Back to Index:Index}

.Topic Open

 Loading a File
 --------------

 a) by using a parameter:
 - - - - - - - - - - - -

 If you're starting HEXEDIT by using the Command-Line you can
 type also: HEXEDIT [FileName].
 [FileName] has to specify the path and the name of the file that
 you'd like to edit. See also {Starting HEXEDIT:StartHE}

 NOTE: If the File doesn't exist, HEXEDIT will ask you if you
       want to create it!

 If you start HEXEDIT without any parameter the File-Open Dialog
 will be opened automatically.

 b) by using the File-Open Dialog:
 - - - - - - - - - - - - - - - - -

 NOTE: If you have already opened a File, you can open a new one
       by pressing F3. Then you're asked if you want to
       save the old file. See also: {The Save-As Dialog:SaveAs}

 Use all the Arrow-Keys to move the bar.
 If you press RETURN the red highlighted File will be opened.
 Directorys end with <DIR> if you press RETURN while a Directory is
 highlighted the File-Open Dialog changes to this Directory.
 Use the '..' Directory to go back (The '.' Directory doesn't affect anything)
 The current Directory you can see in the Status Line (See also: {The Screen:Screen})
 If there's not enough space to show all the Sub-Directorys in the
 Status Line, HEXEDIT will show the first Directory then '\...\'
 and then again the last Sub-Directory!

 NOTE: In the File-Open Dialog EVERY File is shown, no matter which
       Attribute the File has!

 If you want to create a File or enter the path and the name of the File
 directly you can do this. Press TAB to Toggle between the File-Box
 or the Input-Line (Standard is the File-Box).
 If you choose the Input-Line a cursor will appear there.
 Now you can enter the path and the name of the File you want to open
 or create. After typing, press RETURN to open the File.
 If the File that you want to open doesn't exist a small Message-Box
 will appear. There you can choose 'Yes' (Type 'y') for creating the
 file or 'No' (Type 'n') for going back to the File-Open Dialog.
 If the File that you want to open has the 'Read-Only'-Attribute
 also a small Message-Box will ask you if you want to ignore the
 Protection and proceed with opening (= 'Yes' - same as above) or
 if you want to open another File (= 'No').
 HEXEDIT offers you to restore the Attributes automatically at the end
 (See also: {The Save-As Dialog:SaveAs})

 NOTE: If you create a new File you won't be able to use the
       {Backup Features:BackUp} (See also: {Save:Save})!

 Use ESC to leave the File-Open Dialog.If you have already loaded a File
 HEXEDIT will go back to this File, otherwise you'll quit HEXEDIT by
 pressing ESC during the File-Open Dialog.


 {Back to Index:Index}

.Topic Screen

 The Screen of HEXEDIT
 ---------------------

 Here's a description of all the different Elements that appear on the
 screen of HEXEDIT and what they're for:

 The biggest part of the screen belongs to the 2 Main Windows:
 The left one is the {Hex-Window:HWin} the right one is the {File-Window:FWin}.
 In the upper right Corner you can see the Status-Line.In every Dialog
 you can see some further Information in the Status-Line. If no Dialog is
 opened you can see here if you are currently in the Normal or the Filtered
 Window-Mode (see also {The 2 different Window-Modes:WinMode}).
 Directly under the lower, left corner of the Hex-Window you can see
 the path and the name of the file that you're editing at the moment.
 In the upper, right corner of the screen you can see the Position-Block.
 There you can see the Filesize and the current Position of the cursor
 (refering to the Filesize) both in Decimal and Hexadecimal Numbers.

 NOTE: At the end of a File the Position will never be exactly the Filesize
       but always the (Filesize - 1). That's like that because the
       normal way of counting the Bytes in a File is, that the Filesize starts
       with 0 but the Cursor-Position starts with 1 (Because there is no
       'Zero-Byte' on which the Cursor could be, only the 'First-Byte'...).

 Below the Status Line you'll find a Box with a black frame.
 If any Dialog is opened, you can see there a little help text that
 shows the most important Shortcuts of that Dialog for example.
 In the normal Editor-Mode (no Dialog is opened) you can see there
 the value of the Byte at the Cursor-Position as a decimal and
 a binary Number as additional Information. Below this 2 Numbers
 you'll see in which Sector you are currently and how many Sectors
 there are, e.g.: Current Sector 3/66 means that you're in the third
 Sector and that the file is divided in 66 Sectors (how many sectors
 there are depends on the size of the File...).
 I added this Inforamtion for a roughly check in which part of
 the file you are (2nd Half, 3rd Quarter, ...).
 For the exact Information you have to look at the Position-Block
 (but for a rough check the, more or less, small numbers of Sectors are
 easier than the high numbers of Filesize and Position...).
 If a part of the File is marked (see {Basic Editor Functions:BasicF}) you can
 see - next to the Sector-Info - the size of the marked Block!
 You can also see there if you're in the Insert or the Overtype Mode
 (see also Basic Editor Functions).Directly below the right, lower
 corner of the File-Window you can see if you've made any changes to the file
 since your last save (You'll find there either 'UNCHANGED' or 'CHANGED').


 {Back to Index:Index}

.Topic WinMode

 The 2 different Window Modes of HEXEDIT
 ---------------------------------------

 I thought that it would be useful to introduce the 2 different modes
 to HEXEDIT (I've seen it at another Hex Editor...).
 In the Normal-Mode you can see all the 256 Chars in the {File-Window:FWin}.
 but in the Filtered-Mode you'll only see those Chars that appear on
 the keyboard (from ASCII-Code 32 to ASCII-Code 126). All other chars
 will appear as a red '.' in this Mode. To toggle between the 2 Modes
 press ALT + F. To check in which Mode you are currently check the
 Status-Line (see also {The Screen of HEXEDIT:Screen}).

 NOTE: The {Hex-Window:HWin} will NOT be affected in any way by this Mode!


 {Back to 'Screen of HEXEDIT':Screen}
 {Back to the Index:Index}


.Topic HWin

 The Hex-Window in HEXEDIT
 -------------------------

 Of course HEXEDIT has a Hex-Window too. It's on the left side of the
 screen. There you can see the values of every Byte of the {File-Window:FWin}
 as hexadecimal Numbers, so every Byte in the reight Window
 corresponds to a 2 digit Number (0-255 d = 0-FF h) in the Hex-Window.
 Use F1 to change between the 2 Windows (The cursor will always be in the
 currently choosen Window!). In the Hex-Window the cursor will be at the
 first digit and if you move him to the right side (by pressing the cursor
 key or entering a new Value or...) he will move to the second digit and
 next - move to the next Byte. If you move him to the left he'll
 jump to the second digit of the previous Byte. At the end of the File
 you'll see a white '<<' in the Hex-Window.All keys work just as they do in
 the File-Window. Of course you can enter new values for a Byte in the
 Hex-Window too. You can use <0> - <9> and <A> - <F> for entering or
 changing a Byte.

 See also: {Basic Editor Functions:BasicF}


 {Back to 'Screen of HEXEDIT':Screen}
 {Back to the Index:Index}

.Topic FWin

 The File-Window in HEXEDIT
 --------------------------

 In the File-Window (at the left side) you can see an exactly copy
 (= Dump) of the File that you're working with. The cursor moves
 directly to the next or previous Byte if you move him left or right.
 Every Byte in this Window has a corresponding 2 digit Number in the
 {Hex-Window:HWin} of HEXEDIT.

 NOTE: Even if you're in the Normal-Mode (see also: {2 Differnet Modes:WinMode})
       you might recognize the red '.' appearing in the Window.
       They stand for either the ASCII-Code 0 or 255 because both of them
       are equal in their apperance as the 'Space-Bar' (ASCII-Code 32).
       So I decided to display them as red '.' so that you know that every
       blank corresponds to the 'Real-Blank (Code 32)'.If you want to know
       if a red '.' stands for 0 or 255 look in the Hex-Window, there you'll
       find either a '00' or a 'FF' for the red '.'!

 At the end of the File you're edition you'll see:
 '<< END OF THE FILE' written in white.

 See also: {Basic Editor-Functions:BasicF}


 {Back to 'Screen of HEXEDIT':Screen}
 {Back to the Index:Index}


.Topic BasicF

 The Basic Editor-Functions in HEXEDIT
 -------------------------------------

 The most keys will react just as you know it from any other Editor.
 So here's a list of all the keys and their Functions in HEXEDIT:

 Cursor-Keys : Move Cursor 1 Byte/1 Digit to the Left/Right or
               move Cursor 1 Line Up/Down.

 Tabulator   : Move Cursor 8 Bytes (not Digits!) to the Right.

 Page Up/Down: Move Cursor 1 Page (= 16 Lines = 256 Bytes) Up or Down.

 Home/End    : Move Cursor to the first/last Byte of a Page(!).

 Backspace   : Delete the Byte/Digit left of the current Cursor-Position.

 Delete      : Delete the Byte/Digit at the current Cursor-Position.

 RETURN      : Insert a new Line. That corresponds to TWO chars:
               At first the CR-Char (ASCII-Code 10) and then a
               LF-Char (ASCII-Code 13)!

 Any other key will directly change the Value of the Byte at the Cursor
 Position.


 As you already know it from any other Editor, you can use SHIFT
 together with the Arrow Keys or PAGE UP/DOWN to start mark a certain
 part of the File. You can Cut, Copy, Paste or Delete a Block,
 the keys are - according to the 'DOS Convention' :

 CTRL+INS  : Copy the Block into the Clipboard
 SHIFT+INS : Paste the Block from the Clipboard
 SHIFT+DEL : Cut the Block, and copy it into the Clipboard
 CTRL+DEL  : Delete the Block.

 The Block can be up to 8961 Bytes large!
 The current size apperas in the black framed box (see also {The Screen:Screen})!
 Note that the size that appears there doesn't have to be the same size
 that the Block in the Clipboard has, it's just the size of the marked
 part in the File! To check the size of the Clipboard use {Show Clipboard:ClipBoard}.
 If you want to Copy, Cut or Delete a marked Part that is currently not
 displayed on the screen, HEXEDIT won't do anything, except scrolling to
 the marked Block so that you can check first what exactly is marked.
 If you start the same Operation again now, HEXEDIT will finnish the
 Action and Copy, Cut or Delete the Block finally.
 Of course, the Clipboard stays unaffected if you load a new File, so
 that you can use it to copy text from one File into another for example!

 NOTE: In the Hex-Window you'll only be able to use the chars '0'..'9' and
       'a'..'f' ('A'..'F') of course (RETURN Backspace, Tabulator,...
       will work of course also in the Hex-Window)!

 Check if you're in the Insert or the Overtype Mode
 (see also: {The screen of HEXEDIT:Screen}
 In the Insert-Mode the cursor will additionally change from the blinking
 Line to a Blinking Block!
 If you're in the Insert-Mode (Standard is Overtype!) and you change a
 Value a new Byte will be inserted (-> The Filesize grows!) and if
 you Delete a Byte (Backspace, Delete) the Filesize will shrink.
 In the Overtype Mode the Filesize stays the same if you enter a Value.
 HEXEDIT will Overtype the Byte/Digit standing right of the Cursor.

 NOTE: If you delete a Byte/Digit (Backspace, Delete) the Filesize
       WILL change even in the Overtype-Mode!

 If you enter a Digit in the Hex-Window the other Digit of the new Byte
 will be 0.

 NOTE: You can't delete a single Digit. HEXEDIT will always delete the whole
       Byte if you use Backspace or Delete!


  {Back to the Index:Index}

.Topic ClipBoard

 The Clipboard Editor
 --------------------

 If you press ALT+C while something is in the Clipboard, HEXEDIT will
 open a small Window where you can check what exactly is in the Clipboard
 at the moment. Additionally this Window works as an Editor. You can use the
 Arrow Keys to move the Cursor. You can also use <INSERT> to change
 between the two modes - Overtype and Insert.
 To delete a char, you can use Backspace.
 All other keys will change the text in the Clipboard.
 In the Status Line you can see in which mode you are currently
 and in the black framed box (see also: {The Screen:Screen}) you can see how
 large the block in the Clipboard is. It can be up to 8961 Bytes large!
 Additionally you'll see there the (Hexa-), decimal and binary codes of the
 char that appears at the Cursor-Position.
 You cannot move the Cursor beyond the end of the Block in the Clipboard.
 The last Byte of the Block is the last Char that is blue, all
 following bytes will appear as red dots.
 To quit the Clipboard Editor, press <ESC> or <RETURN>. If you press
 <RETURN> the changes you've made will be saved, if you press <ESC>
 no changes will be saved. If you've changed something and saved it,
 the next time you press SHIFT+INS, the new Clipboard will be pasted in
 the file!


  {Back to Basic Editor Functios:BasicF}
  {Back to the Index:Index}

.Topic Exit

 Exit HEXEDIT
 ------------

 If you've finished your work in HEXEDIT you simply press ESC to quit.
 Then the {Save-As Dialog:SaveAs} will appear in every case automatically
 If you leave this Dialog by ESC you'll be back in the Editor,
 otherwise HEXEDIT quits after the Dialog is closed!


 {Back to the Index:Index}

.Topic Backup

 The Backup-Feature
 ------------------

 HEXEDIT offers you automatically the possibility to create a Backup-File
 when you're saving the file (see also: {Save-As Dialog:SaveAs}).
 In order to offer this, HEXEDIT has to copy the file of course.That happens
 at the beginning (That's why it takes some time to load a big file).
 Theoratically HEXEDIT can open files up to 2 Gigabyte, but:

 If you want to use the Backup-Features (Don't save anything - Create a
 Backup File - Undo the changes while editing) you have to have at least
 the same free Capacity on your Harddisk(s), as the File that you're
 editing takes (e.g. If you open a File with 69 MB you have to have
 at least 69 MB free on your Harddisk(s)).

 NOTE: HEXEDIT will search at every local Drive for this space and create
       the Backup on the first Drive that provides enough free space!

 But all those things happen automatically, you only have to decide
 something if no Drive with enough free space is found. In that case
 HEXEDIT will present a Message-Box, still offering you two possibilities:
 -If you choose 'No' (Type 'n') you'll come back to the File-Open Dialog
  where you have to choose another File.
 -If you choose 'Yes' (Type 'y') you'll be able to work just as normal
  but you can't use any of the Backup-Features.

  NOTE: If you work without Backup pay Attention that every change is
        saved if you enter another Sector!

 If you enter a new Sector HEXEDIT will check if there's enough space
 to save all the changes you've made. If there's not enough free
 Disk-Space an Error-Message appears and you'll have the choice between
 2 possibilities:
 -If you choose 'n' HEXEDIT will quit without saving the changes!

 -If you choose 'y' HEXEDIT will erase the Backup-File and with the
  gained space HEXEDIT will be able to save all the changes. But you can't
  use the Backup-Features any longer than!

 NOTE: If HEXEDIT didn't create the Backup at the start because there
       wasn't enough space or if HEXEDIT created the Backup on another
       Drive (so that the new free space wouldn't affect the Drive where
       the loaded File is located...) you WON'T have this choice!
       In this case HEXEDIT waits for you to press any key, then HEXEDIT
       will quit!

 Normally, if you don't open too big Files, you won't get any problems
 with the Backup-Feature. But I added all this because it could happen
 of course, especially if you open really big Files and as HEXEDIT can
 handle those Files it has to provide a certain security of course.
 I think that all the possibilities that you have in HEXEDIT for such a
 case are a quite well solution for this. In the normal work with normal
 Files and a - not completely - filled Harddisk Backup works without any
 Problem!

 To see how Undo works: {Undo-Function:Undo}


 {Back to the Index:Index}


.Topic Undo

 The Undo-Function in HEXEDIT
 ----------------------------

 If you want to Undo all the changes that you've made since you loaded
 the File press ALT + U. Then you'll have to confirm that you really
 want to Undo everything. Press 'y' if you're sure or 'n' if you want
 to go back to the editor.

 NOTE: If you use Undo every change that you've made since you've loaded
       the File and not only those changes that you've made since you've
       saved the file the last time!


 {Back to 'Backup-Feature':Backup}
 {Back to the Index:Index}

.Topic Save

 Saving your Changes in HEXEDIT
 ------------------------------

 Of course you can save all the changes that you made to a File.
 During the Normal-Editor Mode press F2 to save the current Sector.
 You'll read 'FILE SAVED...' in the Status-Line and the Cursor will
 disappear for about 2 seconds, then you can go on with your work.

 NOTE: If you enter a new Sector (see also: {The Screen:Screen}) all the
       changes that you made in this Sector will be saved!
       You can restore the File (see also: {Save-As Dialog:SaveAs})
       but only if HEXEDIT created the Backup (see {The Backup-Feature:Backup})!
       If you don't have a Backup, the changes are saved and you can't undo
       any of them!

 F2 is just a way to 'Quicksave' your changes but you'll always have
 to confirm everything in the Save-As Dialog, no matter if
 you're quitting HEXEDIT or if you open a new File (-> {Open a File:Open})!

 NOTE: If you INSERT (not OVERTYPE) more than 13056 Chars without
       saving between, HEXEDIT will save automatically!

 {Back to the Index:Index}

.Topic SaveAS

 The Save-As Dialog
 ------------------

 If you want to quit HEXEDIT or if you open a new File, the Save-As Dialog
 will appear. In this Dialog you can select different ways of how
 your File will be saved.
 To choose/edit a certain item you have to press the red key of its
 description. E.g.: For the blue Input-Line it would be 'n'.
 A 'box' means '[ ]'. If the box is checked it will appear like '[X]'!
 I'll describe the Items in certain groups because they influence each other.
 At first the already mentioned Input-Line. There you can select a different
 name for the File. If you activate this item (see above) a cursor appears
 in the Line. When you've finnished to enter the name, press RETURN and
 the new name will be saved.
 The name of the Backup-File accords to the Filename. It's always the
 Filename + the extension '.BAK'.

 NOTE: If you edit a File that already has the extension '.BAK', HEXEDIT
       will use the extension '.BKP' for the Backup-File. Check the
       Filename written in brackets to see which extension is used
       for the Backup-File!

 If you check the box under the Input-Line (Using the key 'b') the
 Backup-File will be created.
 If the box is 'un-check' (using 'b' again) the Backup-File will be erased!
 If you don't have the {Backup-Functions:Backup} you won't see this
 option. If you've checked the 'Restore Backup'-Function in the
 'Options-Block' (see below) and then you press 'b' the 'Restore Backup'
 Box will get unchecked automatically.
 The third option makes it possible to restore the file's original
 Attributes. You can see this Attributes in brackets behind the description
 of the Box (You could read there for example (Archive, Hidden, Read-Only)).
 You'll notice that you can't uncheck the box again. Well the other
 possibility is that you choose your own Attributes (by pressing 'c').
 If you check the box at 'Choose individual Attributes' the 'X' will
 disappear at the 'Restore Attributes' box and the other way round.
 If the 'Choose individual Attributes' box is checked the other boxes
 (directly below in the Dialog) will turn from grey to black
 (they will turn grey again if you choose 'Restore Attributes'!)
 and now you can choose. Each box represents a certain Attribut according
 to its description. Check all the boxes of the Attributes the File
 should get.
 Directly above the 'Choose individual...' box, another feature
 is located. If you check the box 'Restore Time/Date of the File',
 HEXEDIT will restore the Time and the Date that the File had when you
 loaded it. Sometimes Programs check the Time/Date so that they can
 find out if they were modified, well with this option they won't
 recognize it if they check their Time/Date...
 Standard is that the Time/Date of the File will be Up-Dated to the
 current Time/Date when you save the File!
 Finally in the right, lower corner of the Dialog you can see the
 'Options-Block' there you can choose if you want to save the file:
 -Save File - Store Changes        : Save the File with every change
                                     you've made
 -Don't save File - Restore Backup : Restores the Backup-File, in this case
                                     the 'Create Backup-File' Box will
                                     get unchecked automatically.

 NOTE: If you don't have the Backup-Function you'll read instead
       of the second choice 'Don't save File - Erase the File'.
       If you check this box. The File that you've edited will
       be erased! (Normally this Function is made for Files that
       you've created at the beginning and don't want to save...)

 As I mentioned it, HEXEDIT searches on every local Drive for a
 place to create the Backup-File. During the Saving-Process, HEXEDIT
 will try to move the Backup-File from its original Position to the
 Position where the File that you've edited is saved. If this is
 impossible (because there's not enough space for example...), HEXEDIT
 will inform you that the Process failed. A Message-Box will appear where
 you can see what the original Location of the Backup-File was.
 You'll have to press any key to continue the Saving-Process.
 The Backup-File is saved at its original Location then!
 All the other boxes will have the same effects, no matter which Save-Option
 you choose (If you restored the Backup and chose another name, the
 File will be saved with the new name for example)!

 The Backup-File (!) has always just the 'Archive'-Attribut!

 NOTE: If you've loaded the File from a CD-ROM Drive you'll see a little
       Message Box to inform you. Press either 'ESC' to get back to the
       Editor or press RETURN to continue (without saving anything
       of course!).

 To quit the Save-As Dialog press either ESC (to cancel the Dialog and
 go back to the Editor) or RETURN (to accept the settings and continue).
 If you quit the Dialog with RETURN, HEXEDIT will check if the Filename
 that you chose for the File already exists. If there is already a File with
 the same name in this Directory you'll be informed and you'll have to
 choose if either the existing File should be deleted and replaced by
 yours (= 'y'), or your File should be saved with its original name (='n').

 NOTE: According to the normal way of handling this, HEXEDIT will not
       check if the Backup-File already exists. If a File with the same
       name does already exist in this Directory, this File will be
       overwritten by the new one!


 {Back to 'Save a file':Save}
 {Back to the Index:Index}

.Topic SpecialF

 The advanced Editor-Functions of HEXEDIT
 ----------------------------------------

 Beside the basic Functions, HEXEDIT offers you the following
 additional Editor-Functions:

 ALT+B : Jump directly at the Beginning of the File
 ALT+M : Jump to the Middle of the File
 Alt+E : Jump directly at the End of the File
 F4    : {Goto:Goto}
 ALT+S : {Jump to Sector:Jump}
 Alt+A : {ASCII-Table:ASCII}


 {Back to the Index:Index}

.Topic Jump

 Jump to a Sector
 ----------------

 If you don't need to jump to an exact Byte, you can use this Function.
 Press ALT+M while being in the normal Editor-Mode. In the appearing
 Dialog-Box you can use the Arrow-Keys <UP> and <DOWN> to increase or
 decrease the value after 'Sector: ' that specifies the Sector that
 you want to jump to (If you open the Dialog-Box you will alwys see there
 the Number of the current Sector).
 If you check the Box at 'Middle of the Sector' HEXEDIT will - of course -
 not jump to the Beginning of the Sector you chose but to the Middle of
 this Sector.

 Use <RETURN> to jump to the Position or <ESC> to quit.


 {Back to advanced Editor-Functions:SpecialF}
 {Back to the Index:Index}

.Topic Goto

 The Goto-Function
 -----------------

 The Goto-Function allows you to jump directly to any Byte of the File.
 Press F4 to open the Dialog-Box. There you can see two Input-Lines
 and two Check-Boxes. The first Input-Line is for the Position as a
 decimal Number the second one is for the Position as a hexadecimal
 Number. With the 'Change active field' - Box you can change between
 the two Input-Lines (Standard is decimal, if you press 'g' you'll change
 to hexadecimal, if you press 'g' again you'll be back in the first
 Input-Line). The cursor shows you in which Line you are currently and
 in the Box you'll see - instead of a cross ('X') - either a 'D' or a 'H'
 that shows also which Mode is active at the moment. Use '0'-'9'
 (and 'a'-'f' if you're in the hexadecimal Mode) to enter the Position
 that you want to jump at. In the Line that is NOT active you'll see
 the value that you enter in the other notation (If you are in the
 decimal Mode you can see the value as a hexadecimal Number in the
 second Input-Line).
 If the box 'Start at Cursor-Position' is UN-checked HEXEDIT will simply
 jump to the entered Position. If this Box is checked HEXEDIT will add
 the Position that you've entered to the current Position of the cursor
 (in the File). E.g.: If the cursor is at Byte 678 in the File and
 you enter 20 in the decimal Input-Line and check the box 'Start at ...'
 (by pressing 's' till a 'X' appears between the brackets)
 HEXEDIT will jump to Byte 698 in the File.
 If the box is UN-checked,
 HEXEDIT will jump to Byte 20 in the File!
 If you've entered everything press RETURN to jump to the Position or press
 ESC to return to the Editor without changing the Position.
 If the Position that you've entered is larger than the Size of the File
 you'll see an Error-Message in the {Status-Line:Screen} for about 2
 seconds then the cursor goes back to the Input-Line.


 {Back to advanced Editor-Functions:SpecialF}
 {Back to the Index:Index}

.Topic ASCII

 The ASCII-Table
 ---------------

 Press ALT+A and - if no Dialog is opened - a Window will appear.
 In this Window you see the whole ASCII-Table from 0 to 255 and the
 corresponding chars.

 NOTE: Although the ASCII (American-Standard-Code for Information-Interchange)
       Table is clearly defined, you may not find all the chars of your key-
       board in this Table. That's because the ASCII-Table can be modified
       so that the extra-Characters of a language can be used also.
       In HEXEDIT you'll see the Standard ASCII-Table (corresponding to
       Codepage 437 - 'American Standard')!

 In the right half of the Window you see the Code of your Country,
 the current active Codepage, the Codepage that is active before
 your Operating System is loaded and information about the highlighted
 char. The highlighted char (at the beginning it is ASCII-Code 0) has
 a blue background. Use the Arrow-Keys to navigate. If you just press
 a key the corresponding ASCII-Code will be highlighted also.

 NOTE: You can use this Table to find out what ASCII-Code a certain key
       has (for your own Programs for example). The Table will also work
       with keys that have an extended-Code (like F1-F10 or every Key
       pressed together with CTRL or ALT). HEXEDIT will ignore the
       the first Code (it's always ASCII-Code 0) and highlight the second
       Code!

 You can see the ASCII-Code of the highlighted Char as decimal/hexadecimal
 and binary Numbers. If you press F1 HEXEDIT starts to Analyze the file.
 This can take some time. It depends on your System and the Size of the
 File. If the File is not Analyzed you'll see an according message in the
 right side of the Window. During the process you'll see there 'Analysing
 File...' and you can't do anything in this time. If the File finally was
 anayled you'll see there 'File Analyzed...'! Now you can see which
 ASCII-Code is the 'most frequent' and which one is the 'most rare' in the
 file. If you see a '-' in the 'most rare' field the file has more than
 10 chars that all are the 'most frequent' (normally all these chars won't
 appear in the file). Especially if you analyze a File that contains Text
 you'll find '-' there because most of the ASCII-Chars don't appear in a
 text. Beside this 2 figures you can see the frequenzy of the 'current'
 highlighted char in this window. If you don't analyze the file this three
 options will show nothing. Use ESC to return to the Editor or use RETURN to
 insert the current highlighted char in the file that you're editing.
 The char will be inserted or overtype the old char - according to your
 {Editor-Mode:BasicF}.

 NOTE: There are 2 ways to insert a char that normally would affect
       particular something in the Editor, for example the ASCII-Code 27
       that corresponds to ESC:

       a) You change to the Hex-Window and enter 1B or
       b) you call the ASCII-Table, highlight the ASCII-Code 27 and press
          RETURN!


 {Back to advanced Editor-Functions:SpecialF}
 {Back to the Index:Index}

.Topic PrintF

 How to Print a File
 -------------------

 Of course you can Print a File in HEXEDIT. You can either send the
 Dump of a File to a local Printer or to a Text-File.

 NOTE: HEXEDIT will work with every LOCAL (not Network!) Printer that
       is installed at a Parallel Port (LPT1 - LPT4). Printers that
       are available in a Network or Printers that are using an
       USB-Port won't work (That's DOS...). In the case that you only
       have such a Printer, please Dump the File into another File and
       print this File using a standard Editor (NOTEPAD for example)...

 Press F7 to call the Printer-Setup. At first you have to specify if
 want to use a real Printer or if you want to send the File to another
 File. Highlight the Option that you'd like to use (with <1>/<2> or the
 Arrow Keys) and press <RETURN>.

 NOTE: If you choose 'File', HEXEDIT tries to create a File that has
       the same name as the one that you're working with but the
       extension '.PRN'. If such a File already exists, HEXEDIT will
       warn you and ask you if you'd like to recreate the File (erase it
       first!) or if you'd like to store the Data at the End of the
       existing File, so that the original Data in it isn't destroyed!
       In the appearing Message-Box, you can choose one of the Options
       by pressing <R> (Recreate) or <U> (Use the old File).
       IF you press <ESC> you'll be back in the Editor.

 If you chose 'Local Printer', HEXEDIT will search for one that is
 Ready ('Switched On' and 'On-Line') at every LTP-Port that you have.
 HEXEDIT will search at those Ports for about 20-30 Seconds, after that
 it will create an Time-Out Error. Then a Window will appear and inform you.
 In the {Status Line:Screen} you can watch the Time-Out Countdown.
 If you press <ESC> during the Search, HEXEDIT will quit the Search and
 you'll be back in the Editor, that goes as well for all the Dialogs that
 appear and of course for the Printing itself.
 Now the Setup Window opens. Here you can choose what exactly you'd like to
 print. Use the red highlighted letters to change an item. If you choose
 'Print Info Block' HEXEDIT will print it's name ( -> 'HEXEDIT') as well as
 the Name of the File you're working with and it's size.
 Normally the Dump of a File looks like that:

 Position | Hexadecimal Dump | File Dump

 You can now specify if you'd like to leave out one of the three Blocks and
 if you'd like the 'Position-Block' (assumed you don't leave it out) in
 with decimal or with hexadecimal numbers.
 The Block where you can choose the Range is almost the same as the
 one at the {Search Dialog:Search} except that in this case you can choose
 between 'Whole File' or singe Pages (not Sectors). A Page has, of course,
 256 Bytes, starting from the first Byte that you choose.
 In the Dump you're see the '.' (in the File Dump) for every char with
 an ASCII-Code smaller than 31 and for ASCII-Code 255.
 If you enter a Comment and choose 'Print Comment', HEXEDIT will print the
 string you've entered right before the Dump.
 That's it, if you aren't sure what a certain item affects, just try it
 (using the 'Dump to a File' Method) and watch the results, so you don't
 waste paper.

 NOTE: If the free space on you disk is not big enough for the whole Dump or
       if the Printer sends an Error, HEXEDIT will inform you with a 
       Message-Box and abort the Printing Process.


 {Back to advanced Editor-Functions:SpecialF}
 {Back to the Index:Index}

.Topic Calculator

 The Calculator
 --------------

 HEXEDIT has a little Calculator to help you if you have to make some small
 calculations while editing a file.
 This Calculator is of course not as good as the Calculator that belongs to
 Windows for example but for some basic calculations it might be easier to
 use the HEXEDIT-Calculator.
 The Calculator offers you:
 - Decimal, hexadecimal and binary Numbers. You can use all 3 systems,
   and beside that, every Number you enter will be displayed in every system
   automatically!
 - 8 Digits for decimal and binary Numbers and 7 Digits for hexadecimal
   Numbers. In every mode you can use negative numbers as well as positive.
 - Beside the basic-Operators (+, -, *, :) you can use all the logical
   Operators (AND, OR, XOR, NOT) and the Shift-Functions (SHL, SHR)!

 Press F8 while being in the normal Editor-Mode to start the Calculator.
 Use '0'-'9', 'a'-'f' or the operands '+' '-' '*'. For all the other
 functions use the black chars (Like 'l' for 'Clear') and <TAB> to change the
 mode. You can make calculation with decimal, hexadecimal and binary Numbers!
 A small letter ('d', 'h' or 'b') behind the Numbers shows you which mode
 they represent. The current active mode is in the blue Input-Line, the other
 two you can see directly below the Input-Line. If a Number gets too big for
 the binar mode you'll see a '-' instead of the Number there.

 NOTE: You can't enter a Number that's too big for the current Mode. You can
       just enter a Number that's too big for one of the inactive Modes!

 Enter the first Number then choose an Operator and enter the second Number.
 Now press RETURN to get the Result. Here you can see '-- --' in the Input
 Line as well, if the Result is too big. In this case press any key to start
 a new calculation!
 You can use the Result of a calculation as the first number of the next one.
 Just choose an Operator while the Result is still displayed and continue.
 If you press any other key, the Display will be cleared.
 The 'CLEAR'-Function only clears the last entered Number, a choosen
 Operator will still be active after you've pressed 'CLEAR'.
 You can see the current active Operator in the according Line.


 NOTE: For the 'logical NOT' you only need 1 Number. If you choose 'NOT' the
       first Number will be ignored. 'NOT' always uses the Number the you've
       entered after choosing 'NOT'!

 The calculator only works with whole Numbers. So the Divison contains
 two parts, 'DIV' and 'MOD'. 'DIV' divides the two Numbers and shows a
 whole Number as a Result (This Number is NOT rounded!). Use 'MOD' to get
 the rest of a Division. If you want to have an exact Result just put the
 2 Results together.

 5 DIV 2 =  2
 5 MOD 2 =  5 => 2.5

 In fact, this calculator works just as any other so I don't need to
 say that much about the usage.


 {Back to the Index:Index}

.Topic BootS

 The Boot-Sector/Drive - Functions
 ---------------------------------

 Press ALT+D during the normal Editor-Mode and a Dialog-Box with three
 choices appears. You can find there {Drive Info:DInfo}, {Read Boot-System:ReadBS}
 and {Write Boot-System:WriteBS}. Choose a item by either pressing a char
 from <1> to <3> or using the UP/DOWN Arrow-Keys.
 Then press <RETURN> to accept your choice or <ESC> to quit.
 Now, no matter what item you chose, you have to select a Drive.
 Just enter the Drive's char from <a> for 'A:' to (theoratically) <z> for
 'Z:'. After you entered the Drive that you'd like to work with, press
 <RETURN> to continue or <ESC> to quit.
 To find out what the single items affect, jump to the according page!


 NOTE: Neither the Read Boot-System nor the Write Boot-System will work
       with a CD-ROM Drive!

 {Drive Info:DInfo}
 {Read Boot-System:ReadBS}
 {Write Boot-System:WriteBS}


 {Back to the Index:Index}


.Topic DInfo

 Drive-Info
 ----------

 If you chose 'Drive Info' you'll see a window that shows you the size of
 the Drive and how much of it is still free. Additionally you'll see
 the Label of this Drive or a '-' if it has no Label!


 {Back to Boot-Sector Functions:BootS}
 {Back to the Index:Index}

.Topic ReadBS

 Read Boot-System
 ----------------

 Using this function you can read the Boot-Sector and if available the
 Partition-Table of the Drive you chose. The whole information will
 be shown in the normal Editor. You can look at it, you can edit it and
 you can save it in a File. HEXEDIT gives this File a name like 'C.BSF'.
 The extension is always the same, the first char represents the Drive!
 The File will be automatically created in the Root-Directory of the
 according Drive, existing Files with the same name will be overwritten!
 The standard Parameters (if you choose 'Restore Attributs', see also:
 {The Save As Dialog:SaveAs}) are: Hidden, Read-Only and Archive.
 Remember the Hidden-Attribute if you try to find the File.
 The usage of this Function is that on the one hand you could edit
 the Boot-Loader (if you dare it...) and on the other hand of course that
 you can save the file and restore it (check {Write Boot-System:WriteBS}).
 Using this, you can remove a Virus that infected your Boot-Sector!

 NOTE: A File containing the Boot-Sector will be 512 Bytes large
       if you chose your Floppy-Drive. In case you chose a Hard-Disk,
       the File will be 1024 Bytes large because this File always
       contains also the Partition-Table of the Drive.

 The File is an exact copy of the Boot-Sector (512 Bytes) and - directly
 following - the Partition-Table (also 512 Byte).


 {Back to Boot-Sector Functions:BootS}
 {Back to the Index:Index}


.Topic WriteBS

 Write Boot-System
 -----------------

 This item is the of course opposite of {Read Boot-System:ReadBS}.
 Using this item you will be able to re-write the Boot-Sector
 and Partition-Table of a Drive using the stored copy of it/them
 that you created before. To re-write the Boot-System just load
 the File that contains the copy in the Editor (see also: {Load a File:Open}).
 Then press ALT+D and choose 'Write Boot-System'. Don't try to re-write
 the File of a Hard-Disk using the copy of another Hard-Disk (HEXEDIT
 won't mind this!). This can work of course, but normally (and that means -
 if you didn't meant it: ALWAYS!) your Drive won't work after you re-wrote
 the Boot-System!

 NOTE: This can destroy the saved Files on your Hard-Disk. If you changed
       something either in the File or in your real Boot-Sector/Partition
       Table and then you re-write it using the old copies, the changes
       you've made are irreparably destroyed.

 Be careful with this function if you don't really know how it works!!!!!

 If you choose Write Boot-System you'll have to confirm this choice one time.

 NOTE: If the File has not the required Size (exactly 512 Bytes for a Floppy-
       Drive and exactly 1024 Bytes for a Hard-Disk) HEXEDIT won't do
       anything. In this case you'll see a Message-Box that informs you and
       after you've pressed any key, you'll be back in the Editor-Mode!

 If the File has the required Size and you confirmed your choice, HEXEDIT
 will re-write the Boot-Sector (and if the Drive is a Hard-Disk) the
 Partition-Table. After this, a Message-Box will appear and after you've
 pressed a key the File-Open Dialog will appear, if you press <ESC> while
 the Dialog is active, you'll quit HEXEDIT!


 {Back to Boot-Sector Functions:BootS}
 {Back to the Index:Index}

.Topic Search

 The Search Dialog
 -----------------

 The Search-Function offers you to search after either a maximal
 60 chars long String or a maximal 20 chars long Hexadecimal signature.
 To call the Search-Function press F5 during the normal Editor-Mode.
 The Dialog that will appear, offers you several possibilities
 to search a text-string in the File that you're working with.
 In the Input-Line you have to enter the text of course (press <T> to
 start the Input and press <RETURN> to get back to the Options-Mode)

 NOTE: If you choose HEX as the current Mode (see below) the cursor in
       the Input Line will insert a blank after every 2 chars that
       you've entered because every Hexadecimal number contains 2
       digits (Like: 1A 2B 88 FF ...).

 Below the Input-Line you can see the Box that shows you in which Mode
 you are currently if a 'A' appears in that Box you are in the 'ASCII'-Mode
 so if you enter the text HEXEDIT will search for exactly every char
 that you've entered. If you see a 'H' instead of the 'A' you are in
 the 'HEX'-Mode. Now you can enter the Hexadecimal values for every char
 instead of entering the chars directly (the 'HEX'-Mode is the better choice
 if you're searching for chars that don't appear on the keyboard for
 example). HEXEDIT will transform the enterd values to the corresponding
 Chars and start to search for this Chars.
 There are two basic Search-Modes in HEXEDIT. The normal Mode means, that
 HEXEDIT searches exactly for the Chars that you've entered, for example
 if you've entered 'TEST' only String 'TEST' will be found.
 In the second Mode, the 'Use Difference only' - Mode (to switch in this
 mode, just check the corresponding Box by pressing <U>), HEXEDIT won't
 search for the same chars, but search for a String in which the single
 chars have the same difference. For example if you've again entered the
 String 'TEST', HEXEDIT will also find 'test' for example because every
 char in 'TEST' has the same difference to its neighbor as the chars in
 'test' have. HEXEDIT would also find 'UFTU' if you've entered 'TEST'.

 NOTE: If you've entered 'Test', HEXEDIT won't find 'test', because
       the difference between the ASCII-Code of 'T' compared to one of 'e'
       is not the same as the one of 't' compared to the one of 'e'!

 In the lower right corner of the Dialog you can see the Range-Block.
 There you can choose in which range HEXEDIT should search for the
 text. If you choose 'Complete File' by pressing <C> HEXEDIT will use the
 whole File for the search. If you choose 'Only current Sector' (press <O>)
 HEXEDIT will start at the beginning of the current Sector and search
 at the next 15104 Bytes. And last but not least you can define the
 Sectors that should be included. Press <D> for 'Define Sectors' and
 then press either <T> or <E> for Start or End. The box of the choosen
 item will be checked with a cross. Now you can use the UP and DOWN
 Arrow-Buttons to increase or decrease the Value.

 NOTE: If the number gets higher than the last sector the value will be
       1 again. If you enter a higher Start-Sector than the End-Sector is,
       the 2 Numbers will be swaped automatically!

 If you choose 'Start at Cursor Position' HEXEDIT will start at the
 current Cursor-Position and search till the choosen End-Byte.
 No matter what you choose at the Range-Block the Start-Byte will
 always be the Cursor-Position then.
 The opposite you can find directly below. If you choose 'End at Cursor
 Position' HEXEDIT will start from the Byte you've choosen in the Range-Block
 and stop at the Cursor-Position.

 NOTE: If the Cursor-Position is either behind the End-Byte that you choose
       or before the Start-Byte that you choose, HEXEDIT will also swap
       the 2 Numbers and search from the lower number to the higher number.
       (If you choose Sector 5 as the End-Sector and you check 'Start
       at Cursor Position' and the Cursor is in Sector 7, HEXEDIT will
       search from Sector 5 to Sector 7 instead)!

 If you entered the text and chose all parameters that you'd like to
 use, press <RETURN> to start the search or press <ESC> to quit the
 Search-Function.
 In the {Status-Line:Screen} you can see the progress of the search.
 If HEXEDIT finds the text the cursor will jump to this Position.
 If you now press F5 again, a small Box will appear, asking you if
 you'd like to continue with the old settings or if you'd like
 to start a new search. Highlight the option that you want to use
 and press <RETURN> or <ESC> to quit the Search-Function.
 If you choose 'Continue old Search' HEXEDIT will use the text and
 the settings of your last Search and continue, ALWAYS at the Cursor-
 Position. If the Cursor-Position is after the original end, the
 Search-Dialog will appear instead (the dialog will also appear if you
 choose 'Start new Search' of course...).

 NOTE: If you choose 'Continue old Search' and the Cursor is at the
       first char of the text that you're searching for, HEXEDIT will
       ignore this, and start at the next Byte!


 {Back to the Index:Index}

.Topic Replace

 The Replace Dialog
 ------------------

 The Replace Dialog contains the same items as the {Search Dialog:Search} and
 they affect the same. So read that topic before you read this!

 NOTE: If you use the 'Use Difference Only' - Mode, HEXEDIT will replace,
       even so, the found Strings with the exact copies of what you've entered
       as the replacement.

 The Replace Dialog appears if you press F6 during the normal Editor-Mode.
 This Dialog contains beside the items of the Search-Function a second
 Input-Line for the Text the you want to use as the replacement for the old
 Text and the Function 'Prompt on Replace. If you check the according
 box by pressing <M> you'll have to confirm the Action every time before
 HEXEDIT will replace a String (see below).

 NOTE: You can of course also enter this Text in the Hex-Format. Just
       check the according Box ('Replace ASCII/HEX'). The 'Search for'
       and the 'Replace by' Texts DON'T NEED to be in the same Format.
       You can enter the Search-Text (1st Input-Line) in the normal
       Format and the Replace-Text (2nd Input-Line) in the Hex-Format
       for example!

 Press <ESC> to exit the Dialog or <RETURN> to start the Search.
 If you didn't check the 'Confirm-Box' HEXEDIT will search - in the Ragne you
 chose - and replace everytime the old text by the new one. If you chose
 'Confirm' you can see in the 'Black framed Box' in the right, upper corner of
 the Screen (see also {The Screen:Screen}) a little Text.
 Press <Y> to replace the found Text (The Cursor always points at the
 first Byte of the Text...) and continue with the Search.
 Press <N> to ignore this one and continue with the Search or
 press <ESC> to abort the whole Search and go back to the normal Editor.
 If you press F6 again, the same little box will appear, that appears if you
 use the Search-Function. You can use the Setup of your last Replace-Action,
 or you can select a new one. Highlight the correspongin Item (by using
 <1>, <2> or UP/DOWN) and press <RETURN>, or press <ESC> to quit.

 NOTE: If you choose the 'Old Setup', and the Cursor is already at the
       Beginning of the String that you're searching for, HEXEDIT
       WON'T ignore the String (Notice the Difference to Search!).

 See also:
 {Search:Search}


 {Back to the Index:Index}

.Topic KeyB

 Keyboard Reference
 ------------------

 Here's a list of all keys and what they affect in HEXEDIT:

  Key     I Action
  ---------------------------------------------------------------------------
          I
   F1     I Switches the Cursor between the 2 Windows
          I
   F2     I {Save:Save} changes - in the current Sector
          I
   F3     I {Open:Open} a new File
          I
   F4     I {Goto:Goto}
          I
   F5     I {Search:Search}
          I
   F6     I {Replace:Replace}
          I
   F7     I {Print:PrintF}
          I
   F8     I {Calculator:Calculator}
          I
   F10    I Help-Window with all Shortcuts you can use in HEXEDIT
   ---------------------------------------------------------------------------
             I
   Up        I  Line Up                | Use SHIFT to mark a Text-Block
             I
   Down      I  Line Down              | Use SHIFT to mark a Text-Block
             I
   Left      I  Character Left         | Use SHIFT to mark a Text-Block
             I
   Right     I  Character Right        | Use SHIFT to mark a Text-Block
             I
   PgUp      I  Page (=256 Bytes) Up   | Use SHIFT to mark a Text-Block
             I
   PgDown    I  Page (=256 Bytes) Down | Use SHIFT to mark a Text-Block
             I
   Home      I  Goto First Byte of current Page
             I
   End       I  Goto Last Byte of current Page
             I
   Ins       I  Change between Insert/Overtype Mode
             I
   Del       I  Delete Char at the Cursor
             I
   CTRL+Ins  I  Copy the marked part of the File into the Clipboard
             I
   CTRL+Del  I  Delete the marked part (Clipboard stays unaffected)
             I
   SHIFT+Ins I  Paste the Clipboard (back into the File)
             I
   SHIFT+Del I  Cut the marked part out of the File (and copy it into Clipboard)
             I
   Backspace I  Delete Char in front of the Cursor
             I
   TAB       I  8 Characters Right
             I
   RETURN    I  Inserts a new Line (= ASCII 13 + ASCII 10)
             I  Accepts changes in a Dialog
             I
   ESC       I  Exit HEXEDIT
             I  Cancels a Dialog
   --------------------------------------------------------------------------
         I
   ALT+A I {ASCII-Table:ASCII}
         I
   ALT+B I Jump to the Beginning of the File (0%)
         I
   ALT+C I Starts the {Clipboard Editor:ClipBoard}
         I
   ALT+D I {Boot-System Functions:BootS}
         I
   ALT+E I Jump to the End of the File       (100%)
         I
   ALT+F I Change between the normal and the filtered {Display Mode:WinMode}
         I
   ALT+M I Jump to the Middle of the File    (50%)
         I
   ALT+S I {Jump to a Sector:Jump}
         I
   ALT+U I {Undo:Undo}
   ---------------------------------------------------------------------------

  That's it...


  {Back to the Index:Index}
