From 238d3dd4c21ffda9ba6bb7e9c7926fc0db006c9c Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 10 Jul 2001 19:54:39 +0000 Subject: [PATCH] * doc/mc.1.in: Update documentation about hex search. --- ChangeLog | 2 ++ doc/mc.1.in | 13 +++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 59d35b5bd..fc6748522 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-07-10 Pavel Roskin + * 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 diff --git a/doc/mc.1.in b/doc/mc.1.in index 2a6c7dbe8..6b987b9de 100644 --- a/doc/mc.1.in +++ b/doc/mc.1.in @@ -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;