Package: canto
Version: 0.6.13-1
Severity: normal
Tags: patch
Some lines of the example config are cutted. At least all handler definitons.
Cut&Pasted here:
[...]
if os.getenv("TERM") == "linux":
link_handler("elinks
else:
link_handler("iceweasel
# A dedicated image handler, that requires content
# to be fetched for it.
image_handler("xli
# A dedicated PDF handler (great for LtU)
link_handler("evince
[...]
In Canto's homepage, the example config looks like this:
[...]
if os.getenv("TERM") == "linux":
link_handler("elinks \"%u\"", text=True)
else:
link_handler("iceweasel \"%u\"")
# A dedicated image handler, that requires content
# to be fetched for it.
image_handler("xli \"%u\"", fetch=True)
# A dedicated PDF handler (great for LtU)
link_handler("evince \"%u\"", fetch=True, ext="pdf")
[...]
I send the patch to fix this, not sure if diff format is ok.
Bye,
Shagi
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=eu_ES.UTF-8, LC_CTYPE=eu_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages canto depends on:
ii libc6 2.9-12 GNU C Library: Shared libraries
ii libncursesw5 5.7+20090523-1 shared libraries for terminal hand
ii python 2.5.4-2 An interactive high-level object-o
ii python-chardet 1.0.1-1.1 universal character encoding detec
ii python-feedparser 4.1-13 Universal Feed Parser for Python
canto recommends no packages.
canto suggests no packages.
-- no debconf information
--- canto-0.6.13/man/canto.1 2009-05-13 05:55:31.000000000 +0200
+++ canto.1 2009-07-12 09:50:47.000000000 +0200
@@ -204,16 +204,16 @@
import os
if os.getenv("TERM") == "linux":
- link_handler("elinks \"%u\"", text=True)
+ link_handler("elinks \\"%u\\"", text=True)
else:
- link_handler("iceweasel \"%u\"")
+ link_handler("iceweasel \\"%u\\"")
# A dedicated image handler, that requires content
# to be fetched for it.
- image_handler("xli \"%u\"", fetch=True)
+ image_handler("xli \\"%u\\"", fetch=True)
# A dedicated PDF handler (great for LtU)
- link_handler("evince \"%u\"", fetch=True, ext="pdf")
+ link_handler("evince \\"%u\\"", fetch=True, ext="pdf")
# If we're in X, update xterm title
# (Should work with most graphical terms)
signature.asc
Description: Digital signature

