<?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="zh_TW">
<!-- please do not change the id; for translations, change lang to -->
<!-- appropriate code -->
  <articleinfo> 
    <title>User manual for GHex</title>

    <abstract role="description">
      <para>
      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> 
      <year>2002</year> 
      <year>2003</year> 
      <year>2004</year> 
      <holder>Sun Microsystems</holder> 
    </copyright> 
    <copyright> 
      <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> 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> 
		<firstname>Sun</firstname> 
		<surname>GNOME 文件小組</surname> 
		<affiliation> 
	  		<orgname>Sun Microsystems</orgname>
	  		<address/> 
		</affiliation> 
      </author> 
      <author> 
		<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> 
			<revnumber>GHex</revnumber> 
			<date>December 2005</date> 
			<revdescription> 
	  			<para role="author">Sun GNOME Documentation Team</para>
	  			<para role="publisher">GNOME Documentation Project</para>
			</revdescription> 
      </revision> 
      <revision> 
			<revnumber>GHex Manual V2.4</revnumber> 
			<date>April 2003</date> 
			<revdescription> 
	  			<para role="author">Sun GNOME Documentation Team</para>
	  			<para role="publisher">GNOME Documentation Project</para>
			</revdescription> 
      </revision>
      <revision> 
			<revnumber>GHex Manual V2.3</revnumber> 
			<date>2002 年 8 月</date> 
			<revdescription> 
	  			<para role="author">Sun GNOME Documentation Team</para>
	  			<para role="publisher">GNOME Documentation Project</para>
			</revdescription> 
      </revision>
      <revision> 
			<revnumber>GHex 手冊 V2.2</revnumber> 
			<date>2002 年 8 月</date> 
			<revdescription> 
	  			<para role="author">Sun GNOME Documentation Team</para>
	  			<para role="publisher">GNOME Documentation Project</para>
			</revdescription> 
      </revision>
      <revision> 
			<revnumber>GHex 手冊 V2.1</revnumber> 
			<date>2002 年 7 月</date> 
			<revdescription> 
	  			<para role="author">Sun GNOME Documentation Team</para>
	  			<para role="publisher">GNOME Documentation Project</para>
			</revdescription> 
      </revision> 
      <revision> 
			<revnumber>GHex 手冊 V2.0</revnumber> 
			<date>2002 年 3 月</date> 
			<revdescription> 
	  			<para role="author">Sun GNOME Documentation Team</para>
	  			<para role="publisher">GNOME Documentation Project</para>
			</revdescription> 
      </revision> 
      <revision> 
			<revnumber>GHex 手冊 V1.0</revnumber> 
			<date>2000</date> 
			<revdescription> 
	  			<para role="author">Jaka Mocnik
	    		<email>jaka@gnu.org</email>
	  			</para>
	  			<para role="publisher">GNOME Documentation Project</para>
			</revdescription> 
      </revision> 
    </revhistory> 

    <releaseinfo>This manual describes version 2.19 of GHex.
    </releaseinfo> 
    <legalnotice> 
      <title>回饋</title> 
      <para>關於 GHex 應用程式或本手冊，如果要報告錯誤或提出建議，請遵照 <ulink url="ghelp:gnome-feedback" type="help">GNOME Feedback Page</ulink> 的指示。</para>
<!-- Translators may also add here feedback address for translations -->
    </legalnotice> 
  </articleinfo> 

  <indexterm> 
    <primary>GHex</primary> 
  </indexterm> 


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

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

<sect1 id="ghex-intro">
<title>介紹</title>
<para>您可以使用 <application>GHex</application> 應用程式，執行下列動作：</para>
<itemizedlist>
<listitem><para>同時以 ASCII 或十六進制格式檢視檔案。</para>
</listitem>
<listitem><para>以 ASCII 或十六進制格式編輯檔案。</para>
</listitem>
</itemizedlist>
</sect1>

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

<sect1 id="ghex-getting-started">
<title>入門</title>

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

<sect2 id="ghex-to-start">
<title>啟動GHex</title>

