Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 09:03:37 -0500
From:      Bob Willcox <bob@immure.com>
To:        freebsd-x11@freebsd.org
Subject:   xterm displaying two chars for one, 2nd looks to be a space
Message-ID:  <20180318140337.GM71303@rancor.immure.com>

next in thread | raw e-mail | index | archive | help
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@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

However, if I specify a font with '-fn 10x20' on the xterm invocation I don't
get the gratuitous spaces.

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).

-- 
Bob Willcox    | The amount of flak received on any subject is inversely
bob@immure.com | proportional to the subject's true value.
Austin, TX     |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180318140337.GM71303>