/usr/share/help/oc/ghex/index.docbook is in ghex 3.8.1-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 | <?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="oc">
<!-- 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>Projècte de documentacion de GNOME</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 lang="en">Feedback</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>Introduccion</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>Per començar</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>Menut <guimenu>Applications</guimenu></term>
<listitem>
<para lang="en">Choose <menuchoice><guisubmenu>Accessories</guisubmenu><guimenuitem>Hex Editor</guimenuitem></menuchoice>. </para>
</listitem>
</varlistentry>
<varlistentry>
<term>Linha de comanda</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>Barra de menuts</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>Utilizacion</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>Clicatz sus <guibutton>Apondre</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 & 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 & 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>Preferéncias</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>Visualizar</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>Estampatge</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>
|