Package: scrollz
Version: 1.9.99-1
Followup-For: Bug #398345

The attached Patch fix the Bug.

Reason:
The INPUT_ENCODING was set wrong to UTF-8. But the documentation says
that the default is ISO-8859-1.

This has the effect that scrollz do stop working when the first
ISO-8859-1 character > 0x7f is typed! The changes switch to the
documented default and will work also if the real input encoding is not
right as ISO-8859-1 is a full 8bit encoding.

Please note that the historical default on IRC is allways a 8bit
encoding.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (60, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.4.36.2
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to 
de_DE)

Versions of packages scrollz depends on:
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libncurses5            5.5-5             Shared libraries for terminal hand

scrollz recommends no packages.

-- no debconf information
Gruß
   Klaus
-- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <[EMAIL PROTECTED]>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
diff -u scrollz-1.9.99/debian/changelog scrollz-1.9.99/debian/changelog
--- scrollz-1.9.99/debian/changelog
+++ scrollz-1.9.99/debian/changelog
@@ -1,3 +1,10 @@
+scrollz (1.9.99-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fixing encoding bug. (Closes: #398345.)
+
+ -- Klaus Ethgen <[EMAIL PROTECTED]>  Sun, 15 Jun 2008 17:05:06 +0100
+
 scrollz (1.9.99-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- scrollz-1.9.99.orig/debian/patches/scrollz-encoding.patch
+++ scrollz-1.9.99/debian/patches/scrollz-encoding.patch
@@ -0,0 +1,42 @@
+commit 7ef3179777deb8d06720b397129ca95d601d64bb
+Author: Klaus Ethgen <[EMAIL PROTECTED]>
+Date:   Sun Jun 15 16:40:32 2008 +0100
+
+    Fixing the encoding to stay in sync with the documentation.
+    
+    The INPUT_ENCODING was set wrong to UTF-8. But the documentation says that the
+    default is ISO-8859-1.
+    
+    This has the effect that scrollz do stop working when the first ISO-8859-1
+    character > 0x7f is typed! The changes switch to the documented default and will
+    work also if the real input encoding is not right as ISO-8859-1 is a full 8bit
+    encoding.
+    
+    Please note that the historical default on IRC is allways a 8bit encoding.
+
+diff --git a/include/config.h b/include/config.h
+index 8c77c8e..61aaaf0 100644
+--- a/include/config.h
++++ b/include/config.h
+@@ -132,7 +132,7 @@
+ #define DEFAULT_CTCP_REPLY_IGNORE_SECONDS 10
+ #define DEFAULT_DCC_BLOCK_SIZE 2048
+ #define DEFAULT_DISPLAY 1
+-#define DEFAULT_DISPLAY_ENCODING "UTF-8"
++#define DEFAULT_DISPLAY_ENCODING "ISO8859-1"
+ #define DEFAULT_DISPLAY_ANSI 1
+ #define DEFAULT_EIGHT_BIT_CHARACTERS 1
+ #define DEFAULT_ENCRYPT_PROGRAM NULL
+@@ -156,10 +156,10 @@
+ #define DEFAULT_HYPER_DCC 0
+ #define DEFAULT_INDENT 1
+ #define DEFAULT_INPUT_ALIASES 0
+-#define DEFAULT_INPUT_ENCODING "UTF-8"
++#define DEFAULT_INPUT_ENCODING "ISO-8859-1"
+ #define DEFAULT_INPUT_PROMPT NULL
+ #define DEFAULT_INPUT_PROTECTION 1
+-#define DEFAULT_IRC_ENCODING "UTF-8"
++#define DEFAULT_IRC_ENCODING "ISO-8859-"
+ #define DEFAULT_INSERT_MODE 1
+ #define DEFAULT_INVERSE_VIDEO 1
+ #define DEFAULT_ISO2022_SUPPORT 0

Attachment: signature.asc
Description: Digital signature

Reply via email to