<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY appversion "2.19">
<!ENTITY manrevision "2.5">
<!ENTITY date "December 2005">
<!ENTITY app "GHex">
]>
<!-- 
      (Do not remove this comment block.)
  Maintained by the GNOME Documentation Project
  http://developer.gnome.org/projects/gdp
  Template version: 2.0 beta
  Template last modified Feb 12, 2002
  
-->
<!-- =============Document Header ============================= -->
<article id="index" lang="sl">
<!-- please do not change the id; for translations, change lang to -->
<!-- appropriate code -->
  <articleinfo> 
    <title lang="en">User manual for GHex</title>

    <abstract role="description">
      <para lang="en">
      GHex is a simple binary editor. It lets users view and edit a binary
      file in both hex and ascii with a multiple level undo/redo mechanism.
      Features include find and replace functions, conversion between binary,
      octal, decimal and hexadecimal values, and use of an alternative,
      user-configurable MDI concept that lets users edit multiple documents
      with multiple views of each.
      </para>
    </abstract>

    <copyright lang="en"> 
      <year>2002</year> 
      <year>2003</year> 
      <year>2004</year> 
      <holder>Sun Microsystems</holder> 
    </copyright> 
    <copyright lang="en"> 
      <year>1998-2000</year>	 
      <holder>Jaka Mocnik</holder> 
    </copyright>
	<!-- translators: uncomment this:
  	<copyright>
   	  <year>2002</year>
      <holder>ME-THE-TRANSLATOR (Latin translation)</holder>
  	</copyright>
   	-->

    <publisher role="maintainer">
      <publishername lang="en"> GNOME Documentation Project </publishername> 
    </publisher> 

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="legal.xml"/>
    <!-- This file  contains link to license for the documentation (GNU FDL), and
        other legal stuff such as "NO WARRANTY" statement. Please do not change 
	any of this. -->

    <authorgroup> 
      <author lang="en"> 
		<firstname>Sun</firstname> 
		<surname>GNOME Documentation Team</surname> 
		<affiliation> 
	  		<orgname>Sun Microsystems</orgname>
	  		<address/> 
		</affiliation> 
      </author> 
      <author lang="en"> 
		<firstname>Jaka</firstname> 
		<surname>Mocnik</surname> 
		<affiliation> 
	  		<orgname>GNOME Documentation Project</orgname> 
	  		<address> <email>jaka@gnu.org</email> </address> 
		</affiliation> 
      </author> 
<!-- This is appropriate place for other contributors: translators,
      maintainers,  etc. Commented out by default.
      <othercredit role="translator">
		<firstname>Latin</firstname> 
		<surname>Translator 1</surname> 
		<affiliation> 
	 		<orgname>Latin Translation Team</orgname> 
	  		<address> <email>translator@gnome.org</email> </address> 
		</affiliation>
		<contrib>Latin translation</contrib>
      </othercredit>
