From owner-cvs-src-old@FreeBSD.ORG Thu May 21 17:56:11 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA2031065688 for ; Thu, 21 May 2009 17:56:11 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B7E418FC18 for ; Thu, 21 May 2009 17:56:11 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n4LHuBMF041200 for ; Thu, 21 May 2009 17:56:11 GMT (envelope-from des@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n4LHuB4G041199 for cvs-src-old@freebsd.org; Thu, 21 May 2009 17:56:11 GMT (envelope-from des@repoman.freebsd.org) Message-Id: <200905211756.n4LHuB4G041199@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to des@repoman.freebsd.org using -f From: Dag-Erling Smorgrav Date: Thu, 21 May 2009 17:56:00 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/contrib/groff/font/devutf8 R.proto X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 17:56:12 -0000 des 2009-05-21 17:56:00 UTC FreeBSD src repository Modified files: contrib/groff/font/devutf8 R.proto Log: SVN rev 192561 on 2009-05-21 17:56:00Z by des When man pages are formatted in UTF-8, .Fl is encoded as U+2212 "MINUS SIGN" instead of U+002D "HYPHEN-MINUS". This is unfortunate for two reasons: 1) this is not the character which is actually used on the command line, and 2) it makes it impossible to search a man page for a specific command-line option. This patch fixes this, but there are other unresolved issues, such as confusion between -, \- and hy: while the latter is always (and only) used for hyphenation, both - and \- are used for negation and subtraction, and \- is used for command-line options and sometimes also for parenthesis. IMHO, the correct Unicode characters are: - hyphenation: either U+2010 or U+00AD, most likely the former (the latter is the so-called soft hyphen, used to indicate a point at which a text processor is allowed to hyphenate a word) - negation and subtraction: U+2212 - parenthesis: in English, U+2214, with spaces suppressed before and after; in some others (such as Norwegian), U+2213 with spaces retained. - command-line options: U+002D, because that is what is actually used on the command line. However, fixing this would require extensive modifications to (at least) the doc and man macro sets... MFC after: 1 week Revision Changes Path 1.2 +460 -114 src/contrib/groff/font/devutf8/R.proto