Technology and Trends
 USENET Archives
  
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!brl-adm!seismo!
cmcl2!phri!cooper!c.steinb
From: c.ste...@cooper.UUCP
Newsgroups: comp.text,comp.unix.questions,comp.unix.wizards
Subject: TROFF or NROFF drivers
Message-ID: <793@cooper.UUCP>
Date: Thu, 19-Mar-87 10:12:23 EST
Article-I.D.: cooper.793
Posted: Thu Mar 19 10:12:23 1987
Date-Received: Sun, 22-Mar-87 23:10:04 EST
Organization: The Cooper Union (NY, NY)
Lines: 5

Can anyone either refer me to or send me information on how
to write driver tables for NROFF or TROFF?

                                   Craig Steinberger
                                   c.ste...@cooper.UUCP

Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!unirot!patwood
From: patw...@unirot.UUCP
Newsgroups: comp.text,comp.unix.questions,comp.unix.wizards
Subject: Re: TROFF or NROFF drivers
Message-ID: <456@unirot.UUCP>
Date: Sat, 28-Mar-87 00:08:47 EST
Article-I.D.: unirot.456
Posted: Sat Mar 28 00:08:47 1987
Date-Received: Sun, 29-Mar-87 07:35:56 EST
References: <793@cooper.UUCP> <200@cjsa.UUCP>
Reply-To: patw...@unirot.UUCP (Patrick Wood)
Organization: Pipeline Associates, Inc.
Lines: 10
Keywords: ditroff tables
Summary: where to get more info

There is a book on UNIX Text Processing coming out in about two months
that will have appendices on writing ditroff font width tables.  It will
be published by Hayden/Sams; the authors are Tim O'Reilly and Dale
Dougherty of O'Reilly and Associates.

I'll post a short thing on them here over the weekend.

Pat Wood
bellcore!phw5!phw		(ignore the unirot address -- I only read
				 my mail here every few days)

Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!rochester!ritcv!hxd9622
From: hxd9...@ritcv.UUCP (Herman Darmawan)
Newsgroups: comp.unix.questions,comp.text
Subject: Troff - "Typesetter busy" message
Message-ID: <585@ritcv.UUCP>
Date: Sat, 25-Jul-87 14:31:01 EDT
Article-I.D.: ritcv.585
Posted: Sat Jul 25 14:31:01 1987
Date-Received: Sun, 26-Jul-87 01:56:03 EDT
Organization: Rochester Institute of Technology, Rochester, NY
Lines: 14

I ran troff but interrupted it halfway.  After that, troff reports
"Typesetter busy" message.  There is nobody else on the system.  No
processes are using troff either. I looked for any possible lock file
that troff may maintain but no luck.  I have even powered down the
system and brought it back up and it still reports the same thing.

HELP!!!


-+-+-+-

Herman Darmawan @ Rochester Institute of Technology
UUCP     {allegra,seismo}!rochester!ritcv!hxd9622
BITNET   HND9622@RITVAXC

Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!ll-xn!adelie!ora!tim
From: t...@ora.UUCP (Tim O'Reilly)
Newsgroups: comp.unix.questions,comp.text
Subject: Re: Troff - "Typesetter busy" message
Message-ID: <643@ora.UUCP>
Date: Tue, 28-Jul-87 19:20:15 EDT
Article-I.D.: ora.643
Posted: Tue Jul 28 19:20:15 1987
Date-Received: Thu, 30-Jul-87 04:08:42 EDT
References: <585@ritcv.UUCP>
Organization: O'Reilly & Associates, Inc., Newton, MA
Lines: 34
Summary: use the -t option

In article <5...@ritcv.UUCP>, hxd9...@ritcv.UUCP (Herman Darmawan) writes:
> I ran troff but interrupted it halfway.  After that, troff reports
> "Typesetter busy" message.  There is nobody else on the system.  No
> processes are using troff either. I looked for any possible lock file
> that troff may maintain but no luck.  I have even powered down the
> system and brought it back up and it still reports the same thing.

Old troff expects to talk directly to a typesetter.  Unlike most
well-behaved UNIX programs, it does not write to standard
output unless you tell it to.  You must use the -t option to
send output to standard out (which means you must also have
a postprocessor to interpret the output for the typesetter
or laser printer you want to send it to).  If you don't use
-t, you'll get this "Typesetter Busy" message.  This (almost
certainly) has nothing to do with the fact that you
interrupted troff part way through.

The standard usage these days, since most people don't have
CAT typesetters directly connected to their systems, is:

   troff -t -mx -Tsomedevice | postprocessor | lp -dsomedevice

If you need more general background on troff, it's covered
pretty thoroughly in a number of commercially available
books.  I'm biased (since I helped write it), but I think
the best is UNIX Text Processing by Dale Dougherty and Tim
O'Reilly, published by Howard Sams.  It's available in most
technical bookstores ($26.95).  In addition, we sell it by mail
order (call 1-800-338-NUTS).
-- 
Tim O'Reilly (617) 527-4210
O'Reilly & Associates, Inc., Publishers of Nutshell Handbooks
981 Chestnut Street, Newton, MA 02164
UUCP:	seismo!uunet!ora!tim      ARPA:   t...@ora.uu.net