-->
    </authorgroup>
 
    <revhistory>
      <revision lang="en"> 
			<revnumber>GHex Manual V2.5</revnumber> 
			<date>December 2005</date> 
			<revdescription> 
	  			<para role="author" lang="en">Sun GNOME Documentation Team</para>
	  			<para role="publisher" lang="en">GNOME Documentation Project</para>
			</revdescription> 
      </revision> 
      <revision lang="en"> 
			<revnumber>GHex Manual V2.4</revnumber> 
			<date>April 2003</date> 
			<revdescription> 
	  			<para role="author" lang="en">Sun GNOME Documentation Team</para>
	  			<para role="publisher" lang="en">GNOME Documentation Project</para>
			</revdescription> 
      </revision>
      <revision lang="en"> 
			<revnumber>GHex Manual V2.3</revnumber> 
			<date>August 2002</date> 
			<revdescription> 
	  			<para role="author" lang="en">Sun GNOME Documentation Team</para>
	  			<para role="publisher" lang="en">GNOME Documentation Project</para>
			</revdescription> 
      </revision>
      <revision lang="en"> 
			<revnumber>GHex Manual V2.2</revnumber> 
			<date>August 2002</date> 
			<revdescription> 
	  			<para role="author" lang="en">Sun GNOME Documentation Team</para>
	  			<para role="publisher" lang="en">GNOME Documentation Project</para>
			</revdescription> 
      </revision>
      <revision lang="en"> 
			<revnumber>GHex Manual V2.1</revnumber> 
			<date>July 2002</date> 
			<revdescription> 
	  			<para role="author" lang="en">Sun GNOME Documentation Team</para>
	  			<para role="publisher" lang="en">GNOME Documentation Project</para>
			</revdescription> 
      </revision> 
      <revision lang="en"> 
			<revnumber>GHex Manual V2.0</revnumber> 
			<date>March 2002</date> 
			<revdescription> 
	  			<para role="author" lang="en">Sun GNOME Documentation Team</para>
	  			<para role="publisher" lang="en">GNOME Documentation Project</para>
			</revdescription> 
      </revision> 
      <revision lang="en"> 
			<revnumber>GHex Manual V1.0</revnumber> 
			<date>2000</date> 
			<revdescription> 
	  			<para role="author" lang="en">Jaka Mocnik
	    		<email>jaka@gnu.org</email>
	  			</para>
	  			<para role="publisher" lang="en">GNOME Documentation Project</para>
			</revdescription> 
      </revision> 
    </revhistory> 

    <releaseinfo lang="en">This manual describes version 2.19 of GHex.
    </releaseinfo> 
    <legalnotice> 
      <title>Odziv</title> 
      <para lang="en">To report a bug or make a suggestion regarding the GHex application or this manual, follow the directions in the <ulink url="help:gnome-feedback" type="help">GNOME Feedback Page</ulink>. 
      </para>
<!-- Translators may also add here feedback address for translations -->
    </legalnotice> 
  </articleinfo> 

  <indexterm lang="en"> 
    <primary>GHex</primary> 
  </indexterm> 


<!-- ============= Document Body ============================= -->

<!-- ============= Introduction ============================== -->

<sect1 id="ghex-intro">
<title>Uvod</title>
<para lang="en">The <application>GHex</application> application enables you to perform the following actions:</para>
<itemizedlist>
<listitem><para lang="en">View a file in ASCII or hexadecimal format simultaneously. </para>
</listitem>
<listitem><para lang="en">Edit a file in either ASCII or hexadecimal format.</para>
</listitem>
</itemizedlist>
</sect1>

<!-- ============= Getting Started ============================== -->

<sect1 id="ghex-getting-started">
<title lang="en">Getting Started</title>

<!-- ============= To Start GHex ============================== -->

<sect2 id="ghex-to-start">
<title lang="en">To Start GHex</title>

<para lang="en">You can start <application>GHex</application> in the following ways:</para>
<variablelist>
<varlistentry>
<term lang="en"><guimenu>Applications</guimenu> menu</term>
<listitem>
<para lang="en">Choose <menuchoice><guisubmenu>Accessories</guisubmenu><guimenuitem>Hex Editor</guimenuitem></menuchoice>. </para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en">Command line</term>
<listitem>
<para lang="en">Execute the following command: <command>ghex</command></para>
</listitem>
</varlistentry>
</variablelist>
</sect2>

<sect2 id="ghex-when-you-start">
<title lang="en">When You Start GHex</title>

<para lang="en">When you start <application>GHex</application>, the following window is displayed.</para>

<!-- ==== Figure ==== -->
<figure id="ghex-window-empty">
<title lang="en">GHex Window Before You Open a File</title>
<screenshot>
 <mediaobject lang="en">
   <imageobject>
     <imagedata fileref="figures/ghex_window_empty.png" format="PNG"/>
   </imageobject>
 <textobject>
   <phrase>Shows GHex main window before you open a file.</phrase>
 </textobject>
 </mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->

</sect2>


<!-- ============= To Open a file ============================== -->

