aboutsummaryrefslogtreecommitdiffstats
path: root/dhexrc.5
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-10-30 21:29:30 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-10-30 21:29:30 +0000
commitb870e05547bc189f29569a5d21db0c875c8f9983 (patch)
treea212cc6320af4d156c1fc364311916aed365f837 /dhexrc.5
parent62f81e5cafbacfb90ac0f86e52e8e3176aa5ba8f (diff)
downloaddhex-fc075d3c325a43dadecd5a30b5257718391fce1a.tar.gz
Imported Upstream version 0.67upstream/0.67
Diffstat (limited to '')
-rw-r--r--dhexrc.510
1 files changed, 7 insertions, 3 deletions
diff --git a/dhexrc.5 b/dhexrc.5
index 69e5344..5a3fe31 100644
--- a/dhexrc.5
+++ b/dhexrc.5
@@ -1,7 +1,7 @@
.\" Process this file with
.\" groff -man -Tascii dhex.1
.\"
-.Dd January 28, 2011
+.Dd May 12, 2012
.Os
.Dt DHEXRC 5
.
@@ -52,6 +52,8 @@ A typical .dhexrc file looks like this:
.br
.Ql HEADLINE: FG=BLUE,BG=BLACK,BOLD
.br
+.Ql HEADER: FG=BLACK,BG=CYAN
+.br
.br
.Ql KEYF1:1b 5b 31 31 7e
.br
@@ -104,7 +106,7 @@ In the example above, the dhexrc file has three distinct sections: A comment sec
.Ss Comments
Comments are indicated with a '#' character. Everything afterwards in a line is being ignored when parsing the file
.Ss Color section
-There are 13 color groups. Each of the color group has a foreground color, a background color and some extra flags, coming from ncurses. The foreground color is being defined by
+There are 14 color groups. Each of the color group has a foreground color, a background color and some extra flags, coming from ncurses. The foreground color is being defined by
.Nm FG=
while the background color is being defined by
.Nm BG=.
@@ -163,6 +165,8 @@ Differences in the file's content (either because of changes or because dhex is
If the cursor is on one of those differences, it will have this color.
.It HEADLINE:
On top of the screen, there is a headline. Which is shown in this color.
+.It HEADER:
+In the headline, there are brackets. Within those brackets is the header. It tells you what the window is all about.
.El
.Ss Key conversion tab section
When pressing a "standard" key, something which can be mapped directly to an ascii character, only this character will end up in ncurses' buffer. However, pressing special keys like (for example)
@@ -195,7 +199,7 @@ will produce longer sequences. Mapping those sequences back to a specific key is
and
.Nm KEYEND .
.Pp
-Sequences itself are a string of lower case hex-values, each two nibbles long. Currently, there is no way of adding an alternativ sequence to the same key.
+Sequences itself are a string of lower case hex-values, each two nibbles long. Currently, there is no way of adding an alternative sequence to the same key.
.Pp
It is possible that the sequence made up of hex values does not REALLY belong to the key. (For example if F2 was pressed in the setup program when F1 was prompted).
However, when this sequence ends up in the ncurses buffer, it is being interpreted as if that key was pressed.