<para>您可以使用下列方式啟動 <application>GHex</application>：</para>
<variablelist>
<varlistentry>
<term><guimenu>應用程式</guimenu>功能表</term>
<listitem>
<para>請選擇<menuchoice><guisubmenu>周邊裝置</guisubmenu><guimenuitem>十六進位編輯器</guimenuitem></menuchoice>。</para>
</listitem>
</varlistentry>
<varlistentry>
<term>指令行</term>
<listitem>
<para>Execute the following command: <command>ghex</command></para>
</listitem>
</varlistentry>
</variablelist>
</sect2>

<sect2 id="ghex-when-you-start">
<title>當您啟動 GHex</title>

<para>當您啟動 <application>GHex</application> 時，會出現如下面所列的視窗。</para>

<!-- ==== Figure ==== -->
<figure id="ghex-window-empty">
<title>開啟檔案前的 GHex 視窗</title>
<screenshot>
 <mediaobject>
   <imageobject>
     <imagedata fileref="figures/ghex_window_empty.png" format="PNG"/>
   </imageobject>
 <textobject>
   <phrase>顯示開啟檔案前的 GHex 主視窗。</phrase>
 </textobject>
 </mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->

</sect2>


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

<sect2 id="ghex-open-file">
<title>開啟檔案</title>
<para>如果要開啟檔案，請選擇<menuchoice><guimenu>檔案</guimenu><guimenuitem>開啟</guimenuitem></menuchoice>。請選取要開啟的檔案，然後按一下<guibutton>確定</guibutton>。您可以在 <application>GHex</application> 中開啟多個檔案。 <application>GHex</application> 會將每個檔案分別顯示在新視窗中。</para>
<para>在 <application>GHex</application> 中開啟檔案時，本應用程式會在下面的視窗中顯示檔案。</para>

<!-- ==== Figure ==== -->
<figure id="ghex-window-open">
<title>含有開啟檔案的 GHex 視窗</title>
<screenshot>
 <mediaobject>
   <imageobject>
     <imagedata fileref="figures/ghex_window_open.png" format="PNG"/>
   </imageobject>
 <textobject>
   <phrase>顯示含有開啟檔案的 GHex 主視窗</phrase>
 </textobject>
 </mediaobject>
</screenshot>
</figure>
<!-- ==== End of Figure ==== -->

<para><application>GHex</application> 視窗中包含下列元素：</para>
<variablelist>
<varlistentry>
<term>功能表列</term>
<listitem>
<para>功能表列上的功能表，有在 <application>GHex</application> 中使用檔案時，所需要的所有指令。</para>
</listitem>
</varlistentry>
<varlistentry>
<term>游標偏移欄位</term>
<listitem>
<para>游標偏移量是指檔案開頭與各行第一個位元組之間的距離。 依預設值，<application>GHex</application> 會在十六進制檢視的左邊，顯示游標偏移量欄位。</para>
</listitem>
</varlistentry>
<varlistentry>
<term>左邊的顯示窗格</term>
<listitem>
<para>顯示區域左邊的顯示窗格，會以十六進制顯示檔案。</para>
</listitem>
</varlistentry>
<varlistentry>
<term>右邊的顯示窗格</term>
<listitem>
<para>顯示區域右邊的顯示窗格，會以 ASCII 制顯示檔案。</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Type conversion dialog</term>
<listitem>
<para>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>使用</title>

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

<sect2 id="ghex-edit-file">
<title>編輯檔案</title>
<para>如果要編輯檔案，請執行下列步驟：</para>
<orderedlist>
<listitem><para>請按一下檔案的十六進位或 ASCII 檢視。 檢視若為作用中，則會顯示完整的游標。 檢視若為非作用中，則只會顯示游標的外框。</para>
</listitem>
<listitem><para>請使用下列任一種方法，在檔案中移動游標：</para>
<itemizedlist>
<listitem><para>Use the scrollbar on the window or the arrow keys on the keyboard to scroll through the file.</para>
</listitem>
<listitem><para>請選擇<menuchoice><guimenu>編輯</guimenu><guimenuitem>到位元</guimenuitem></menuchoice>，以十進制或十六進制鍵入游標偏移量，然後按一下<guibutton>確定</guibutton>。十六進制數值的格式，必須為 0x 加上偏移量，例如 0x3。</para>
</listitem>
</itemizedlist>
</listitem>
<listitem><para>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>To insert data and not overwrite existing data, choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Insert Mode</guimenuitem></menuchoice>.</para>
<para>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>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>儲存檔案</title>
<para>您可以使用下列方式儲存檔案：</para>
<itemizedlist>
<listitem><para>如果要將變更儲存至目前的檔案，請選擇<menuchoice><guimenu>檔案</guimenu><guimenuitem>儲存</guimenuitem></menuchoice>。</para>
</listitem>
<listitem><para>如果要用新的檔名儲存目前的檔案，請選擇<menuchoice><guimenu>檔案</guimenu><guimenuitem>另存新檔</guimenuitem></menuchoice>。請在<guilabel>選擇檔案儲存緩衝區</guilabel>對話方塊中，輸入檔案的名稱，然後按一下<guibutton>確定</guibutton>。</para>
</listitem>
</itemizedlist>
</sect2>

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

