From owner-freebsd-questions@freebsd.org Mon Dec 7 00:55:35 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F49F471D7D for ; Mon, 7 Dec 2020 00:55:35 +0000 (UTC) (envelope-from carlj@peak.org) Received: from smtp.email-protect.gosecure.net (smtp.email-protect.gosecure.net [208.80.202.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.email-protect.gosecure.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cq4c61qZrz3Nyy for ; Mon, 7 Dec 2020 00:55:33 +0000 (UTC) (envelope-from carlj@peak.org) Received: from envoy14.neonova.net ([137.118.58.100]) by smtp.email-protect.gosecure.net ({595c63d8-a207-11ea-b4c8-49783e7271c9}) via TCP (outbound) with ESMTP id 20201207005521861_00001141 for ; Sun, 06 Dec 2020 16:55:21 -0800 X-RC-FROM: X-RC-RCPT: Received: from elm.localnet (unknown [199.58.99.76]) (Authenticated sender: carlj@peak.org) by envoy14.neonova.net (Postfix) with ESMTPA id 4Cq4bn4rSCz9tLP for ; Sun, 6 Dec 2020 19:55:16 -0500 (EST) Received: from localhost.localnet ([127.0.0.1] helo=elm.localnet) by elm.localnet with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1km4o7-0007LF-Gd for freebsd-questions@freebsd.org; Sun, 06 Dec 2020 16:55:15 -0800 Received: (from carlj@localhost) by elm.localnet (8.16.1/8.16.1/Submit) id 0B70tFS2028224; Sun, 6 Dec 2020 16:55:15 -0800 (PST) (envelope-from carlj@elm.localnet) From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Re: Xfce Terminal doesn't like blue? References: <86a6uqpr4n.fsf@elm.localnet> <5d456d00-3c09-5c67-646c-45053781a530@dreamchaser.org> Date: Sun, 06 Dec 2020 16:55:15 -0800 In-Reply-To: <5d456d00-3c09-5c67-646c-45053781a530@dreamchaser.org> (Gary Aitken's message of "Sun, 6 Dec 2020 16:55:10 -0700") Message-ID: <86wnxuo2oc.fsf@elm.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-MAG-OUTBOUND: greymail.email-protect.gosecure.net@137.118.58.100/32 X-Rspamd-Queue-Id: 4Cq4c61qZrz3Nyy X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=peak.org; spf=pass (mx1.freebsd.org: domain of carlj@peak.org designates 208.80.202.2 as permitted sender) smtp.mailfrom=carlj@peak.org X-Spamd-Result: default: False [-2.80 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[208.80.202.2:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:208.80.200.0/21]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[208.80.202.2:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[peak.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:208.80.202.0/23, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 00:55:35 -0000 Gary Aitken writes: > On 12/6/20 2:19 PM, Carl Johnson wrote: > >> I have been having problems with color displays for a few days since I >> upgraded to the current xfce4. I finally realized that the problem is >> that xfce terminal interprets the blue escape sequence as black, so that >> is unreadable since I use a black background. I came up with the >> following line to demonstrate it, plus a good line. >> echo 'this is \033[34mblue\033[m and \033[34;1mbright >> blue\033[m.' >> echo 'this is \033[32mgreen\033[m and \033[32;1mbright green\033[m.' >> The blue characters is the first line are black, but the green >> characters actually display as green. This only seems to happen on xfce >> terminal, and does not happen in xterm or even a virtual console. Does >> anybody else have this, or is it some configuration problem of mine? >> Both cyan and purple work, so it isn't the monitor or cable. >> I am currently running xfce4-terminal-0.8.9.2 and the system is >> running >> FreeBSD 12.2-RELEASE. > > I'm running 11.4-RELEASE, and when I install the xfce4-terminal pkg and try > to run, it crashes with a missing symbol in the vte library. > > $ xfce4-terminal > > (xfce4-terminal:58355): VTE-WARNING **: 16:19:51.317: > (../src/vtepty.cc:813):void vte_pty_spawn_with_fds_async(VtePty *, > const char *, const char *const *, const char *const *, const int *, > int, const int *, int, GSpawnFlags, GSpawnChildSetupFunc, gpointer, > GDestroyNotify, int, GCancellable *, GAsyncReadyCallback, gpointer): > runtime check failed: ((spawn_flags & forbidden_spawn_flags()) == 0) > /usr/local/lib/libvte-2.91.so.0: Undefined symbol "fribidi_get_bracket_types" > > However, if I > pkg install bison > cd /usr/ports/x11-toolkits/vte3 > make install > cd /usr/ports/x11/xfce4-terminal > make install > > then run xfce4-terminal, the colors show up correctly. > Blue is really difficult to see on a black background, but blue is definitely > blue and bright blue is easy to see. I forgot that I had changed the terminal color preferences to make those easier to read. > This is also xfce4-terminal 0.8.9.2 > Don't know if this helps or not. I looked into the actual terminal configuration file and compared it to backups and found that something had changed it. It looks like the upgrade changed the format and screwed up those two colors so that they were much dimmer than even the original colors. I brought back my old version from a backup and now everything works as it did before. Thank you very much for checking into that and reminding me what to look into. -- Carl Johnson carlj@peak.org