🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #3456

tbl+nroff -ms gives half-line gap

#3456
From: apratt
Date: Fri, 13 Feb 1987 22:42
45 lines
2440 bytes
I am trying to get a multi-page table using tbl and nroff -ms.  The
table is just two columns, with a box around the whole thing and a
vertical rule between the columns, like so:

TBL INPUT			     NROFF -ms OUTPUT
=====================================================================
.TS H				_________________________
box;				|       Summary         |
c s				|-----------------------|
c |c				| column 1 |  column2   |
l |l.				|----------|------------|
\ 				| data11   | data12     |
Summary				| data21   | data22     |
_				| data31   | data32     |
column 1	column 2	|__________|____________|
_
.TH
data11	data12
data21	data22
data31	data32
.TE

========================================================================

My output device is a Canon laser printer which understands half-line
forward and reverse and full-line reverse.  The symptom also shows up
on an Epson printer with half-line forward only (using col and a special
filter to change ^[9 to epson-half-line-forward).

The symptom is a half-line gap in the center vertical bar between the
line before the .TH and the first data line AT THE TOP OF EACH PAGE.
This only happens with the -ms macros handling page breaks, so that's
where I suspect the fault.  Is this well-known?  Is there a work-
around?  I have tried various spacings before and after the .TH
directive, and they all give the same result: the same half-line gap
in the center bar.

Until somebody sends me a fix (or I come up with one on my own) I will
just have to split the table across pages manually...  Thanks for
trying, whoever wrote the tbl helper in -ms, but I can't make it work.

/----------------------------------------------\
| Opinions expressed above do not necessarily  |  -- Allan Pratt, Atari Corp.
| reflect those of Atari Corp. or anyone else. |     ...lll-lcc!atari!apratt
\----------------------------------------------/
Technical Details
Message-ID: <560@atari.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!ames!ucbcad!ucbvax!decvax!tektronix!cae780!amdcad!sun!imagen!atari!apratt

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!ames!ucbcad!ucbvax!decvax!tektronix!cae780!amdcad!sun!imagen!atari!apratt
From: apratt@atari.UUCP
Newsgroups: comp.text
Subject: tbl+nroff -ms gives half-line gap
Message-ID: <560@atari.UUCP>
Date: Fri, 13-Feb-87 17:42:28 EST
Article-I.D.: atari.560
Posted: Fri Feb 13 17:42:28 1987
Date-Received: Sun, 15-Feb-87 05:20:51 EST
Organization: Atari Corp., Sunnyvale CA
Lines: 45