From nobody@FreeBSD.org  Fri May  7 17:41:13 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 7FA4A1065672
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  7 May 2010 17:41:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 6FEAB8FC2F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  7 May 2010 17:41:13 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o47HfDM4084060
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 7 May 2010 17:41:13 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o47HfDYK084059;
	Fri, 7 May 2010 17:41:13 GMT
	(envelope-from nobody)
Message-Id: <201005071741.o47HfDYK084059@www.freebsd.org>
Date: Fri, 7 May 2010 17:41:13 GMT
From: Tilc <beigas@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: scrollz 2.[01] doesnt allow usage of non-latin chars in messages
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146382
>Category:       ports
>Synopsis:       irc/scrollz 2.[01] doesnt allow usage of non-latin chars in messages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 07 17:50:03 UTC 2010
>Closed-Date:    Thu Jun 10 09:28:18 UTC 2010
>Last-Modified:  Thu Jun 10 09:28:18 UTC 2010
>Originator:     Tilc
>Release:        8.0-RELEASE
>Organization:
none
>Environment:
FreeBSD kaza.velti.lv 8.0-RELEASE FreeBSD 8.0-RELEASE #1: Mon Apr 26 19:43:51 UTC 2010     root@kaza.velti.lv:/usr/src/sys/i386/compile/KAZA  i386

>Description:
scrollz 2.0 and 2.1 doesnt allow to input non latin characters in iso8859-13 encoding and dont even display them

20:25|CTCP VERSION reply from Tilc: ircII 20060504+ScrollZ 1.9.98.1
      (04.05.2006)+Cdcc v1.8+OperMods v1.0 by acidflash - Almost there

20:23|<Tilc> &#326;&#275;&#326;&#275;kkee&#275;&#275;
20:23|<Tilc> do yo see &#326; and &#275; ?
20:23|<Tilc> oops youre not on chan

and:

20:28|CTCP VERSION reply from beigas: ircII 20091223+ScrollZ 2.1
      (23.12.2009)+Cdcc v1.8+OperMods v1.0 by acidflash - Get ready to fly

20:24|<Tilc> kkeegg[[0m
20:24|<Tilc> do yo see  and  ?
20:24|<Tilc> oops youre not on chan

>How-To-Repeat:
try to type or read any non latin char in chat message (didnt tried in other codepage than iso8859-13)
>Fix:
http://scrollz.sourcearchive.com/documentation/2.0/input_8c-source.html

for input maybe this:

/**************************** PATCHED by Flier ******************************/
                                static time_t lastkeypress = 0;

                                if (lastkeypress == 0) lastkeypress = time(NULL);
                                else {
                                    time_t timenow = time(NULL);

                                    if (timenow - lastkeypress > 2) {
                                        /* Probably bad input encoding, ignore bad bytes! */
                                        say("Wrong input sequence, resetting");
                                        input_pos = 0;
                                        input_buffer[0] = '\0';
                                        return;
                                    }
                                }

for output dont know

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri May 7 21:41:49 UTC 2010 
Responsible-Changed-Why:  
ports PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146382 

From: Maarten de Vries <mdv@unsavoury.net>
To: beigas@gmail.com, flier@scrollz.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/146382: irc/scrollz 2.[01] doesnt allow usage of non-latin
 chars in messages
Date: Thu, 10 Jun 2010 09:54:05 +0200

 Hi,
 
 thanks for reporting this. However, I don't believe this is a bug in the 
 port as such, but rather a feature lacking in the software itself. I've 
 contacted the ScrollZ coder and he's looking into adding support for the 
 Baltic charset.
 
 Cheers,
 
 Maarten
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Jun 10 09:26:59 UTC 2010 
State-Changed-Why:  
This has been reported to the upstream author (it is not really a 
problem with the FreeBSD port itself.) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146382 
>Unformatted:
