From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id A781338582AF for ; Fri, 15 Dec 2023 19:43:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A781338582AF Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A781338582AF Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702669389; cv=none; b=K1HEWP+kspacxQFwG5EbHsR9L4TK7Drz9IKPJ/0Mq7RO9Po6tlN8GKxw3ZoQZ8BNKynScG2/VuzmEyCphpy9ABJJi/tdfa5NPRuI0xTo3whhuRjIXVqNms3Mn8xsdxYz61oCAZsXQkYJa3KCg65CyTXMQyez59/g0+kOYbEnlDU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702669389; c=relaxed/simple; bh=KpKPv+guoW/KMxOjdos/dudOvQwgavloQQNc3tRH6kc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=kWubhOQSGJKR8ESSmFafdtIm6gIYDvsgV2L3pVzrwJLEaF7M6jTm1kPd1L5UYbc+rhBLGtdx4AdHnrg0xwcME6HVGnUHarmOKW1wrkxcPqoc1jxUgCMcgh/Fwwswz/7V+S2NhdajS9EB1iR1Mmm0+QFcAAnBapf0BhXOtH/wxtw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5005a.ext.cloudfilter.net ([10.0.29.234]) by cmsmtp with ESMTPS id E9kMrvFEk6nOZEE5Trflr5; Fri, 15 Dec 2023 19:43:07 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id EE5SrwVWM1b9NEE5Sr6Jcy; Fri, 15 Dec 2023 19:43:06 +0000 X-Authority-Analysis: v=2.4 cv=FLYIesks c=1 sm=1 tr=0 ts=657cac4a a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10 a=e2cXIFwxEfEA:10 a=Qbun_eYptAEA:10 a=CCpqsmhAAAAA:8 a=_T917tpisza4hZiCjVAA:9 a=QEXdDO2ut3YA:10 a=ul9cdbp4aOFLsgKbc677:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=k/lKLt+XouCFUudh779Dvr+m1kB89lXZRwwTOnNwkRw=; b=v4bBw1m6O5C+V4zjjxs2ggvgGe AA/FHksGuFPLceDyRNjQdTKK+1xoFyeIw32gNLmI56EDZ6A+7mcqxDfc/SMi0kI7kqG9ZdNfVZHUQ zo9BkXnC4NouNEaIcfcyzxes1; Received: from 71-211-161-25.hlrn.qwest.net ([71.211.161.25]:48508 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rEE5R-003Tv4-2U; Fri, 15 Dec 2023 12:43:05 -0700 From: Tom Tromey To: Tom de Vries via Gdb-patches Cc: Tom de Vries , Tom Tromey Subject: Re: [RFC] [gdb/tui] Add set tui border-kind acs-or-space/acs-or-ascii References: <20230419133743.3288-1-tdevries@suse.de> X-Attribution: Tom Date: Fri, 15 Dec 2023 12:43:05 -0700 In-Reply-To: <20230419133743.3288-1-tdevries@suse.de> (Tom de Vries via Gdb-patches's message of "Wed, 19 Apr 2023 15:37:43 +0200") Message-ID: <87wmtf5k1i.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.211.161.25 X-Source-L: No X-Exim-ID: 1rEE5R-003Tv4-2U X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-161-25.hlrn.qwest.net (murgatroyd) [71.211.161.25]:48508 X-Source-Auth: tom+tromey.com X-Email-Count: 11 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfIEE6Oeu2olFSX0BNMYtxEvMmSYfBspyK7N7z3v0++iOLj1Y/SAHBzEMn2xDpAMly6Syt1Wvwbys1QR6YKELIq+mitezVRlUitkb7HnQK4OedzJ2JxP8 9m0oKJ45vbu3iPKi2r/ziqXW0vuTrZKCCP6D6ZjRE/ab1RC+OJPgoLzQDyDKu7rOK4bkERdGQeRACXpVLy5p6W7ISUp/20YAT7k= X-Spam-Status: No, score=-3015.3 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Tom" =3D=3D Tom de Vries via Gdb-patches writes: I don't recall if we discussed or finished discussing this... Tom> The gdb TUI testsuite uses a custom ansi terminal emulator (tuiterm.ex= p) in Tom> order to be able to inspect the state of the terminal, and consequentl= y runs Tom> all test-cases using TERM=3Dansi. Tom> Once in a while I manually replay a test-case on an actual terminal em= ulator, Tom> using TERM=3Dansi to make sure I trigger the same behaviour, and run i= nto funny Tom> looking borders, like this: Tom> ... Tom> =C3=9A=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3= =84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84= =C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C2=BF Tom> =C2=B3 =C2=B3 Tom> =C2=B3 [ No Source Available ] =C2=B3 Tom> =C2=B3 =C2=B3 Tom> =C3=80=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3= =84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=84= =C3=84=C3=84=C3=84=C3=84=C3=84=C3=84=C3=99 Tom> ... Tom> This is PR tui/30370. IIUC, you are not using an actual ANSI terminal, but some other thing, and then setting TERM=3Dansi? I think in this case you should just expect that things will go wrong. TERM has to reflect the capabilities of the actual terminal. I tend to think gdb shouldn't try to work around this kind of thing, if a user does this it will probably affect any terminal-aware program. Tom