/{x;p' -e '}' \
+ -e '/
/,$p' < $infile
+
+# exit normally
+exit 0
diff --git a/src/qtgui/mtpics/sidux-book.png b/src/qtgui/mtpics/sidux-book.png
new file mode 100644
index 00000000..909a4118
Binary files /dev/null and b/src/qtgui/mtpics/sidux-book.png differ
diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf
index e5faa215..69aba0b9 100644
--- a/src/sampleconf/mimeconf
+++ b/src/sampleconf/mimeconf
@@ -1,4 +1,4 @@
-# @(#$Id: mimeconf,v 1.38 2008-02-05 10:45:01 dockes Exp $ (C) 2004 J.F.Dockes
+# @(#$Id: mimeconf,v 1.39 2008-06-09 09:12:05 dockes Exp $ (C) 2004 J.F.Dockes
# Recoll : associations of mime types to processing filters.
# There are different sections for decompression, 'interning' for indexing
@@ -62,6 +62,7 @@ text/html = internal
text/plain = internal
text/rtf = exec rclrtf
text/x-gaim-log = exec rclgaim
+text/x-html-sidux-man = exec rclsiduxman
text/x-mail = internal
text/x-man = exec rclman
@@ -103,6 +104,7 @@ message/rfc822 = message
text/html = html
text/plain = txt
text/x-c = source
+text/x-html-sidux-man = sidux-book
text/x-mail = message
text/x-man = document
@@ -126,6 +128,7 @@ text = \
text/html \
text/plain \
text/rtf \
+ text/x-html-sidux-man \
text/x-man
spreadsheet = application/vnd.ms-excel \
diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap
index 4ca009a3..92a06ac0 100644
--- a/src/sampleconf/mimemap
+++ b/src/sampleconf/mimemap
@@ -1,4 +1,4 @@
-# @(#$Id: mimemap,v 1.29 2008-02-03 16:24:16 dockes Exp $ (C) 2004 J.F.Dockes
+# @(#$Id: mimemap,v 1.30 2008-06-09 09:12:05 dockes Exp $ (C) 2004 J.F.Dockes
# Recoll: associations of file name extensions to mime types
.txt = text/plain
@@ -94,6 +94,11 @@ recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \
[~/.gaim]
.txt = text/x-gaim-log
+# Special handling of sidux manual menu system
+[/usr/share/sidux-manual]
+.htm = text/x-html-sidux-man
+.html = text/x-html-sidux-man
+
# Manual files. You may want to adjust the location for your system
# We can't use the default text/troff type because this doesn't say
# what macro set to use (groff -man)
diff --git a/src/sampleconf/mimeview b/src/sampleconf/mimeview
index c6386200..ddbb9de6 100644
--- a/src/sampleconf/mimeview
+++ b/src/sampleconf/mimeview
@@ -1,4 +1,4 @@
-# @(#$Id: mimeview,v 1.11 2008-02-03 16:24:16 dockes Exp $ (C) 2004 J.F.Dockes
+# @(#$Id: mimeview,v 1.12 2008-06-09 09:12:05 dockes Exp $ (C) 2004 J.F.Dockes
## ##########################################
# External viewers, launched by the recoll GUI when you click on a result
@@ -45,3 +45,5 @@ image/vnd.djvu = djview %f
text/html = firefox %u
text/plain = gnuclient -q %f
text/x-c = gnuclient -q %f
+text/x-html-sidux-man = konqueror %f
+#text/x-html-sidux-man = iceweasel %f