From owner-svn-src-head@FreeBSD.ORG Mon Mar 17 12:08:08 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C20F2D3; Mon, 17 Mar 2014 12:08:08 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9774CB50; Mon, 17 Mar 2014 12:08:07 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.8/8.14.8) with ESMTP id s2HC7oV0066711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 17 Mar 2014 16:07:50 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.8/8.14.8/Submit) id s2HC7oot066710; Mon, 17 Mar 2014 16:07:50 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 17 Mar 2014 16:07:50 +0400 From: Gleb Smirnoff To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r263264 - head/usr.bin/talk Message-ID: <20140317120750.GK40073@FreeBSD.org> References: <201403171158.s2HBwnQ7027877@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201403171158.s2HBwnQ7027877@svn.freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2014 12:08:08 -0000 On Mon, Mar 17, 2014 at 11:58:49AM +0000, Gleb Smirnoff wrote: T> Author: glebius T> Date: Mon Mar 17 11:58:48 2014 T> New Revision: 263264 T> URL: http://svnweb.freebsd.org/changeset/base/263264 T> T> Log: T> Make talk(1) capable of displaying UTF-8 characters. NB: the network talk protocol is a protocol originating from 4.3BSD, that never underwent any standardization. It consists of the talkd(8) daemon, that runs via inetd(8) and initiates a talk session between remote users, and the talk(1) utility that displays the actual chatting session. The session initialization is defined as protocol in /usr/include/protocols/talkd.h The protocol even has version field, so can be carefully extended. However, nothing is said about contents of the stream session established. Apparently, original authors didn't care about locale awareness of the utility. I decided not to touch the protocol version. Here are my reasons: 1) The signalling protocol didn't change. Only stream session, which isn't defined. 2) I doubt anyone in modern world runs talk(1) over a network wider than 127.0.0.0/8. Moreover, only extremely old fashioned geeks run it at all. 3) The interoperability isn't broken at all, it is only extended. If both sides of session run same locale, they communicate correctly. Plain ASCII or KOI8-R work as they did before. -- Totus tuus, Glebius.