<sect2 id="ghex-revert">
<title>To Revert to the Last Saved Version of a File</title>
<para>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>在檔案中尋找資料</title>
<para>如果要在檔案中搜尋十六進制或 ASCII 字串，請執行下列步驟：</para>
<orderedlist>
<listitem><para>請選擇 <menuchoice><guimenu>編輯</guimenu><guimenuitem>尋找</guimenuitem></menuchoice>。</para>
</listitem>
<listitem><para>在<guilabel>尋找資料</guilabel>對話方塊中，選擇下列任一項選項：</para>
<itemizedlist>
<listitem><para><guilabel>搜尋十六進位資料</guilabel></para>
</listitem>
<listitem><para><guilabel>搜尋 ASCII 資料</guilabel></para>
</listitem>
</itemizedlist>
</listitem>
<listitem><para>請輸入您想要尋找的字串。</para>
</listitem>
<listitem><para>按一下<guibutton>尋找下一個</guibutton>，尋找下一個符合的字串。</para>
</listitem>
<listitem><para>按一下<guibutton>尋找上一個</guibutton>，尋找上一個符合的字串。</para>
</listitem>
<listitem><para>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>To Perform an Advanced Find</title>
<para>To perform an advanced find, perform the following steps: </para>
<orderedlist>
<listitem><para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Advanced Find</guimenuitem></menuchoice>.</para>
</listitem>
<listitem><para>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>按一下<guibutton>尋找下一個</guibutton>，尋找下一個符合的字串。</para>
</listitem>
<listitem><para>按一下<guibutton>尋找上一個</guibutton>，尋找上一個符合的字串。</para>
</listitem>
<listitem><para>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>To Add Search Criteria</title>
<para>To add search criteria, perform the following steps: </para>
<orderedlist>
<listitem><para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Advanced Find</guimenuitem></menuchoice>.</para>
</listitem>
<listitem><para>In the <guilabel>Find Data</guilabel> dialog, click <guibutton>Add New</guibutton>.</para>
</listitem>
<listitem><para>In the <guilabel>Find Data: Add Search</guilabel> dialog, choose one of the following options:</para>
<itemizedlist>
<listitem><para><guilabel>搜尋十六進位資料</guilabel></para>
</listitem>
<listitem><para><guilabel>搜尋 ASCII 資料</guilabel></para>
</listitem>
</itemizedlist>
</listitem>
<listitem><para>請輸入您想要尋找的字串。</para>
</listitem>
<listitem><para>Use the color wheel or the spin boxes to select a color to highlight the search criteria.
</para>
</listitem>
<listitem><para>Click <guibutton>Add</guibutton>. </para>
</listitem>
<listitem><para>Click <guibutton>Cancel</guibutton> to close the <guilabel>Find Data</guilabel> dialog.</para>
</listitem>
</orderedlist>
</sect2>