<sect2 id="ghex-open-file">
<title lang="en">To Open a File</title>
<para lang="en">To open a file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem></menuchoice>. Select the file that you want to open, then click <guibutton>OK</guibutton>. You can open multiple files in <application>GHex</application>. <application>GHex</application> displays each file in a new window.</para>
<para lang="en">When you open a file in <application>GHex</application>, the application displays the file in the following window.</para>

<!-- ==== Figure ==== -->
<figure id="ghex-window-open">
<title lang="en">GHex Window with an Open File</title>
<screenshot>
 <mediaobject lang="en">
   <imageobject>
     <imagedata fileref="figures/ghex_window_open.png" format="PNG"/>
   </imageobject>
 <textobject>
   <phrase>Shows GHex main window with an open file</phrase>
 </textobject>
 </mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->

<para lang="en">The <application>GHex</application> window contains the following elements: </para>
<variablelist>
<varlistentry>
<term lang="en">Menubar</term>
<listitem>
<para lang="en">The menus on the menubar contain all the commands that you need to work with files in <application>GHex</application>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en">Cursor offsets column</term>
<listitem>
<para lang="en">The cursor offset is the distance between the beginning of the file and the first byte in each line. By default, <application>GHex</application> displays the cursor offsets column to the left of the hexadecimal view.</para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en">Display pane on left side</term>
<listitem>
<para lang="en">The display pane on the left side of the display area displays a hexadecimal view of the file.</para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en">Display pane on right side</term>
<listitem>
<para lang="en">The display pane on the right side of the display area displays an ASCII view of the file.</para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en">Type conversion dialog</term>
<listitem>
<para lang="en">The type conversion dialog below the display area displays the value of the selected character in several different numeric types.</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

<!-- ============= Usage ============================== -->

<sect1 id="ghex-usage">
<title lang="en">Usage</title>

<!-- ============= To Edit a File ============================== -->

<sect2 id="ghex-edit-file">
<title lang="en">To Edit a File</title>
<para lang="en">To edit a file, perform the following steps: </para>
<orderedlist>
<listitem><para lang="en">Click in the hexadecimal or ASCII view of the file. The view in which the cursor is active displays a full cursor. The view in which the cursor is not active displays an outline of the cursor. </para>
</listitem>
<listitem><para lang="en">Use any of the following methods to move the cursor around the file:</para>
<itemizedlist>
<listitem><para lang="en">Use the scrollbar on the window or the arrow keys on the keyboard to scroll through the file.</para>
</listitem>
<listitem><para lang="en">Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Goto Byte</guimenuitem></menuchoice>, type the cursor offset as a decimal or hexadecimal value, then click <guibutton>OK</guibutton>. The format of the hexadecimal value must be 0x followed by the offset, for example 0x3.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem><para lang="en">Edit the ASCII format in the same way you edit a normal text file. To edit the hexadecimal format, use the values 0 to 9 and a to f.</para>
</listitem>
</orderedlist>
<para lang="en">To insert data and not overwrite existing data, choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Insert Mode</guimenuitem></menuchoice>.</para>
<para lang="en">To cut, copy, and paste data, choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Cut</guimenuitem></menuchoice>, <menuchoice><guimenu>Edit</guimenu><guimenuitem>Copy</guimenuitem></menuchoice>, and <menuchoice><guimenu>Edit</guimenu><guimenuitem>Paste</guimenuitem></menuchoice>.</para>
<para lang="en">To undo an edit, choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Undo</guimenuitem></menuchoice>. To redo an edit, choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Redo</guimenuitem></menuchoice>. The number of previous edits that you can undo is determined by the <guilabel>Maximum number of undo levels</guilabel> setting in the <xref linkend="ghex-prefs-editing"/> tabbed section of the <guilabel>Preferences</guilabel> dialog.  </para>
</sect2>

<!-- ============= To Save a File ============================== -->

