From owner-freebsd-questions@FreeBSD.ORG Sun Oct 7 08:09:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CE6E106566C for ; Sun, 7 Oct 2012 08:09:17 +0000 (UTC) (envelope-from jamie@kode5.net) Received: from kontrol.kode5.net (kontrol.kode5.net [80.229.5.32]) by mx1.freebsd.org (Postfix) with ESMTP id A59168FC0A for ; Sun, 7 Oct 2012 08:09:16 +0000 (UTC) Received: from kontrol.kode5.net (localhost [127.0.0.1]) by kontrol.kode5.net (8.14.5/8.14.5) with ESMTP id q9789EM6007248 for ; Sun, 7 Oct 2012 09:09:15 +0100 (BST) (envelope-from jamie@kode5.net) Received: (from jamie@localhost) by kontrol.kode5.net (8.14.5/8.14.5/Submit) id q9789DnP007247 for freebsd-questions@freebsd.org; Sun, 7 Oct 2012 09:09:13 +0100 (BST) (envelope-from jamie@kode5.net) X-Authentication-Warning: kontrol.kode5.net: jamie set sender to jamie@kode5.net using -f Date: Sun, 7 Oct 2012 09:09:13 +0100 From: Jamie Paul Griffin To: freebsd-questions@freebsd.org Message-ID: <20121007080913.GB7105@kontrol.kode5.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <99771.1349515504@tristatelogic.com> <20121006094552.GA39590@kontrol.kode5.net> <20121006113107.GA29404@saltmine.radix.net> <20121006113200.GB29404@saltmine.radix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20121006113200.GB29404@saltmine.radix.net> x-operating-system: FreeBSD 9.1-PRERELEASE amd64 x-pgp-fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38 x-pgp-key: 1D31DC38 User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at kontrol.kode5.net X-Virus-Status: Clean Subject: Re: Xterm options for correct man page display? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2012 08:09:17 -0000 [ Thomas Dickey wrote on Sat 6.Oct'12 at 7:32:00 -0400 ] > On Sat, Oct 06, 2012 at 07:31:07AM -0400, Thomas Dickey wrote: > > On Sat, Oct 06, 2012 at 10:45:52AM +0100, Jamie Paul Griffin wrote: > > > [ Ronald F. Guilmette wrote on Sat 6.Oct'12 at 2:25:04 -0700 ] > > >=20 > > > >=20 > > > > When I view man pages in a xterm window, some parts of them are com= ing > > > > out a bit garbled. > > > >=20 > > > > I'm sure that there must be some recommended option or options for > > > > xterm that will cause man pages to display properly. If someone wo= uld > > > > tell me what those options are, I would appreciate it. Thanks. > > >=20 > > > It will most likely be due to your locale settings. Also, I experimen= ted with fonts in xterm and uxterm, only the default font allowed unicode c= haraters to display, so I am now using urxvt and it works great. I also cha= nged my pager option in the shell start up file to less as opposed to more,= and set lesscharset environment variable, man pages display fine now for m= e. > >=20 > > For people using UTF-8, the uxterm script works out of the box... > >=20 > > The usual problem with fonts is from overwriting the utf8Fonts resource > > setting via a too-wide "fonts" wildcard pattern. >=20 > For example >=20 > http://invisible-island.net/xterm/xterm.faq.html#utf8_fonts Hi Thomas - is understand what your saying about uxterm - it does display u= tf8 fonts correctly when leaving the font resource alone, but the default f= ont is very small, too small for my eyes.=20 I installed a large number of utf8 supported X fonts, the ones I've tried d= on't display Chinese or Korean, or Russian fonts etc. It became a little fr= ustrating which made me change to another terminal. The link you provided d= oesn't appear to be active. Would you be kind enough to show the resource s= ettings you have used? I spent a long time reading through the man page and trying out different r= esource settings and combinations of them, European fonts were never a prob= lem, just the east Asian characters and Russian characters as I mentioned. I've set my locale to en_GB.UTF-8 using /etc/login.conf and then cap_mkdb /= etc/login.conf. As I said in my previous email, urxvt has no problem displa= ying these characters but I'd like to get uxterm working properly none the = less, as I'm sure the OP does as well. Best wishes, Jamie