From owner-freebsd-x11@freebsd.org Sun Mar 18 14:29:19 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1492F58164 for ; Sun, 18 Mar 2018 14:29:18 +0000 (UTC) (envelope-from tom@invisible-island.net) Received: from smtp-1.his.com (smtp-1.his.com [216.194.195.13]) by mx1.freebsd.org (Postfix) with ESMTP id 6106A739AE for ; Sun, 18 Mar 2018 14:29:17 +0000 (UTC) (envelope-from tom@invisible-island.net) Received: from localhost (localhost [127.0.0.1]) by smtp-1.his.com (Postfix) with ESMTP id 4E2CA607CF for ; Sun, 18 Mar 2018 10:23:48 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at smtp-1.his.com X-Spam-Flag: NO X-Spam-Score: -2.601 X-Spam-Level: X-Spam-Status: No, score=-2.601 tagged_above=-99 required=4 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from smtp-1.his.com ([127.0.0.1]) by localhost (smtp-1.his.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QIa25i9497ul for ; Sun, 18 Mar 2018 10:23:43 -0400 (EDT) Received: from smtp-nf-201.his.com (smtp-nf-201.his.com [216.194.196.93]) by smtp-1.his.com (Postfix) with ESMTP id 4E151606F2 for ; Sun, 18 Mar 2018 10:23:43 -0400 (EDT) Received: from cuda201.his.com (cuda201.his.com [216.194.196.22]) by smtp-nf-201.his.com (Postfix) with ESMTPS id 7FDB16298F for ; Sun, 18 Mar 2018 10:23:33 -0400 (EDT) X-ASG-Debug-ID: 1521382989-061c4115333811e0001-0Qlll1 Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.196.20]) by cuda201.his.com with ESMTP id cha6NuSriRTiGRHw; Sun, 18 Mar 2018 10:23:09 -0400 (EDT) X-Barracuda-Envelope-From: tom@invisible-island.net X-Barracuda-RBL-Trusted-Forwarder: 216.194.196.20 Received: from mail-sterling.his.com (mail-sterling.his.com [216.194.248.141]) by smtp-nf-202.his.com (Postfix) with ESMTP id D510A60583; Sun, 18 Mar 2018 10:23:05 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail-sterling.his.com (Postfix) with ESMTP id 3C4783F80004; Sun, 18 Mar 2018 10:23:05 -0400 (EDT) X-Barracuda-RBL-Trusted-Forwarder: 216.194.248.141 Received: from mail-sterling.his.com ([127.0.0.1]) by localhost (mail-sterling.his.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k8H4x5yyKmg4; Sun, 18 Mar 2018 10:23:01 -0400 (EDT) Received: from prl-debian8-64.jexium-island.net (static-71-246-219-82.washdc.fios.verizon.net [71.246.219.82]) by mail-sterling.his.com (Postfix) with ESMTPSA id EE51F3F80002; Sun, 18 Mar 2018 10:23:00 -0400 (EDT) Received: from tom by prl-debian8-64.jexium-island.net with local (Exim 4.84_2) (envelope-from ) id 1exZD9-0001Ny-7L; Sun, 18 Mar 2018 10:22:59 -0400 X-Barracuda-RBL-IP: 71.246.219.82 X-Barracuda-Effective-Source-IP: static-71-246-219-82.washdc.fios.verizon.net[71.246.219.82] X-Barracuda-Apparent-Source-IP: 71.246.219.82 Date: Sun, 18 Mar 2018 10:22:59 -0400 From: Thomas Dickey To: Bob Willcox Cc: freebsd-x11@freebsd.org Subject: Re: xterm displaying two chars for one, 2nd looks to be a space Message-ID: <20180318142259.GA5224@prl-debian8-64.jexium-island.net> X-ASG-Orig-Subj: Re: xterm displaying two chars for one, 2nd looks to be a space Reply-To: dickey@his.com References: <20180318140337.GM71303@rancor.immure.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <20180318140337.GM71303@rancor.immure.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Barracuda-Connect: smtp-nf-202.his.com[216.194.196.20] X-Barracuda-Start-Time: 1521382989 X-Barracuda-URL: https://spam.his.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-Scan-Msg-Size: 2650 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.49072 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2018 14:29:19 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 18, 2018 at 09:03:37AM -0500, Bob Willcox wrote: > Hi All, >=20 > I just did an new install of the latest Freebsd 12.0-CURRENT: >=20 > FreeBSD anakin.immure.com 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r331115: S= un Mar 18 06:58:19 CDT 2018 bob@anakin.immure.com:/usr/obj/usr/src/amd6= 4.amd64/sys/ANIKIN amd64 >=20 > and have installed xorg-7.7_3. My window manager is ctwm-4.0.1,1 and xter= m is > xterm-331. >=20 > Now for my problem: when I start up an xterm in X from ctwm I get two > characters for every one entered, with the second one being a space. >=20 > For example, when typing in hello in an xterm window it displays as >=20 > h e l l o It could do that if the font-metrics say it's that wide, even if (almost) none of the glyphs actually say that. =20 > However, if I specify a font with '-fn 10x20' on the xterm invocation I d= on't > get the gratuitous spaces. that's consistent with my remark above. Also, it's possible (I suppose) that the change to use Unicode 10 last spring is aggravating the problem, but I'd have to study an example to see exactly why. =20 > When installing xterm I get the pkg-message.wchar message displayed: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > You installed xterm with wide chars support. This introduces some limitat= ions > comparing to the plain single chars version: this version of xterm will u= se > UTF-8 charset for selection buffers, breaking 8-bit copy/paste support un= less > you are using UTF-8 or ISO8859-1 locale. If you want 8-bit charset select= ions to > work as before, use "eightBitSelectTypes" XTerm resource setting. >=20 > For further information refer to the SELECT/PASTE section of xterm(1) man= ual > page. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >=20 > So, I attempted to disable wide-character support in xterm by turning off= the > WCHAR option via make config, but it isn't staying off. Rerunning make co= nfig > shows that it's back on again and rebuilding and installing xterm still p= uts > out the warning. >=20 > Anyone know what's going on? What have I missed? Is my problem related to > wide-character support? Any clues on what I can do to fix it? >=20 > Thanks in advance for any help you can provide...sorry for all the questi= ons, > but I'm at a loss at the moment (reading the man page about > eightBitSelectTypes seemed to give some clues, but failed to say where to > specify it that I could find). that's not related :-) --=20 Thomas E. Dickey https://invisible-island.net ftp://ftp.invisible-island.net --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlqudkMACgkQcCNT4PfkjtvhlQCg1KRVcdsNSvXF5a5PENEHURox fJcAniUm+srPmLd9XWSLq5NAkEieE64I =kLCK -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--