<sect2 id="ghex-save-file">
<title lang="en">To Save a File</title>
<para lang="en">You can save a file in the following ways:</para>
<itemizedlist>
<listitem><para lang="en">To save changes to the current file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Save</guimenuitem></menuchoice>.</para>
</listitem>
<listitem><para lang="en">To save the current file under a new filename, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Save As</guimenuitem></menuchoice>. Enter a name for the file in the <guilabel>Select a file to save buffer as</guilabel> dialog, then click <guibutton>OK</guibutton>.</para>
</listitem>
</itemizedlist>
</sect2>

<!-- ============= To Revert a File ===================== -->

<sect2 id="ghex-revert">
<title lang="en">To Revert to the Last Saved Version of a File</title>
<para lang="en">To revert to the last version of the current file that you saved and undo all of the edits that you made to the file since you last saved the file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Revert</guimenuitem></menuchoice>, then click <guibutton>Yes</guibutton> in the <guilabel>Question</guilabel> dialog.</para>
</sect2>

<!-- ============= To Find Data in a File ============================== -->

<sect2 id="ghex-find-data">
<title lang="en">To Find Data in a File</title>
<para lang="en">To search a file for a hexadecimal or ASCII string, perform the following steps: </para>
<orderedlist>
<listitem><para lang="en">Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Find</guimenuitem></menuchoice>.</para>
</listitem>
<listitem><para lang="en">In the <guilabel>Find Data</guilabel> dialog, choose one of the following options:</para>
<itemizedlist>
<listitem><para lang="en"><guilabel>Search for hex data</guilabel></para>
</listitem>
<listitem><para lang="en"><guilabel>Search for ASCII data</guilabel></para>
</listitem>
</itemizedlist>
</listitem>
<listitem><para lang="en">Type the string that you want to find.</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Find Next</guibutton> to find the next occurrence of the string.</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Find Previous</guibutton> to find the previous occurrence of the string.</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Cancel</guibutton> to close the <guilabel>Find Data</guilabel> dialog.</para>
</listitem>
</orderedlist>
</sect2>

<!-- ============= To Perform an Advanced Find ============================== -->

<sect2 id="ghex-find-data-adv">
<title lang="en">To Perform an Advanced Find</title>
<para lang="en">To perform an advanced find, perform the following steps: </para>
<orderedlist>
<listitem><para lang="en">Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Advanced Find</guimenuitem></menuchoice>.</para>
</listitem>
<listitem><para lang="en">In the <guilabel>Find Data</guilabel> dialog, select the required search criteria. For information about how to add new search criteria, see <xref linkend="ghex-search-criteria-add"/>.
</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Find Next</guibutton> to find the next occurrence of the string.</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Find Previous</guibutton> to find the previous occurrence of the string.</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Close</guibutton> to close the <guilabel>Find Data</guilabel> dialog.</para>
</listitem>
</orderedlist>
</sect2>

<!-- ============= To Add Search Criteria  ============================== -->

<sect2 id="ghex-search-criteria-add">
<title lang="en">To Add Search Criteria</title>
<para lang="en">To add search criteria, perform the following steps: </para>
<orderedlist>
<listitem><para lang="en">Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Advanced Find</guimenuitem></menuchoice>.</para>
</listitem>
<listitem><para lang="en">In the <guilabel>Find Data</guilabel> dialog, click <guibutton>Add New</guibutton>.</para>
</listitem>
<listitem><para lang="en">In the <guilabel>Find Data: Add Search</guilabel> dialog, choose one of the following options:</para>
<itemizedlist>
<listitem><para lang="en"><guilabel>Search for hex data</guilabel></para>
</listitem>
<listitem><para lang="en"><guilabel>Search for ASCII data</guilabel></para>
</listitem>
</itemizedlist>
</listitem>
<listitem><para lang="en">Type the string that you want to find.</para>
</listitem>
<listitem><para lang="en">Use the color wheel or the spin boxes to select a color to highlight the search criteria.
</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Add</guibutton>. </para>
</listitem>
<listitem><para lang="en">Click <guibutton>Cancel</guibutton> to close the <guilabel>Find Data</guilabel> dialog.</para>
</listitem>
</orderedlist>
</sect2>

