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=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4183 invoked from network); 26 Jul 2020 14:57:50 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 26 Jul 2020 14:57:50 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 7DB219C9E6; Mon, 27 Jul 2020 00:57:46 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 3DD069BA4E; Mon, 27 Jul 2020 00:56:30 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bDsbiCHt"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 221109BA4E; Mon, 27 Jul 2020 00:56:26 +1000 (AEST) Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) by minnie.tuhs.org (Postfix) with ESMTPS id 9BB4D9BA36 for ; Mon, 27 Jul 2020 00:56:25 +1000 (AEST) Received: by mail-oi1-f172.google.com with SMTP id s144so2322092oie.3 for ; Sun, 26 Jul 2020 07:56:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=CxvGzdYaegLYpHFO+T6Kt9Y6TNQhpglDz/I2XxHqBBg=; b=bDsbiCHt/haPQGcX/egUr9HDvzbYICP1n1UEg7L2ng44I/UYUL5fkzcMQR92M++abm XPgKWDeSVdgzh/g7SRlXJYhmcTi8U7QDUQaQ7TT+bpjZAeceKiel4jU3OIXnfhFbAyqn emSBZgZgS8uPXIsKvEqSV6AlyCn5IprfDz2rtKrA90MWpHKRRDOAOL3/cwXE5qe8K9ck orBXk4Xjh0U21g8Dr89iYoR4m4TBVYzwuBPVwAwLTa3QUtdRLLLCd04WDSI9YST5e5Pq +871ukLzoGjXZQsmBfyar48SdPV/w6MSK3Od6tgjrbM5RskFdE1XBnCrZzHST832e+Jt WvNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=CxvGzdYaegLYpHFO+T6Kt9Y6TNQhpglDz/I2XxHqBBg=; b=j6Mah8wArjgt4fXzz5XxWV12ErBJrMJbDIxtCultcZqrq/rCHkFqp6r8gMcF3WKS/L W+9Yz6IUH2ZaToxFxOoyfTGNr2mAy+vhfykt8ZD0Kb7QuKV5IzYIF4CuZifbr7Ne1dTI HGrWvV1lRIGUJnGfXttn7DD+4TdqKUdRPfVjLy9nDyuxFB1YpPrOviCpKcWpxjt6Lrau Q0AWe6nrCWXS7qU4xiAHm5w227feqtevvIlGtXYYJDivNh6UleUK4gfTq8v9/s/CtCAk FzqTZnFoiu0d/Pu7hGJEFWyHsJnmqPvv/q+YJJmjxXxiI7eoAWf5LcXkqQHaj+TqBIAr M5fQ== X-Gm-Message-State: AOAM5306XZK3UZGDHWGLM1rhuZlqm6bdDri7bOwNA2VzyokOodBqc2ey W6aX6hJncGaTZtsEUKOOGmrKIc+OTPE= X-Google-Smtp-Source: ABdhPJylMdEW1vUd0l615M6AV/NvysWoboaCmkVSBmivvTks0Zc40PmDOFxR3xLVCETz1R6KqhYVKA== X-Received: by 2002:a05:6808:647:: with SMTP id z7mr14495455oih.73.1595775384453; Sun, 26 Jul 2020 07:56:24 -0700 (PDT) Received: from terra.local (99-139-148-170.lightspeed.rcsntx.sbcglobal.net. [99.139.148.170]) by smtp.gmail.com with ESMTPSA id n6sm2766492otq.33.2020.07.26.07.56.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Jul 2020 07:56:23 -0700 (PDT) To: TUHS main list From: Will Senn Message-ID: Date: Sun, 26 Jul 2020 09:56:22 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------CC0DAC63D454C6D6E904403E" Content-Language: en-US Subject: [TUHS] Troff to ps X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" This is a multi-part message in MIME format. --------------CC0DAC63D454C6D6E904403E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit All, So... I've moved on from v7 to 2.11bsd - shucks, vi and tar and co. just work there and everything else seems to be similar enough for what I'm interested in anyway. So yay, I won't be pestering y'all about vi anymore :). One the other hand, now I'm interested in printing the docs. 2.11bsd comes with docs in, of all places, /usr/doc. In there are makefiles for making the docs - ok, make nroff will make ascii docs, and troff will make troff? docs using Ossana's 'original' troff. So, after adding -t to it so it didn't complain about 'typesetter busy', I got no errors. I mounted a tape, tar'ed my .out file and untar'ed it on my macbook (did it for the nroff and troff output). Then I hit the first snag, groff -Tps -ms troff.out > whatever.ps resulted in cannot adjust line and cannot break line errors and groff -Tps -ms nroff.out > whatever.ps resulted in a bunch of double vision. I seem to recall doing this in v6 and it working ok (at least for nroff). My questions: 1. Is there a troff to postcript conversion utility present in a stock 2.11 system (or even patch level 4xx system)? 2. Is there a way to build postscript directly on the system? 3. Is there an alternative modern way to get to ps or pdf output from the nroff/troff that 2.11 has? I'm still digging into the nroff stuff as that may be just minor diffs between ancient nroff macros and "modern" macros or even just errors (.sp -2 rather than .sp or .sp -1, .in -2 instead of .in +2), etc. Although, the files display ok in 2.11bsd using nroff -ms nroff.out... Thanks, Will -- GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF --------------CC0DAC63D454C6D6E904403E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit All,

So... I've moved on from v7 to 2.11bsd - shucks, vi and tar and co. just work there and everything else seems to be similar enough for what I'm interested in anyway. So yay, I won't be pestering y'all about vi anymore :). One the other hand, now I'm interested in printing the docs.

2.11bsd comes with docs in, of all places, /usr/doc. In there are makefiles for making the docs - ok, make nroff will make ascii docs, and troff will make troff? docs using Ossana's 'original' troff. So, after adding -t to it so it didn't complain about 'typesetter busy', I got no errors. I mounted a tape, tar'ed my .out file and untar'ed it on my macbook (did it for the nroff and troff output). Then I hit the first snag, groff -Tps -ms troff.out > whatever.ps resulted in cannot adjust line and cannot break line errors and
groff -Tps -ms nroff.out > whatever.ps resulted in a bunch of double vision. I seem to recall doing this in v6 and it working ok (at least for nroff).

My questions:
1. Is there a troff to postcript conversion utility present in a stock 2.11 system (or even patch level 4xx system)?
2. Is there a way to build postscript directly on the system?
3. Is there an alternative modern way to get to ps or pdf output from the nroff/troff that 2.11 has?

I'm still digging into the nroff stuff as that may be just minor diffs between ancient nroff macros and "modern" macros or even just errors (.sp -2 rather than .sp or .sp -1, .in -2 instead of .in +2), etc. Although, the files display ok in 2.11bsd using nroff -ms nroff.out...

Thanks,

Will
-- 
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF
--------------CC0DAC63D454C6D6E904403E--