<sect2 id="ghex-search-criteria-remove">
<title>To Remove Search Criteria</title>
<para>To remove search criteria, perform the following steps: </para>
<orderedlist>
<listitem><para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Advanced Find</guimenuitem></menuchoice>.</para>
</listitem>
<listitem><para>In the <guilabel>Find Data</guilabel> dialog, select the search criteria that you want to remove.  </para>
</listitem>
<listitem><para>Click <guibutton>Remove Selected</guibutton>.</para>
</listitem>
<listitem><para>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>在檔案中尋找並取代資料</title>
<para>如果要先在檔案中搜尋十六進制或 ASCII 字串，然後取代該字串，請執行下列步驟：</para>
<orderedlist>
<listitem><para>請選擇<menuchoice><guimenu>編輯</guimenu><guimenuitem>取代</guimenuitem></menuchoice>。</para>
</listitem>
<listitem><para>在<guilabel>尋找 &amp; 取代資料</guilabel>對話方塊中，選擇下列任一項選項：</para>
<itemizedlist>
<listitem><para><guilabel>取代十六進位資料</guilabel></para>
</listitem>
<listitem><para><guilabel>取代 ASCII 資料</guilabel></para>
</listitem>
</itemizedlist>
</listitem>
<listitem><para>請在第一個文字方塊中，輸入您想要尋找的字串。</para>
</listitem>
<listitem><para>請在第二個文字方塊中，輸入您想要取代所尋找字串的字串。</para>
</listitem>
<listitem><para>請按一下<guibutton>尋找下一個</guibutton>。</para>
</listitem>
<listitem><para>請按一下<guibutton>取代</guibutton>，取代目前所在位置的字串；或是按一下<guibutton>全部取代</guibutton>，取代所有該字串。</para>
</listitem>
<listitem><para>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>新增或移除檔案的其他檢視</title>
<para>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>如果要移除目前檔案的檢視，請選擇<menuchoice><guimenu>檢視</guimenu><guimenuitem>移除檢視</guimenuitem></menuchoice>。如果您移除的是最後一個開啟的檔案，本應用程式便會結束。</para>
</sect2>

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

<sect2 id="ghex-data-group">
<title>To Change the Data Group Type</title>
<para>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><guilabel>Bytes</guilabel> - single bytes</para>
</listitem>
<listitem><para><guilabel>Words</guilabel> - groups of two bytes</para>
</listitem>
<listitem><para><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>匯出 GHex 檢視至 HTML</title>
<para>如果要將 <application>GHex</application> 視窗中的資料匯出至 HTML，請選擇<menuchoice><guimenu>檔案</guimenu><guimenuitem>儲存為 HTML</guimenuitem></menuchoice>。請選擇目錄，並為 HTML 檔案指定檔案名稱，然後按一下<guibutton>確定</guibutton>。 <application>GHex</application> 會執行下列動作：<itemizedlist>
<listitem><para>替 <application>GHex</application> 視窗中顯示的各個資料頁，分別建立不同的 HTML 檔案。</para>
</listitem>
<listitem><para>使用所指定的 HTML 檔案名稱，作為檔名的基礎。</para>
</listitem>
<listitem><para>在檔案名稱中附加頁數，以區別檔案。</para>
</listitem>
</itemizedlist> 例如，如果您指定的檔案名稱是 <filename>log.html</filename>，<application>GHex</application> 便會建立一系列名稱為 <filename>log00000000.html</filename>、<filename>log00000001.html</filename>、<filename>log00000002.html</filename> 等等的 HTML 檔案。</para>
</sect2>

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

<sect2 id="ghex-view-character-table">
<title>檢視字元表</title>
<para>如果要檢視以 ASCII、十六進位、十進位、八進位及二進位表示法表示 0 到 255 數值的表格，請選擇<menuchoice><guimenu>視窗</guimenu><guimenuitem>字元表</guimenuitem></menuchoice>。</para>
</sect2>

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

<sect2 id="ghex-view-data-conversions">
<title>檢視資料轉換</title>
<para>如果要顯示最多四個位元組資料的二進制、十進制、十六進制以及 ASCII 轉換，請執行下列步驟：</para>
<orderedlist>
<listitem><para>請選擇<menuchoice><guimenu>視窗</guimenu><guimenuitem>基數轉換程式</guimenuitem></menuchoice>。</para>
</listitem>
<listitem><para>執行下列任一項動作：</para>
	<itemizedlist>
	<listitem><para>請在<guilabel>基數轉換程式</guilabel>對話方塊的其中一個欄位，鍵入要轉換的資料，然後按一下 <keycap>Return</keycap>。</para> 
	</listitem>
	<listitem><para>如果要在目前檔案的游標位置顯示資料轉換，請按一下<guibutton>取得游標值</guibutton>按鈕。</para>
	</listitem>
	</itemizedlist>
	<para><application>GHex</application> 會更新其他欄位的數值，顯示資料轉換。</para>