<sect2 id="ghex-search-criteria-remove">
<title lang="en">To Remove Search Criteria</title>
<para lang="en">To remove search criteria, perform the following steps: </para>
<orderedlist>
<listitem><para lang="en">Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Advanced Find</guimenuitem></menuchoice>.</para>
</listitem>
<listitem><para lang="en">In the <guilabel>Find Data</guilabel> dialog, select the search criteria that you want to remove.  </para>
</listitem>
<listitem><para lang="en">Click <guibutton>Remove Selected</guibutton>.</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Cancel</guibutton> to close the <guilabel>Find Data</guilabel> dialog.</para>
</listitem>
</orderedlist>
</sect2>

<!-- ============= To Find and Replace Data in a File ====================== -->

<sect2 id="ghex-find-replace-data">
<title lang="en">To Find and Replace Data in a File</title>
<para lang="en">To search a file for a hexadecimal or ASCII string and then replace the string, perform the following steps:</para>
<orderedlist>
<listitem><para lang="en">Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Replace</guimenuitem></menuchoice>.</para>
</listitem>
<listitem><para lang="en">In the <guilabel>Find &amp; Replace Data</guilabel> dialog, choose one of the following options:</para>
<itemizedlist>
<listitem><para lang="en"><guilabel>Replace hex data</guilabel></para>
</listitem>
<listitem><para lang="en"><guilabel>Replace ASCII data</guilabel></para>
</listitem>
</itemizedlist>
</listitem>
<listitem><para lang="en">In the first text box, type the string that you want to find. </para>
</listitem>
<listitem><para lang="en">In the second text box, type the string that you want to use to replace the string that you find.</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Find Next</guibutton>.</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Replace</guibutton> to replace the current occurrence of the string or click <guibutton>Replace All</guibutton> to replace all occurrences of the string.</para>
</listitem>
<listitem><para lang="en">Click <guibutton>Cancel</guibutton> to close the <guilabel>Find &amp; Replace Data</guilabel> dialog.</para>
</listitem>
</orderedlist>
</sect2>

<!-- ========== To Add or Remove Additional Views of a File ================ -->

<sect2 id="ghex-add-remove-views">
<title lang="en">To Add or Remove Additional Views of a File</title>
<para lang="en">To add another view of the current file to your <application>GHex</application> window, choose <menuchoice><guimenu>View</guimenu><guimenuitem>Add View</guimenuitem></menuchoice>. </para>
<para lang="en">To remove a view of the current file, choose <menuchoice><guimenu>View</guimenu><guimenuitem>Remove View</guimenuitem></menuchoice>. If you remove the last view that is open, the application exits.</para>
</sect2>

<!-- ========== To Change the Data Grouping ================ -->

<sect2 id="ghex-data-group">
<title lang="en">To Change the Data Group Type</title>
<para lang="en">To change how <application>GHex</application> displays the hexadecimal content of a file in the <application>GHex</application> window, choose <menuchoice><guimenu>View</guimenu><guimenuitem>Group Data As</guimenuitem></menuchoice>, then select one of the following menu items: </para>
<itemizedlist>
<listitem><para lang="en"><guilabel>Bytes</guilabel> - single bytes</para>
</listitem>
<listitem><para lang="en"><guilabel>Words</guilabel> - groups of two bytes</para>
</listitem>
<listitem><para lang="en"><guilabel>Longwords</guilabel> - groups of four bytes</para>
</listitem>
</itemizedlist>
</sect2>

<!-- ============= To Export the GHex Display to HTML =================== -->

