From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 6545 invoked from network); 23 Sep 2022 01:40:13 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 23 Sep 2022 01:40:13 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 0f15c0d4 for ; Thu, 22 Sep 2022 20:40:08 -0500 (EST) Received: from mail-vk1-f175.google.com (mail-vk1-f175.google.com [209.85.221.175]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 5c7a276e for ; Thu, 22 Sep 2022 20:40:07 -0500 (EST) Received: by mail-vk1-f175.google.com with SMTP id h5so5920779vkc.5 for ; Thu, 22 Sep 2022 18:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=U6hW09YaCZVYOgIZcmmYKcB2WOlseT0vKx0rHcSTAxY=; b=EaBHt8I20BsBuUbDZoArc2K47jBZ7s08xwMIuWjFEMF2CrH5O2HzdMhTTJPvdaEoBK kEGLrbzL9Fx3kC7Pbppq/JfWSajle4wYALb74xQRKJiLZpDytZn9aXH+IWqZ9WTua07c zJi7SnNC2tv/m1X4NZh3FRuyJzuRPeyfMN6i45OPzncrvIErjO2vazcERyh72Zlxpg/N 055JkOvQDvRakaY8Lc2yWiHwpp8+QclQcm2e8D4aAhC81os1OBuj9bERObLLbC72WoEP T8R4ZTNFvtpMoub9J53s5FvXkY/68qCu/flQc0fvTLvNeAkk5R64zIOBQHA30or+TZHi Wgbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=U6hW09YaCZVYOgIZcmmYKcB2WOlseT0vKx0rHcSTAxY=; b=CkGdKILL1XTb3JIJ7W8r15/OQIIS45nosOpYXkB2QWv1h2nL4+enOT4xoP6fpyBuE6 A8R5cW2jgPw3dIFpquErvIWuvZ2tEP6z1g/NnmUxM/Eekp58SzUZTMNomKOuDgaZFn1Q TG4/8L871oQT1+x50x4F2aZx2qM72xa6u75LmsFO3o+DY482NfjM1lvM//ynRToiLaq2 B+Z1HPu/uoRLgoF/6aKHb1fEDp2tucovHrp1H5c2dqMFh/a7OZ6kao0pyZ8x+O2ajlNk fEfuHKi7u9n5THX3rZto1GAYdVB9VYUcaDzw/HnKjtVDqYwv5GUxO67c1e1d+/CpRyU5 XTcQ== X-Gm-Message-State: ACrzQf0JdBDkUsQQkT1YSaF3sjje/LAK9ZlcA1AM6k8DvjRr6jGyrbYf E71AhydtRV68r2LXkSEVBPZl4/Tzs9Lg9KpIQ4zdEjaZCvsc4fWn X-Google-Smtp-Source: AMsMyM5BbhvNhxLOFXOE9IDyA2y72Xcg4q6MKgJY4yNL1cxuCqf4ryDf5PcKlTpflVw7IXMJpJvbGWFz5ZfcRgO2nxQ= X-Received: by 2002:a05:6122:12b5:b0:3a3:848:5dbe with SMTP id j21-20020a05612212b500b003a308485dbemr2824942vkp.7.1663897206311; Thu, 22 Sep 2022 18:40:06 -0700 (PDT) X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 References: <20220917170331.otv4msv3aebcyizy@tarta.nabijaczleweli.xyz> In-Reply-To: <20220917170331.otv4msv3aebcyizy@tarta.nabijaczleweli.xyz> From: Mingye Wang Date: Fri, 23 Sep 2022 09:39:54 +0800 Message-ID: Subject: Re: No/broken handling of backspaces in the source? To: discuss@mandoc.bsd.lv Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D0=BD=D0=B0=D0=B1 wrote: > It's unclear to me if this is supposed to happen, but I didn't see it in > the TODO, so. I believe this is intended behavior for mandoc, at least with regard to terminal output. Consult the "ASCII Output" and "Locale Output" sections of mandoc(1), and you shall see: >Font styles are applied by using back-spaced encoding such that [...] > T= his markup is typically converted to appropriate terminal > sequences by the pager or ul(1). To remove the markup, pipe the > output to col(1) -b instead. In other words, mandoc output is not for direct consumption by the terminal. Try using `-T html` instead -- that should tell you whether mandoc has really interpreted the thing. Regards, Artoria2e5 -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv