Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site unisoft.UUCP
Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!hpda!fortune!amd70!onyx!dual!unisoft!phil
From: phil@unisoft.UUCP (Phil Ronzone)
Newsgroups: net.unix-wizards
Subject: Re: Line drawing/leaders with nroff
Message-ID: <210@unisoft.UUCP>
Date: Fri, 17-Feb-84 22:23:01 EST
Article-I.D.: unisoft.210
Posted: Fri Feb 17 22:23:01 1984
Date-Received: Tue, 21-Feb-84 04:38:44 EST
References: <113@hsi.UUCP>
Organization: UniSoft Corp., Berkeley
Lines: 14

First line .........
You can do it recursively, appending to a string your line stuff
until it's wide enough, as in:
-----------------------------------------------------------------
.de wi
.if \w'\\*(S1'<\\n(W1 .as S1 \\$1
.if \w'\\*(S1'<\\n(W1 .wi \\$1
..
.ds S1 HELLO
.nr W1 5i
.wi ".\ "
\*(S1
-----------------------------------------------------------------
Crude, real slow, but it only takes 10 seconds to think of.