From owner-freebsd-bugs@FreeBSD.ORG Fri May 7 17:50:04 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 780EE1065674 for ; Fri, 7 May 2010 17:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5720E8FC23 for ; Fri, 7 May 2010 17:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o47Ho4s3013255 for ; Fri, 7 May 2010 17:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o47Ho4LJ013254; Fri, 7 May 2010 17:50:04 GMT (envelope-from gnats) Resent-Date: Fri, 7 May 2010 17:50:04 GMT Resent-Message-Id: <201005071750.o47Ho4LJ013254@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tilc Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FA4A1065672 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/146382: scrollz 2.[01] doesnt allow usage of non-latin chars in messages X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2010 17:50:04 -0000 >Number: 146382 >Category: misc >Synopsis: scrollz 2.[01] doesnt allow usage of non-latin chars in messages >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 07 17:50:03 UTC 2010 >Closed-Date: >Last-Modified: >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| ņēņēkkeeēē 20:23| do yo see ņ and ē ? 20:23| 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| kkeegg[[0m 20:24| do yo see and ? 20:24| 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: >Unformatted: