Date: Wed, 5 Aug 1998 01:13:35 +0800 (CST) From: davidyu@snoopy.csie.ntu.edu.tw To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/7492: Patch for 8-bit clean talk(1) Message-ID: <199808041713.BAA19945@Jaky.m6.ntu.edu.tw>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808041713.BAA19945>
