From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id D1FFF29AC0 for ; Sun, 2 Jun 2024 20:50:06 +0200 (CEST) Received: from ygrex.ru ([5.19.241.250]) by 9front; Sun Jun 2 14:47:41 -0400 2024 Received: from ygrex-t550.ygrex.ru (unknown [172.16.64.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by ygrex.ru (Postfix) with ESMTPSA id 1367840482 for <9front@9front.org>; Sun, 2 Jun 2024 21:47:28 +0300 (MSK) Date: Sun, 2 Jun 2024 21:47:27 +0300 From: ygrex To: 9front@9front.org Message-ID: <20240602214727.5acc13aa@ygrex-t550.ygrex.ru> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: scale-out patented engine-oriented method module-scale reduce/map layer Subject: [9front] Any way to insert code verbatim bypassing the rest of parsing in troff? Reply-To: 9front@9front.org Precedence: bulk Hello, Tried my best in troff to insert a block of code varbatim but it does not work as I would like it to. First attempt with .DS/.DE ms macros breaks my backslashes, I need to replace them with '\e'. Second attempt to leverage .eo/.ec to keep backslashes, it does but breaks code lines, I need to insert extra empty lines in between to keep the lines. It looks worse than with .DS/.DE after all. Unfortunately, mixing .DS/.DE with .eo/.ec does not work, backslashes get removed as I tried. As far as I figured it out, .DS/.DE block gives the best results but can I bypass its backslash interpolation somehow? -- Sincerely yours, Igor Bogomazov Saint Petersburg, Russia