xterm displaying two chars for one, 2nd looks to be a space

Thomas Dickey dickey at his.com
Sun Mar 18 14:29:19 UTC 2018


On Sun, Mar 18, 2018 at 09:03:37AM -0500, Bob Willcox wrote:
> Hi All,
> 
> I just did an new install of the latest Freebsd 12.0-CURRENT:
> 
> FreeBSD anakin.immure.com 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r331115: Sun Mar 18 06:58:19 CDT 2018     bob at anakin.immure.com:/usr/obj/usr/src/amd64.amd64/sys/ANIKIN  amd64
> 
> and have installed xorg-7.7_3. My window manager is ctwm-4.0.1,1 and xterm is
> xterm-331.
> 
> 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.
> 
> For example, when typing in hello in an xterm window it displays as
> 
> 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.
 
> However, if I specify a font with '-fn 10x20' on the xterm invocation I don'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.
 
> When installing xterm I get the pkg-message.wchar message displayed:
> 
> ================================================================================
> You installed xterm with wide chars support. This introduces some limitations
> comparing to the plain single chars version: this version of xterm will use
> UTF-8 charset for selection buffers, breaking 8-bit copy/paste support unless
> you are using UTF-8 or ISO8859-1 locale. If you want 8-bit charset selections to
> work as before, use "eightBitSelectTypes" XTerm resource setting.
> 
> For further information refer to the SELECT/PASTE section of xterm(1) manual
> page.
> ================================================================================
> 
> 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 config
> shows that it's back on again and rebuilding and installing xterm still puts
> out the warning.
> 
> 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?
> 
> Thanks in advance for any help you can provide...sorry for all the questions,
> 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 :-)

-- 
Thomas E. Dickey <dickey at invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20180318/f59243eb/attachment.sig>


More information about the freebsd-x11 mailing list