From: john@csplan9.rit.edu
To: 9fans@9fans.net
Subject: Re: [9fans] Programming tutorial draft
Date: Fri, 7 Nov 2008 16:17:42 -0500 [thread overview]
Message-ID: <37b696bf23c180d8c3f469a567971bb1@csplan9.rit.edu> (raw)
In-Reply-To: <A56BF48A-E4F8-4516-A0EE-A9EBF00A0435@mac.com>
> On Nov 7, 2008, at 11:09 AM, Dan Cross wrote:
>
>> On Wed, Nov 5, 2008 at 3:03 AM, Bruce Ellis <bruce.ellis@gmail.com>
>> wrote:
>>> I'd like to see a you tube video of the troff.
>>
>> Dude, don't tempt me. When (if?) I (ever?) get off of active duty, I
>> might do a youtube video on troff. I know that's not quite what you
>> were saying, but it'd be hilarious.
>>
>> - Dan C.
>>
>> (ps- Bruce, let me know when you'll be stateside again.)
>>
>
> If I made it, it wouldn't be on youtube (I don't want to give up my
> rights to the video). But I would definitely give it to you, the groff
> guys, and the Heirloom guys.
>
> How is this to start:
>
> "This video will teach you troff. What is troff? troff is a document
> preparation system, much like TeX or Microsoft Word. troff is one of
> the first of these systems to support fonts in italic and drawing on
> the page. It was developed by the late Joe Ossanna and is the latest
> and newest in a long line of document programs.
> troff is most like TeX in that the document is a text file containing
> words with formatting commands mixed in. This means you'll have to get
> used to the command line.
> Three primary versions of troff are used today. The official version,
> based of Ossanna's work, is in the Plan 9 from Bell Labs operating
> system. The most common one is groff, a version made for the GNU
> project. There is also Heirloom troff, based off the ones by
> OpenSolaris. All three are free software.
> So as you can see, troff is a Unix tool. But if you are on Windows,
> don't despair: there are ports of these tools to Windows. I will be
> running Plan 9 for my demo.
>
> Let's start by creating a simple document. Create a new text file:
>
> > first_troff
>
> and edit it:
>
> acme first_troff
>
> Now let's type a few words:
>
> hello, world
>
> Save your work. In my case, I middle-click the Put at the top.
> Now comes the fun part. In Plan 9, to preview the document, you say
>
> troff first_troff | proof
>
> or
>
> troff first_troff | page
>
> I will use page. With GNU, you convert to a PostScript file and open
> it with an image viewer:
>
> troff first_troff | grops > first_troff.ps
>
> (Heirloom goes here.)"
A video seems like a rather foolish place to try and explain troff,
since the whole process is a lot of text input and a couple commands.
There exist plenty of documents on writing troff AND they avoid the
cutesy "Ok now let's do this... here's what I did... Now the fun
part" form.
John
next prev parent reply other threads:[~2008-11-07 21:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-05 0:09 ericvh
2008-11-05 0:23 ` Jeff Sickel
2008-11-05 8:03 ` Bruce Ellis
2008-11-07 16:09 ` Dan Cross
2008-11-07 19:58 ` Pietro Gagliardi
2008-11-07 21:17 ` john [this message]
2008-11-07 22:10 ` Bruce Ellis
-- strict thread matches above, loose matches on Subject: below --
2008-11-04 23:54 Pietro Gagliardi
2008-11-05 0:02 ` Pietro Gagliardi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=37b696bf23c180d8c3f469a567971bb1@csplan9.rit.edu \
--to=john@csplan9.rit.edu \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).