hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.7K
active users

#troff

0 posts0 participants0 posts today
Antonio Frecentese<p>Thx to a lot of users here, almost got <a href="https://mastodon.bida.im/tags/Japanese" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Japanese</span></a> input in <a href="https://mastodon.bida.im/tags/9front" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>9front</span></a>. Now let’s try and figure out how to put it into <a href="https://mastodon.bida.im/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a>…</p>
Antonio Frecentese<p>Converted part of my notes into .ms for <a href="https://mastodon.bida.im/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a>. Yay!<br><a href="https://mastodon.bida.im/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenBSD</span></a></p>
Antonio Frecentese<p>Adapted my first source for the <a href="https://mastodon.bida.im/tags/9front" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>9front</span></a> <a href="https://mastodon.bida.im/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> instead of <a href="https://mastodon.bida.im/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenBSD</span></a>’s Heirloom one… and now I can insert also .ps pictures, which oddly were not embedded under BSD. Next step could be to try and add a <a href="https://mastodon.bida.im/tags/CJK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CJK</span></a> font and try to input <a href="https://mastodon.bida.im/tags/Japanese" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Japanese</span></a> under 9front. Any hint? Is it possible to insert PDF marks under 9front, using Troff? Are they supported?</p>
/dev/aubergine0<p>I guess I’m doing something of a competition between <a href="https://bsd.network/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> <a href="https://bsd.network/tags/orgmode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>orgmode</span></a> export to <a href="https://bsd.network/tags/LaTeX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LaTeX</span></a> and lovingly hand-crafted <a href="https://bsd.network/tags/heirloom" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>heirloom</span></a> <a href="https://bsd.network/tags/doctools" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>doctools</span></a> <a href="https://bsd.network/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> (-me).<br>I briefly considered an export from <a href="https://bsd.network/tags/orgmode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>orgmode</span></a> to <a href="https://bsd.network/tags/groff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>groff</span></a> (-ms) via <a href="https://bsd.network/tags/pandoc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pandoc</span></a> to see if the two approaches could possibly share anything, but that may be a gulf that is not worth crossing.</p><p>One of the macros I had coded up was to present something as a link to its entry in the appendix the first time it appeared on a new page, and ordinary text without link for subsequent mentions on the same page. While I’m sure there is a way to do this in the <a href="https://bsd.network/tags/TeX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TeX</span></a> universe, I don’t know (yet) if it is considered sufficiently within the <a href="https://bsd.network/tags/LaTeX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LaTeX</span></a> mindset to be worth attempting.</p><p>Building up from physical to logical to semantic markup feels more natural in <a href="https://bsd.network/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a>. Reaching down from <a href="https://bsd.network/tags/LaTeX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LaTeX</span></a> into <a href="https://bsd.network/tags/TeX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TeX</span></a> to perform computation in your document feels discouraged, doubly so when exporting from <a href="https://bsd.network/tags/orgmode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>orgmode</span></a>. It is a wonderful method for planning, organizing, and ultimately creating a beautiful document from a single source file.</p><p>Different people want different things out of their typesetting systems. I’m glad to have spent some time in both the <a href="https://bsd.network/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> and <a href="https://bsd.network/tags/TeX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TeX</span></a> worlds.</p>
Dale Hagglund<p><span class="h-card" translate="no"><a href="https://mastodon.social/@GeePawHill" class="u-url mention">@<span>GeePawHill</span></a></span> My personal best value per byte changed:</p><p>So, troff was crashing and the company couldn&#39;t get its next round of funding without that 400pp report. The problem got handed to me, the summer student, along with the source code for troff, which was ... very terse. Somehow I looked at it stored state, and it turns out that troff paged data to a fixed size file, ~5MB. (Sized for an RK05 disk pack?)</p><p>Adding a single `0` to the right `<a href="https://hachyderm.io/tags/define" class="mention hashtag" rel="tag">#<span>define</span></a>` fixed the problem.</p><p><a href="https://hachyderm.io/tags/unix" class="mention hashtag" rel="tag">#<span>unix</span></a> <a href="https://hachyderm.io/tags/c" class="mention hashtag" rel="tag">#<span>c</span></a> <a href="https://hachyderm.io/tags/troff" class="mention hashtag" rel="tag">#<span>troff</span></a> <a href="https://hachyderm.io/tags/debugging" class="mention hashtag" rel="tag">#<span>debugging</span></a></p>
IT News<p>Finally… a Man Page for Life - How often have you wished to have an instruction manual — or, at least, a Unix man... - <a href="https://hackaday.com/2024/12/15/finally-a-man-page-for-life/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackaday.com/2024/12/15/finall</span><span class="invisible">y-a-man-page-for-life/</span></a> <a href="https://schleuss.online/tags/linuxhacks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linuxhacks</span></a> <a href="https://schleuss.online/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> <a href="https://schleuss.online/tags/life" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>life</span></a> <a href="https://schleuss.online/tags/roff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>roff</span></a> <a href="https://schleuss.online/tags/man" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>man</span></a></p>
/dev/aubergine0<p>Don’t get me wrong; I’m reasonably proud of what I have accomplished with <a href="https://bsd.network/tags/heirloom" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>heirloom</span></a> <a href="https://bsd.network/tags/doctools" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>doctools</span></a> (a.k.a. <a href="https://bsd.network/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> that is not <a href="https://bsd.network/tags/groff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>groff</span></a>) and I even learned a few neat <a href="https://bsd.network/tags/makefile" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>makefile</span></a> tricks along the way. But given how much time I spend with <a href="https://bsd.network/tags/emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>emacs</span></a> and <a href="https://bsd.network/tags/orgmode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>orgmode</span></a> perhaps I should seriously investigate duplicating or imitating the work in <a href="https://bsd.network/tags/LaTeX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LaTeX</span></a>. It did not take as long as I feared it would to get the color and font matters worked out. The <a href="https://bsd.network/tags/macros" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>macros</span></a> look like they will translate easily enough, with some support from <a href="https://bsd.network/tags/elisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>elisp</span></a>. Links and bookmarks look like they will work themselves out. Pictures could be…interesting.</p>
Antonio Frecentese<p>Can anyone help me with <a href="https://mastodon.bida.im/tags/heirloom" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>heirloom</span></a> <a href="https://mastodon.bida.im/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a>? I need to specify A5 papersize using -mm macro package. The page size and the main text line length is fine, but the header and the footer still use A4 or letter. How can I change their behavior? <a href="https://mastodon.bida.im/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenBSD</span></a></p>
SyntaxError :sdf:<p>My poll about *nix typesetting systems ended today and I published on my Phlog my thoughts about it:</p><p><a href="gopher://sdf.org/0/users/syntaxerror/phlog/2024-09-05-Typesetting-Systems-Currently-In-Use.txt" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible"></span><span class="ellipsis">gopher://sdf.org/0/users/synta</span><span class="invisible">xerror/phlog/2024-09-05-Typesetting-Systems-Currently-In-Use.txt</span></a></p><p><a href="https://mastodon.sdf.org/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> <a href="https://mastodon.sdf.org/tags/unix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unix</span></a> <a href="https://mastodon.sdf.org/tags/nix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nix</span></a> <a href="https://mastodon.sdf.org/tags/latex" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>latex</span></a> <a href="https://mastodon.sdf.org/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://mastodon.sdf.org/tags/bsd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bsd</span></a> <a href="https://mastodon.sdf.org/tags/gopher" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gopher</span></a> <a href="https://mastodon.sdf.org/tags/phlog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>phlog</span></a></p>
sirjofri<p><span class="h-card"><a href="https://mastodon.social/@alerque" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>alerque</span></a></span> why groff though? Groff is troff with gnu extensions. I'm missing plain old <a href="https://mastodon.sdf.org/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a>.</p>
mhd<p>Found a new-to-me <a href="https://tilde.zone/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> macro package:</p><p><a href="http://cowlark.com/meta/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">http://</span><span class="">cowlark.com/meta/</span><span class="invisible"></span></a></p>
LdBeth<p>Using pbmtolps so you can embed binary images in <a href="https://mastodon.sdf.org/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> without needing ghostscript.<br><a href="https://mastodon.sdf.org/tags/netpbm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>netpbm</span></a></p>
LdBeth<p>See my last <a href="https://mastodon.sdf.org/tags/gopher" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gopher</span></a> article on why you shouldn't use <a href="https://mastodon.sdf.org/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> <a href="gopher://sdf.org/0/users/ldbeth/art/troff.txt" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible"></span><span class="ellipsis">gopher://sdf.org/0/users/ldbet</span><span class="invisible">h/art/troff.txt</span></a></p><p>For context, I used troff to type my homework and forgot to embed the font when distill the postscript output to pdf, and the special fonts for equations comes out the printer messed up.</p>
ThierryStoehr<p>[Anniversaire] Le grand (au sens propre et figuré) Brian Kernighan, aussi connu par BWK (<a href="https://framapiaf.org/tags/format" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>format</span></a> court avec son autre prénom, Wilson) fête ses 82 ans ce 30 janvier 2024.<br>Ce grand monsieur est depuis 55 ans (oui, 1969 !) notamment dans <a href="https://framapiaf.org/tags/Unix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Unix</span></a> (créé par Denis Ritchie et Ken Thompson, avec qui il travailla), le C et le 1er livre sur le C ("The C Programming Language"), awk (le k, c'est lui pour cet outil puissant), picture+eqn+troff (tracé+équation dans <a href="https://framapiaf.org/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a>) ou Go (langage développé par Google).</p>
postmodern<p>Is there a cross-platform way to add a horizontal rule/page-separator to a man page. Must be supported by groff, nroff, troff, and BSD's roff.<br><a href="https://ruby.social/tags/roff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>roff</span></a> <a href="https://ruby.social/tags/groff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>groff</span></a> <a href="https://ruby.social/tags/nroff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nroff</span></a> <a href="https://ruby.social/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> <a href="https://ruby.social/tags/manpage" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>manpage</span></a> <a href="https://ruby.social/tags/manpages" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>manpages</span></a></p>
scy<p>Suppose I was thinking about writing <a href="https://chaos.social/tags/manpage" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>manpage</span></a>⁠s for the command-line tools I build, but I don’t want to learn a 50&nbsp;year old typesetting language (<a href="https://chaos.social/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a>) to do that.</p><p>What are my options? <a href="https://chaos.social/tags/Asciidoc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Asciidoc</span></a>? What would you use? What _do_ you use?</p><p>I looked into <a href="https://chaos.social/tags/Pandoc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pandoc</span></a> Markdown to man conversion, and it seemed to suck.</p><p><a href="https://chaos.social/tags/Unix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Unix</span></a> <a href="https://chaos.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://chaos.social/tags/CLI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CLI</span></a> <a href="https://chaos.social/tags/documentation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>documentation</span></a></p>
Digital Mark λ ☕️ 🕹 🙄<p>Ooh, much nicer version of the Unix Text Processing book!<br><a href="https://archive.org/details/utp_book/mode/2up" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">archive.org/details/utp_book/m</span><span class="invisible">ode/2up</span></a><br><a href="https://appdot.net/tags/unix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unix</span></a> <a href="https://appdot.net/tags/ed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ed</span></a> <a href="https://appdot.net/tags/vi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vi</span></a> <a href="https://appdot.net/tags/vim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vim</span></a> <a href="https://appdot.net/tags/awk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>awk</span></a> <a href="https://appdot.net/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a></p>
Michael Piotrowski<p><span class="h-card"><a href="https://hcommons.social/@sramsay" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>sramsay</span></a></span> <span class="h-card"><a href="https://hcommons.social/@jmaxsfu" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>jmaxsfu</span></a></span> There are <a href="https://mastodon.acm.org/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> implementations that support Unicode natively (heirloom troff and neatroff). Some time ago, I started looking into how to use them with <a href="https://mastodon.acm.org/tags/Pandoc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pandoc</span></a>; IIRC the problem wasn’t with the macros, but rather the specific behavior of the groff wrapper script. I’d like to pick this up again at some point, but haven’t found the time yet.</p>
Barry Schwartz 🫖<p>And, yup, I had one of the two implementations output <a href="https://masto.ai/tags/eqn" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>eqn</span></a> and <a href="https://masto.ai/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> code, just as I’d earlier today hinted I might have a program do.</p>
Norman Wilson<p><a href="https://mstdn.ca/tags/tbl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tbl</span></a> remains a finicky tool but a useful one. <a href="https://mstdn.ca/tags/unix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unix</span></a> <a href="https://mstdn.ca/tags/troff" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>troff</span></a> <a href="https://mstdn.ca/tags/geek" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>geek</span></a></p>