</listitem>
<listitem><para>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>To Show or Hide the Type Conversion Dialog</title>
<para>To show or hide the type conversion dialog, choose <menuchoice><guimenu>Windows</guimenu><guimenuitem>Type Conversion Dialog</guimenuitem></menuchoice>.</para>
<para>The type conversion dialog displays the value of the selected character in the following representations: </para>
<itemizedlist>
<listitem>
<para><guilabel>Signed 8 bit</guilabel></para>
</listitem>
<listitem>
<para><guilabel>Unsigned 8 bit</guilabel></para>
</listitem>
<listitem>
<para><guilabel>Signed 16 bit</guilabel></para>
</listitem>
<listitem>
<para><guilabel>Unsigned 16 bit</guilabel></para>
</listitem>
<listitem>
<para><guilabel>Signed 32 bit</guilabel></para>
</listitem>
<listitem>
<para><guilabel>Unsigned 32 bit</guilabel></para>
</listitem>
<listitem>
<para><guilabel>32 bit float</guilabel></para>
</listitem>
<listitem>
<para><guilabel>64 bit float</guilabel></para>
</listitem>
<listitem>
<para><guilabel>Hexadecimal</guilabel></para>
</listitem>
<listitem>
<para><guilabel>Octal</guilabel></para>
</listitem>
<listitem>
<para><guilabel>Binary</guilabel></para>
</listitem>
<listitem>
<para><guilabel>Stream Length</guilabel></para>
</listitem>
</itemizedlist>
<para>The type conversion dialog also contains the following options: </para>
<variablelist>
<varlistentry>
<term><guilabel>Show little endian decoding</guilabel></term>
<listitem>
<para>Select this option to show little endian decoding.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Show unsigned and float as hexadecimal</guilabel></term>
<listitem>
<para>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>列印檔案</title>
<para>如果要列印檔案，請選擇<menuchoice><guimenu>檔案</guimenu><guimenuitem>列印</guimenuitem></menuchoice>。請在<guilabel>列印</guilabel>對話方塊中，選取所需的列印選項，然後按一下<guibutton>確定</guibutton>。</para>
<para>如果要預覽列印檔案的副本，請選擇<menuchoice><guimenu>檔案</guimenu><guimenuitem>列印預視</guimenuitem></menuchoice>。</para>
</sect2>

</sect1>

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

<sect1 id="ghex-prefs">
<title>個人喜好</title>
<para>如果要配置 <application>GHex</application>，請選擇<menuchoice><guimenu>編輯</guimenu><guimenuitem>個人喜好</guimenuitem></menuchoice>。在<guilabel>個人喜好</guilabel>對話方塊中，含有下列標籤區段：</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>編輯</title>
<variablelist>
<varlistentry>
<term><guilabel>還原等級的最大值</guilabel> </term>
<listitem>
<para>Use this spin box to specify the maximum number of edits that you can undo. </para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>狀態列中顯示游標偏移量的方式</guilabel> </term>
<listitem>
<para>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><guilabel>顯示偏移量欄位</guilabel> </term>
<listitem>
<para>選取這個選項，可以在 <application>GHex</application> 視窗十六進制檢視的左邊欄位中，顯示游標偏移量。</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>

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

<sect2 id="ghex-prefs-display">
<title>顯示</title>
<variablelist>
<varlistentry>
<term><guilabel>字型</guilabel> </term>
<listitem>
<para>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><guilabel>預設群組類型</guilabel> </term>
<listitem>
<para>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><guilabel>Bytes</guilabel> - single bytes</para>
</listitem>
<listitem><para><guilabel>Words</guilabel> - groups of two bytes</para>
</listitem>
<listitem><para><guilabel>Longwords</guilabel> - groups of four bytes</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
</variablelist>
</sect2>

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

<sect2 id="ghex-prefs-printing">
<title>列印</title>
<variablelist>
<varlistentry>
<term><guilabel>資料字型</guilabel> </term>
<listitem>
<para>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><guilabel>標頭字型</guilabel> </term>
<listitem>
<para>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><guilabel>列印灰色方塊</guilabel> </term>
<listitem>
<para>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>
