* doc/mc.1.in: Update documentation about hex search.

This commit is contained in:
Pavel Roskin 2001-07-10 19:54:39 +00:00
parent 3fa13073a6
commit 238d3dd4c2
2 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,7 @@
2001-07-10 Pavel Roskin <proski@gnu.org>
* doc/mc.1.in: Update documentation about hex search.
* edit/edit_key_translator.c (cooledit_key_map): Bind
Ctrl-Shift-Up and Ctrl-Shift-Down to scroll with highlight.
From Steef Boerrigter <sxmboer@sci.kun.nl>

View File

@ -2314,11 +2314,16 @@ the file type to display the information. The internal file viewer
will interpret some string sequences to set the bold and underline
attributes, thus making a pretty display of your files.
.PP
When in hex mode, the search function accepts text in quotes as well
as hexadecimal constants.
When in hex mode, the search function accepts text in quotes and
constant numbers. Text in quotes is matched exactly after removing
the quotes. Each number matches one byte. You can mix quoted text
with constants like this:
.PP
You can mix quoted text with constants like this: "String" 0xFE 0xBB
"more text". Text between constants and quoted text is just ignored.
.nf
"String" -1 0xBB 012 "more text"
.fi
.PP
Note that 012 is an octal number. -1 is converted to 0xFF.
.PP
Some internal details about the viewer: On systems that provide the
mmap(2) system call, the program maps the file instead of loading it;