<sect2 id="ghex-export-to-html">
<title lang="en">To Export the GHex Display to HTML</title>
<para lang="en">To export the data contained in the <application>GHex</application> window to HTML, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Save As HTML</guimenuitem></menuchoice>. Choose a directory and specify a filename for the HTML file, then click <guibutton>OK</guibutton>. <application>GHex</application> implements the following actions: <itemizedlist>
<listitem><para lang="en">Creates a separate HTML file for each page of data that is displayed in the <application>GHex</application> window.</para>
</listitem>
<listitem><para lang="en">Uses the HTML filename that you specify as the basis for the filename. </para>
</listitem>
<listitem><para lang="en">Appends a page number to the filename to differentiate the files.</para>
</listitem>
</itemizedlist> For example, if you specify the filename <filename>log.html</filename>, <application>GHex</application> creates a series of HTML files named <filename>log00000000.html</filename>, <filename>log00000001.html</filename>, <filename>log00000002.html</filename>, and so on.</para>
</sect2>

<!-- ============= To View a Character Table ================ -->

<sect2 id="ghex-view-character-table">
<title lang="en">To View a Character Table</title>
<para lang="en">To view a table that contains the ASCII, hexadecimal, decimal, octal, and binary representations for the values 0 to 255, choose <menuchoice><guimenu>Windows</guimenu><guimenuitem>Character Table</guimenuitem></menuchoice>.</para>
</sect2>

<!-- ============= To View Data Conversions ===================== -->

<sect2 id="ghex-view-data-conversions">
<title lang="en">To View Data Conversions</title>
<para lang="en">To display the binary, decimal, hexadecimal, and ASCII conversions for up to four bytes of data, perform the following steps:</para>
<orderedlist>
<listitem><para lang="en">Choose <menuchoice><guimenu>Windows</guimenu><guimenuitem>Base Converter</guimenuitem></menuchoice>.</para>
</listitem>
<listitem><para lang="en">Perform one of the following actions:</para>
	<itemizedlist>
	<listitem><para lang="en">Type the data that you want to convert in one of the fields in the <guilabel>Base Converter</guilabel> dialog, then press <keycap>Return</keycap>.</para> 
	</listitem>
	<listitem><para lang="en">To display the conversions for the data at the cursor position in the current file, click on the <guibutton>Get cursor value</guibutton> button.</para>
	</listitem>
	</itemizedlist>
	<para lang="en"><application>GHex</application> updates the values of the other fields to display the data conversions. </para>
</listitem>
<listitem><para lang="en">Click <guibutton>Close</guibutton> to close the <guilabel>Base Converter</guilabel> dialog.</para>
</listitem>
</orderedlist>
</sect2>

<!-- ============= To View the Type Conversion Dialog ================ -->

<sect2 id="ghex-view-type-conversion">
<title lang="en">To Show or Hide the Type Conversion Dialog</title>
<para lang="en">To show or hide the type conversion dialog, choose <menuchoice><guimenu>Windows</guimenu><guimenuitem>Type Conversion Dialog</guimenuitem></menuchoice>.</para>
<para lang="en">The type conversion dialog displays the value of the selected character in the following representations: </para>
<itemizedlist>
<listitem>
<para lang="en"><guilabel>Signed 8 bit</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>Unsigned 8 bit</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>Signed 16 bit</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>Unsigned 16 bit</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>Signed 32 bit</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>Unsigned 32 bit</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>32 bit float</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>64 bit float</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>Hexadecimal</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>Octal</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>Binary</guilabel></para>
</listitem>
<listitem>
<para lang="en"><guilabel>Stream Length</guilabel></para>
</listitem>
</itemizedlist>
<para lang="en">The type conversion dialog also contains the following options: </para>
<variablelist>
<varlistentry>
<term lang="en"><guilabel>Show little endian decoding</guilabel></term>
<listitem>
<para lang="en">Select this option to show little endian decoding.</para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en"><guilabel>Show unsigned and float as hexadecimal</guilabel></term>
<listitem>
<para lang="en">Select this option to show unsigned and float numbers as hexadecimal numbers.</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>

<!-- ============= To Print a File ===================== -->

