From d0a51ecb86cae5f1756fcacbae7dc2deddec52d1 Mon Sep 17 00:00:00 2001
From: Mooffie <mooffie@gmail.com>
Date: Mon, 26 Sep 2016 13:19:44 +0300
Subject: [PATCH] Hex patterns: fix manual page.
* Decimal and octal numerals aren't supported(!).
* Negative numbers are no longer supported since commit
8a0a49c07e0725891db89b773b3e4a6c9974ed03
---
doc/man/mc.1.in | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/doc/man/mc.1.in b/doc/man/mc.1.in
index 901efd3..0c07df8 100644
a
|
b
|
the quotes. Each number matches one byte. You can mix quoted text |
2894 | 2894 | with constants like this: |
2895 | 2895 | .PP |
2896 | 2896 | .nf |
2897 | | "String" \-1 0xBB 012 "more text" |
| 2897 | "String" 34 0xBB 012 "more text" |
2898 | 2898 | .fi |
2899 | 2899 | .PP |
2900 | | Note that 012 is an octal number. \-1 is converted to 0xFF. |
| 2900 | Numbers are always interpreted in hex. In the example above, "34" is |
| 2901 | interpreted as 0x34. The prefix "0x" isn't really needed: we could type |
| 2902 | "BB" instead of "0xBB". And "012" is interpreted as 0x12, not as an octal |
| 2903 | number. |
2901 | 2904 | .PP |
2902 | 2905 | Here is a listing of the actions associated with each key that the |
2903 | 2906 | Midnight Commander handles in the internal file viewer. |