From owner-freebsd-bugs Tue Aug 4 10:20:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA15218 for freebsd-bugs-outgoing; Tue, 4 Aug 1998 10:20:15 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA15084 for ; Tue, 4 Aug 1998 10:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA05681; Tue, 4 Aug 1998 10:20:01 -0700 (PDT) Received: from Jaky.m6.ntu.edu.tw (Jaky.m6.ntu.edu.tw [140.112.247.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA12442 for ; Tue, 4 Aug 1998 10:10:04 -0700 (PDT) (envelope-from davidyu@Jaky.m6.ntu.edu.tw) Received: (from root@localhost) by Jaky.m6.ntu.edu.tw (8.8.8/8.8.5) id BAA19945; Wed, 5 Aug 1998 01:13:35 +0800 (CST) Message-Id: <199808041713.BAA19945@Jaky.m6.ntu.edu.tw> Date: Wed, 5 Aug 1998 01:13:35 +0800 (CST) From: davidyu@snoopy.csie.ntu.edu.tw Reply-To: davidyu@snoopy.csie.ntu.edu.tw To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7492: Patch for 8-bit clean talk(1) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7492 >Category: bin >Synopsis: Patch for 8-bit clean talk(1) >Confidential: yes >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 4 10:20:01 PDT 1998 >Last-Modified: >Originator: David Yu >Organization: NTU CSIE >Release: FreeBSD 2.2.7-STABLE i386 >Environment: FreeBSD Jaky.m6.ntu.edu.tw 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Sat Jul 25 07:1 6:41 CST 1998 root@Jaky.m6.ntu.edu.tw:/usr/src/sys/compile/DESKTOP i386 >Description: The current version of talk(1) isn't 8bit clean, so that it's very inconvienent for CJK users. we hope you could commit the following patch in both -current and -stable. thanks. >How-To-Repeat: >Fix: --- display.c.orig Wed Aug 5 01:02:34 1998 +++ display.c Wed Aug 5 01:03:07 1998 @@ -146,13 +146,7 @@ text++; continue; } - if (!isprint((unsigned char)*text) && *text != '\t') { - waddch(win->x_win, '^'); - getyx(win->x_win, win->x_line, win->x_col); - cch = (*text & 63) + 64; - waddch(win->x_win, cch); - } else - waddch(win->x_win, (unsigned char)*text); + waddch(win->x_win, (unsigned char)*text); getyx(win->x_win, win->x_line, win->x_col); text++; } >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message