<sect2 id="ghex-print-file">
<title lang="en">To Print a File</title>
<para lang="en">To print a file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Print</guimenuitem></menuchoice>. Select the print options that you require in the <guilabel>Print</guilabel> dialog, then click <guibutton>OK</guibutton>. </para>
<para lang="en">To preview a printed copy of the file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Print Preview</guimenuitem></menuchoice>.</para>
</sect2>

</sect1>

<!-- ============= Customization ============================== -->

<sect1 id="ghex-prefs">
<title lang="en">Preferences</title>
<para lang="en">To configure <application>GHex</application>, choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice>. The <guilabel>Preferences</guilabel> dialog contains the following tabbed sections:</para>
<itemizedlist>
<listitem><para><xref linkend="ghex-prefs-editing"/></para>
</listitem>
<listitem><para><xref linkend="ghex-prefs-display"/></para>
</listitem>
<listitem><para><xref linkend="ghex-prefs-printing"/></para>
</listitem>
</itemizedlist>

<!-- ============= Editing Tabbed Section ============================== -->

<sect2 id="ghex-prefs-editing">
<title lang="en">Editing</title>
<variablelist>
<varlistentry>
<term lang="en"><guilabel>Maximum number of undo levels</guilabel> </term>
<listitem>
<para lang="en">Use this spin box to specify the maximum number of edits that you can undo. </para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en"><guilabel>Show cursor offset in statusbar as</guilabel> </term>
<listitem>
<para lang="en">Use this drop-down list to select the format in which the cursor offset is displayed. The format can be decimal, hexadecimal, or a custom print style string that only contains the format specifiers x, o, and s. </para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en"><guilabel>Show offsets column</guilabel> </term>
<listitem>
<para lang="en">Select this option to display the cursor offsets in a column to the left of the hexadecimal view of the <application>GHex</application> window. </para>
</listitem>
</varlistentry>
</variablelist>
</sect2>

<!-- ============= Display Tabbed Section ======================== -->

<sect2 id="ghex-prefs-display">
<title lang="en">Display</title>
<variablelist>
<varlistentry>
<term lang="en"><guilabel>Font</guilabel> </term>
<listitem>
<para lang="en">Use the font selector list boxes to edit the existing font information or type new font information. Specify a font type, style, and size to display the contents of files in <application>GHex</application>.  </para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en"><guilabel>Default Group Type</guilabel> </term>
<listitem>
<para lang="en">Select one of the following options to specify how <application>GHex</application> displays the hexadecimal content of a file in the <application>GHex</application> window: </para>
<itemizedlist>
<listitem><para lang="en"><guilabel>Bytes</guilabel> - single bytes</para>
</listitem>
<listitem><para lang="en"><guilabel>Words</guilabel> - groups of two bytes</para>
</listitem>
<listitem><para lang="en"><guilabel>Longwords</guilabel> - groups of four bytes</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
</variablelist>
</sect2>

<!-- ============= Printing Tabbed Section ============================== -->

<sect2 id="ghex-prefs-printing">
<title lang="en">Printing</title>
<variablelist>
<varlistentry>
<term lang="en"><guilabel>Data font</guilabel> </term>
<listitem>
<para lang="en">Click on the <guibutton>Data font</guibutton> button to specify the font type, style, and size to use to print the data contained in a file. </para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en"><guilabel>Header font</guilabel> </term>
<listitem>
<para lang="en">Click on the <guibutton>Header font</guibutton> button to specify the font type, style, and size to use to print the header information that is contained in the file. </para>
</listitem>
</varlistentry>
<varlistentry>
<term lang="en"><guilabel>Print shaded box over</guilabel> </term>
<listitem>
<para lang="en">Use this spin box to specify the number of lines that <application>GHex</application> alternately prints with a surrounding shaded box. If the value of the spin box is 10, <application>GHex</application> prints the first 10 lines of the file without a shaded box, the next 10 lines with a shaded box, and so on. If the value of the spin box is 0, <application>GHex</application> does not print any shaded box.</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

</article>
