From groff-admin  Tue Feb  1 08:35:22 2000
Received: from serenity.mcc.ac.uk ([130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id IAA08264
	for <groff@ffii.org>; Tue, 1 Feb 2000 08:35:22 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12FXrd-000Eyt-00; Tue, 1 Feb 2000 07:36:41 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA24802;
	Mon, 31 Jan 2000 23:43:33 GMT
Message-ID: <XFMail.000131234332.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <Pine.LNX.3.96.1000131155350.13167C-100000@ns1.greenbush.com>
Date: Mon, 31 Jan 2000 23:43:32 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: Eddie Maddox <eddie@mngovsci.com>
Subject: RE: [Groff] Blank line control.
Cc: Groff Mailing List <groff@ffii.org>
Status: O
Content-Length: 954
Lines: 42

On 31-Jan-00 Eddie Maddox wrote:
> 
> \# The null macro.
> .de null
> ..
> 
> This macro should be built in, like /dev/null is on *nix. Right?
> 
> Then:
> .blm null
> .blm
> .blm null

The back of my mind tapped me on the shoulder and whispered ".nop";
but there's no such thing. Then I grepped .../tmac/* and caught the
following in tmac.s:

  .de @nop
  ..

which is for "private" use when a survivable error is found in
a macro, which then gets aliased to @nop as in

  .de @not-implemented
  .@error sorry, \\$0 not implemented
  .als \\$0 @nop
  ..

However, it's available for public use as well ...

> (Is .blm documented?)

Yes: In 'man troff', section "New requests".

Cheers,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 31-Jan-00                                       Time: 23:43:32
------------------------------ XFMail ------------------------------


From groff-admin  Wed Feb  2 16:09:34 2000
Received: from enf403-2.ensu.ucalgary.ca (root@enf403-2.geomatics.ucalgary.ca [136.159.122.26])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA26683
	for <groff@ffii.org>; Wed, 2 Feb 2000 16:09:33 +0100
Received: by enf403-2.ensu.ucalgary.ca
	via sendmail from stdin
	id <m12G1R0-00004EC@enf403-2.ensu.ucalgary.ca> (Debian Smail3.2.0.102)
	for groff@ffii.org; Wed, 2 Feb 2000 08:11:10 -0700 (MST) 
Message-Id: <m12G1R0-00004EC@enf403-2.ensu.ucalgary.ca>
From: provinsd@enf403-2.ensu.ucalgary.ca (Dean Allen Provins)
In-Reply-To: <XFMail.000131231049.Ted.Harding@nessie.mcc.ac.uk> from "Ted.Harding@nessie.mcc.ac.uk"
 at "Jan 31, 2000 11:10:49 pm"
To: Ted.Harding@nessie.mcc.ac.uk
Date: Wed, 2 Feb 2000 08:11:10 -0700 (MST)
CC: groff mail list <groff@ffii.org>
X-Mailer: ELM [version 2.4ME+ PL65 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: [Groff] Re: fill/diversion query
Status: O
Content-Length: 2060
Lines: 58

Ted:

I tried your suggestion (moving .nf outside, and using macro
definition instead of diversion).  Naturally it works.  I'm still
curious about the newline/space issue though.

Tonight I'll go back to the UNIX Text Processing book to see what I missed.
Apparently I misunderstood what I was reading.

Thanks for your help.

Dean Provins
Calgary

PS:  The HOWTO is coming, although slowly.  I write a section each
weekend, and have 3/4 to go.  I noticed in recent post (possibly by
Eddie), that you may have written a TROFF document.  If so, may I see a
copy?

-----------------------

> Hi Dean,
> 
> A detailed explanation of the mechanism producing your output
> escapes me for the moment, though I'm interested to find out and
> will be investigating.
> 
> The main explanation, however, is that what gets put into a diversion
> is _processed_ output, not the input. Namely:
> 
>   .di xx     Divert output to macro xx. Normal text processing occurs
>              during diversion except that page offsetting is not done.
>              ...
> 
> I suspect that the detailed explanation has to do with the line-breaks
> in the input getting processed twice over, turning them into spaces
> each time: once when the input is processed for the first time as it
> goes into the diversion, and then again as it comes back out ... Don't
> quote me on that yet, though!
> 
> It is possible to vary the unwanted effects by juggling with your
> original source, but not to do away with them altogether.
> 
> The way to get it as it should be is to make a proper macro out
> of the source text as such. Then (on my system) it works fine.
> It's also a good idea (for your demo) to leave the nf and fi
> commands outside the macro.
> 
> I have re-written your source below to show this. (You can use
> .my_test or \*[my_test] equivalently here).
> 
> By the way, spaces had crept in at the ends of a couple of your
> lines, though they don't seem to produce any visible effect: I have
> replaced these by ! to show where they were.
> 
> I hope this helps.
> Ted.


From groff-admin  Wed Feb  2 20:13:48 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id UAA28238
	for <groff@ffii.org>; Wed, 2 Feb 2000 20:13:47 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id OAA18429
	for <groff@ffii.org>; Wed, 2 Feb 2000 14:15:48 -0500
Date: Wed, 2 Feb 2000 14:15:48 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
Subject: RE: [Groff] Blank line control.
In-Reply-To: <XFMail.000131234332.Ted.Harding@nessie.mcc.ac.uk>
Message-ID: <Pine.LNX.3.96.1000202140443.18314B-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 552
Lines: 28

On Mon, 31 Jan 2000 Ted.Harding@nessie.mcc.ac.uk wrote:

>   .de @nop
>   ..

>   .als \\$0 @nop
    .als null @nop

> However, it's available for public use as well ...

.blm @nop
.blm null

I prefer the later, myself.  But both work, of course.  Could you and the
others consider whether to include
.als null @nop
or similar as 'standard issue' from now on? Easier to remember, too, I
think. 

Perhaps other uses will present themselves over time. Toggling debug
macros or something. Who knows?

------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Wed Feb  2 22:30:00 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id WAA29348
	for <groff@ffii.org>; Wed, 2 Feb 2000 22:30:00 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Wed, 2 Feb 2000 22:31:50 +0100
Received: from rigel.univie.ac.at (dial-143129.HRZ.Uni-Dortmund.DE [129.217.143.129])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id WAA08339;
	Wed, 2 Feb 2000 22:31:45 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id UAA23913;
	Wed, 2 Feb 2000 20:13:55 GMT
To: blake@florida-software.com
Cc: groff@ffii.org
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <4.1.20000131200147.04b18d20@florida-software.com>
References: <4.1.20000131200147.04b18d20@florida-software.com>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000202201355J.sx0005@sx2.hrz.uni-dortmund.de>
Date: Wed, 02 Feb 2000 20:13:55 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] Re: Win32 port of Groff and friends
Status: O
Content-Length: 1657
Lines: 44

> 1. A diff file (win32-diff).  This file changes existing code
> modules so that those files will work under Win32 without effecting
> their operation under other environments.  I am hopeful that these
> changes will be integrated with the main development effort.

Looking at your code, I think this is easily done.  Just one thing is
strange:

  struct macro_header {
#ifdef _MSC_VER
  public
#endif


Can you check why this is necessary?

> 2.  Makefiles.  Several makefiles were added.  All makefiles were named
> makefile.msc    I am hopeful that these additions will 
> be integrated with the main development effort.

Adding the makefiles to the main package is no problem.  Note that I
will change (hopefully in the near future) the directory structure of
groff: all devXXX will be moved into `fonts', all groXXX into
`devices' and all preprocessors into `preproc' -- I will ask you then
to adapt the makefiles accordingly.

> 3. The Groff build includes several scripts which generate axillary
> files used by groff (such as DESC, I, R, prologue, etc.).
> Additionally groff assumes the presence of some unix specific
> utilities (such as getopt).  These files were created on a unix box
> and just copied over.  I think these files should just be kept with
> the groff distribution in the form of a zip or tar file.  This way
> those on non-unix boxes can just unpack them instead of having to
> generate them.

Adding getopt is OK.

I can offer to put all auxiliary files into `arch/win32' if you prefer
-- before I apply your patches I'll wait for the Japanese guy who has
ported groff to OS/2; hopefully there is some synergy...


    Werner


From groff-admin  Wed Feb  2 23:12:01 2000
Received: from dataway.ch (qmailr@stargazer.dataway.ch [195.216.64.144])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with SMTP id XAA29683
	for <groff@ffii.org>; Wed, 2 Feb 2000 23:12:00 +0100
Received: (qmail 6476 invoked by uid 502); 2 Feb 2000 22:14:12 -0000
Message-ID: <20000202231412.W6242@stargazer.dataway.ch>
Date: Wed, 2 Feb 2000 23:14:12 +0100
From: "A. Uk / dataway GmbH" <chip@stargazer.dataway.ch>
To: groff@ffii.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.91i
Organization: dataway GmbH, Winterthur, Switzerland
X-URL: http://www.dataway.ch/
Subject: [Groff] Segmentation fault in grops
Status: O
Content-Length: 742
Lines: 21

Hi,
I have an EPS file which came out of Adobe Illustrator 8 (Mac). When
I try to include it, grops dumps core. I then deleted a few headers
from the EPS and since then it works fine.

I compiled groff 1.15 from source on Linux 2.2.14, ELF, on glibc 2.1.12
with libstdc++-3-libc6.1-2-2.10.0.

I can send the EPS to a developer if interested.

Another thing is that Mac EPS use \r as a newline and psbb doesn't accept
this; any fixes?

regards,

-- 
|  Anthony Uk            |  dataway GmbH     |  anthony@dataway.ch     |
|                        |  Postfach 7338    |  Tel. +41 1 273 1790    |
|  System Administrator  |  CH-8023 Zuerich  |  Fax  +41 1 273 1720    |
|  Geschäftsführer       |  Switzerland      |  http://www.dataway.ch  |


From groff-admin  Wed Feb  2 23:28:37 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA29802
	for <groff@ffii.org>; Wed, 2 Feb 2000 23:28:37 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Wed, 2 Feb 2000 23:30:45 +0100
Received: from rigel.univie.ac.at (dial-143182.HRZ.Uni-Dortmund.DE [129.217.143.182])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id XAA09659;
	Wed, 2 Feb 2000 23:30:42 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id XAA24126;
	Wed, 2 Feb 2000 23:09:16 GMT
To: chip@stargazer.dataway.ch
Cc: groff@ffii.org
Subject: Re: [Groff] Segmentation fault in grops
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <20000202231412.W6242@stargazer.dataway.ch>
References: <20000202231412.W6242@stargazer.dataway.ch>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000202230916S.sx0005@sx2.hrz.uni-dortmund.de>
Date: Wed, 02 Feb 2000 23:09:16 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 429
Lines: 17

> I compiled groff 1.15 from source on Linux 2.2.14, ELF, on glibc
> 2.1.12 with libstdc++-3-libc6.1-2-2.10.0.
> 
> I can send the EPS to a developer if interested.

It depends on the size.  I'm sitting behind a 28.8k modem...

> 
> Another thing is that Mac EPS use \r as a newline and psbb doesn't
> accept this; any fixes?

psbb no longer exists (in the current snapshot); there is a new .psbb
request in troff.


    Werner


From groff-admin  Thu Feb  3 00:50:39 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA30296
	for <groff@ffii.org>; Thu, 3 Feb 2000 00:50:39 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	for groff@ffii.org
	id 12G9Zr-000BXg-00; Wed, 2 Feb 2000 23:52:52 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA19823;
	Wed, 2 Feb 2000 23:43:21 GMT
Message-ID: <XFMail.000202234320.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <20000202230916S.sx0005@sx2.hrz.uni-dortmund.de>
Date: Wed, 02 Feb 2000 23:43:20 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: groff@ffii.org
Subject: Re: [Groff] Segmentation fault in grops
Status: O
Content-Length: 2537
Lines: 77

On 02-Feb-00 Werner LEMBERG wrote:
> 
>> I compiled groff 1.15 from source on Linux 2.2.14, ELF, on glibc
>> 2.1.12 with libstdc++-3-libc6.1-2-2.10.0.
>> 
>> I can send the EPS to a developer if interested.
> 
> It depends on the size.  I'm sitting behind a 28.8k modem...
> 
>> 
>> Another thing is that Mac EPS use \r as a newline and psbb doesn't
>> accept this; any fixes?
> 
> psbb no longer exists (in the current snapshot); there is a new .psbb
> request in troff.

Whether it's done by old grops or by new internals, whatever does the
job will have to recognise \r as well since it is one of the
PostScript-valid line terminators ( \r , \n , \r\n  ). The job is to
import a PS object, in whatever form of valid conforming PS it has.

I hadn't been aware of this problem, but it's there for sure
in grops: a simple EPS file with \n terminators was converted to
have \r terminators, and psbb failed to find a BoundingBox line.

I think this needs to be fixed (a) in grops for those who continue
to use that; (b) (if not already fixed) in the new .psbb request
in groff.

Meanwhile, a simple workround which should be good for almost
all cases is

  cat badfile | tr '\r' '\n' > goodfile

which will turn all \r's into \n's, and outside literal
strings multiple \n's are equivalent to a single \n.
Unfortunately this makes the importing of PS less tidy and
convenient. There is also at least one circumstance in which it
could cause problems: if a \r\n pair occurs within a literal
PostScript string as in

  (This is end-of-line\r\nand this is a new line)

(where \r and \n stand for the single-byte control characters),
this would be translated by the above to

  (This is end-of-line\n\nand this is a new line)

which may not be what is wanted: PostScript converts \r and \r\n
within a (...) string to a single \n, except when reading from a
file with 'read' and 'readstring', but \n\n is left as it is.
The result would be that whereas

  (This is some text\r\nand this is more text)

would print as

  This is some text and this is more text

(the \r\n is converted internally to \n and comes out as a space),

  (This is some text\n\nand this is more text)

would print as

  This is some text  and this is more text

(the \n\n would give two spaces).

Hmmm.
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 02-Feb-00                                       Time: 23:43:19
------------------------------ XFMail ------------------------------


From groff-admin  Thu Feb  3 09:48:53 2000
Received: from atlantis.erlm.siemens.de (atlantis.erlm.siemens.de [212.114.202.14])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id JAA06778
	for <groff@ffii.org>; Thu, 3 Feb 2000 09:48:47 +0100
Received: from tcenter.erlm.siemens.de (tcenter.erlm.siemens.de [193.98.99.20])
	by atlantis.erlm.siemens.de (8.9.3/8.9.3) with ESMTP id JAA02144;
	Thu, 3 Feb 2000 09:45:45 +0100 (MET)
Received: from nbgv101a.nbg9.siemens.de (nbgv101a.nbg9.siemens.de [130.170.148.248])
	by tcenter.erlm.siemens.de (8.9.0/8.9.0) with ESMTP id JAA25215;
	Thu, 3 Feb 2000 09:45:57 +0100 (MET)
Received: by NBGV101A with Internet Mail Service (5.5.2650.21)
	id <D0QDHWY4>; Thu, 3 Feb 2000 09:46:23 +0100
Message-ID: <11DD9734B036D311947400805F0DD6070363D4@NBGV101A>
From: Freudenberger Joerg <Joerg.Freudenberger@nbg9.siemens.de>
To: "'A. Uk / dataway GmbH'" <chip@stargazer.dataway.ch>, groff@ffii.org
Subject: RE: [Groff] Segmentation fault in grops
Date: Thu, 3 Feb 2000 09:46:17 +0100 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/mixed;
	boundary="----_=_NextPart_000_01BF6E23.258CF740"
Status: O
Content-Length: 1720
Lines: 71

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01BF6E23.258CF740
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hallo

> Another thing is that Mac EPS use \r as a newline and psbb=20
> doesn't accept
> this; any fixes?

The most productive way is to write a special C Program.

If you have a *nix shell with tool look for tr(1):
		tr '[<binary lf>]' '[<binary cr>]' < In > Out

	(The real difficulty with the tr solution is it needs
	an editor, which is able to store the binary characters=20
	and the run environment must not change it=20
		(I got trouble on NT and failed))

The last posiblity is to use tcl ( 8.0 or higher ).
I use the dos2unix. unix2mac is only edited.
	tclsh81 dos2unix InFile OutFile

Yours
	J=F6rg



------_=_NextPart_000_01BF6E23.258CF740
Content-Type: application/octet-stream;
	name="unix2mac.tcl"
Content-Disposition: attachment;
	filename="unix2mac.tcl"

set hostfile [lindex $argv 0]
set ret [open $hostfile r]
append wfile [lindex $argv 1]
set wret [open $wfile w ]
fconfigure $wret -translation {lf cr}
while { [gets $ret line ] != -1 } {
    puts $wret $line
}
close $ret
close $wret
 

------_=_NextPart_000_01BF6E23.258CF740
Content-Type: application/octet-stream;
	name="dos2unix.tcl"
Content-Disposition: attachment;
	filename="dos2unix.tcl"

set hostfile [lindex $argv 0]
set ret [open $hostfile r]
append wfile [lindex $argv 1]
set wret [open $wfile w ]
fconfigure $wret -translation {crlf lf}
while { [gets $ret line ] != -1 } {
    puts $wret $line
}
close $ret
close $wret
 

------_=_NextPart_000_01BF6E23.258CF740--


From groff-admin  Thu Feb  3 13:33:14 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id NAA08176
	for <groff@ffii.org>; Thu, 3 Feb 2000 13:33:14 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Thu, 3 Feb 2000 13:35:11 +0100
Received: from rigel.univie.ac.at (dial-143132.HRZ.Uni-Dortmund.DE [129.217.143.132])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id NAA19459;
	Thu, 3 Feb 2000 13:35:07 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id MAA25753;
	Thu, 3 Feb 2000 12:19:12 GMT
To: Ted.Harding@nessie.mcc.ac.uk
Cc: groff@ffii.org
Subject: Re: [Groff] Segmentation fault in grops
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <XFMail.000202234320.Ted.Harding@nessie.mcc.ac.uk>
References: <20000202230916S.sx0005@sx2.hrz.uni-dortmund.de>
	<XFMail.000202234320.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000203121911S.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 03 Feb 2000 12:19:11 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 584
Lines: 19

> >> Another thing is that Mac EPS use \r as a newline and psbb
> >> doesn't accept this; any fixes?
> > 
> > psbb no longer exists (in the current snapshot); there is a new
> > .psbb request in troff.

I've just committed changes to the CVS so that .psbb accepts \r as a
newline also.

> I think this needs to be fixed (a) in grops for those who continue
> to use that; (b) (if not already fixed) in the new .psbb request
> in groff.

(b) is now fixed, but what do you mean with (a)?  If I interpret the
code correctly, grops already handles both \n and \r gracefully.


    Werner


From groff-admin  Thu Feb  3 15:21:37 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id PAA09088
	for <groff@ffii.org>; Thu, 3 Feb 2000 15:21:37 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	for groff@ffii.org
	id 12GNAo-000JYk-00; Thu, 3 Feb 2000 14:23:54 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id MAA24601;
	Thu, 3 Feb 2000 12:57:58 GMT
Message-ID: <XFMail.000203125757.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <11DD9734B036D311947400805F0DD6070363D4@NBGV101A>
Date: Thu, 03 Feb 2000 12:57:57 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: groff@ffii.org
Subject: RE: [Groff] Segmentation fault in grops
Status: O
Content-Length: 1307
Lines: 40

On 03-Feb-00 Freudenberger Joerg wrote:
> Hallo
> 
> The most productive way is to write a special C Program.
> 
> If you have a *nix shell with tool look for tr(1):
>               tr '[<binary lf>]' '[<binary cr>]' < In > Out
> 
>       (The real difficulty with the tr solution is it needs
>       an editor, which is able to store the binary characters 
>       and the run environment must not change it 
>               (I got trouble on NT and failed))


This must depend on which version of 'tr' you are using.

The GNU textutils version (as on Linux) allows escape sequences
such as \r , \n and so on (as in C). So the line

   cat infile | tr '\r' '\n' > outfile

will work. I have just checked the 'tr' on an old Solaris, and
while it does not support \r , \n etc it does support octal
representations, so that

   cat infile | tr '\015' '\012' > outfile

would work.

Finally, the GNU textutils (and other utilities) are also
available ported to many non-UNIX systems (including DOS),
though some functionality may be reduced.

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 03-Feb-00                                       Time: 12:57:57
------------------------------ XFMail ------------------------------


From groff-admin  Thu Feb  3 16:09:23 2000
Received: from atlantis.erlm.siemens.de (atlantis.erlm.siemens.de [212.114.202.14])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA09403
	for <groff@ffii.org>; Thu, 3 Feb 2000 16:09:23 +0100
Received: from tcenter.erlm.siemens.de (tcenter.erlm.siemens.de [193.98.99.20])
	by atlantis.erlm.siemens.de (8.9.3/8.9.3) with ESMTP id QAA14168;
	Thu, 3 Feb 2000 16:07:20 +0100 (MET)
Received: from nbgv101a.nbg9.siemens.de (nbgv101a.nbg9.siemens.de [130.170.148.248])
	by tcenter.erlm.siemens.de (8.9.0/8.9.0) with ESMTP id QAA17456;
	Thu, 3 Feb 2000 16:07:33 +0100 (MET)
Received: by NBGV101A with Internet Mail Service (5.5.2650.21)
	id <D0QDHX3M>; Thu, 3 Feb 2000 16:07:58 +0100
Message-ID: <11DD9734B036D311947400805F0DD6070363D6@NBGV101A>
From: Freudenberger Joerg <Joerg.Freudenberger@nbg9.siemens.de>
To: "'Ted.Harding@nessie.mcc.ac.uk'" <Ted.Harding@nessie.mcc.ac.uk>
Cc: groff@ffii.org
Subject: RE: [Groff] Segmentation fault in grops
Date: Thu, 3 Feb 2000 16:07:49 +0100 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by genba.ffii.org id QAA09404
Status: O
Content-Length: 551
Lines: 20

Ted, you are right. 

The originaly difficulties I had are caused by having 
a heterogenious environment of realy old fashioned *nix releases
and old scripts on the one hand side 
and Windows NT with Cygwin B20.1 on the other hand side, 
because the later has to generate files with dos CRLF and *nix LF.
The project requires to access the "file systems" with default mode
(Cygwin notation //c/temp etc.). 
Then the runtime environment adds the \r during writing the data to
a disk file.

IMHO end of this subtopic

Thank you very much

Yours
	Jörg



From groff-admin  Thu Feb  3 17:00:57 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id RAA09803
	for <groff@ffii.org>; Thu, 3 Feb 2000 17:00:57 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12GOiv-0003LJ-00; Thu, 3 Feb 2000 16:03:13 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA25385;
	Thu, 3 Feb 2000 14:32:56 GMT
Message-ID: <XFMail.000203143256.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <20000203121911S.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 03 Feb 2000 14:32:56 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: Werner LEMBERG <wl@gnu.org>
Subject: Re: [Groff] Segmentation fault in grops
Cc: groff@ffii.org
Status: O
Content-Length: 1109
Lines: 33

On 03-Feb-00 Werner LEMBERG wrote:
> 
>> >> Another thing is that Mac EPS use \r as a newline and psbb
>> >> doesn't accept this; any fixes?
>> > 
>> > psbb no longer exists (in the current snapshot); there is a new
>> > .psbb request in troff.
> 
> I've just committed changes to the CVS so that .psbb accepts \r as a
> newline also.
> 
>> I think this needs to be fixed (a) in grops for those who continue
>> to use that; (b) (if not already fixed) in the new .psbb request
>> in groff.
> 
> (b) is now fixed, but what do you mean with (a)?  If I interpret the
> code correctly, grops already handles both \n and \r gracefully.

Sorry, that was my typo! I should have written

>> I think this needs to be fixed (a) in psbb for those who continue
>> to use that; (b) (if not already fixed) in the new .psbb request
>> in groff.

Apologies!

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 03-Feb-00                                       Time: 14:32:56
------------------------------ XFMail ------------------------------


From groff-admin  Thu Feb  3 17:41:13 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id RAA10076
	for <groff@ffii.org>; Thu, 3 Feb 2000 17:41:12 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id LAA21876
	for <groff@ffii.org>; Thu, 3 Feb 2000 11:43:29 -0500
Date: Thu, 3 Feb 2000 11:43:29 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
Message-ID: <Pine.LNX.3.96.1000203113426.21851A-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Groff] \# Blank space control.
Status: O
Content-Length: 231
Lines: 29

\# Blank space control.

.nf
.na

123456
\# --> 123456
\# fine.

123
456
\# --> 123
\#     456
\# fine.

.fi
123
456
\# --> 123 456
\#        ^ not so fine.

\# ideas, anyone?

------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Thu Feb  3 17:58:51 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id RAA10191
	for <groff@ffii.org>; Thu, 3 Feb 2000 17:58:50 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id MAA21950
	for <groff@ffii.org>; Thu, 3 Feb 2000 12:01:07 -0500
Date: Thu, 3 Feb 2000 12:01:07 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
Message-ID: <Pine.LNX.3.96.1000203114335.21851B-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Groff] Periods, period.
Status: O
Content-Length: 303
Lines: 25

Periods, period.

.123.456.
\# --> nothing

\123.456.
\# --> nothing

\\.123.456.
\# --> \.123.456.

123.456
\# --> everything

How do we always get periods to always show up whenever, and wherever, we
want them?

Any other troublesome puncuation?

------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Thu Feb  3 18:34:24 2000
Received: from maxwell.phys.lafayette.edu (maxwell.phys.lafayette.edu [139.147.200.41])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id SAA10425
	for <groff@ffii.org>; Thu, 3 Feb 2000 18:34:18 +0100
Received: from localhost (doughera@localhost)
	by maxwell.phys.lafayette.edu (8.9.3/8.9.3) with ESMTP id MAA14768;
	Thu, 3 Feb 2000 12:37:02 -0500 (EST)
X-Authentication-Warning: maxwell.phys.lafayette.edu: doughera owned process doing -bs
Date: Thu, 3 Feb 2000 12:37:02 -0500 (EST)
From: Andy Dougherty <doughera@lafayette.edu>
X-Sender: doughera@maxwell.phys.lafayette.edu
To: Eddie Maddox <eddie@mngovsci.com>
cc: Groff Mailing List <groff@ffii.org>
Subject: Re: [Groff] Periods, period.
In-Reply-To: <Pine.LNX.3.96.1000203114335.21851B-100000@ns1.greenbush.com>
Message-ID: <Pine.SOL.4.10.10002031224190.14632-100000@maxwell.phys.lafayette.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 865
Lines: 36

On Thu, 3 Feb 2000, Eddie Maddox wrote:

> \123.456.
> \# --> nothing

I believe traditional troff would give you 123.456. here.  That is, an \X
sequence, where X was not a character with special meaning, would simply
be passed on as X.

> \\.123.456.
> \# --> \.123.456.

Yes, that's exactly what you asked for -- the sequence '\\' is of the form
\X.

> How do we always get periods to always show up whenever, and wherever, we
> want them?

Other than at the beginning of a line, there's not a problem.  At the
beginning of a line, preceed the period by \&.  That is,

	\&.123

will give you a plain .123.

> Any other troublesome puncuation?

Yes, the backslash \ is one to watch out for.  If you want it to appear in
your output, use the sequence \e.

-- 
    Andy Dougherty		doughera@lafayette.edu
    Dept. of Physics
    Lafayette College, Easton PA 18042



From groff-admin  Thu Feb  3 19:29:53 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id TAA10834
	for <groff@ffii.org>; Thu, 3 Feb 2000 19:29:53 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	for groff@ffii.org
	id 12GR34-000Gkq-00; Thu, 3 Feb 2000 18:32:11 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id RAA28509;
	Thu, 3 Feb 2000 17:29:16 GMT
Message-ID: <XFMail.000203172916.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <Pine.LNX.3.96.1000203113426.21851A-100000@ns1.greenbush.com>
Date: Thu, 03 Feb 2000 17:29:16 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: Groff Mailing List <groff@ffii.org>
Subject: RE: [Groff] \# Blank space control.
Status: O
Content-Length: 1491
Lines: 59

On 03-Feb-00 Eddie Maddox wrote:
> \# Blank space control.
> 
> .nf
> .na
> 
> 123456
> \# --> 123456
> \# fine.
> 
> 123
> 456
> \# --> 123
> \#     456
> \# fine.
> 
> .fi
> 123
> 456
> \# --> 123 456
> \#        ^ not so fine.
> 
> \# ideas, anyone?

This is normal behaviour. "A word is any string of characters delimited
by the space character or the beginning/end of the input line." In other
words, typing a sequence of characters on two separate lines is
equivalent to typing them separated by a space (with a bit of extra
complication in the 2-line case of the last character on line 1 is
an end-of-sentence character).

There is no groff request to suppress this behaviour globally.

To suppress it in particular cases, you have two options.

One would be to type your input as

  123\
  456

where the newline following the \ is hidden by the \. The other
is to use the \c sequence similarly:

  123\c
  456

where the \c allows you to interpolate control lines (such
as built-in requests or macro calls) berwen the two lines.
"A word ... may be interrupted by terminating the word (and line)
with \c; the next encountered text [i.e. not control lines]
wil be treated as a continuation of the interrupted word."

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 03-Feb-00                                       Time: 17:29:16
------------------------------ XFMail ------------------------------


From groff-admin  Fri Feb  4 10:12:18 2000
Received: from smtp04.wxs.nl ([195.121.6.59])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id KAA21997
	for <groff@ffii.org>; Fri, 4 Feb 2000 10:12:18 +0100
Received: from daemon.ninth-circle.org ([195.121.196.36]) by smtp04.wxs.nl
          (Netscape Messaging Server 3.61)  with ESMTP id AAA1AD6
          for <groff@ffii.org>; Fri, 4 Feb 2000 10:14:05 +0100
Received: (from asmodai@localhost)
	by daemon.ninth-circle.org (8.9.3/8.9.3) id KAA14427
	for groff@ffii.org; Fri, 4 Feb 2000 10:14:03 +0100 (CET)
	(envelope-from asmodai)
Date: Fri, 4 Feb 2000 10:14:02 +0100
From: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To: Groff Mailinglist <groff@ffii.org>
Message-ID: <20000204101402.I319@daemon.ninth-circle.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
Organisation: Ninth-Circle Enterprises
Subject: [Groff] Ix macro question
Status: O
Content-Length: 438
Lines: 16

Does the Ix macro exist in the groff package?

I have been unsuccessful in finding it.

The semantics are .Ix # def blah

where # is a number and blah the title of that index part.

Cheers,

-- 
Jeroen Ruigrok vd W/Asmodai         asmodai@[wxs.nl|bart.nl|freebsd.org]
Documentation nutter/B-rated Coder BSD: Technical excellence at its best  
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>
How the gods kill...


From groff-admin  Fri Feb  4 11:24:25 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id LAA22436
	for <groff@ffii.org>; Fri, 4 Feb 2000 11:24:25 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 4 Feb 2000 11:26:37 +0100
Received: from rigel.univie.ac.at (dial-143166.HRZ.Uni-Dortmund.DE [129.217.143.166])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id LAA09965;
	Fri, 4 Feb 2000 11:26:30 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id KAA26455;
	Fri, 4 Feb 2000 10:23:15 GMT
To: Ted.Harding@nessie.mcc.ac.uk
Cc: groff@ffii.org
Subject: Re: [Groff] Segmentation fault in grops
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <XFMail.000203143256.Ted.Harding@nessie.mcc.ac.uk>
References: <20000203121911S.sx0005@sx2.hrz.uni-dortmund.de>
	<XFMail.000203143256.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000204102314N.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 04 Feb 2000 10:23:14 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 285
Lines: 11

> Sorry, that was my typo! I should have written
> 
> >> I think this needs to be fixed (a) in psbb for those who continue
> >> to use that; (b) (if not already fixed) in the new .psbb request
> >> in groff.

Since psbb no longer exists problem (a) has vanished also :-)


    Werner


From groff-admin  Fri Feb  4 16:49:11 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA24416
	for <groff@ffii.org>; Fri, 4 Feb 2000 16:49:11 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 4 Feb 2000 16:51:00 +0100
Received: from rigel.univie.ac.at (dial-143153.HRZ.Uni-Dortmund.DE [129.217.143.153])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id QAA27603;
	Fri, 4 Feb 2000 16:50:55 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id KAA26587;
	Fri, 4 Feb 2000 10:58:42 GMT
To: asmodai@wxs.nl
Cc: groff@ffii.org
Subject: Re: [Groff] Ix macro question
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <20000204101402.I319@daemon.ninth-circle.org>
References: <20000204101402.I319@daemon.ninth-circle.org>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000204105840T.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 04 Feb 2000 10:58:40 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 156
Lines: 9

> Does the Ix macro exist in the groff package?
> 
> I have been unsuccessful in finding it.

Apparently not.  Any contributions are welcome.


    Werner


From groff-admin  Fri Feb  4 23:43:02 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA26938
	for <groff@ffii.org>; Fri, 4 Feb 2000 23:43:02 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 4 Feb 2000 23:45:24 +0100
Received: from rigel.univie.ac.at (dial-143150.HRZ.Uni-Dortmund.DE [129.217.143.150])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id XAA05812;
	Fri, 4 Feb 2000 23:45:21 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id WAA31209;
	Fri, 4 Feb 2000 22:41:11 GMT
To: chip@stargazer.dataway.ch, groff@ffii.org
Subject: Re: [Groff] Segmentation fault in grops
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <20000204173407.B6242@stargazer.dataway.ch>
References: <20000202233531.X6242@stargazer.dataway.ch>
	<20000203071533J.sx0005@sx2.hrz.uni-dortmund.de>
	<20000204173407.B6242@stargazer.dataway.ch>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000204224109A.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 04 Feb 2000 22:41:09 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 262
Lines: 10

> I have determined that the SEGV ist caused by the %BeginData block
> (whatever that is).. Removing it until the %EndData line makes the
> segfault disappear.

Thanks for the file.  I've fixed the segfault problem and added the
change to the CVS.


    Werner


From groff-admin  Sat Feb  5 00:04:50 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA27300
	for <groff@ffii.org>; Sat, 5 Feb 2000 00:04:49 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id SAA27691
	for <groff@ffii.org>; Fri, 4 Feb 2000 18:07:15 -0500
Date: Fri, 4 Feb 2000 18:07:15 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
In-Reply-To: <20000204105840T.sx0005@sx2.hrz.uni-dortmund.de>
Message-ID: <Pine.LNX.3.96.1000204174003.27471A-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Groff] Eddie's Groff Garage.
Status: O
Content-Length: 165
Lines: 14

Eddie's Groff Garage.

http://frogtown.net/groff/

4 FEB 2000 : tmac.www 0.2.0.

And not much else right now.

------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Sun Feb  6 04:03:03 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id EAA10484
	for <groff@ffii.org>; Sun, 6 Feb 2000 04:02:56 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id WAA31317
	for <groff@ffii.org>; Sat, 5 Feb 2000 22:05:16 -0500
Date: Sat, 5 Feb 2000 22:05:16 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
Subject: Re: [Groff] Eddie's Groff Garage.
In-Reply-To: <Pine.LNX.3.96.1000204174003.27471A-100000@ns1.greenbush.com>
Message-ID: <Pine.LNX.3.96.1000205220143.30996A-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 232
Lines: 15

On Fri, 4 Feb 2000, Eddie Maddox wrote:

> Eddie's Groff Garage.
> 
> http://frogtown.net/groff/

I took it down around 0200 UTC Sunday, 2000 CT Saturday USA, for a few
hours. 

------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Sun Feb  6 12:51:16 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id MAA30519
	for <groff@ffii.org>; Sun, 6 Feb 2000 12:51:16 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sun, 6 Feb 2000 12:53:48 +0100
Received: from rigel.univie.ac.at (dial-143152.HRZ.Uni-Dortmund.DE [129.217.143.152])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id MAA23286;
	Sun, 6 Feb 2000 12:53:45 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id LAA17303;
	Sun, 6 Feb 2000 11:53:13 GMT
To: groff@ffii.org, bug-groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000206115312S.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sun, 06 Feb 2000 11:53:12 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] new directory layout of groff package
Status: O
Content-Length: 634
Lines: 22

Dear friends,


I've completely changed the directory layout of the groff package (in
the CVS repository) to make a more vertical structure.

You should delete your local copy of the CVS and check it out again:

  cvs -z9 -d :pserver:anoncvs@anoncvs.ffii.org:/var/cvs co groff

Please test!  Due to the large amount of changes it is very likely
that there are still some bugs in the Makefiles.

The old repository is still available as `groff.old'.

Finally a question which I can't answer myself:  Is the file
`tmac.doc.old' still needed?  I would like to remove it (or rather not
add it again to the CVS) if possible.


    Werner


From groff-admin  Mon Feb  7 08:30:57 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id IAA11167
	for <groff@ffii.org>; Mon, 7 Feb 2000 08:30:57 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Mon, 7 Feb 2000 08:33:23 +0100
Received: from rigel.univie.ac.at (dial-143168.HRZ.Uni-Dortmund.DE [129.217.143.168])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id IAA20287;
	Mon, 7 Feb 2000 08:33:18 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id AAA23478;
	Mon, 7 Feb 2000 00:16:43 GMT
To: groff@ffii.org, 56702@bugs.debian.org, crp22@cam.ac.uk, fab@prosa.it
Cc: 56702-forwarded@bugs.debian.org
Subject: Re: [Groff] Bug#56702: [PATCH] /tmp race in gxditview, suspected
 poor temp file handling in grohtml, etc
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <20000131114907.A513@none>
References: <20000131114907.A513@none>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000207001642A.sx0005@sx2.hrz.uni-dortmund.de>
Date: Mon, 07 Feb 2000 00:16:42 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 1119
Lines: 32

> 1) The HTML output module of groff uses files in /tmp to store some
> images; the files are opened with predictable names without checking
> that they don't exist first.

Colin,

I've forwarded your mail to Gaius who maintains grohtml.

> 2) xditview creates a temporary file in /tmp, with mktemp and fopen,
> which is again insecure because a file could be placed there between
> the two calls (as documented in the libc docs for mktemp).
> 
> 3) indxbib creates temporary files; it uses mktemp and creat to open
> these files, which is not safe since a file could be placed there
> between the two calls.

Is it generally OK to use mktemp() if mkstemp() is not available on
the system?  In the libgroff module it is handled that way, and I
would prefer to do the same in similar cases.  

> 4) xtotroff (seems to be a helper program for xditview) has a minor
> race in opening output files.

OK -- xtotroff, a metric file converter, will neither be installed and
nor be run under normal circumstances since the standard metrics files
come with groff.

Thanks for sending the bug report and the fixes.


    Werner


From groff-admin  Mon Feb  7 10:51:23 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id KAA11965
	for <groff@ffii.org>; Mon, 7 Feb 2000 10:51:22 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id EAA03624
	for <groff@ffii.org>; Mon, 7 Feb 2000 04:54:00 -0500
Date: Mon, 7 Feb 2000 04:54:00 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
Subject: Re: [Groff] Eddie's Groff Garage.
In-Reply-To: <Pine.LNX.3.96.1000205220143.30996A-100000@ns1.greenbush.com>
Message-ID: <Pine.LNX.3.96.1000207044840.3611B-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 424
Lines: 20

On Sat, 5 Feb 2000, Eddie Maddox wrote:

> > Eddie's Groff Garage.
> > 
> > http://frogtown.net/groff/

is available again. I will have it offline some times over the next few
weeks as I test the new Mankdrake, Debian, Corel, whatever on it. It's a
'486 running RH 5.1 at present.

Please check out my Groff Garage and let me know if I'm doing anything
useful.

Thanks.
------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Mon Feb  7 15:00:27 2000
Received: from mail6.svr.pol.co.uk (mail6.svr.pol.co.uk [195.92.193.212])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id PAA13598
	for <groff@ffii.org>; Mon, 7 Feb 2000 15:00:26 +0100
Received: from [195.92.67.23] (helo=mail18.svr.pol.co.uk)
	by mail6.svr.pol.co.uk with esmtp (Exim 3.13 #0)
	id 12Hokv-0002gJ-00
	for groff@ffii.org; Mon, 07 Feb 2000 14:03:09 +0000
Received: from modem-33.lamark-angel.dialup.pol.co.uk ([62.137.36.161] helo=merlin.freeserve.net)
	by mail18.svr.pol.co.uk with esmtp (Exim 3.13 #0)
	id 12Hoku-0008HS-00
	for groff@ffii.org; Mon, 07 Feb 2000 14:03:08 +0000
Received: by merlin.freeserve.net (Linux Smail3.2.0.101 #1)
	id m12Hpo0-000ivaC; Mon, 7 Feb 2000 15:10:24 +0000 (GMT)
Message-Id: <m12Hpo0-000ivaC@merlin.freeserve.net>
Date: Mon, 7 Feb 2000 15:10:24 +0000 (GMT)
From: Gaius Mulley <gaius@glam.ac.uk>
To: wl@gnu.org
CC: groff@ffii.org
In-reply-to: <20000207000120Z.sx0005@sx2.hrz.uni-dortmund.de> (message from
	Werner LEMBERG on Mon, 07 Feb 2000 00:01:20 GMT)
Subject: Re: Fw: [Groff] Bug#56702: [PATCH] security bugfix for grohtml
References:  <20000207000120Z.sx0005@sx2.hrz.uni-dortmund.de>
Status: O
Content-Length: 2660
Lines: 95

Werner writes:

> can you take care of the grohtml related fixes of this bug report?  I
> would prefer if you could handle this...

sure ok, here is Colin's fix with a couple of extra mods.

cheers Gaius


--- groff-cvs/src/devices/grohtml/html.cc	Sun Feb  6 09:37:40 2000
+++ groff-html/src/devices/grohtml/html.cc	Mon Feb  7 14:57:16 2000
@@ -35,6 +35,9 @@
 #include <unistd.h>
 #endif
 
+#include <stdio.h>
+#include <fcntl.h>
+
 #include "ordered_list.h"
 
 #if !defined(TRUE)
@@ -1547,8 +1550,11 @@
 void html_printer::make_new_image_name (void)
 {
   image_number++;
-  if ((strcmp(current_filename, "<standard input>") == 0) ||
-      (strcmp(current_filename, "-") == 0)) {
+
+  if ((current_filename == 0) ||
+      (strcmp(current_filename, "<standard input>") == 0) ||
+      (strcmp(current_filename, "-") == 0) ||
+      (strchr(current_filename, '/') != 0)) {
     sprintf(image_name, "grohtml-%d-%ld", image_number, (long)getpid());
   } else {
     sprintf(image_name, "%s-%d-%ld", current_filename, image_number, (long)getpid());
@@ -2402,18 +2408,27 @@
   return( (g->minv < t->minv) || ((g->minv == t->minv) && (g->minh < t->minh)) );
 }
 
-static FILE *create_file (char *filename)
+/*
+ *  create_tmp_file - opens a filename in /tmp carefully checking for failure
+ *                    otherwise security could be circumvented.
+ */
+
+static FILE *create_tmp_file (char *filename)
 {
   FILE *f;
+  int   fd;
 
   errno = 0;
-  f = fopen(filename, "w");
+  /* This file is in /tmp, so open carefully */
+  fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0600);
+  if (fd < 0) {
+    fatal("can't create `%1'", filename);
+  }
+  f  = fdopen(fd, "w");
   if (f == 0) {
-    error("can't create `%1'", filename);
-    return( 0 );
-  } else {
-    return( f );
+    fatal("can't create `%1'", filename);
   }
+  return( f );
 }
 
 void html_printer::convert_to_image (char *name)
@@ -2490,7 +2505,7 @@
   if (! is_to_html) {
     is_center = html_position_region();
     create_temp_name(name, "troff");
-    f = create_file(name);
+    f = create_tmp_file(name);
     troff.set_file(f);
     prologue();
     output_style.f = 0;
--- groff-cvs/src/devices/grohtml/ChangeLog	Sun Feb  6 09:37:28 2000
+++ groff-html/src/devices/grohtml/ChangeLog	Mon Feb  7 14:57:24 2000
@@ -1,3 +1,12 @@
+2000-02-07  Gaius Mulley  <gaius@glam.ac.uk>
+
+	* html.cc: tidied up html.cc and fixed name of image if
+	the source file is in a different directory.
+	
+2000-02-07  Colin Phipps <crp22@cam.ac.uk>
+
+	* html.cc: identified & fixed security bug when creating files in /tmp
+
 2000-01-28  Gaius Mulley  <gaius@glam.ac.uk>
 
 	* html.cc: Minor fixes.


From groff-admin  Mon Feb  7 16:15:06 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA14040
	for <groff@ffii.org>; Mon, 7 Feb 2000 16:15:06 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Mon, 7 Feb 2000 16:17:26 +0100
Received: from rigel.univie.ac.at (dial-143144.HRZ.Uni-Dortmund.DE [129.217.143.144])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id QAA04216;
	Mon, 7 Feb 2000 16:17:24 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id NAA23600;
	Mon, 7 Feb 2000 13:44:52 GMT
To: blake@florida-software.com, groff@ffii.org
Subject: Re: [Groff] Re: Win32 port of Groff and friends
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <4.1.20000204175417.04c1fbe0@florida-software.com>
References: <4.1.20000131200147.04b18d20@florida-software.com>
	<20000202201355J.sx0005@sx2.hrz.uni-dortmund.de>
	<4.1.20000204175417.04c1fbe0@florida-software.com>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000207134452B.sx0005@sx2.hrz.uni-dortmund.de>
Date: Mon, 07 Feb 2000 13:44:52 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 1026
Lines: 32

> >  struct macro_header {
> >#ifdef _MSC_VER
> >  public:
> >#endif
> >
> >Can you check why this is necessary?
> 
> 
> It seems to be.  If I take it out I get a lot of error messages
> similar to the following:
> 
> input.cc(2404) : error C2248: 'count' : cannot access private member
> declared in class 'macro_header'
>         input.cc(2394) : see declaration of 'count'

Very strange!  AFAIK, all members of a `struct' are public by default
(exactly this makes the difference to a `class').  Has this changed
within the latest C++ standard?

> >Adding the makefiles to the main package is no problem.  Note that
> >I will change (hopefully in the near future) the directory
> >structure of groff: all devXXX will be moved into `fonts', all
> >groXXX into `devices' and all preprocessors into `preproc' -- I
> >will ask you then to adapt the makefiles accordingly.
> 
> I'd be very happy to.

As you may have noticed, this has just happened a day ago :-)  Please
check out the CVS and adapt your makefiles.


    Werner


From groff-admin  Mon Feb  7 23:47:45 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA16530
	for <groff@ffii.org>; Mon, 7 Feb 2000 23:47:45 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Mon, 7 Feb 2000 23:50:30 +0100
Received: from rigel.univie.ac.at (dial-143187.HRZ.Uni-Dortmund.DE [129.217.143.187])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id XAA19391;
	Mon, 7 Feb 2000 23:50:29 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id QAA23736;
	Mon, 7 Feb 2000 16:29:09 GMT
To: gaius@glam.ac.uk
Cc: groff@ffii.org
Subject: Re: Fw: [Groff] Bug#56702: [PATCH] security bugfix for grohtml
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <m12Hpo0-000ivaC@merlin.freeserve.net>
References: <20000207000120Z.sx0005@sx2.hrz.uni-dortmund.de>
	<m12Hpo0-000ivaC@merlin.freeserve.net>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000207162908M.sx0005@sx2.hrz.uni-dortmund.de>
Date: Mon, 07 Feb 2000 16:29:08 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 213
Lines: 9

> > can you take care of the grohtml related fixes of this bug report?
> > I would prefer if you could handle this...
> 
> sure ok, here is Colin's fix with a couple of extra mods.

Applied, thanks.


    Werner


From groff-admin  Tue Feb  8 06:19:08 2000
Received: from scapa.cs.ualberta.ca (root@scapa.cs.ualberta.ca [129.128.4.44])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id GAA24316
	for <groff@ffii.org>; Tue, 8 Feb 2000 06:19:08 +0100
Received: (from localhost user: 'wgshi' uid#462 fake: stauffer.cs.ualberta.ca)
	by scapa.cs.ualberta.ca id <S434055AbQBHFVp>;
	Mon, 7 Feb 2000 22:21:45 -0700
Date:   Mon, 7 Feb 2000 22:21:45 -0700 (MST)
Sender: Weiguang Shi <wgshi@cs.ualberta.ca>
From: Weiguang Shi <wgshi@cs.ualberta.ca>
To: groff@ffii.org
Message-ID: <Pine.SOL.3.96.1000207221935.23155B-100000@stauffer.cs.ualberta.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Groff] drawing a figure
Status: O
Content-Length: 401
Lines: 13

Hi, there:
    I am new to groff. Is there some free software in Linux like "grap" to
generate plot figures?

    Thank you.

Weiguang Shi                              | E-mail: wgshi@cs.ualberta.ca
Department of Computing Science           | http://www.cs.ualberta.ca/~wgshi
University of Alberta                     | Office: CAB 481
Edmonton, AB, Canada, T6G 2H1             | (O) (780)492-3927




From groff-admin  Tue Feb  8 06:47:09 2000
Received: from scapa.cs.ualberta.ca (root@scapa.cs.ualberta.ca [129.128.4.44])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id GAA24944
	for <groff@ffii.org>; Tue, 8 Feb 2000 06:47:09 +0100
Received: (from localhost user: 'wgshi' uid#462 fake: stauffer.cs.ualberta.ca)
	by scapa.cs.ualberta.ca id <S434293AbQBHFto>;
	Mon, 7 Feb 2000 22:49:44 -0700
Date:   Mon, 7 Feb 2000 22:49:44 -0700 (MST)
Sender: Weiguang Shi <wgshi@cs.ualberta.ca>
From: Weiguang Shi <wgshi@cs.ualberta.ca>
To: groff@ffii.org
Message-ID: <Pine.SOL.3.96.1000207224728.23863A-100000@stauffer.cs.ualberta.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Groff] get info about -me
Status: O
Content-Length: 496
Lines: 17

Hi there:
    Are there on-line versions of the following documents about the -me
macro? And how can I get them?

       -me Reference Manual, Eric P. Allman
  
      Writing Papers with Groff Using -me

    Thanks.
    
Weiguang Shi                              | E-mail: wgshi@cs.ualberta.ca
Department of Computing Science           | http://www.cs.ualberta.ca/~wgshi
University of Alberta                     | Office: CAB 481
Edmonton, AB, Canada, T6G 2H1             | (O) (780)492-3927




From groff-admin  Tue Feb  8 10:44:53 2000
Received: from atlantis.erlm.siemens.de (atlantis.erlm.siemens.de [212.114.202.14])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id KAA26215
	for <groff@ffii.org>; Tue, 8 Feb 2000 10:44:38 +0100
Received: from tcenter.erlm.siemens.de (tcenter.erlm.siemens.de [193.98.99.20])
	by atlantis.erlm.siemens.de (8.9.3/8.9.3) with ESMTP id KAA18772;
	Tue, 8 Feb 2000 10:44:53 +0100 (MET)
Received: from nbgv101a.nbg9.siemens.de (nbgv101a.nbg9.siemens.de [130.170.148.248])
	by tcenter.erlm.siemens.de (8.9.0/8.9.0) with ESMTP id KAA27940;
	Tue, 8 Feb 2000 10:45:08 +0100 (MET)
Received: by NBGV101A with Internet Mail Service (5.5.2650.21)
	id <1NFMV7LN>; Tue, 8 Feb 2000 10:45:36 +0100
Message-ID: <11DD9734B036D311947400805F0DD6070363E4@NBGV101A>
From: Freudenberger Joerg <Joerg.Freudenberger@nbg9.siemens.de>
To: "'Weiguang Shi'" <wgshi@cs.ualberta.ca>, groff@ffii.org
Subject: RE: [Groff] drawing a figure
Date: Tue, 8 Feb 2000 10:45:36 +0100 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by genba.ffii.org id KAA26217
Status: O
Content-Length: 282
Lines: 15

Hallo Shi,
hallo together

>     I am new to groff. Is there some free software in Linux 
> like "grap" to
> generate plot figures?

There is a initial version of a clone named prag

prag : a little grap clone :
ftp://ftp.informatik.uni-rostock.de/pub/local/software/

Yours
	Jörg


From groff-admin  Thu Feb 10 00:29:52 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA12952
	for <groff@ffii.org>; Thu, 10 Feb 2000 00:29:52 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Thu, 10 Feb 2000 00:32:47 +0100
Received: from rigel.univie.ac.at (dial-143192.HRZ.Uni-Dortmund.DE [129.217.143.192])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id AAA18530;
	Thu, 10 Feb 2000 00:32:45 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id XAA01444;
	Wed, 9 Feb 2000 23:28:22 GMT
To: wgshi@cs.ualberta.ca
Cc: groff@ffii.org
Subject: Re: [Groff] drawing a figure
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <Pine.SOL.3.96.1000207221935.23155B-100000@stauffer.cs.ualberta.ca>
References: <Pine.SOL.3.96.1000207221935.23155B-100000@stauffer.cs.ualberta.ca>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000209232821S.sx0005@sx2.hrz.uni-dortmund.de>
Date: Wed, 09 Feb 2000 23:28:21 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 171
Lines: 8

>     I am new to groff. Is there some free software in Linux like
> "grap" to generate plot figures?

  http://www.lunabase.org/~faber/Vault/software/grap/


    Werner


From groff-admin  Thu Feb 10 00:29:52 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA12956
	for <groff@ffii.org>; Thu, 10 Feb 2000 00:29:52 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Thu, 10 Feb 2000 00:32:48 +0100
Received: from rigel.univie.ac.at (dial-143192.HRZ.Uni-Dortmund.DE [129.217.143.192])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id AAA18533;
	Thu, 10 Feb 2000 00:32:47 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id XAA01440;
	Wed, 9 Feb 2000 23:27:16 GMT
To: wgshi@cs.ualberta.ca
Cc: groff@ffii.org
Subject: Re: [Groff] get info about -me
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <Pine.SOL.3.96.1000207224728.23863A-100000@stauffer.cs.ualberta.ca>
References: <Pine.SOL.3.96.1000207224728.23863A-100000@stauffer.cs.ualberta.ca>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000209232716C.sx0005@sx2.hrz.uni-dortmund.de>
Date: Wed, 09 Feb 2000 23:27:16 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 302
Lines: 15

>     Are there on-line versions of the following documents about the -me
> macro? And how can I get them?
> 
>        -me Reference Manual, Eric P. Allman
>   
>       Writing Papers with Groff Using -me

Both files are part of the groff source archive!

  doc/meref.me
  doc/meintro.me


    Werner


From groff-admin  Thu Feb 10 20:04:41 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id UAA25871
	for <groff@ffii.org>; Thu, 10 Feb 2000 20:04:39 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id OAA19038
	for <groff@ffii.org>; Thu, 10 Feb 2000 14:07:38 -0500
Date: Thu, 10 Feb 2000 14:07:38 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
In-Reply-To: <XFMail.000203172916.Ted.Harding@nessie.mcc.ac.uk>
Message-ID: <Pine.LNX.3.96.1000210135608.18942B-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Groff] String editing?
Status: O
Content-Length: 308
Lines: 15

How is string editing done? The Groff manual, ed. 1.12, Oct'99,
is lacking that info, I think.

Ex:
.<align or .<href or .<alt, etc.
then:
\\$0    == "<align" or "<href" or "<alt", etc.
so: how do I strip the "<" so I can use just the "align" later on?

------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Thu Feb 10 21:54:53 2000
Received: from ax-nicb.axnet.it (root@ax-nicb.axnet.it [194.184.60.149] (may be forged))
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id VAA26445
	for <groff@ffii.org>; Thu, 10 Feb 2000 21:54:50 +0100
Received: (from nicb@localhost)
	by ax-nicb.axnet.it (8.8.7/8.8.7) id HAA23348;
	Thu, 10 Feb 2000 07:16:01 +0100
Date: Thu, 10 Feb 2000 07:16:01 +0100 (CET)
From: Nicola Bernardini <nicb@axnet.it>
To: Werner LEMBERG <wl@gnu.org>
cc: wgshi@cs.ualberta.ca, groff@ffii.org
Subject: Re: [Groff] drawing a figure
In-Reply-To: <20000209232821S.sx0005@sx2.hrz.uni-dortmund.de>
Message-ID: <Pine.LNX.4.10.10002100713030.368-100000@ax-nicb.axnet.it>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 698
Lines: 25

Yesterday, Werner LEMBERG mi scrisse cio` che segue:

> 
> >     I am new to groff. Is there some free software in Linux like
> > "grap" to generate plot figures?
> 
>   http://www.lunabase.org/~faber/Vault/software/grap/

Is that a new implementation? Due to the lack of a public 'grap',
I switched to 'gnuplot' (which can produce pic code just like grap,
or eps, or whatever...) which works perfectly well with groff and
which seems to be a better solution nowadays
(i.e. has multiplots, lots of internal functions etc.). Would there
be any good reason to switch back to grap?

cheers

Nicola

+----------------------+
|Nicola Bernardini     |
|E-mail: nicb@axnet.it |
+----------------------+



From groff-admin  Thu Feb 10 22:44:28 2000
Received: from scapa.cs.ualberta.ca (root@scapa.cs.ualberta.ca [129.128.4.44])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id WAA26742
	for <groff@ffii.org>; Thu, 10 Feb 2000 22:44:27 +0100
Received: (from localhost user: 'wgshi' uid#462 fake: stauffer.cs.ualberta.ca)
	by scapa.cs.ualberta.ca id <S433647AbQBJVrR>;
	Thu, 10 Feb 2000 14:47:17 -0700
Date:   Thu, 10 Feb 2000 14:47:17 -0700 (MST)
Sender: Weiguang Shi <wgshi@cs.ualberta.ca>
From: Weiguang Shi <wgshi@cs.ualberta.ca>
To: groff@ffii.org
Subject: Re: [Groff] drawing a figure
In-Reply-To: <20000209232821S.sx0005@sx2.hrz.uni-dortmund.de>
Message-ID: <Pine.SOL.3.96.1000210143935.11928A-100000@stauffer.cs.ualberta.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 1025
Lines: 34

Hi, there:
    Nowadays, it seems there are less people using groff, or troff. Most
people in my department are using Latex, MS word, etc. I myself used MS
word on PC before, but since I switched to Unix, I want to use groff,
after I read one of Stevens' books which says the real Unix books
are written using troff. 

    I am wondering why (or whether) groff/troff is no longer popular. And
I'd like to know the strength and weekness of these different publishing
applications.

    Can anyone help?

    Thanks.

Weiguang Shi                              | E-mail: wgshi@cs.ualberta.ca
Department of Computing Science           | http://www.cs.ualberta.ca/~wgshi
University of Alberta                     | Office: CAB 481
Edmonton, AB, Canada, T6G 2H1             | (O) (780)492-3927


On Wed, 9 Feb 2000, Werner LEMBERG wrote:

> 
> >     I am new to groff. Is there some free software in Linux like
> > "grap" to generate plot figures?
> 
>   http://www.lunabase.org/~faber/Vault/software/grap/
> 
> 
>     Werner
> 



From groff-admin  Thu Feb 10 23:45:07 2000
Received: from smtp04.wxs.nl (smtp04.wxs.nl [195.121.6.59])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA27279
	for <groff@ffii.org>; Thu, 10 Feb 2000 23:45:07 +0100
Received: from daemon.ninth-circle.org ([195.121.196.178]) by smtp04.wxs.nl
          (Netscape Messaging Server 3.61)  with ESMTP id AAAEE4;
          Thu, 10 Feb 2000 23:48:12 +0100
Received: (from asmodai@localhost)
	by daemon.ninth-circle.org (8.9.3/8.9.3) id WAA01300;
	Thu, 10 Feb 2000 22:58:04 +0100 (CET)
	(envelope-from asmodai)
Date: Thu, 10 Feb 2000 22:58:04 +0100
From: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To: Gaius Mulley <gaius@glam.ac.uk>
Cc: wl@gnu.org, groff@ffii.org
Subject: Re: Fw: [Groff] Bug#56702: [PATCH] security bugfix for grohtml
Message-ID: <20000210225803.A281@daemon.ninth-circle.org>
References: <20000207000120Z.sx0005@sx2.hrz.uni-dortmund.de> <m12Hpo0-000ivaC@merlin.freeserve.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
In-Reply-To: <m12Hpo0-000ivaC@merlin.freeserve.net>; from gaius@glam.ac.uk on Mon, Feb 07, 2000 at 03:10:24PM +0000
Organisation: Ninth-Circle Enterprises
Status: O
Content-Length: 891
Lines: 27

-On [20000207 16:00], Gaius Mulley (gaius@glam.ac.uk) wrote:
>
>-static FILE *create_file (char *filename)
>+/*
>+ *  create_tmp_file - opens a filename in /tmp carefully checking for failure
>+ *                    otherwise security could be circumvented.
>+ */
>+
>+static FILE *create_tmp_file (char *filename)
> {
>   FILE *f;
>+  int   fd;

This whole snippet plus some more really reminds of the functions:

mktemp(), mkstemp(), mkstemps() and these should be pretty portable.

You might, or not of course, want to consider using these instead,
unless I must've missed the idea of code presented for the temp file
creation.

-- 
Jeroen Ruigrok vd Werven/Asmodai    asmodai@[wxs.nl|bart.nl|freebsd.org]
Documentation nutter/B-rated Coder BSD: Technical excellence at its best  
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>
Slow down, god can't hear you...


From groff-admin  Fri Feb 11 00:13:28 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA27526
	for <groff@ffii.org>; Fri, 11 Feb 2000 00:13:28 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 11 Feb 2000 00:16:18 +0100
Received: from rigel.univie.ac.at (dial-143133.HRZ.Uni-Dortmund.DE [129.217.143.133])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id AAA25543;
	Fri, 11 Feb 2000 00:16:17 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id XAA02320;
	Thu, 10 Feb 2000 23:08:43 GMT
To: nicb@axnet.it
Cc: wgshi@cs.ualberta.ca, groff@ffii.org
Subject: Re: [Groff] drawing a figure
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <Pine.LNX.4.10.10002100713030.368-100000@ax-nicb.axnet.it>
References: <20000209232821S.sx0005@sx2.hrz.uni-dortmund.de>
	<Pine.LNX.4.10.10002100713030.368-100000@ax-nicb.axnet.it>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000210230843M.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 10 Feb 2000 23:08:43 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 578
Lines: 18

> >   http://www.lunabase.org/~faber/Vault/software/grap/
> 
> Is that a new implementation?

Yes.

> Due to the lack of a public 'grap', I switched to 'gnuplot' (which
> can produce pic code just like grap, or eps, or whatever...) which
> works perfectly well with groff and which seems to be a better
> solution nowadays (i.e. has multiplots, lots of internal functions
> etc.).  Would there be any good reason to switch back to grap?

It really depends on whether grap can do things which gnuplot can't.
If you are satisfied with gnuplot, why should you change?


   Werner


From groff-admin  Fri Feb 11 00:44:37 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA27720
	for <groff@ffii.org>; Fri, 11 Feb 2000 00:44:37 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12J3J6-0007D8-00; Thu, 10 Feb 2000 23:47:33 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA10655;
	Thu, 10 Feb 2000 23:31:37 GMT
Message-ID: <XFMail.000210233137.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <Pine.SOL.3.96.1000210143935.11928A-100000@stauffer.cs.ualberta.ca>
Date: Thu, 10 Feb 2000 23:31:37 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: Weiguang Shi <wgshi@cs.ualberta.ca>
Subject: Re: [Groff] drawing a figure
Cc: groff@ffii.org
Status: O
Content-Length: 3176
Lines: 65

On 10-Feb-00 Weiguang Shi wrote:
> Hi, there:
>     Nowadays, it seems there are less people using groff, or troff.
> Most people in my department are using Latex, MS word, etc. I myself
> used MS word on PC before, but since I switched to Unix, I want to use
> groff, after I read one of Stevens' books which says the real Unix
> books are written using troff. 
> 
>     I am wondering why (or whether) groff/troff is no longer popular.
> And I'd like to know the strength and weekness of these different
> publishing applications.

Big question, no straightforward answer.

Groff/troff is mainly still popular with people who learned to use it
before TeX became big. What made TeX (and LaTeX etc) big was, in the
first place, two things.

1: For mathematical texts it offered more in the way of fancy symbols and
fonts, and well-calculated layout, than troff did; as a result, it was
initially adopted enthusiastically by the mathematical world (even by many
troff enthusiasts). Also by computer scientists. Knuth's famous three
volumes "The Art of Computer Programing" had their later editions
typeset in TeX, and everybody was impressed (but then Knuth is an artist
in the field, and one of his life's aims is to "port centuries of
book typesetting experience to the computer"). Although the creators
of troff were very good at typesetting, Knuth was superb.

2: Following on from (1), a huge and accessible body of documentation
on how to use TeX and derivatives grew up. Then the growing mass of
people using TeX themselves began extending it (LaTeX, AMSTeX, musixtex,
tex-xet (bi-directional for Hebrew/Arabic etc) and so on).

Nevertheless, groff/troff is in many ways much easier to use, and
more compact and concise, than raw TeX, which is one of the reasons
many people never seriously changed, If groff had macro packages on
the scale of LaTeX and other TeX extensions, it would be a very serious
competitor.

There are also some things which are still done marginally better
in groff; and until quite recently groff was better for tables,
diagrams, and imported graphics (though TeX has now at least caught up).

Some might claim that TeX's indexing and bibliography facilities
are better than groff's; and this is true if you don't look outside
the relatively primitive facilities provided with groff. But you can
also arrange to use the same programs (makeindex and bib) in groff
as TeX does, with equally good effect. So that's not an argument.

As to what published books are typeset in groff/troff, there are many.
Most of the O'Reilly computer books are typeset using groff,
Also (and you might not have suspected this) most of the splendid
Collins Dictionaries are typeset using troff (admittedly in a batch
mode, from source text initially in XML).

There's more groff/troff usage out there than one initially suspects,
but a lot of it is much more hidden than most of the TeX usage is.

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 10-Feb-00                                       Time: 23:31:37
------------------------------ XFMail ------------------------------


From groff-admin  Fri Feb 11 00:44:44 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA27759
	for <groff@ffii.org>; Fri, 11 Feb 2000 00:44:43 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12J3JH-0007D8-00; Thu, 10 Feb 2000 23:47:44 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA10685;
	Thu, 10 Feb 2000 23:40:55 GMT
Message-ID: <XFMail.000210234054.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <Pine.LNX.4.10.10002100713030.368-100000@ax-nicb.axnet.it>
Date: Thu, 10 Feb 2000 23:40:54 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: Nicola Bernardini <nicb@axnet.it>
Subject: Re: [Groff] drawing a figure
Cc: wgshi@cs.ualberta.ca, groff@ffii.org, Werner LEMBERG <wl@gnu.org>
Status: O
Content-Length: 2027
Lines: 45

On 10-Feb-00 Nicola Bernardini wrote:
> Yesterday, Werner LEMBERG mi scrisse cio` che segue:
> 
>> >     I am new to groff. Is there some free software in Linux like
>> > "grap" to generate plot figures?
>> 
>>   http://www.lunabase.org/~faber/Vault/software/grap/
> 
> Is that a new implementation? Due to the lack of a public 'grap',
> I switched to 'gnuplot' (which can produce pic code just like grap,
> or eps, or whatever...) which works perfectly well with groff and
> which seems to be a better solution nowadays
> (i.e. has multiplots, lots of internal functions etc.). Would there
> be any good reason to switch back to grap?

It depends. Use whatever suits your purpose best.

I write a lot of technical documents, including many diagrams.
In many cases, I simply do what you do (import output from
gnuplot as PS or pic, or PS output from other packages).
Sometimes, it is convenient to enter a pic description
directly into the groff source (especially if it is the
graph of a computed function, since pic is quite a poweful
mathemtical programming language in its own right).

Occasionallly, I use grap. However, the number of occasions on
which it is really more convenient to use grap, rather than
doing it directly in pic, is relatively small.

I find that grap is handy for "quick and dirty" graphs, since
all you need is to hand it the coordinates of the points, and
it will do all the business of working out suitable axes,
scales and tic-marks, etc; but I have enough practice at pic
that it's not a lot of effort to do it in pic in the first place,
especially if you want to "tune" the result to look really
good. I find that the deeper resources of grap are a bit hard
to learn to use well. But, again, that's what suits my purposes ...

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 10-Feb-00                                       Time: 23:40:54
------------------------------ XFMail ------------------------------


From groff-admin  Fri Feb 11 00:44:50 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA27801
	for <groff@ffii.org>; Fri, 11 Feb 2000 00:44:49 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12J3JT-0007D8-00; Thu, 10 Feb 2000 23:47:55 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA10548;
	Thu, 10 Feb 2000 23:09:27 GMT
Message-ID: <XFMail.000210230927.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <Pine.LNX.3.96.1000210135608.18942B-100000@ns1.greenbush.com>
Date: Thu, 10 Feb 2000 23:09:27 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: Eddie Maddox <eddie@mngovsci.com>
Subject: RE: [Groff] String editing?
Cc: Groff Mailing List <groff@ffii.org>
Status: O
Content-Length: 1422
Lines: 39

On 10-Feb-00 Eddie Maddox wrote:
> How is string editing done? The Groff manual, ed. 1.12, Oct'99,
> is lacking that info, I think.
> 
> Ex:
> .<align or .<href or .<alt, etc.
> then:
> \\$0    == "<align" or "<href" or "<alt", etc.
> so: how do I strip the "<" so I can use just the "align" later on?

You don't -- at any rate not in groff. There are no string-editing
functions in groff.

Indeed it is one of the things that it would be very useful to have.
One could start with a function which "explodes" a string into
its component characters. Then these could become separate arguments
to an arbitrary macro, which should enable most string-editing
requirements to be met (admittedly in a rather brutish way).

A long-standing need which could be met by this is a "small-capitals"
facility, whereby

  This is Small Caps --> T\s-2HIS\s0 \s-2IS\s0 S\s-2MALL\s0 C\s-2APS\s0

(or similar). I've had this in mind as a hack to try for some time.
Maybe soon ...

Meanwhile, string-editing could be farmed out to an external
program such as sed or awk which is built for the job (using
a similar mechanism to the way psbb was used).

I hope this helps ...
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 10-Feb-00                                       Time: 23:09:27
------------------------------ XFMail ------------------------------


From groff-admin  Fri Feb 11 01:23:36 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id BAA28065
	for <groff@ffii.org>; Fri, 11 Feb 2000 01:23:36 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id TAA20827
	for <groff@ffii.org>; Thu, 10 Feb 2000 19:26:41 -0500
Date: Thu, 10 Feb 2000 19:26:41 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
Subject: RE: [Groff] String editing?
In-Reply-To: <XFMail.000210230927.Ted.Harding@nessie.mcc.ac.uk>
Message-ID: <Pine.LNX.3.96.1000210192109.18942G-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 332
Lines: 15

On Thu, 10 Feb 2000 Ted.Harding@nessie.mcc.ac.uk wrote:

> Meanwhile, string-editing could be farmed out to an external
> program such as sed or awk which is built for the job (using
> a similar mechanism to the way psbb was used).

Could you elaborate, or an example?

Thanks.
------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Fri Feb 11 07:29:53 2000
Received: from ihemlsrv.firewall.lucent.com (ihemail1.lucent.com [192.11.222.161])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id HAA03504
	for <groff@ffii.org>; Fri, 11 Feb 2000 07:29:52 +0100
Received: from ihemlsrv.firewall.lucent.com (localhost [127.0.0.1])
	by ihemlsrv.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id BAA04265
	for <groff@ffii.org>; Fri, 11 Feb 2000 01:32:55 -0500 (EST)
Received: from ru0028exch01.spb.lucent.com (h135-171-148-105.lucent.com [135.171.148.105])
	by ihemlsrv.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id BAA04259
	for <groff@ffii.org>; Fri, 11 Feb 2000 01:32:54 -0500 (EST)
Received: by ru0028exch01.spb.lucent.com with Internet Mail Service (5.5.2448.0)
	id <Z8RQX12Y>; Fri, 11 Feb 2000 09:32:19 +0300
Message-ID: <402099F49BEED211999700805FC7359F40AF85@ru0028exch01.spb.lucent.com>
From: "Konovalov, Vadim" <vkonovalov@lucent.com>
To: Ted.Harding@nessie.mcc.ac.uk, Eddie Maddox <eddie@mngovsci.com>
Cc: Groff Mailing List <groff@ffii.org>
Subject: RE: [Groff] String editing?
Date: Fri, 11 Feb 2000 09:32:18 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Status: O
Content-Length: 1558
Lines: 50

> -----Original Message-----
> From: Ted.Harding@nessie.mcc.ac.uk 
> On 10-Feb-00 Eddie Maddox wrote:
> > How is string editing done? The Groff manual, ed. 1.12, Oct'99,
> > is lacking that info, I think.
> > 
> > Ex:
> > .<align or .<href or .<alt, etc.
> > then:
> > \\$0    == "<align" or "<href" or "<alt", etc.
> > so: how do I strip the "<" so I can use just the "align" later on?
> 
> You don't -- at any rate not in groff. There are no string-editing
> functions in groff.

Sure there *are* string editing functions in groff:
.substring str \n[start] \n[end]  \" groff only
.as ...... \" both troff and groff

Consider following test:
.ds str <this
.tm [\*[str]]
.ds sstr \*[str]
.substring sstr 2
.tm [\*[sstr]]
.ds sstr \*[str]
.substring sstr 2 3
.tm [\*[sstr]]

this outputs following on STDERR:
[<this]
[this]
[t]

If \n[start] or \n[end] are negative values then position in macro/string is
calculated from its end

Not as powerful as Perl string editing functions are, but ....
I am thinking about merging Perl and Groff together to get really powerful
string manipulation in groff, even search/replace regexes will be made
easily in this case. Is anyone intresting on this, or I am alone on this?
Should I really do this work? (I tested Perl and groff coexistence, first
tests were Ok, but I'm not sure it is really useful)

Good luck,
Vadim Konovalov.
use strict;%;=qw;. @ @ .;,;$;=q;@;,$,=qq>\n>=>print
unpack q,A28,x6,join q,,,map{;$;=$;{$;};$;x$_;}split q,,,q
<13321523136131112131213171212121312131711524355111113121613132111316431322>


From groff-admin  Fri Feb 11 07:47:40 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id HAA03624
	for <groff@ffii.org>; Fri, 11 Feb 2000 07:47:39 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 11 Feb 2000 07:50:45 +0100
Received: from rigel.univie.ac.at (dial-143162.HRZ.Uni-Dortmund.DE [129.217.143.162])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id HAA02439;
	Fri, 11 Feb 2000 07:50:44 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id XAA02383;
	Thu, 10 Feb 2000 23:26:20 GMT
To: asmodai@wxs.nl
Cc: gaius@glam.ac.uk, groff@ffii.org
Subject: Re: Fw: [Groff] Bug#56702: [PATCH] security bugfix for grohtml
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <20000210225803.A281@daemon.ninth-circle.org>
References: <20000207000120Z.sx0005@sx2.hrz.uni-dortmund.de>
	<m12Hpo0-000ivaC@merlin.freeserve.net>
	<20000210225803.A281@daemon.ninth-circle.org>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000210232619D.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 10 Feb 2000 23:26:19 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 563
Lines: 20

> >+static FILE *create_tmp_file (char *filename)
> > {
> >   FILE *f;
> >+  int   fd;
> 
> This whole snippet plus some more really reminds of the functions:
> 
> mktemp(), mkstemp(), mkstemps() and these should be pretty portable.
> 
> You might, or not of course, want to consider using these instead,
> unless I must've missed the idea of code presented for the temp file
> creation.

I second that.  There is a function called xtmpfile() in
src/libgroff/tmpfile.cc -- maybe it is possible to extend it so that
it can be used with grohtml also.


    Werner


From groff-admin  Fri Feb 11 10:44:50 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id KAA04579
	for <groff@ffii.org>; Fri, 11 Feb 2000 10:44:49 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12JCg9-000EIs-00; Fri, 11 Feb 2000 09:47:58 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id JAA14155;
	Fri, 11 Feb 2000 09:36:53 GMT
Message-ID: <XFMail.000211093653.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <402099F49BEED211999700805FC7359F40AF85@ru0028exch01.spb.lucent.com>
Date: Fri, 11 Feb 2000 09:36:53 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: "Konovalov, Vadim" <vkonovalov@lucent.com>
Subject: RE: [Groff] String editing?
Cc: Groff Mailing List <groff@ffii.org>, Eddie Maddox <eddie@mngovsci.com>
Status: O
Content-Length: 1625
Lines: 52

On 11-Feb-00 Konovalov, Vadim wrote:
> Sure there *are* string editing functions in groff:
> .substring str \n[start] \n[end]  \" groff only
> .as ...... \" both troff and groff
> 
> Consider following test:
> .ds str <this
> .tm [\*[str]]
> .ds sstr \*[str]
> .substring sstr 2
> .tm [\*[sstr]]
> .ds sstr \*[str]
> .substring sstr 2 3
> .tm [\*[sstr]]
> 
> this outputs following on STDERR:
> [<this]
> [this]
> [t]
> 
> If \n[start] or \n[end] are negative values then position in
> macro/string is
> calculated from its end

Well, you are right, and one learns something all the time!

However, this is nowhere documented that I can see. How did you find out?

(I knew about .as, but I don't regard this as prime-time string
editing; the fundamental need is to unpack a string according to
requirements, and "substring" is a fundamental primitive for this)

I must admit I had been misled by the following in James Clark's
TODO file in the groff-1.11 sources:

  Better string-processing support (substring, length, search).

which, with the absence of reference to any such thing in the
documentation, led me to suppose it wasn't functional! There
still seems to be no provision for the remainder, however
(unless anyone out there knows different).

Anyway, thanks. This opens up some possibilities.

Best wishes, and many thanks for your contribution.
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 11-Feb-00                                       Time: 09:36:53
------------------------------ XFMail ------------------------------


From groff-admin  Fri Feb 11 11:06:56 2000
Received: from hoemlsrv.firewall.lucent.com (hoemail1.lucent.com [192.11.226.161])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id LAA04760
	for <groff@ffii.org>; Fri, 11 Feb 2000 11:06:55 +0100
Received: from hoemlsrv.firewall.lucent.com (localhost [127.0.0.1])
	by hoemlsrv.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id FAA06973
	for <groff@ffii.org>; Fri, 11 Feb 2000 05:10:04 -0500 (EST)
Received: from ru0028exch01.spb.lucent.com (h135-171-148-105.lucent.com [135.171.148.105])
	by hoemlsrv.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id FAA06950
	for <groff@ffii.org>; Fri, 11 Feb 2000 05:10:02 -0500 (EST)
Received: by ru0028exch01.spb.lucent.com with Internet Mail Service (5.5.2448.0)
	id <Z8RQX1MS>; Fri, 11 Feb 2000 13:09:27 +0300
Message-ID: <402099F49BEED211999700805FC7359F40B004@ru0028exch01.spb.lucent.com>
From: "Konovalov, Vadim" <vkonovalov@lucent.com>
To: Ted.Harding@nessie.mcc.ac.uk, "Konovalov, Vadim"
	 <vkonovalov@lucent.com>
Cc: Groff Mailing List <groff@ffii.org>, Eddie Maddox <eddie@mngovsci.com>
Subject: RE: [Groff] String editing?
Date: Fri, 11 Feb 2000 13:09:25 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Status: O
Content-Length: 1620
Lines: 51

> On 11-Feb-00 Konovalov, Vadim wrote:
> > Sure there *are* string editing functions in groff:
> > .substring str \n[start] \n[end]  \" groff only
> > Consider following test:
> > .ds str <this
> > .tm [\*[str]]
> > .ds sstr \*[str]
> > .substring sstr 2
> > .tm [\*[sstr]]
> > .ds sstr \*[str]
> > .substring sstr 2 3
> > .tm [\*[sstr]]
> > 
> > this outputs following on STDERR:
> > [<this]
> > [this]
> > [t]
> > 
> Well, you are right, and one learns something all the time!
> 
> However, this is nowhere documented that I can see. How did 
> you find out?

Well, firstly I thought I saw this in [groff-x.xx]/troff/troff.man, but when
I checked this today I understood that there is no substring there. I
probably saw it in [groff-x.xx]/troff/input.cc. I can't recall correctly.

> (I knew about .as, but I don't regard this as prime-time string
> editing; the fundamental need is to unpack a string according to
> requirements, and "substring" is a fundamental primitive for this)
> 

Well, then, how about integrating Perl and groff together? I wrote about
this in my previous letter. I can't imagine that no-one intresting on this.
Just imagine something like:
.ds somestring \*[P:$str=~s/(\w+)/\L\u$1/]
to get result with first word changed to lowercase except it's first letter
which will be upcased
and 
.ds somestring \*[P:$str=~s/(\w+)/\L\u$1/]
 -- the same thing but for all words in the string!

There may be even more intresting things with this.

What do you think?

Vadim V.Konovalov, Software developer
ZAO Lucent Technologies, St.Petersburg branch
e-mail:	vkonovalov@lucent.com
phone:	+7(812)3298522


From groff-admin  Fri Feb 11 11:12:06 2000
Received: from hoemlsrv.firewall.lucent.com (hoemail1.lucent.com [192.11.226.161])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id LAA04824
	for <groff@ffii.org>; Fri, 11 Feb 2000 11:12:05 +0100
Received: from hoemlsrv.firewall.lucent.com (localhost [127.0.0.1])
	by hoemlsrv.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id FAA08368
	for <groff@ffii.org>; Fri, 11 Feb 2000 05:15:14 -0500 (EST)
Received: from ru0028exch01.spb.lucent.com (h135-171-148-105.lucent.com [135.171.148.105])
	by hoemlsrv.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id FAA08346
	for <groff@ffii.org>; Fri, 11 Feb 2000 05:15:12 -0500 (EST)
Received: by ru0028exch01.spb.lucent.com with Internet Mail Service (5.5.2448.0)
	id <Z8RQX1M6>; Fri, 11 Feb 2000 13:14:37 +0300
Message-ID: <402099F49BEED211999700805FC7359F40B007@ru0028exch01.spb.lucent.com>
From: "Konovalov, Vadim" <vkonovalov@lucent.com>
To: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>,
        Ted.Harding@nessie.mcc.ac.uk,
        "Konovalov, Vadim" <vkonovalov@lucent.com>
Cc: Groff Mailing List <groff@ffii.org>, Eddie Maddox <eddie@mngovsci.com>
Subject: RE: [Groff] String editing?
Date: Fri, 11 Feb 2000 13:14:37 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Status: O
Content-Length: 2251
Lines: 74

Sorry, I did a type while tried to explain my idea:


> -----Original Message-----
> From: Konovalov, Vadim [mailto:vkonovalov@spb.lucent.com]
> Sent: Friday, February 11, 2000 1:09 PM
> To: Ted.Harding@nessie.mcc.ac.uk; Konovalov, Vadim
> Cc: Groff Mailing List; Eddie Maddox
> Subject: RE: [Groff] String editing?
> 
> 
> > On 11-Feb-00 Konovalov, Vadim wrote:
> > > Sure there *are* string editing functions in groff:
> > > .substring str \n[start] \n[end]  \" groff only
> > > Consider following test:
> > > .ds str <this
> > > .tm [\*[str]]
> > > .ds sstr \*[str]
> > > .substring sstr 2
> > > .tm [\*[sstr]]
> > > .ds sstr \*[str]
> > > .substring sstr 2 3
> > > .tm [\*[sstr]]
> > > 
> > > this outputs following on STDERR:
> > > [<this]
> > > [this]
> > > [t]
> > > 
> > Well, you are right, and one learns something all the time!
> > 
> > However, this is nowhere documented that I can see. How did 
> > you find out?
> 
> Well, firstly I thought I saw this in 
> [groff-x.xx]/troff/troff.man, but when
> I checked this today I understood that there is no substring there. I
> probably saw it in [groff-x.xx]/troff/input.cc. I can't 
> recall correctly.
> 
> > (I knew about .as, but I don't regard this as prime-time string
> > editing; the fundamental need is to unpack a string according to
> > requirements, and "substring" is a fundamental primitive for this)
> > 
> 
> Well, then, how about integrating Perl and groff together? I 
> wrote about
> this in my previous letter. I can't imagine that no-one 
> intresting on this.
> Just imagine something like:
> .ds somestring \*[P:$str=~s/(\w+)/\L\u$1/]
> to get result with first word changed to lowercase except 
> it's first letter
> which will be upcased
> and 
> .ds somestring \*[P:$str=~s/(\w+)/\L\u$1/]
obviously should be 
.ds somestring \*[P:$str=~s/(\w+)/\L\u$1/g]
(Just copied the line and forgot to add 'g' modifier)

>  -- the same thing but for all words in the string!
> 
> There may be even more intresting things with this.
> 
> What do you think?
> 

Good luck,
Vadim Konovalov.
use strict;%;=qw;. @ @ .;,;$;=q;@;,$,=qq>\n>=>print
unpack q,A28,x6,join q,,,map{;$;=$;{$;};$;x$_;}split q,,,q
<13321523136131112131213171212121312131711524355111113121613132111316431322>



From groff-admin  Fri Feb 11 12:09:35 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id MAA05248
	for <groff@ffii.org>; Fri, 11 Feb 2000 12:09:35 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	for groff@ffii.org
	id 12JE00-000ISV-00; Fri, 11 Feb 2000 11:12:33 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id KAA14543;
	Fri, 11 Feb 2000 10:39:32 GMT
Message-ID: <XFMail.000211103931.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Date: Fri, 11 Feb 2000 10:39:31 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: groff@ffii.org
Subject: [Groff] Small Caps
Status: O
Content-Length: 2350
Lines: 64

Since I mentioned the small-caps issue in a previous mail,
some of you may be interested in the following macros which
do a primitive implementation of small-capitals.

I think the main point to be careful of is: Don't change the
point size within a smallcaps block (you're unlikely to need to
do so anyway; but if you do it won't work right). If you need
to do that, you'd better do the smallcaps by hand (or maybe make
more than one block of it).

The two macros .smallcaps (to turn it on) and ./smallcaps
(to turn it off) follow, with a small example at the end.

Ted.
==================================================================
.de smallcaps
.nr .sc.ps (\\n[.s]*75/100)
.nr .cap.PS \\n[.s]
.char a \s[\\n[.sc.ps]]A\s[\\n[.cap.PS]]
.char b \s[\\n[.sc.ps]]B\s[\\n[.cap.PS]]
.char c \s[\\n[.sc.ps]]C\s[\\n[.cap.PS]]
.char d \s[\\n[.sc.ps]]D\s[\\n[.cap.PS]]
.char e \s[\\n[.sc.ps]]E\s[\\n[.cap.PS]]
.char f \s[\\n[.sc.ps]]F\s[\\n[.cap.PS]]
.char g \s[\\n[.sc.ps]]G\s[\\n[.cap.PS]]
.char h \s[\\n[.sc.ps]]H\s[\\n[.cap.PS]]
.char i \s[\\n[.sc.ps]]I\s[\\n[.cap.PS]]
.char j \s[\\n[.sc.ps]]J\s[\\n[.cap.PS]]
.char k \s[\\n[.sc.ps]]K\s[\\n[.cap.PS]]
.char l \s[\\n[.sc.ps]]L\s[\\n[.cap.PS]]
.char m \s[\\n[.sc.ps]]M\s[\\n[.cap.PS]]
.char n \s[\\n[.sc.ps]]N\s[\\n[.cap.PS]]
.char o \s[\\n[.sc.ps]]O\s[\\n[.cap.PS]]
.char p \s[\\n[.sc.ps]]P\s[\\n[.cap.PS]]
.char q \s[\\n[.sc.ps]]Q\s[\\n[.cap.PS]]
.char r \s[\\n[.sc.ps]]R\s[\\n[.cap.PS]]
.char s \s[\\n[.sc.ps]]S\s[\\n[.cap.PS]]
.char t \s[\\n[.sc.ps]]T\s[\\n[.cap.PS]]
.char u \s[\\n[.sc.ps]]U\s[\\n[.cap.PS]]
.char v \s[\\n[.sc.ps]]V\s[\\n[.cap.PS]]
.char w \s[\\n[.sc.ps]]W\s[\\n[.cap.PS]]
.char x \s[\\n[.sc.ps]]X\s[\\n[.cap.PS]]
.char y \s[\\n[.sc.ps]]Y\s[\\n[.cap.PS]]
.char z \s[\\n[.sc.ps]]Z\s[\\n[.cap.PS]]
..
.de /smallcaps
.rchar a b c d e f g h i j k l m n o p q r s t u v w x y z
..
.LP
This Line Will Be In Ordinary Capitals And Lowercase Letters
.LP
.smallcaps
This Line Will Be In Small Caps Instead Of
Ordinary Capitals And Lowercase Letters
./smallcaps
.LP
This Line Will Be In Ordinary Capitals And Lowercase Letters


--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 11-Feb-00                                       Time: 10:39:31
------------------------------ XFMail ------------------------------


From groff-admin  Fri Feb 11 16:03:43 2000
Received: from cmailg4.svr.pol.co.uk (cmailg4.svr.pol.co.uk [195.92.195.174])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA06634
	for <groff@ffii.org>; Fri, 11 Feb 2000 16:03:43 +0100
Received: from [195.92.67.23] (helo=mail18.svr.pol.co.uk)
	by cmailg4.svr.pol.co.uk with esmtp (Exim 3.13 #0)
	id 12JHen-0007x8-00
	for groff@ffii.org; Fri, 11 Feb 2000 15:06:53 +0000
Received: from modem-29.marine-betta.dialup.pol.co.uk ([62.137.39.157] helo=merlin.freeserve.net)
	by mail18.svr.pol.co.uk with esmtp (Exim 3.13 #0)
	id 12JHej-0001HJ-00
	for groff@ffii.org; Fri, 11 Feb 2000 15:06:50 +0000
Received: by merlin.freeserve.net (Linux Smail3.2.0.101 #1)
	id m12JIdy-000ivaC; Fri, 11 Feb 2000 16:10:06 +0000 (GMT)
Message-Id: <m12JIdy-000ivaC@merlin.freeserve.net>
Date: Fri, 11 Feb 2000 16:10:06 +0000 (GMT)
From: Gaius Mulley <gaius@glam.ac.uk>
To: wl@gnu.org
CC: asmodai@wxs.nl, groff@ffii.org
In-reply-to: <20000210232619D.sx0005@sx2.hrz.uni-dortmund.de> (message from
	Werner LEMBERG on Thu, 10 Feb 2000 23:26:19 GMT)
Subject: Re: Fw: [Groff] Bug#56702: [PATCH] security bugfix for grohtml
References: <20000207000120Z.sx0005@sx2.hrz.uni-dortmund.de>
	<m12Hpo0-000ivaC@merlin.freeserve.net>
	<20000210225803.A281@daemon.ninth-circle.org> <20000210232619D.sx0005@sx2.hrz.uni-dortmund.de>
Status: O
Content-Length: 8708
Lines: 277


Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> writes:

>> This whole snippet plus some more really reminds of the functions:
>> 
>> mktemp(), mkstemp(), mkstemps() and these should be pretty portable.

Werner writes:

> I second that.  There is a function called xtmpfile() in
> src/libgroff/tmpfile.cc -- maybe it is possible to extend it so that
> it can be used with grohtml also.

fine ideas, yes they would form a better solution.
Here is an attempt, hope it meets with approval?

many thanks,

Gaius

--- groff-cvs/src/devices/grohtml/html.cc	Mon Feb  7 22:50:19 2000
+++ groff-html/src/devices/grohtml/html.cc	Fri Feb 11 15:13:19 2000
@@ -1063,7 +1063,7 @@
   void  save_paragraph                (void);
   void  restore_paragraph             (void);
   void  html_newline                  (void);
-  void  convert_to_image              (char *name);
+  void  convert_to_image              (char *troff_src, char *image_name);
   void  write_title                   (int in_head);
   void  find_title                    (void);
   int   is_bold                       (text_glob *g);
@@ -1075,7 +1075,6 @@
   int   is_a_header                   (text_glob *g);
   int   processed_header              (text_glob *g);
   void  make_new_image_name           (void);
-  void  create_temp_name              (char *name, char *extension);
   void  calculate_region_margins      (region_glob *r);
   void  remove_redundant_regions      (void);
   void  remove_duplicate_regions      (void);
@@ -2408,54 +2407,32 @@
   return( (g->minv < t->minv) || ((g->minv == t->minv) && (g->minh < t->minh)) );
 }
 
-/*
- *  create_tmp_file - opens a filename in /tmp carefully checking for failure
- *                    otherwise security could be circumvented.
- */
-
-static FILE *create_tmp_file (char *filename)
-{
-  FILE *f;
-  int   fd;
-
-  errno = 0;
-  /* This file is in /tmp, so open carefully */
-  fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0600);
-  if (fd < 0) {
-    fatal("can't create `%1'", filename);
-  }
-  f  = fdopen(fd, "w");
-  if (f == 0) {
-    fatal("can't create `%1'", filename);
-  }
-  return( f );
-}
-
-void html_printer::convert_to_image (char *name)
+void html_printer::convert_to_image (char *troff_src, char *image_name)
 {
   char buffer[1024];
+  char *ps_src = mktemp(xtmptemplate("-ps-"));
 
-  sprintf(buffer, "grops %s > %s.ps\n", name, name);
+  sprintf(buffer, "grops %s > %s\n", troff_src, ps_src);
   if (debug_on) {
-    fprintf(stderr, "%s", buffer);
+    fprintf(stderr, buffer);
   }
   system(buffer);
 
   if (image_type == gif) {
     sprintf(buffer,
-	    "echo showpage | gs -q -dSAFER -sDEVICE=ppmraw -r%d -g%dx%d -sOutputFile=- %s.ps - | ppmquant 256  2> /dev/null | ppmtogif  2> /dev/null > %s.gif \n",
+	    "echo showpage | gs -q -dSAFER -sDEVICE=ppmraw -r%d -g%dx%d -sOutputFile=- %s - | ppmquant 256  2> /dev/null | ppmtogif  2> /dev/null > %s.gif \n",
 	    image_res,
 	    (end_region_hpos-start_region_hpos)*image_res/font::res+IMAGE_BOARDER_PIXELS,
 	    (end_region_vpos-start_region_vpos)*image_res/font::res+IMAGE_BOARDER_PIXELS,
-	    name, image_name);
+	    ps_src, image_name);
   } else {
     sprintf(buffer,
-	    "echo showpage | gs -q -dSAFER -sDEVICE=%s -r%d -g%dx%d -sOutputFile=- %s.ps - 2> /dev/null > %s.png \n",
+	    "echo showpage | gs -q -dSAFER -sDEVICE=%s -r%d -g%dx%d -sOutputFile=- %s - 2> /dev/null > %s.png \n",
 	    image_device,
 	    image_res,
 	    (end_region_hpos-start_region_hpos)*image_res/font::res+IMAGE_BOARDER_PIXELS,
 	    (end_region_vpos-start_region_vpos)*image_res/font::res+IMAGE_BOARDER_PIXELS,
-	    name, image_name);
+	    ps_src, image_name);
 #if 0
     sprintf(buffer,
 	    "echo showpage | gs -q -dSAFER -sDEVICE=ppmraw -r%d -g%dx%d -sOutputFile=- %s.ps - > %s.pnm ; pnmtopng -transparent white %s.pnm > %s.png \n",
@@ -2470,12 +2447,8 @@
     fprintf(stderr, "%s", buffer);
   }
   system(buffer);
-  sprintf(buffer, "/bin/rm -f %s %s.ps\n", name, name);
-  if (debug_on) {
-    fprintf(stderr, "%s", buffer);
-  } else {
-    system(buffer);
-  }
+  unlink(ps_src);
+  unlink(troff_src);
 }
 
 void html_printer::prologue (void)
@@ -2485,18 +2458,12 @@
   troff.put_string(" 1 1\nx init\np1\n");
 }
 
-void html_printer::create_temp_name (char *name, char *extension)
-{
-  make_new_image_name();
-  sprintf(name, "/tmp/grohtml-%d-%ld.%s", image_number, (long)getpid(), extension);
-}
-
 void html_printer::display_globs (int is_to_html)
 {
   text_glob    *t=0;
   graphic_glob *g=0;
   FILE         *f=0;
-  char          name[MAX_TEMP_NAME];
+  char         *troff_src;
   int           something=FALSE;
   int           is_center=FALSE;
 
@@ -2504,8 +2471,8 @@
 
   if (! is_to_html) {
     is_center = html_position_region();
-    create_temp_name(name, "troff");
-    f = create_tmp_file(name);
+    make_new_image_name();
+    f = xtmpfile(&troff_src, "-troff-", FALSE);
     troff.set_file(f);
     prologue();
     output_style.f = 0;
@@ -2576,7 +2543,7 @@
   if ((! is_to_html) && (f != 0)) {
     fclose(troff.get_file());
     if (something) {
-      convert_to_image(name);
+      convert_to_image(troff_src, image_name);
 
       if (is_center) {
 	end_paragraph();
@@ -2602,7 +2569,6 @@
       output_style.f   = 0;
       end_paragraph();
     }
-    // unlink(name);  // remove troff file
   }
 }
 
--- groff-cvs/src/devices/grohtml/ChangeLog	Mon Feb  7 22:50:19 2000
+++ groff-html/src/devices/grohtml/ChangeLog	Fri Feb 11 15:58:43 2000
@@ -1,3 +1,10 @@
+2000-02-11  Gaius Mulley  <gaius@glam.ac.uk>
+
+	* html.cc: removed create_tmp_file and replaced any dependant calls
+	for xtmpfile and mktemp(xtmptemplate()) as suggested by Werner
+	and Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>.
+	Also removed create_temp_name.
+
 2000-02-07  Gaius Mulley  <gaius@glam.ac.uk>
 
 	* html.cc (html_printer::make_new_image_name): Tidied up file and
--- groff-cvs/src/libs/libgroff/tmpfile.cc	Sun Feb  6 09:37:16 2000
+++ groff-html/src/libs/libgroff/tmpfile.cc	Fri Feb 11 15:13:34 2000
@@ -43,11 +43,22 @@
 // Use this as the prefix for temporary filenames.
 #define TMPFILE_PREFIX  "groff"
 
-// Open a temporary file with fatal error on failure.
+/*
+ *  Generate a temporary name template with a, postfix,
+ *  immediately after the TMPFILE_PREFIX.
+ *  It uses the groff preferences for temporary directory.
+ *  Note no file name is either created or opened
+ *  only the *template* is returned.
+ */
 
-FILE *xtmpfile()
+char *xtmptemplate(char *postfix=0)
 {
   const char *dir = getenv(GROFF_TMPDIR_ENVVAR);
+  int     postlen = 0;
+
+  if (postfix)
+    postlen = strlen(postfix);
+    
   if (!dir) {
     dir = getenv(TMPDIR_ENVVAR);
     if (!dir)
@@ -57,13 +68,24 @@
   const char *p = strrchr(dir, '/');
   int needs_slash = (!p || p[1]);
   char *templ = new char[strlen(dir) + needs_slash
-			    + sizeof(TMPFILE_PREFIX) - 1 + 6 + 1];
+			    + sizeof(TMPFILE_PREFIX) - 1 + 6 + 1 + postlen];
   strcpy(templ, dir);
   if (needs_slash)
     strcat(templ, "/");
   strcat(templ, TMPFILE_PREFIX);
+  if (postlen > 0)
+    strcat(templ, postfix);
   strcat(templ, "XXXXXX");
 
+  return( templ );
+}
+
+// Open a temporary file and with fatal error on failure.
+
+FILE *xtmpfile(char **namep=0, char *postfix=0, int do_unlink=1)
+{
+  char *templ = xtmptemplate(postfix);
+
 #ifdef HAVE_MKSTEMP
   errno = 0;
   int fd = mkstemp(templ);
@@ -81,9 +103,13 @@
   if (!fp)
     fatal("cannot open `%1': %2", templ, strerror(errno));
 #endif /* not HAVE_MKSTEMP */
-  if (unlink(templ) < 0)
+  if ((do_unlink) && (unlink(templ) < 0))
     error("cannot unlink `%1': %2", templ, strerror(errno));
-  a_delete templ;
+  if ((namep != 0) && ((*namep) != 0)) {
+    *namep = templ;
+  } else {
+    a_delete templ;
+  }
   return fp;
 }
 
--- groff-cvs/src/include/lib.h	Sun Feb  6 09:36:30 2000
+++ groff-html/src/include/lib.h	Fri Feb 11 15:13:41 2000
@@ -53,7 +53,8 @@
 
 #include <stdio.h>
 
-FILE *xtmpfile();
+FILE *xtmpfile(char **namep=0, char *postfix=0, int do_unlink=1);
+char *xtmptemplate(char *extension=0);
 
 #ifndef STDIO_H_DECLARES_POPEN
 
--- groff-cvs/ChangeLog	Thu Feb 10 22:22:52 2000
+++ groff-html/ChangeLog	Fri Feb 11 15:51:16 2000
@@ -1,3 +1,14 @@
+2000-02-11  Gaius Mulley  <gaius@glam.ac.uk>
+
+	* src/include/lib.h: added xtmptemplate and made xtmpfile
+	parametrically polymorhic.
+
+	* src/libs/libgroff/tmpfile.cc: implemented xtmptemplate
+	and the alterations to xtmpfile.
+	xtmpfile can be requested to return the filename created
+	and asked not to unlink the temp file. The default behviour
+	if parameters are absent is exactly the same as before.
+
 2000-02-09  Werner LEMBERG  <wl@gnu.org>
 
 	* src/roff/groff/groff.man: Added an example.


From groff-admin  Fri Feb 11 16:43:58 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA06863
	for <groff@ffii.org>; Fri, 11 Feb 2000 16:43:58 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 11 Feb 2000 16:46:52 +0100
Received: from rigel.univie.ac.at (dial-143134.HRZ.Uni-Dortmund.DE [129.217.143.134])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id QAA22115;
	Fri, 11 Feb 2000 16:46:39 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id IAA02547;
	Fri, 11 Feb 2000 08:31:13 GMT
To: vkonovalov@lucent.com
Cc: Ted.Harding@nessie.mcc.ac.uk, eddie@mngovsci.com, groff@ffii.org
Subject: RE: [Groff] String editing?
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <402099F49BEED211999700805FC7359F40AF85@ru0028exch01.spb.lucent.com>
References: <402099F49BEED211999700805FC7359F40AF85@ru0028exch01.spb.lucent.com>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000211083112X.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 11 Feb 2000 08:31:12 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 1341
Lines: 44

> Sure there *are* string editing functions in groff:
> .substring str \n[start] \n[end]  \" groff only
> .as ...... \" both troff and groff
> 
> Consider following test:
> .ds str <this
> .tm [\*[str]]
> .ds sstr \*[str]
> .substring sstr 2
> .tm [\*[sstr]]
> .ds sstr \*[str]
> .substring sstr 2 3
> .tm [\*[sstr]]
> 
> this outputs following on STDERR:
> [<this]
> [this]
> [t]

Of course completely undocumented...  I'll add some docs to troff.man
and groff.texinfo.

I will also soon include a `length' macro which computes the length of
a string.

> Not as powerful as Perl string editing functions are, but ....  I am
> thinking about merging Perl and Groff together to get really
> powerful string manipulation in groff, even search/replace regexes
> will be made easily in this case.  Is anyone intresting on this, or
> I am alone on this?  Should I really do this work?  (I tested Perl
> and groff coexistence, first tests were Ok, but I'm not sure it is
> really useful)

What do you mean with `merging'?  Adding Perl's string functions to
groff?  This is a good thing, I think -- the only question is to which
extent...

Or do you mean writing a macro package to access Perl's string
manipulation functions from within groff?  This is also very nice, but
somewhat limited since you have to use groff's `-U' switch.


    Werner


From groff-admin  Fri Feb 11 17:08:01 2000
Received: from alemail1.firewall.lucent.com (alemail1.lucent.com [192.11.221.161])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id RAA07075
	for <groff@ffii.org>; Fri, 11 Feb 2000 17:08:01 +0100
Received: from alemail1.firewall.lucent.com (localhost [127.0.0.1])
	by alemail1.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id LAA20717
	for <groff@ffii.org>; Fri, 11 Feb 2000 11:11:11 -0500 (EST)
Received: from ru0028exch01.spb.lucent.com (h135-171-148-105.lucent.com [135.171.148.105])
	by alemail1.firewall.lucent.com (Pro-8.9.3/8.9.3) with ESMTP id LAA20655
	for <groff@ffii.org>; Fri, 11 Feb 2000 11:11:10 -0500 (EST)
Received: by ru0028exch01.spb.lucent.com with Internet Mail Service (5.5.2448.0)
	id <Z8RQX1VW>; Fri, 11 Feb 2000 19:10:33 +0300
Message-ID: <402099F49BEED211999700805FC7359F40B099@ru0028exch01.spb.lucent.com>
From: "Konovalov, Vadim" <vkonovalov@lucent.com>
To: Werner LEMBERG <wl@gnu.org>, vkonovalov@lucent.com
Cc: Ted.Harding@nessie.mcc.ac.uk, eddie@mngovsci.com, groff@ffii.org
Subject: RE: [Groff] String editing?
Date: Fri, 11 Feb 2000 19:10:32 +0300
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="windows-1251"
Status: O
Content-Length: 2158
Lines: 51

> I will also soon include a `length' macro which computes the length of
> a string.
> 
> > Not as powerful as Perl string editing functions are, but ....  I am
> > thinking about merging Perl and Groff together to get really
> > powerful string manipulation in groff, even search/replace regexes
> > will be made easily in this case.  Is anyone intresting on this, or
> > I am alone on this?  Should I really do this work?  (I tested Perl
> > and groff coexistence, first tests were Ok, but I'm not sure it is
> > really useful)
> 
> What do you mean with `merging'?  Adding Perl's string functions to
> groff?  This is a good thing, I think -- the only question is to which
> extent...

I don't know exactly yet:) I tried to embed perl into troff.exe's core and
it was successfull. I think of it as a request that will load perl core
(e.g.from dll file) and do something usefull. Also make perl will access
groff's strings through $G:: package and groff will access Perlish scalar
through, for example, special name, such as \*[P:$scalar]. Or may be
\*P[any_perl_expression].

My dream is to have possibility to write, for example
.ds str \*[P:join ' ', reverse split / +/,$G::str]
to reverse all words in the string str
:)

It is may be implemented in theory and I know how, but I'm afraid to make
troff processor much much slower...
OTOH you may not use it if it will be slow :)

> 
> Or do you mean writing a macro package to access Perl's string
> manipulation functions from within groff?  This is also very nice, but
> somewhat limited since you have to use groff's `-U' switch.

Probably not.

One thing that disappointed me is following:
I wanted to implement Perlish request(s) for troff in separate file (for
conditional linking of it if required or something), but it seems that it's
impossible. input.cc file contains declaration of many c++ classes important
for processing and therefore they will not be seen from outside.

Good luck,
Vadim Konovalov.
use strict;%;=qw;. @ @ .;,;$;=q;@;,$,=qq>\n>=>print
unpack q,A28,x6,join q,,,map{;$;=$;{$;};$;x$_;}split q,,,q
<13321523136131112131213171212121312131711524355111113121613132111316431322>



From groff-admin  Fri Feb 11 17:18:27 2000
Received: from enf403-2.ensu.ucalgary.ca (root@enf403-2.geomatics.ucalgary.ca [136.159.122.26])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id RAA07182
	for <groff@ffii.org>; Fri, 11 Feb 2000 17:18:27 +0100
Received: by enf403-2.ensu.ucalgary.ca
	via sendmail from stdin
	id <m12JIp2-000050C@enf403-2.ensu.ucalgary.ca> (Debian Smail3.2.0.102)
	for groff@ffii.org; Fri, 11 Feb 2000 09:21:32 -0700 (MST) 
Message-Id: <m12JIp2-000050C@enf403-2.ensu.ucalgary.ca>
From: provinsd@enf403-2.ensu.ucalgary.ca (Dean Allen Provins)
Subject: Re: [Groff] String editing?
In-Reply-To: <20000211083112X.sx0005@sx2.hrz.uni-dortmund.de> from Werner LEMBERG
 at "Feb 11, 2000 08:31:12 am"
To: Werner LEMBERG <wl@gnu.org>
Date: Fri, 11 Feb 2000 09:21:32 -0700 (MST)
CC: groff mail list <groff@ffii.org>
X-Mailer: ELM [version 2.4ME+ PL65 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Status: O
Content-Length: 2150
Lines: 70

Werner:

The 'length' macro will be nice (as will the documenting of the
substring macros.  Would you also consider adding one which returns
TRUE or FALSE if the string is a numeric (optionally preceded by a
plus or minus sign) or not?

I've hacked some code in 'ms' to do that, but it only tests if the
'string' is bigger or smaller than some value.  It assumes an ASCII
collating sequence.  I suspect it is not too dependable.  i

I need it to check macro argument types - sort of an error check to
ensure that I get a numeric when I expect a numeric.

Thanks,

Dean Provins
Calgary

> 
> > Sure there *are* string editing functions in groff:
> > .substring str \n[start] \n[end]  \" groff only
> > .as ...... \" both troff and groff
> > 
> > Consider following test:
> > .ds str <this
> > .tm [\*[str]]
> > .ds sstr \*[str]
> > .substring sstr 2
> > .tm [\*[sstr]]
> > .ds sstr \*[str]
> > .substring sstr 2 3
> > .tm [\*[sstr]]
> > 
> > this outputs following on STDERR:
> > [<this]
> > [this]
> > [t]
> 
> Of course completely undocumented...  I'll add some docs to troff.man
> and groff.texinfo.
> 
> I will also soon include a `length' macro which computes the length of
> a string.
> 
> > Not as powerful as Perl string editing functions are, but ....  I am
> > thinking about merging Perl and Groff together to get really
> > powerful string manipulation in groff, even search/replace regexes
> > will be made easily in this case.  Is anyone intresting on this, or
> > I am alone on this?  Should I really do this work?  (I tested Perl
> > and groff coexistence, first tests were Ok, but I'm not sure it is
> > really useful)
> 
> What do you mean with `merging'?  Adding Perl's string functions to
> groff?  This is a good thing, I think -- the only question is to which
> extent...
> 
> Or do you mean writing a macro package to access Perl's string
> manipulation functions from within groff?  This is also very nice, but
> somewhat limited since you have to use groff's `-U' switch.
> 
> 
>     Werner
> 
> _______________________________________________
> Groff maillist  -  Groff@ffii.org
> http://ffii.org/mailman/listinfo/groff
> 



From groff-admin  Fri Feb 11 17:24:46 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id RAA07256
	for <groff@ffii.org>; Fri, 11 Feb 2000 17:24:46 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 11 Feb 2000 17:27:37 +0100
Received: from rigel.univie.ac.at (dial-143163.HRZ.Uni-Dortmund.DE [129.217.143.163])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id RAA24200;
	Fri, 11 Feb 2000 17:27:25 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id QAA02797;
	Fri, 11 Feb 2000 16:04:23 GMT
To: Ted.Harding@nessie.mcc.ac.uk
Cc: groff@ffii.org
Subject: Re: [Groff] Small Caps
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <XFMail.000211103931.Ted.Harding@nessie.mcc.ac.uk>
References: <XFMail.000211103931.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000211160422W.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 11 Feb 2000 16:04:22 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 443
Lines: 12

> Since I mentioned the small-caps issue in a previous mail,
> some of you may be interested in the following macros which
> do a primitive implementation of small-capitals.

Very nice!  Do you collect these macros somewhere?  I've recently
created a `MORE.STUFF' file in the groff archive which is intended to
collect additional stuff related to groff, and I can imagine adding a
link (with some descriptions) to your macros...


    Werner


From groff-admin  Fri Feb 11 17:25:05 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id RAA07298
	for <groff@ffii.org>; Fri, 11 Feb 2000 17:25:05 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 11 Feb 2000 17:28:02 +0100
Received: from rigel.univie.ac.at (dial-143163.HRZ.Uni-Dortmund.DE [129.217.143.163])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id RAA24218;
	Fri, 11 Feb 2000 17:27:43 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id QAA02802;
	Fri, 11 Feb 2000 16:11:01 GMT
To: vkonovalov@lucent.com
Cc: groff@ffii.org
Subject: RE: [Groff] String editing?
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <402099F49BEED211999700805FC7359F40B007@ru0028exch01.spb.lucent.com>
References: <402099F49BEED211999700805FC7359F40B007@ru0028exch01.spb.lucent.com>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000211161101D.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 11 Feb 2000 16:11:01 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 479
Lines: 18

> > Just imagine something like:
> > .ds somestring \*[P:$str=~s/(\w+)/\L\u$1/]
> > to get result with first word changed to lowercase except it's
> > first letter which will be upcased

In case you want to do this, do it!  It is definitely a very valuable
contribution.

Two things which must be noted:

  . The FSF needs a copyright disclaimer of you (via snail mail)

  . The files you contribute must either have a GNU license or
    something less restrictive.


   Werner


From groff-admin  Fri Feb 11 20:44:34 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id UAA08553
	for <groff@ffii.org>; Fri, 11 Feb 2000 20:44:33 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12JM2Y-0006PT-00; Fri, 11 Feb 2000 19:47:43 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id SAA18323;
	Fri, 11 Feb 2000 18:19:22 GMT
Message-ID: <XFMail.000211181922.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <20000211160422W.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 11 Feb 2000 18:19:22 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: Werner LEMBERG <wl@gnu.org>
Subject: Re: [Groff] Small Caps
Cc: groff@ffii.org
Status: O
Content-Length: 2888
Lines: 70

On 11-Feb-00 Werner LEMBERG wrote:
> 
>> Since I mentioned the small-caps issue in a previous mail,
>> some of you may be interested in the following macros which
>> do a primitive implementation of small-capitals.
> 
> Very nice!

Well, thank you for the kind words!

It is, however (as I said), primitive. It works properly for
basic use (i.e. where the small-caps text consists of words
using only alphabetic characters). There are several complications
in doing a proper job (which is why I could get interested in proper
string processing).

For instance, consider the small-caps versions of each of the following:

a. Big-endian Implementations of Modula-2

b. Big-Endian Implementations of Modula-2

What about the first hyphen? How would you expect it to be printed
in case (a), and in case (b)? In the first case, it should definitely be
in the point-size of the small caps. In the second case I'm not so sure,
but in any case there is a question there.

And what about the "-2" in each case?

Whatever your preferences, this can only be handled properly if each
character is considered in context, for whether to print it in reduced
size or normal size. My .smallcaps macro does not handle this at all.

Again (this is cosmetic, but it does matter a bit): The "proper" way
to do small-caps is not by using reduced-size caps of the current font.
The reason is that the stroke-weights are too light, compared with the
stroke-weights of both the upper- ands lower-case letters of the main
font. "Real" fonts have an entire "small-caps" typeface for each of the
Standard ("Roman"), Bold, Italic and BoldItalic versions, so as to
keep the stroke-weights consistent.

To some extent you can fudge this using the standard PostScript fonts,
if your main font is Times, by switching to either NewCenturySchoolbook
or Bookman for the small caps, since these have heavier strokes and the
balance looks better (and they are sufficiently similar to Times for
the slight changes in shape not to be obvious). This could be incorporated
into the macro I gave, taking some care in use. I will look into
a convenient formulation of this.

>  Do you collect these macros somewhere?

Yes -- in /usr/share/groff/tmac/tmac.ted ... at least for things
which are not too experimental.


> I've recently created a `MORE.STUFF' file in the groff archive which
> is intended to collect additional stuff related to groff, and I can
> imagine adding a link (with some descriptions) to your macros...

I'll try to parcel up a small package. It's a bit of a mixed bag,
since it meets my needs but not necessarily anyone else's!

Best wishes,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 11-Feb-00                                       Time: 18:19:21
------------------------------ XFMail ------------------------------


From groff-admin  Fri Feb 11 23:14:30 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA09449
	for <groff@ffii.org>; Fri, 11 Feb 2000 23:14:30 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 11 Feb 2000 23:17:31 +0100
Received: from rigel.univie.ac.at (dial-143190.HRZ.Uni-Dortmund.DE [129.217.143.190])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id XAA01853;
	Fri, 11 Feb 2000 23:17:30 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id WAA04380;
	Fri, 11 Feb 2000 22:13:27 GMT
To: abramo@alsa-project.org
Cc: groff@ffii.org
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <3871D54A.B6051F8B@alsa-project.org>
References: <3871D54A.B6051F8B@alsa-project.org>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000211221326D.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 11 Feb 2000 22:13:26 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] length macro implemented
Status: O
Content-Length: 146
Lines: 11

I've finally applied Abramo's `length' extension.

Syntax:

  .length xx string

Assign length of `string' to number register `xx'.


    Werner


From groff-admin  Fri Feb 11 23:14:30 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA09455
	for <groff@ffii.org>; Fri, 11 Feb 2000 23:14:30 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 11 Feb 2000 23:17:33 +0100
Received: from rigel.univie.ac.at (dial-143190.HRZ.Uni-Dortmund.DE [129.217.143.190])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id XAA01856;
	Fri, 11 Feb 2000 23:17:31 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id WAA04385;
	Fri, 11 Feb 2000 22:16:30 GMT
To: vkonovalov@lucent.com
Cc: groff@ffii.org
Subject: RE: [Groff] String editing?
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <402099F49BEED211999700805FC7359F40B099@ru0028exch01.spb.lucent.com>
References: <402099F49BEED211999700805FC7359F40B099@ru0028exch01.spb.lucent.com>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000211221629A.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 11 Feb 2000 22:16:29 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 527
Lines: 16

> My dream is to have possibility to write, for example
> .ds str \*[P:join ' ', reverse split / +/,$G::str]
> to reverse all words in the string str
> :)
> 
> It is may be implemented in theory and I know how, but I'm afraid to
> make troff processor much much slower...  OTOH you may not use it if
> it will be slow :)

May I suggest that you give this a new name, say, `.dsr' for `define
string with regexp' (or whatever name you find appropriate)?  Then you
won't have this problem with traditional packages.


    Werner


From groff-admin  Fri Feb 11 23:14:30 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA09452
	for <groff@ffii.org>; Fri, 11 Feb 2000 23:14:30 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 11 Feb 2000 23:17:34 +0100
Received: from rigel.univie.ac.at (dial-143190.HRZ.Uni-Dortmund.DE [129.217.143.190])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id XAA01859
	for <groff@ffii.org>; Fri, 11 Feb 2000 23:17:33 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id UAA02981
	for <groff@ffii.org>; Fri, 11 Feb 2000 20:04:12 GMT
To: groff@ffii.org
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000211200411N.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 11 Feb 2000 20:04:11 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] widow control request
Status: O
Content-Length: 275
Lines: 11

Has anybody ever tried the widow control code?

There exists a `wdc' request which is only available if the macro
`WIDOW_CONTROL' is defined during compilation of troff.

Why is this code disabled?  Is it incomplete?  As usual, it is
completely undocumented...


    Werner


From groff-admin  Sat Feb 12 01:55:11 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id BAA10627
	for <groff@ffii.org>; Sat, 12 Feb 2000 01:55:10 +0100
From: gidds@yahoo.com
Received: from yahoo.com (1Cust155.tnt26.det3.da.uu.net [63.24.52.155])
	by mescaline.gnu.org (8.9.1a/8.9.1) with SMTP id TAA11922
	for <groff@gnu.org>; Fri, 11 Feb 2000 19:58:21 -0500
To: groff@gnu.org
Date: Fri, 11 Feb 2000 19:57:56
Message-Id: <580.861540.872566@yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Subject: [Groff] Headline: For lovers of fine, rare and collectable Australian wine
Status: O
Content-Length: 1442
Lines: 38


Dear Friend,
 
www.nakedcitywine.com.au <http://www.nakedcitywine.com.au> welcomes you
to the New Millennium with a wide variety and a extensive selection of ultra
premium Australian wines.
 
Your friends, clients, or business associates will be duly impressed
by our selection of fine, rare and collectable Australian wine.
 
 
www.nakedcitywine.com.au <http://www.nakedcitywine.com.au> is reserving
the following rare allocations of these ultra premium Australian wines
exclusively for recipients of this unique special offer. These wines are
priced well below current market value.
 
                                               Special Offer      RRP  

1993 Ebenezer Shiraz                            $37.50         $44.99
   
1996 Penfolds 707 Cabernet Sauvignon            $120.00        $150.00

1994 Howard Park Cabernet Merlot                $120.00        $150.00
 
1996 Parker Estate Terra Rossa                  $60.00         $89.99


Visit  www.nakedcitywine.com.au <http://www.nakedcitywine.com.au> to
find our extensive and exclusive range of the very best in fine, rare
and collectable ultra premium Australian wine.
 
===========================================================
This service is provided free by nakedcitywine.com.au, this is not spam,
this is an opt in address list. If you wish to be removed from this list forever
simply reply with remove.  All unsubscribe requests will be honoured within 24
hours
 


From groff-admin  Sat Feb 12 08:41:20 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id IAA18895
	for <groff@ffii.org>; Sat, 12 Feb 2000 08:41:20 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sat, 12 Feb 2000 08:44:21 +0100
Received: from rigel.univie.ac.at (dial-143164.HRZ.Uni-Dortmund.DE [129.217.143.164])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id IAA19804;
	Sat, 12 Feb 2000 08:44:19 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id GAA04595;
	Sat, 12 Feb 2000 06:59:42 GMT
To: Ted.Harding@nessie.mcc.ac.uk
Cc: groff@ffii.org
Subject: Re: [Groff] Small Caps
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <XFMail.000211181922.Ted.Harding@nessie.mcc.ac.uk>
References: <20000211160422W.sx0005@sx2.hrz.uni-dortmund.de>
	<XFMail.000211181922.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000212065941N.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sat, 12 Feb 2000 06:59:41 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 1469
Lines: 38

> For instance, consider the small-caps versions of each of the
> following:
> 
> a. Big-endian Implementations of Modula-2
> 
> b. Big-Endian Implementations of Modula-2
> 
> What about the first hyphen? How would you expect it to be printed
> in case (a), and in case (b)? In the first case, it should
> definitely be in the point-size of the small caps.  In the second
> case I'm not so sure, but in any case there is a question there.

No.  In both cases it has the point-size of the uppercase characters!
Everything else would disturb the flow of text -- remember that words
set in small caps areu usually embedded into a stream of
uppercase/lowercase words.

> Whatever your preferences, this can only be handled properly if each
> character is considered in context, for whether to print it in
> reduced size or normal size.  My .smallcaps macro does not handle
> this at all.

I think this is also incorrect.  `Small caps' is just a variant of
lowercase letters, so replacing the lowercase glyphs with small-caps
is completely sufficient.

> Again (this is cosmetic, but it does matter a bit): The "proper" way
> to do small-caps is not by using reduced-size caps of the current
> font.

I fully agree.  The proper way is to use fonts which already provide
small caps.  If you use the route groff->dvi->ps, you can do that
quite easily since dvips has excellent support for faked small-caps
which can't be simulated with your macro (kerning etc).


    Werner


From groff-admin  Sat Feb 12 16:26:45 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA21874
	for <groff@ffii.org>; Sat, 12 Feb 2000 16:26:45 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12JeUd-000MXZ-00; Sat, 12 Feb 2000 15:29:56 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id LAA25747;
	Sat, 12 Feb 2000 11:24:55 GMT
Message-ID: <XFMail.000212112455.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <XFMail.000211181922.Ted.Harding@nessie.mcc.ac.uk>
Date: Sat, 12 Feb 2000 11:24:55 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: groff@ffii.org
Subject: Re: [Groff] Small Caps
Cc: Werner LEMBERG <wl@gnu.org>
Status: O
Content-Length: 750
Lines: 23

On 11-Feb-00 Ted Harding wrote:
> 
> For instance, consider the small-caps versions of each of the
> following:
> 
> a. Big-endian Implementations of Modula-2
> 
> b. Big-Endian Implementations of Modula-2


Actually, now that I have had another look at this example,
I don't think it is an issue: I think it comes out OK with
the main point-size for the hyphens, "-2", and indeed for
punctuation. I'm still wary of the possibility of cases
where it could become an issue, however.

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 12-Feb-00                                       Time: 11:24:55
------------------------------ XFMail ------------------------------


From groff-admin  Sat Feb 12 16:26:47 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA21902
	for <groff@ffii.org>; Sat, 12 Feb 2000 16:26:46 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12JeUk-000MXZ-00; Sat, 12 Feb 2000 15:30:03 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id LAA25672;
	Sat, 12 Feb 2000 11:03:44 GMT
Message-ID: <XFMail.000212110344.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <20000211200411N.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sat, 12 Feb 2000 11:03:44 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: Werner LEMBERG <wl@gnu.org>
Subject: RE: [Groff] widow control request
Cc: groff@ffii.org
Status: O
Content-Length: 1411
Lines: 42

On 11-Feb-00 Werner LEMBERG wrote:
> 
> Has anybody ever tried the widow control code?
> 
> There exists a `wdc' request which is only available if the macro
> `WIDOW_CONTROL' is defined during compilation of troff.
> 
> Why is this code disabled?  Is it incomplete?  As usual, it is
> completely undocumented...

There is a bunch of stuff in the code which is trapped inside
comile-conditions. Not only widow-control, but also what looks like
a whole suite of requests for column formatting.

None of this has ever got into a public groff; I guess it was experimental
code which James Clark wasn't happy with.

As you say, there is no hint of it in the documentation, and there is
almost no clue in the code in the way of comment-lines either.
These include:

.colj    column_justify
.colo    column_output
.colr    column_reset
.cols    column_start
.colt    column_trim
.nvj     no_vjustify
.psr     get_requested_point_size
.sr      get_requested_point_size_string
.vj      vjustify

I've been intrigued by these for some time, but have never got
round to trying to trace out from the code what they do, and
how they should be invoked ...

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 12-Feb-00                                       Time: 11:03:43
------------------------------ XFMail ------------------------------


From groff-admin  Sat Feb 12 16:33:51 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA21985
	for <groff@ffii.org>; Sat, 12 Feb 2000 16:33:51 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sat, 12 Feb 2000 16:36:51 +0100
Received: from rigel.univie.ac.at (dial-143165.HRZ.Uni-Dortmund.DE [129.217.143.165])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id QAA26785;
	Sat, 12 Feb 2000 16:36:49 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id IAA05296;
	Sat, 12 Feb 2000 08:31:05 GMT
To: gaius@glam.ac.uk
Cc: asmodai@wxs.nl, groff@ffii.org, blake@florida-software.com
Subject: Re: Fw: [Groff] Bug#56702: [PATCH] security bugfix for grohtml
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <m12JIdy-000ivaC@merlin.freeserve.net>
References: <20000210225803.A281@daemon.ninth-circle.org>
	<20000210232619D.sx0005@sx2.hrz.uni-dortmund.de>
	<m12JIdy-000ivaC@merlin.freeserve.net>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000212083105P.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sat, 12 Feb 2000 08:31:05 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 445
Lines: 14

> > There is a function called xtmpfile() in src/libgroff/tmpfile.cc
> > -- maybe it is possible to extend it so that it can be used with
> > grohtml also.
> 
> fine ideas, yes they would form a better solution.
> Here is an attempt, hope it meets with approval?

I've applied your changes to the CVS.  Blake, may I ask you to look at
it?  I've modified the non-UNIX xtmpfile() code also, but I'm not sure
whether it is really OK.


    Werner


From groff-admin  Sat Feb 12 18:39:49 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id SAA22743
	for <groff@ffii.org>; Sat, 12 Feb 2000 18:39:47 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id MAA27518
	for <groff@ffii.org>; Sat, 12 Feb 2000 12:43:01 -0500
Date: Sat, 12 Feb 2000 12:43:01 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
In-Reply-To: <20000211221326D.sx0005@sx2.hrz.uni-dortmund.de>
Message-ID: <Pine.LNX.3.96.1000212122156.27443B-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Groff] FTP site /devel entries.
Status: O
Content-Length: 833
Lines: 31

Web site /devel entries.

Mostly for Werner:

1. The gnu.org Groff FTP site does not have a /devel link.
Suggestion: mirror the ffii.org /devel.
or: link to ffii /devel.

2. /devel has "groff-1.15-current.diff...".
Yet the Groff Web site README includes (or will soon) a direct link
to that and groff-current.

Problem: having to maintain the README link when versions change.

Suggestion: add entry: "groff-current.diff..."
and link this to the current "groff-<ver#>-current.diff...".

or: replace "groff-<ver#>-current.diff..." with
            "groff-current.diff..." and a /devel/README
explaining what "current" refers to each time the "current" version # does
change.

Also: a /devel/README could also include installation info such as you
posted for me a few weeks back.

------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Sun Feb 13 04:31:23 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id EAA26476
	for <groff@ffii.org>; Sun, 13 Feb 2000 04:31:21 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id WAA28476
	for <groff@ffii.org>; Sat, 12 Feb 2000 22:34:40 -0500
Date: Sat, 12 Feb 2000 22:34:40 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
In-Reply-To: <20000211200411N.sx0005@sx2.hrz.uni-dortmund.de>
Message-ID: <Pine.LNX.3.96.1000212215439.27443C-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Groff] Groff-current test.
Status: O
Content-Length: 471
Lines: 20

I downloaded and installed groff-current for 12 FEB 00.
All went fine except for one little thing.

/usr/local/bin has two files that were not replaced/deleted
and I'm not sure if they should have been:

- psbb, 16 Jan,  11189 bytes
- ssh,   9 Sep, 652030 bytes

ssh, I guess, is unrelated to Groff.
psbb, though, should groff-current have done something with that?

--------
.length works real nice. Thanks, Werner.
------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Sun Feb 13 09:25:28 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id JAA12754
	for <groff@ffii.org>; Sun, 13 Feb 2000 09:25:28 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sun, 13 Feb 2000 09:28:33 +0100
Received: from rigel.univie.ac.at (dial-143136.HRZ.Uni-Dortmund.DE [129.217.143.136])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id JAA18735;
	Sun, 13 Feb 2000 09:28:31 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id IAA05740;
	Sun, 13 Feb 2000 08:28:36 GMT
To: eddie@mngovsci.com
Cc: groff@ffii.org
Subject: Re: [Groff] Groff-current test.
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <Pine.LNX.3.96.1000212215439.27443C-100000@ns1.greenbush.com>
References: <20000211200411N.sx0005@sx2.hrz.uni-dortmund.de>
	<Pine.LNX.3.96.1000212215439.27443C-100000@ns1.greenbush.com>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000213082836I.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sun, 13 Feb 2000 08:28:36 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 389
Lines: 18

> /usr/local/bin has two files that were not replaced/deleted
> and I'm not sure if they should have been:
> 
> - psbb, 16 Jan,  11189 bytes
> - ssh,   9 Sep, 652030 bytes
> 
> ssh, I guess, is unrelated to Groff.

Correct.

> psbb, though, should groff-current have done something with that?

It no longer exists (as documented in the NEWS file).  You can delete
it safely.


    Werner


From groff-admin  Sun Feb 13 10:16:52 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id KAA13071
	for <groff@ffii.org>; Sun, 13 Feb 2000 10:16:51 +0100
Received: from jalapeno.ucsd.edu (jalapeno.ucsd.edu [132.239.95.232])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id EAA14944
	for <groff@gnu.org>; Sun, 13 Feb 2000 04:20:11 -0500
Received: by cs.ucsd.edu
	via send-mail from stdin
	id <m12JvCM-000LqRC@jalapeno.ucsd.edu> (Debian Smail3.2.0.102)
	for groff@gnu.org; Sun, 13 Feb 2000 01:20:10 -0800 (PST) 
Message-Id: <m12JvCM-000LqRC@jalapeno.ucsd.edu>
Date: Sun, 13 Feb 2000 01:20:10 -0800 (PST)
From: karan@cs.ucsd.edu (karan bhatia)
To: groff@gnu.org
Subject: [Groff] question regarding PIC and variable scoping
Status: O
Content-Length: 468
Lines: 16

The following generates an error:
P: [val = 10];
x = P.val;

the variable val is defined only within the context of the object named P.
But according to the documentation, variable scoping works like object
scoping and the above should work fine.  for example, object scoping works
similarly:
P: [Q: box]
x = P.Q.x;

Is the fact that variables are not accessible outside of the object a bug?
or am i missing some important notation?  Thanks for your time...

- karan


From groff-admin  Sun Feb 13 12:41:31 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id MAA13940
	for <groff@ffii.org>; Sun, 13 Feb 2000 12:41:28 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id GAA29241
	for <groff@ffii.org>; Sun, 13 Feb 2000 06:44:39 -0500
Date: Sun, 13 Feb 2000 06:44:39 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
Subject: Re: [Groff] Groff-current test.
In-Reply-To: <20000213082836I.sx0005@sx2.hrz.uni-dortmund.de>
Message-ID: <Pine.LNX.3.96.1000213062946.29221A-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 529
Lines: 19

On Sun, 13 Feb 2000, Werner LEMBERG wrote:

> > psbb, though, should groff-current have done something with that?
> 
> It no longer exists (as documented in the NEWS file).  You can delete
> it safely.

Hadn't read NEWS yet. Found the mention of psbb. Deleted that file.

I like the new dir. reorg. But, where are the ready-to-read docs?
a "make docs" is needed if they aren't ready-to-read after make install.
Is that too much trouble? /usr/local/doc is the obvious place.

------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Sun Feb 13 12:44:12 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id MAA13994
	for <groff@ffii.org>; Sun, 13 Feb 2000 12:44:12 +0100
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id GAA17257
	for <groff@gnu.org>; Sun, 13 Feb 2000 06:47:33 -0500
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12JxUw-000L6f-00; Sun, 13 Feb 2000 11:47:31 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id LAA02768;
	Sun, 13 Feb 2000 11:37:29 GMT
Message-ID: <XFMail.000213113728.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <m12JvCM-000LqRC@jalapeno.ucsd.edu>
Date: Sun, 13 Feb 2000 11:37:28 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: (karan bhatia) <karan@cs.ucsd.edu>, groff@gnu.org
Subject: RE: [Groff] question regarding PIC and variable scoping
Status: O
Content-Length: 3630
Lines: 85

On 13-Feb-00 karan bhatia wrote:
> 
> The following generates an error:
> P: [val = 10];
> x = P.val;
> 
> the variable val is defined only within the context of the object named
> P.
> But according to the documentation, variable scoping works like object
> scoping and the above should work fine.  for example, object scoping
> works similarly:
> P: [Q: box]
> x = P.Q.x;
> 
> Is the fact that variables are not accessible outside of the object a
> bug?
> or am i missing some important notation?  Thanks for your time...

"But according to the documentation, variable scoping works like object
scoping" -- according to what documentation?

The original UNIX pic manual says:

  "Names of variables and places within a block are local to that block,
   ... . You can get at the internal place names [set with a label like A:
   within the block] with constructs like last [].A or B.A where B is a
   name attached to a block."

There is no mention of accessing internal _variables_ in this way. It
is true that _scoping_ works in the same way for both variables and
place-names, in that a label A: defined within a block has nothing to do
with a label A: defined outside the block, the only access being through
the dot notation, just as a variable x defined within a block has nothing
to do with a variable of the same name defined outside the block; but
there's nothing about accessing the values of internal variables.

The only reference to this sort of thing in the groff pic documentation
("man pic") is to the removal of the restriction that "dot-access" was
only one level deep (i.e. you could do A.B but not A.B.C):

  "There is no limit to the depth to which blocks can be examined.
   For example, ... circle at last [].A.B.C is acceptable."

I'm not seeing any other references to access to block internals anywhere.

Have you mis-interpreted "variable scoping works like object scoping"
or have you seen something I've missed?

In particular, if your statement "variable scoping works like object
scoping" is a literal quotation from somewhere, where did you see it?

The nearest I can find anywhere is the following quote from Eric Raymond's
"Making Pictures with GNU Pic" where (Section 10.2) it says:

  "Blocks are also a variable-scoping mechanism, like a groff(1)
   environment. All variable assignments done inside a block are
   undone at the end of it. To get at values within a block,
   write a [sic] name of the block followed by a dot, followed by the
   variable or label you want. For example, we could refer to the
   center of the box in the above composite as last [].Caption
   or A.Caption."

None of this contradicts what I've said above except for the words
"variable or". There is no other reference in Raymond's document
to accessing internal variables of a block; and indeed the statement
that a variable assignment is undone at the end of a block would
imply that it is inaccessible. The example he gives is of course
a label ("Caption").

NOTE that in your example above (P.Q.x) the "x" is not a variable;
".x" is a built-in name for the x-coordinate of a point, so that
"P.Q.x" is the x-xoordinate of the centre of the object named Q
within the object named P. It might be that this is the sort of
"variable" that Raymond meant in the above quotation.

Any clarification you can provide would be welcome!

With thanks,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 13-Feb-00                                       Time: 11:37:25
------------------------------ XFMail ------------------------------


From groff-admin  Sun Feb 13 20:59:08 2000
Received: from mescaline.gnu.org (we-refuse-to-spy-on-our-users@mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id UAA16860
	for <groff@ffii.org>; Sun, 13 Feb 2000 20:58:52 +0100
Received: from jalapeno.ucsd.edu (jalapeno.ucsd.edu [132.239.95.232])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id PAA08555
	for <groff@gnu.org>; Sun, 13 Feb 2000 15:02:16 -0500
Received: from cs.ucsd.edu (really [127.0.0.1]) by cs.ucsd.edu
	via smail with esmtp
	id <m12K5Di-000LqRC@jalapeno.ucsd.edu> (Debian Smail3.2.0.102)
	for <groff@gnu.org>; Sun, 13 Feb 2000 12:02:14 -0800 (PST) 
Message-Id: <m12K5Di-000LqRC@jalapeno.ucsd.edu>
To: Ted.Harding@nessie.mcc.ac.uk
cc: groff@gnu.org
Subject: Re: [Groff] question regarding PIC and variable scoping 
In-reply-to: Your message of "Sun, 13 Feb 2000 11:37:28 GMT."
X-Face: %.N&N=r%@R8Ra'5ymXx|6eLB?pf>jPL=Q/-;DtxO%d=}=,T\~w+,[XX`#3Y_xCtSNa
	 XNdb7n3g)a-u[HB%,RCaj%AHdp.n#g>_OEi39FrRNPg>(*C=UPdkI0.<._YVrePC2q
	 ?m+r)[#<Fd&+.l";3/(WDz@ZeR4*-.5b[E=k:GYu9VvuwHW%GhBP#pqRylL{e8
Date: Sun, 13 Feb 2000 12:02:10 -0800
From: karan bhatia <karan@cs.ucsd.edu>
Status: O
Content-Length: 2151
Lines: 50


>"But according to the documentation, variable scoping works like object
>scoping" -- according to what documentation?

I'm interpreting the documentation that you yourself quote:

>The nearest I can find anywhere is the following quote from Eric Raymond's
>"Making Pictures with GNU Pic" where (Section 10.2) it says:
>
>  "Blocks are also a variable-scoping mechanism, like a groff(1)
>   environment. All variable assignments done inside a block are
>   undone at the end of it. To get at values within a block,
>   write a [sic] name of the block followed by a dot, followed by the
>   variable or label you want. For example, we could refer to the
>   center of the box in the above composite as last [].Caption
>   or A.Caption."

Doesn't this (and the example of last [].Caption) imply that i can get 
do the same for variables defined within the last []?  "followed
by the _variable_ or label you want".  

>None of this contradicts what I've said above except for the words
>"variable or". There is no other reference in Raymond's document
>to accessing internal variables of a block; and indeed the statement
>that a variable assignment is undone at the end of a block would
>imply that it is inaccessible. The example he gives is of course
>a label ("Caption").

I think we agree that the above reference implies that i can do 
something like last [].variable.  This is exactly the documentation
i was refering to.  So either the documentation should clarify
this important distinction between variables and labels (and take
out "variable or") or perhaps there is a way to add that functionality?

So perhaps this is not a bug, perhaps i can make this into a 
feature request.  Is this a difficult feature to add?

>NOTE that in your example above (P.Q.x) the "x" is not a variable;
>".x" is a built-in name for the x-coordinate of a point, so that
>"P.Q.x" is the x-xoordinate of the centre of the object named Q
>within the object named P. It might be that this is the sort of
>"variable" that Raymond meant in the above quotation.

This is another important point that should be clarified in raymond's
documentation.

thanks,

- karan


From groff-admin  Sun Feb 13 21:27:36 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id VAA17077
	for <groff@ffii.org>; Sun, 13 Feb 2000 21:27:35 +0100
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sun, 13 Feb 2000 21:30:38 +0100
Received: from rigel.univie.ac.at (dial-143155.HRZ.Uni-Dortmund.DE [129.217.143.155])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id VAA28251;
	Sun, 13 Feb 2000 21:30:36 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id UAA06750;
	Sun, 13 Feb 2000 20:30:42 GMT
To: eddie@mngovsci.com
Cc: groff@ffii.org
Subject: Re: [Groff] Groff-current test.
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <Pine.LNX.3.96.1000213062946.29221A-100000@ns1.greenbush.com>
References: <20000213082836I.sx0005@sx2.hrz.uni-dortmund.de>
	<Pine.LNX.3.96.1000213062946.29221A-100000@ns1.greenbush.com>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000213203042Y.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sun, 13 Feb 2000 20:30:42 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 392
Lines: 17

> I like the new dir. reorg. But, where are the ready-to-read docs?  a
> "make docs" is needed if they aren't ready-to-read after make
> install.

Not yet done, sorry -- I spend so much time in applying fixes :-)

> /usr/local/doc is the obvious place.

No.  Documentation will be installed into

  /usr/local/share/groff/doc

according to the Linux File System Standard (FSS).


    Werner


From groff-admin  Sun Feb 13 21:58:40 2000
Received: from ns1.greenbush.com (mngovsci@ns1.greenbush.com [209.90.218.2])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id VAA17248
	for <groff@ffii.org>; Sun, 13 Feb 2000 21:58:39 +0100
Received: from localhost (mngovsci@localhost)
	by ns1.greenbush.com (8.9.3/8.8.7) with SMTP id QAA30239
	for <groff@ffii.org>; Sun, 13 Feb 2000 16:02:03 -0500
Date: Sun, 13 Feb 2000 16:02:03 -0500 (EST)
From: Eddie Maddox <eddie@mngovsci.com>
X-Sender: mngovsci@ns1.greenbush.com
To: Groff Mailing List <groff@ffii.org>
Subject: Re: [Groff] Groff-current test.
In-Reply-To: <20000213203042Y.sx0005@sx2.hrz.uni-dortmund.de>
Message-ID: <Pine.LNX.3.96.1000213155913.29221F-100000@ns1.greenbush.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 341
Lines: 19

On Sun, 13 Feb 2000, Werner LEMBERG wrote:

> Not yet done, sorry -- I spend so much time in applying fixes :-)
Don't we all.

> No.  Documentation will be installed into
> 
>   /usr/local/share/groff/doc
> 
> according to the Linux File System Standard (FSS).

Good. Let us know when.

------------------
Eddie Maddox
eddie@mngovsci.com




From groff-admin  Mon Feb 14 08:42:48 2000
Received: from mescaline.gnu.org (we-refuse-to-spy-on-our-users@mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id IAA26729
	for <groff@ffii.org>; Mon, 14 Feb 2000 08:42:47 +0100
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id CAA09943
	for <groff@gnu.org>; Mon, 14 Feb 2000 02:36:55 -0500
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12KG3h-00054T-00; Mon, 14 Feb 2000 07:36:37 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA14044;
	Sun, 13 Feb 2000 23:26:23 GMT
Message-ID: <XFMail.000213232622.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <m12K5Di-000LqRC@jalapeno.ucsd.edu>
Date: Sun, 13 Feb 2000 23:26:22 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: karan bhatia <karan@cs.ucsd.edu>
Subject: Re: [Groff] question regarding PIC and variable scoping
Cc: groff@gnu.org
Status: O
Content-Length: 4808
Lines: 97

On 13-Feb-00 karan bhatia wrote:
> 
> 
>>"But according to the documentation, variable scoping works like object
>>scoping" -- according to what documentation?
> 
> I'm interpreting the documentation that you yourself quote:
> 
>>The nearest I can find anywhere is the following quote from Eric
>>Raymond's
>>"Making Pictures with GNU Pic" where (Section 10.2) it says:
>>
>>  "Blocks are also a variable-scoping mechanism, like a groff(1)
>>   environment. All variable assignments done inside a block are
>>   undone at the end of it. To get at values within a block,
>>   write a [sic] name of the block followed by a dot, followed by the
>>   variable or label you want. For example, we could refer to the
>>   center of the box in the above composite as last [].Caption
>>   or A.Caption."
> 
> Doesn't this (and the example of last [].Caption) imply that i can get 
> do the same for variables defined within the last []?  "followed
> by the _variable_ or label you want".  

OK. Now that we agree about what is being referred to, in my opinion
it was an error for Eric Raymond to include the words "variable or".
Pic did not originally allow reference to in-block variables (as
opposed to objects); there is nothing in groff's own documentation which
suggests that it should; and GNU pic in practice does not allow it!

>>None of this contradicts what I've said above except for the words
>>"variable or". There is no other reference in Raymond's document
>>to accessing internal variables of a block; and indeed the statement
>>that a variable assignment is undone at the end of a block would
>>imply that it is inaccessible. The example he gives is of course
>>a label ("Caption").
> 
> I think we agree that the above reference implies that i can do 
> something like last [].variable.  This is exactly the documentation
> i was refering to.  So either the documentation should clarify
> this important distinction between variables and labels (and take
> out "variable or") or perhaps there is a way to add that functionality?

While Eric Raymond's paper is a good user's manual for GNU pic, it is not
part of the "official" GNU documentation for groff. However, your point is
noted for the future documentation which is currently being prepared.

> So perhaps this is not a bug, perhaps i can make this into a 
> feature request.  Is this a difficult feature to add?

I think it would not be easy in the form you expect, because it would
involve re-structuring the pic code. Nor do I think it would be desirable.
A variable which is assigned a value inside a block is local to the block
and ceases to exist on exit from the block (in this it is like
variables defined within {...} in C). On the other hand, a variable
defined outside a block is visible within the block (i.e. is global
with respect to the block) -- again, like C. So, in principle,
if you need to see a variable both inside an outside a block,
assign its value outside the block. I'm aware, of course, that
it might be more _convenient_ to define the value within the block.
A variable which already exists outside a block, and is assigned a new
value inside the block, reverts to its original value on exit from
the block. This is useful because it allows "re-use" of block
code without having to rename variables (also existing outside the
block) which you do not want to interfere with.

There might be merit in introducing a new keyword (e.g. "global")
to make a variable whose value is assigned within a block the
same variable as one existing outside the block, so that a re-assignment
within the block is preserved on exit. This might not be too difficult to
implement.

>>NOTE that in your example above (P.Q.x) the "x" is not a variable;
>>".x" is a built-in name for the x-coordinate of a point, so that
>>"P.Q.x" is the x-xoordinate of the centre of the object named Q
>>within the object named P. It might be that this is the sort of
>>"variable" that Raymond meant in the above quotation.
> 
> This is another important point that should be clarified in raymond's
> documentation.

It is already in Raymond's document (Section 12: Expressions) and
in the original Kernighan manual "PIC -- A Graphics Language ... "
(AT&T Comp. Sci. Tech Rept. No. 116), Section 6 (Variables, Expressions,
and Builtin Functions). It is not at present in the GNU "man pic" which
still (though this will ultimately change) "describes only the
differences between GNU pic and the original version of pic."

I hope this helps; any comments, by anyone, would be welcome.

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 13-Feb-00                                       Time: 23:26:21
------------------------------ XFMail ------------------------------


From groff-admin  Mon Feb 14 21:29:30 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id VAA31382
	for <groff@ffii.org>; Mon, 14 Feb 2000 21:29:26 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id PAA22025
	for <groff@gnu.org>; Mon, 14 Feb 2000 15:32:53 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Mon, 14 Feb 2000 21:32:06 +0100
Received: from rigel.univie.ac.at (dial-143172.HRZ.Uni-Dortmund.DE [129.217.143.172])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id VAA03968;
	Mon, 14 Feb 2000 21:32:04 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id UAA07923;
	Mon, 14 Feb 2000 20:12:48 GMT
To: Ted.Harding@nessie.mcc.ac.uk
Cc: karan@cs.ucsd.edu, groff@gnu.org
Subject: Re: [Groff] question regarding PIC and variable scoping
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <XFMail.000213232622.Ted.Harding@nessie.mcc.ac.uk>
References: <m12K5Di-000LqRC@jalapeno.ucsd.edu>
	<XFMail.000213232622.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000214201247L.sx0005@sx2.hrz.uni-dortmund.de>
Date: Mon, 14 Feb 2000 20:12:47 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 249
Lines: 11

> OK. Now that we agree about what is being referred to, in my opinion
> it was an error for Eric Raymond to include the words "variable or".
>
> [...]

If someone sends me a diff with a better wording I can apply it to the
groff CVS.


    Werner


From groff-admin  Tue Feb 15 19:16:42 2000
Received: from scapa.cs.ualberta.ca (root@scapa.cs.ualberta.ca [129.128.4.44])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id TAA12804
	for <groff@ffii.org>; Tue, 15 Feb 2000 19:16:42 +0100
Received: (from localhost user: 'wgshi' uid#462 fake: STDIN
        (wgshi@niton.cs.ualberta.ca)) by scapa.cs.ualberta.ca
	id <S433463AbQBOSUB>; Tue, 15 Feb 2000 11:20:01 -0700
Date:   Tue, 15 Feb 2000 11:19:59 -0700 (MST)
Sender: Weiguang Shi <wgshi@cs.ualberta.ca>
From: Weiguang Shi <wgshi@cs.ualberta.ca>
To: groff@ffii.org
Message-ID: <Pine.LNX.4.10.10002151115420.16080-100000@niton.cs.ualberta.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Groff] how to put an equation inside a line of text?
Status: O
Content-Length: 523
Lines: 15

Hi, there:
    How can I put an equation in a line of normal text using me? 
    When I used ms, I can say "$ x = y $" which puts the equation right
after the text before it, not in another line. I don't know how to do this
using me.

    Thanks.

Weiguang Shi                              | E-mail: wgshi@cs.ualberta.ca
Department of Computing Science           | http://www.cs.ualberta.ca/~wgshi
University of Alberta                     | Office: CAB 481
Edmonton, AB, Canada, T6G 2H1             | (O) (780)492-3927




From groff-admin  Tue Feb 15 20:14:08 2000
Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id UAA13210
	for <groff@ffii.org>; Tue, 15 Feb 2000 20:14:08 +0100
Received: from tedistan.annex.umist.ac.uk ([194.66.22.200] ident=root)
	by serenity.mcc.ac.uk with esmtp (Exim 1.92 #3)
	id 12KnTj-000NvR-00; Tue, 15 Feb 2000 19:17:45 +0000
Received: (from efh@localhost)
	by tedistan.annex.umist.ac.uk (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id TAA28181;
	Tue, 15 Feb 2000 19:15:46 GMT
Message-ID: <XFMail.000215191545.Ted.Harding@nessie.mcc.ac.uk>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <Pine.LNX.4.10.10002151115420.16080-100000@niton.cs.ualberta.ca>
Date: Tue, 15 Feb 2000 19:15:45 -0000 (GMT)
Reply-To: Ted.Harding@nessie.mcc.ac.uk
From: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
To: Weiguang Shi <wgshi@cs.ualberta.ca>
Subject: RE: [Groff] how to put an equation inside a line of text?
Cc: groff@ffii.org
Status: O
Content-Length: 1790
Lines: 52

On 15-Feb-00 Weiguang Shi wrote:
> Hi, there:
>     How can I put an equation in a line of normal text using me? 
>     When I used ms, I can say "$ x = y $" which puts the equation right
> after the text before it, not in another line. I don't know how to do
> this using me.

It shouldn't make any difference: the $...$ mechanism is independent
of the macro package, and indeed any $...$ blocks are detected and
processed by eqn before they are seen by troff; so it would have
to be independent.

The one essential thing is that the eqn delimiters ($...$ by default)
have to be recognised. To make sure of this, the file
.../groff/tmac/eqnrc (which should be read in every time eqn is run)
ends in the lines

.EQ
delim $$
.EN

Have you actually tried doing inline equations with the 'me' macros,
and failed to get it to work? Or have you not tried it and you are
simply afraid that what worked under 'ms' might need to be done
differently under 'me'? (Don't worry, it doesn't need to be done
differently).

If it failed to work, you might check that your troff call ensures
that eqn is invoked, which requires the '-e' option under groff,
i.e. a command like

  groff -Tps -e -me input_file > output_file

(The '-e' option is also required for any other macro package).

I just checked that the input

  .lp
  This is supposed to be an inline equation:
  $Hypotenuse = sqrt { Side sub 1 sup 2 + Side sub 2 sup 2}$.
  Did it work, using \fBme\fP?

produces a correct result with the above groff command.

Hope this helps,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
Date: 15-Feb-00                                       Time: 19:15:45
------------------------------ XFMail ------------------------------


From groff-admin  Thu Feb 17 01:13:17 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id BAA09341
	for <groff@ffii.org>; Thu, 17 Feb 2000 01:13:16 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id TAA00632;
	Wed, 16 Feb 2000 19:16:57 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Thu, 17 Feb 2000 01:16:53 +0100
Received: from rigel.univie.ac.at (dial-143156.HRZ.Uni-Dortmund.DE [129.217.143.156])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id BAA03886;
	Thu, 17 Feb 2000 01:16:51 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id AAA10894;
	Thu, 17 Feb 2000 00:09:45 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org, bug-groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002161809.AA13129@synchrods.synchrods.COM>
References: <10002161809.AA13129@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000217000944L.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 17 Feb 2000 00:09:44 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] RE: grn
Status: O
Content-Length: 607
Lines: 20

> There are 2 gremlin programs out there that I know. The one
> written by Barry Roitblat is called xgremlin2.tar.Z (I believe).

I'm not able to compile this on my Linux box -- apparently this
program (written for X11R4) is not compatible with X11R6.  I was able
to remove all fatal errors, nevertheless it aborts on the first
XLoadQueryFont command.

Unfortunately, I have virtually no experience with X Windows
programming, so I can't correct the code.

Is there somebody who is willing to fix this?

I got my archive from

  http://ring.jah.ne.jp/pub/X/opengroup/R5contrib/xgremlin2.tar.Z


    Werner


From groff-admin  Thu Feb 17 05:07:19 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id FAA10770
	for <groff@ffii.org>; Thu, 17 Feb 2000 05:07:18 +0100
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id XAA25462
	for <groff@gnu.org>; Wed, 16 Feb 2000 23:11:04 -0500
Received: (from uucp@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id UAA29162
	for groff@gnu.org; Wed, 16 Feb 2000 20:11:03 -0800 (PST)
Date: Wed, 16 Feb 2000 20:11:03 -0800 (PST)
>Date: Wed, 16 Feb 00 17:39:38 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002170139.AA13620@synchrods.synchrods.COM>
To: wl@gnu.org
Cc: bug-groff@gnu.org, daniel@synchrods.synchrods.COM, groff@gnu.org
Content-Type: text
Subject: [Groff] RE: grn
Status: O
Content-Length: 761
Lines: 24

>> There are 2 gremlin programs out there that I know. The one
>> written by Barry Roitblat is called xgremlin2.tar.Z (I believe).
>
>I'm not able to compile this on my Linux box -- apparently this
>program (written for X11R4) is not compatible with X11R6.  I was able
>to remove all fatal errors, nevertheless it aborts on the first
>XLoadQueryFont command.
>
>Unfortunately, I have virtually no experience with X Windows
>programming, so I can't correct the code.
>
>Is there somebody who is willing to fix this?
>
>I got my archive from
>
>  http://ring.jah.ne.jp/pub/X/opengroup/R5contrib/xgremlin2.tar.Z

I'm running NetBSD 1.4.1 on a pmax machine with X11R6. xgremlin2
compiled without a hitch. I'll check later if that source is the
same as mine.

Dan



From groff-admin  Thu Feb 17 05:37:32 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id FAA10943
	for <groff@ffii.org>; Thu, 17 Feb 2000 05:37:31 +0100
Received: from mail.powertech.no (intentia.powertech.no [195.159.0.220])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id XAA27713;
	Wed, 16 Feb 2000 23:41:10 -0500
Received: from draugen.kvaleberg.no (root@s01i32-0197.no.powertech.net [195.159.80.197])
	by mail.powertech.no (8.9.3/8.9.3) with ESMTP id FAA10525;
	Thu, 17 Feb 2000 05:40:33 +0100
Received: (from egil@localhost) by draugen.kvaleberg.no (8.6.12/8.6.12) id FAA16763; Thu, 17 Feb 2000 05:40:01 +0100
Date: Thu, 17 Feb 2000 05:40:00 +0100 (MET)
From: Egil Kvaleberg <egil@kvaleberg.no>
To: Werner LEMBERG <wl@gnu.org>
cc: daniel@synchrods.synchrods.COM, groff@gnu.org
Subject: Re: [Groff] RE: grn
In-Reply-To: <20000217000944L.sx0005@sx2.hrz.uni-dortmund.de>
Message-ID: <%fn3q4MXQZ@draugen.kvaleberg.no>
X-Mailer: Mana 4.0beta (Linux)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="655616-1508887110-950762400=:16755"
Status: O
Content-Length: 21725
Lines: 903

  This message is in MIME format.
  Some parts may be unreadable without MIME-aware tools.

--655616-1508887110-950762400=:16755
Content-Type: TEXT/PLAIN; charset=US-ASCII

> I'm not able to compile this on my Linux box -- apparently this
> program (written for X11R4) is not compatible with X11R6.

The main problem is that the program does not check the return value from
XAllocColorCells(), which would fail on modern non-index true colour
displays.

The subsequent XStoreNamedColor() then leaves X in a bad state, which
causes the font calls to fail in a big way.

I've added a fix for this - which at least removes the crash. The
complete patch enclosed also attempts to clean up various other issues re.
use of select(), (re)defining libc stuff in the program, updating changes
in the X interface, etc. 

That said, I really can't understand what the purpose of this  program is
- since xfig seems to be a much better alternative. Or is there something
I haven't understood?

Egil
-- 
Email: egil@kvaleberg.no  Voice: +47 22523641, 92022780 Fax: +47 22525899
Mail:  Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
Home:  http://www.kvaleberg.com/

--655616-1508887110-950762400=:16755
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch
Content-ID: <%gu3q4MXQa@draugen.kvaleberg.no>
Content-Description: 

*** Makefile.orig	Sat Jul 13 19:17:39 1991
--- Makefile	Thu Feb 17 02:17:46 2000
***************
*** 1,4 ****
  INC = -I/usr/local/include -ISX
! CFLAGS = -O ${INC} '-DGREMLIB="/usr/local/libdata/gremlin/"'
  SRC = db.c display.c feedback.c graphics.c graphics2.c help.c help1.c \
  	icondata.c inter.c long1.c long2.c main.c menu.c path.c pix.c \
--- 1,5 ----
  INC = -I/usr/local/include -ISX
! #       *EK*
! CFLAGS = -g -O ${INC} '-DGREMLIB="/usr/local/libdata/gremlin/"'
  SRC = db.c display.c feedback.c graphics.c graphics2.c help.c help1.c \
  	icondata.c inter.c long1.c long2.c main.c menu.c path.c pix.c \
*** db.c.orig	Mon Nov 28 21:17:28 1988
--- db.c	Thu Feb 17 01:47:21 2000
***************
*** 13,16 ****
--- 13,18 ----
  
  #include "gremlin.h"
+ #include <stdlib.h>
+ #include <string.h>
  #include <ctype.h>
  
***************
*** 21,29 ****
  extern UNRembMod();
  
- /* imports from C */
- 
- extern char *malloc();
- extern char *strcpy();
- 
  /* imports from point.c */
  
--- 23,26 ----
*** graphics.c.orig	Mon Oct  8 19:08:53 1990
--- graphics.c	Thu Feb 17 03:39:09 2000
***************
*** 13,16 ****
--- 13,17 ----
  #include <math.h>
  #include <sys/types.h>
+ #include <stdlib.h>
  #include "icondata.h"
  #include "gremlin.h"
***************
*** 38,45 ****
  extern minsunx, maxsunx, minsuny, maxsuny;
  
- /* imports from C */
- 
- extern char *malloc();
- 
  /* forward references */
  
--- 39,42 ----
***************
*** 802,805 ****
--- 799,803 ----
  {
      char name[256];
+     name[sizeof(name)-1] = '\0';
  
      if (font_info[--font][--size] != (XFontStruct *)NULL) {
***************
*** 814,822 ****
       * normal font.
       */
!     sprintf(name, "gremlin-%s-%d",font_types[font], size+1);
      font_info[font][size] = XLoadQueryFont(display, name);
  
      if (font_info[font][size] == (XFontStruct *)NULL) {
! 	sprintf(name, font_names[font], font_sizes[size]);
  	font_info[font][size] = XLoadQueryFont(display, name);
  
--- 812,820 ----
       * normal font.
       */
!     snprintf(name, sizeof(name)-1, "gremlin-%s-%d",font_types[font], size+1);
      font_info[font][size] = XLoadQueryFont(display, name);
  
      if (font_info[font][size] == (XFontStruct *)NULL) {
! 	snprintf(name, sizeof(name)-1, font_names[font], font_sizes[size]);
  	font_info[font][size] = XLoadQueryFont(display, name);
  
*** graphics2.c.orig	Mon Oct  8 19:08:56 1990
--- graphics2.c	Thu Feb 17 03:39:12 2000
***************
*** 13,16 ****
--- 13,17 ----
  
  #include "gremlin.h"
+ #include <stdlib.h>
  
  /* imports from main.c */
***************
*** 42,49 ****
  extern char *fill;		/* zero origin in filling buffer */
  
- /* imports from C */
- 
- extern char *calloc();
- 
  /* locals */
  
--- 43,46 ----
*** inter.c.orig	Mon Dec 12 22:43:12 1988
--- inter.c	Thu Feb 17 01:48:06 2000
***************
*** 10,13 ****
--- 10,14 ----
  #include "icondata.h"
  #include "gremlin.h"
+ #include <stdlib.h>
  
  /* imports from database files */
***************
*** 68,75 ****
  #define LAST	2		/* option to erase */
  
- /* imports from C */
- 
- extern char *malloc();
- 
  /* imports from main.c */
  
--- 69,72 ----
*** long1.c.orig	Tue Sep 12 18:03:35 1989
--- long1.c	Thu Feb 17 01:48:25 2000
***************
*** 18,21 ****
--- 18,23 ----
  #include "gremlin.h"
  #include <ctype.h>
+ #include <stdlib.h>
+ #include <string.h>
  
  /* imports from icondata.c */
***************
*** 88,96 ****
  extern text_getvalue();
  
- /* imports from C */
- 
- extern char *malloc();
- extern char *strcpy();
- 
  /* imports from main.c */
  
--- 90,93 ----
*** long2.c.orig	Sat Nov  5 22:46:07 1988
--- long2.c	Thu Feb 17 03:39:29 2000
***************
*** 12,15 ****
--- 12,17 ----
  
  #include <sys/file.h>
+ #include <string.h>
+ #include <stdlib.h>
  #include "gremlin.h"
  #include <ctype.h>
***************
*** 78,89 ****
  extern HiMode[];
  
- /* imports from C */
- 
- extern char *strcpy();
- extern char *sprintf();
- extern char *malloc();
- extern FILE *fopen();
- extern char *strcat();
- 
  /* imports from sun.c */
  
--- 80,83 ----
*** main.c.orig	Sat Dec  2 08:33:22 1989
--- main.c	Thu Feb 17 04:31:25 2000
***************
*** 13,16 ****
--- 13,17 ----
   *                   Jim Thompson (james@arpa.Berkeley.EDU) 
   *                   Mike Nelson (nelson@ginger.Berkeley.EDU)
+  *                   Egil Kvaleberg (egil@kvaleberg.no)  *EK*
   *
   */
***************
*** 18,24 ****
--- 19,28 ----
  #include <ctype.h>
  #include <errno.h>
+ #include <string.h>
+ #include <stdlib.h>
  #include <sys/time.h>
  #include <sys/file.h>
  #include <signal.h>
+ #include <unistd.h>
  #include <X11/Xlib.h>
  #include <X11/Xutil.h>
***************
*** 82,92 ****
  extern SHUpdate();
  
- /* imports from C */
- 
- extern char *malloc();
- extern char *sprintf();
- extern char *strcat();
- extern char *strcpy();
- 
  /* imports from strings.c */
  
--- 86,89 ----
***************
*** 201,206 ****
  unsigned int	xorOP;
  Colormap	colorMap;
- unsigned int	planeMask;
- unsigned long	pixel;
  
  /* Title subwindow stuff */
--- 198,201 ----
***************
*** 289,292 ****
--- 284,288 ----
      int                 dum;
      struct timeval      curTime;
+     unsigned long       planeMask;
  
      file = "";
***************
*** 329,332 ****
--- 325,329 ----
       */
      display = XOpenDisplay((char *) NULL);
+ 
      SetErrorHandler();
      if (display == (Display *)NULL) {
***************
*** 377,381 ****
      }
  
!     strcpy(namestripe, version);
  
      /*
--- 374,378 ----
      }
  
!     strncpy(namestripe, version, sizeof(namestripe)-1);
  
      /*
***************
*** 383,386 ****
--- 380,386 ----
       */
      if (root_depth == 1) {
+ 	/* 
+ 	 *  Pure black/white display
+ 	 */
  	foreground = BlackPixel(display, DefaultScreen(display));
  	background = WhitePixel(display, DefaultScreen(display));
***************
*** 397,405 ****
      } else {
  	XColor	color;
  	/*
! 	 * Allocate contiguous color map entries for black and white.
  	 */
  	colorMap = XDefaultColormap(display, DefaultScreen(display));
  	XAllocColorCells(display, colorMap, 1, &planeMask, 1, &pixel, 1);
  	foreground = pixel | planeMask;
  	background = pixel;
--- 397,414 ----
      } else {
  	XColor  color;
+ 	Status  status;
+ 	unsigned long pixel;
  	/*
! 	 * Assume indexed display:
! 	 * Allocate contiguous color map entries for black and white
  	 */
  	colorMap = XDefaultColormap(display, DefaultScreen(display));
+ 	status =
  	XAllocColorCells(display, colorMap, 1, &planeMask, 1, &pixel, 1);
+ 
+ 	if (status != 0) {
+ 	     /* 
+ 	      * Request OK
+ 	      */
  	     foreground = pixel | planeMask;
  	     background = pixel;
***************
*** 411,415 ****
--- 420,446 ----
  	     XStoreNamedColor(display, colorMap, "white", background,
  			      DoRed | DoGreen | DoBlue);
+ 	} else {
+ 	     /*EK*
+ 	      * Can't allocate color maps, presumably non-indexed display
+ 	      */
+ 	     foreground = BlackPixel(display, DefaultScreen(display));
+ 	     background = WhitePixel(display, DefaultScreen(display));
+ #if 0
+ 	     printf("foreground=%08lx\n", foreground);
+ 	     printf("background=%08lx\n", background);
+ #endif
+ 	     if (foreground != 0) {
+ 		 drawOP = GXor;
+ 		 menuEraseOP = GXandInverted;
+ 		 xorOP = GXxor;
+ 	     } else {
+ 		 drawOP = GXand;
+ 		 menuEraseOP = GXorInverted;
+ 		 xorOP = GXequiv;
+ 	     }
+ 	     planeMask = foreground | background;
  	}
+     }
+ 
      text_pf = XLoadQueryFont(display, text_font);
      if (text_pf == NULL) {
***************
*** 529,533 ****
  
      while (1) {
! 	int		readmask;
  	int		nfds;
  	int		numEvents;
--- 560,564 ----
  
      while (1) {
! 	fd_set          readmask;
  	int             nfds;
  	int             numEvents;
***************
*** 590,595 ****
  		    waitTime.tv_usec = timeoff_usec;
  		}
! 		readmask = 1 << display->fd;
! 		nfds = select(32, &readmask, (int *)0, (int *)0, &waitTime);
  		if (nfds < 0 && errno != EINTR) {
  		    perror("Select");
--- 621,627 ----
  		    waitTime.tv_usec = timeoff_usec;
  		}
! 		FD_ZERO(&readmask);
! 		FD_SET(ConnectionNumber(display), &readmask);
! 		nfds = select(32, &readmask, (fd_set *)0, (fd_set *)0, &waitTime);
  		if (nfds < 0 && errno != EINTR) {
  		    perror("Select");
***************
*** 737,741 ****
      cset_pm.pm = XCreatePixmap(display, root_window, root_width,
  			       root_height, root_depth);
!     if (cset_pm.pm == NULL) {
  	printf("can't create cset_pm\n");
  	exit(1);
--- 769,773 ----
      cset_pm.pm = XCreatePixmap(display, root_window, root_width,
  			       root_height, root_depth);
!     if (!cset_pm.pm) {
  	printf("can't create cset_pm\n");
  	exit(1);
***************
*** 749,753 ****
      scratch_pm.pm = XCreatePixmap(display, root_window,
  			       root_width, root_height, root_depth);
!     if (scratch_pm.pm == NULL) {
  	printf("can't create scratch_pm\n");
  	exit(1);
--- 781,785 ----
      scratch_pm.pm = XCreatePixmap(display, root_window,
  			       root_width, root_height, root_depth);
!     if (!scratch_pm.pm) {
  	printf("can't create scratch_pm\n");
  	exit(1);
***************
*** 1169,1172 ****
--- 1201,1221 ----
  	return 0;
      }
+ 
+     /*EK*
+      *  tell about the problem
+      */
+     {
+ 	static char bufret[1024];
+ 
+ 	fprintf(stderr,"\nAn X error occurred, request %d:\n",
+ 					errorPtr->request_code);
+ 	fflush(stderr);
+ 
+ 	XGetErrorText(display, errorPtr->error_code, bufret, sizeof(bufret));
+ 
+ 	fprintf(stderr,"\nError: %s\n",bufret);
+ 	fflush(stderr);
+     }
+ 
      abort();
      return (*savedHandler)(display, errorPtr);
*** path.c.orig	Fri Nov  4 03:26:42 1988
--- path.c	Thu Feb 17 03:19:32 2000
***************
*** 12,15 ****
--- 12,17 ----
  
  #include "gremlin.h"
+ #include <stdlib.h>
+ #include <string.h>
  #include <pwd.h>
  #include <ctype.h>
***************
*** 20,31 ****
  extern char GLibrary[];
  
- /* imports from C */
- 
- extern char *strcpy();
- extern char *strncpy();
- extern char *index();
- extern char *sprintf();
- extern char *malloc();
- 
  /* 
   * The following string holds the current path, consisting of a bunch
--- 22,25 ----
*** point.c.orig	Sat Oct 29 01:01:10 1988
--- point.c	Thu Feb 17 01:48:49 2000
***************
*** 10,13 ****
--- 10,14 ----
  
  #include "gremlin.h"
+ #include <stdlib.h>
  
  /* imports from graphics.c */
***************
*** 15,22 ****
  extern GRFontStrlen();
  
- /* imports from C */
- 
- extern char *malloc();
- 
  
  /*
--- 16,19 ----
*** short.c.orig	Fri Nov  4 03:26:54 1988
--- short.c	Thu Feb 17 01:49:07 2000
***************
*** 11,14 ****
--- 11,15 ----
  #include "icondata.h"
  #include "gremlin.h"
+ #include <stdlib.h>
  
  /* imports from graphics files */
***************
*** 82,89 ****
  extern prompt_ok();
  
- /* imports from C */
- 
- extern char *malloc();
- 
  /* imports from main.c */
  
--- 83,86 ----
*** spline.c.orig	Fri Nov  4 03:26:58 1988
--- spline.c	Thu Feb 17 03:19:38 2000
***************
*** 12,16 ****
   */
  
- #include <stdio.h>
  #include "gremlin.h"
  
--- 12,15 ----
*** startup.c.orig	Fri Aug 25 20:56:50 1989
--- startup.c	Thu Feb 17 02:18:49 2000
***************
*** 15,24 ****
  #include <ctype.h>
  #include "icondata.h"
! 
! /* imports from C */
! 
! extern char *malloc();
! extern char *strncpy();
! extern FILE *fopen();
  
  /* imports from path.c */
--- 15,21 ----
  #include <ctype.h>
  #include "icondata.h"
! #include <string.h>
! #include <stdlib.h>
! #include <string.h>
  
  /* imports from path.c */
***************
*** 87,91 ****
  /* The following are defined to allow creation of the command lookup table. */
  
! extern ST1(), ST2(), ST3(), ST4(), STB(), STI(), STR(), STS(),
      STalign(), STbrush(), STflashoff(), STflashon(), STfont(), STfontdir(),
      STgravity(), STgrid(), SThadjust(), STjustify(), STlittlepoint(),
--- 84,88 ----
  /* The following are defined to allow creation of the command lookup table. */
  
! static ST1(), ST2(), ST3(), ST4(), STB(), STI(), STR(), STS(),
      STalign(), STbrush(), STflashoff(), STflashon(), STfont(), STfontdir(),
      STgravity(), STgrid(), SThadjust(), STjustify(), STlittlepoint(),
*** strings.c.orig	Fri Aug 25 20:52:24 1989
--- strings.c	Thu Feb 17 04:22:12 2000
***************
*** 19,23 ****
  
  #ifndef FONTFILE
! #define FONTFILE "*-*-*-medium-r-normal--12-*-*-*-m-*-*"
  #endif
  char text_font[] = FONTFILE;
--- 19,23 ----
  
  #ifndef FONTFILE
! #define FONTFILE "-*-*-medium-r-normal--12-*-*-*-m-*-*-*"
  #endif
  char text_font[] = FONTFILE;
*** text.c.orig	Tue May 30 18:18:27 1989
--- text.c	Thu Feb 17 04:29:42 2000
***************
*** 8,14 ****
--- 8,20 ----
   */
  
+ #if 0 /*EK* BSD-specific */
  #include <sgtty.h>
+ /* #include <bsd/sgtty.h> *EK* Linux specific */
+ #endif
+ 
+ #include <sys/ioctl.h>
  #include "gremlin.h"
  #include "icondata.h"
+ #include <string.h>
  
  /* imports from main.c */
***************
*** 37,44 ****
  extern char text_font[];
  
- /* imports from C */
- 
- extern char *strcpy();
- 
  /* locals */
  
--- 43,46 ----
***************
*** 309,312 ****
--- 311,315 ----
  TxInit()
  {
+ #if 0 /*EK* BSD-specific */
      struct sgttyb sgtty_buf;
  	
***************
*** 315,318 ****
--- 318,326 ----
      text_kill = sgtty_buf.sg_kill;
      text_erase_word = CTRL_W;
+ #else
+     text_erase = CTRL_H;
+     text_kill = CTRL_U;
+     text_erase_word = CTRL_W;
+ #endif
  
      text_length = text_next = mesg_length = 0;
*** undodb.c.orig	Sat Oct 29 01:01:26 1988
--- undodb.c	Thu Feb 17 01:50:01 2000
***************
*** 10,13 ****
--- 10,15 ----
  
  #include "gremlin.h"
+ #include <stdlib.h>
+ #include <string.h>
  
  /* The following are used to point to the undo database lists */
***************
*** 20,28 ****
  POINT *PTMakePoint();
  
- /* imports from C */
- 
- extern char *malloc();
- extern char *strcpy();
- 
  /* imports from db.c */
  
--- 22,25 ----
*** xmenu.c.orig	Thu Jul 11 05:24:33 1991
--- xmenu.c	Thu Feb 17 02:19:23 2000
***************
*** 66,73 ****
   */
  
! extern void	ComputeMenuLayout();
! extern void	MenuEntryDisplay();
! extern int	MenuEventProc();
! extern void	MenuInit();
  
  
--- 66,73 ----
   */
  
! static void     ComputeMenuLayout();
! static void     MenuEntryDisplay();
! static int      MenuEventProc();
! static void     MenuInit();
  
  
*** SX/Makefile.orig	Sat Jul 13 18:58:13 1991
--- SX/Makefile	Thu Feb 17 02:12:35 2000
***************
*** 11,15 ****
  LIBS = -L /usr/local/lib -lX11
  
! CFLAGS = -O -I. -I/usr/local/include
  
  sx.a:	${OBJS}
--- 11,16 ----
  LIBS = -L /usr/local/lib -lX11
  
! #       *EK*
! CFLAGS = -g -O -I. -I/usr/local/include
  
  sx.a:   ${OBJS}
*** SX/sxEntry.c.orig	Fri Aug 25 20:37:38 1989
--- SX/sxEntry.c	Thu Feb 17 01:58:30 2000
***************
*** 339,343 ****
      w = XCreateSimpleWindow(display, parent, x, y, width, height,
  	    borderSize, foreground, background);
!     if (w == NULL) {
  	Sx_Panic(display, "Sx_EntryCreate:  couldn't create new window.");
      }
--- 339,343 ----
      w = XCreateSimpleWindow(display, parent, x, y, width, height,
  	    borderSize, foreground, background);
!     if (!w) {
  	Sx_Panic(display, "Sx_EntryCreate:  couldn't create new window.");
      }
***************
*** 474,478 ****
  
  
!     if ((eventPtr->subwindow != NULL)
  	    && (eventPtr->subwindow != entryPtr->w)) {
  	return;
--- 474,478 ----
  
  
!     if ((eventPtr->subwindow)
  	    && (eventPtr->subwindow != entryPtr->w)) {
  	return;
*** SX/sxMenu.c.orig	Thu May 16 11:18:26 1991
--- SX/sxMenu.c	Thu Feb 17 01:59:01 2000
***************
*** 775,779 ****
  
      if (XFindContext(display, parent, groupContext, &data) != 0) {
! 	return NULL;
      }
      groupPtr = (MenuGroup *) data;
--- 775,779 ----
  
      if (XFindContext(display, parent, groupContext, &data) != 0) {
! 	return (Window) NULL;
      }
      groupPtr = (MenuGroup *) data;
***************
*** 788,792 ****
  	}
      }
!     return NULL;
  }
  
--- 788,792 ----
  	}
      }
!     return (Window) NULL;
  }
  
*** SX/sxPack.c.orig	Fri Aug 25 20:37:41 1989
--- SX/sxPack.c	Thu Feb 17 02:00:00 2000
***************
*** 268,272 ****
  
  
!     if (before != NULL) {
  	if ((XFindContext(display, before, packingContext,
  		(caddr_t *) &child2Ptr) != 0)
--- 268,272 ----
  
  
!     if (before) {
  	if ((XFindContext(display, before, packingContext,
  		(caddr_t *) &child2Ptr) != 0)
***************
*** 367,371 ****
      caddr_t data;
  
!     if (packingContext == NULL) {
  	return;
      }
--- 367,371 ----
      caddr_t data;
  
!     if (!packingContext) {
  	return;
      }
*** SX/sxScrollbar.c.orig	Fri Aug 25 20:37:41 1989
--- SX/sxScrollbar.c	Thu Feb 17 02:00:24 2000
***************
*** 719,723 ****
      int units;
  
!     if ((eventPtr->subwindow != NULL)
  	    && (eventPtr->subwindow != sbPtr->window)) {
  	return;
--- 719,723 ----
      int units;
  
!     if ((eventPtr->subwindow)
  	    && (eventPtr->subwindow != sbPtr->window)) {
  	return;
*** SX/sxSelect.c.orig	Fri Aug 25 20:37:42 1989
--- SX/sxSelect.c	Thu Feb 17 02:08:48 2000
***************
*** 280,287 ****
  {
      Window owner;
!     char *ownerBuffer;
      Request request;
      Answer *ansPtr;
!     int totalCount, actualFormat, bytesAfter, numItems, result;
      Atom actualType;
  
--- 280,288 ----
  {
      Window owner;
!     unsigned char *ownerBuffer;
      Request request;
      Answer *ansPtr;
!     long bytesAfter, numItems;
!     int totalCount, actualFormat, result;
      Atom actualType;
  
***************
*** 341,345 ****
  		RootWindow(display, DefaultScreen(display)), answerProperty,
  		0, sizeof(Answer), True, stringAtom, &actualType,
! 		&actualFormat, &numItems, &bytesAfter, (char **) &ansPtr);
  	if (result != 0) {
  	    return -1;
--- 342,347 ----
  		RootWindow(display, DefaultScreen(display)), answerProperty,
  		0, sizeof(Answer), True, stringAtom, &actualType,
! 		&actualFormat, &numItems, &bytesAfter, 
! 		(unsigned char **) &ansPtr);
  	if (result != 0) {
  	    return -1;
***************
*** 443,447 ****
      Request *reqPtr;
      Answer answer;
!     int numItems, bytesAfter, actualFormat, length, result;
      Atom actualType;
  
--- 445,450 ----
      Request *reqPtr;
      Answer answer;
!     long numItems, bytesAfter;
!     int actualFormat, length, result;
      Atom actualType;
  
***************
*** 463,467 ****
  	    requestProperty, 0, sizeof(Request), True, stringAtom,
  	    &actualType, &actualFormat, &numItems, &bytesAfter,
! 	    (char **) &reqPtr);
      if (result != 0) {
  	return;
--- 466,470 ----
  	    requestProperty, 0, sizeof(Request), True, stringAtom,
  	    &actualType, &actualFormat, &numItems, &bytesAfter,
! 	    (unsigned char **) &reqPtr);
      if (result != 0) {
  	return;
***************
*** 544,549 ****
      Display *display;		/* Connection to X server. */
  {
!     char *ownerBuffer;
!     int result, actualFormat, numItems, bytesAfter;
      Atom actualType;
      Window owner;
--- 547,553 ----
      Display *display;           /* Connection to X server. */
  {
!     unsigned char *ownerBuffer;
!     int result, actualFormat;
!     long numItems, bytesAfter;
      Atom actualType;
      Window owner;
***************
*** 619,623 ****
  {
      XEvent event;
!     int mask, numFound;
      struct timeval timeout;
  
--- 623,628 ----
  {
      XEvent event;
!     fd_set mask;
!     int numFound;
      struct timeval timeout;
  
***************
*** 637,643 ****
  	timeout.tv_sec = 3;
  	timeout.tv_usec = 0;
! 	mask = 1 << ConnectionNumber(display);
  	numFound = select(ConnectionNumber(display) + 1,
! 		&mask, (int *) 0, (int *) 0, &timeout);
  	if (numFound <= 0) {
  	    return 0;
--- 642,649 ----
  	timeout.tv_sec = 3;
  	timeout.tv_usec = 0;
! 	FD_ZERO(&mask);
! 	FD_SET(ConnectionNumber(display),&mask);
  	numFound = select(ConnectionNumber(display) + 1,
! 		&mask, (fd_set *) 0, (fd_set *) 0, &timeout);
  	if (numFound <= 0) {
  	    return 0;
*** SX/sxUtils.c.orig	Fri Aug 25 20:37:42 1989
--- SX/sxUtils.c	Thu Feb 17 02:03:24 2000
***************
*** 193,197 ****
  
      XFlush(display);
!     (void) select(0, (int *) 0, (int *) 0, (int *) 0, &delay);
  }
  
--- 193,197 ----
  
      XFlush(display);
!     (void) select(0, (fd_set *) 0, (fd_set *) 0, (fd_set *) 0, &delay);
  }
  

--655616-1508887110-950762400=:16755--


From groff-admin  Thu Feb 17 14:30:09 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id OAA15253
	for <groff@ffii.org>; Thu, 17 Feb 2000 14:30:08 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id IAA21965
	for <groff@gnu.org>; Thu, 17 Feb 2000 08:33:51 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Thu, 17 Feb 2000 14:33:36 +0100
Received: from rigel.univie.ac.at (dial-143187.HRZ.Uni-Dortmund.DE [129.217.143.187])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id OAA26321;
	Thu, 17 Feb 2000 14:33:34 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id NAA11721;
	Thu, 17 Feb 2000 13:24:40 GMT
To: egil@kvaleberg.no
Cc: daniel@synchrods.synchrods.COM, groff@gnu.org
Subject: Re: [Groff] RE: grn
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <%fn3q4MXQZ@draugen.kvaleberg.no>
References: <20000217000944L.sx0005@sx2.hrz.uni-dortmund.de>
	<%fn3q4MXQZ@draugen.kvaleberg.no>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000217132439S.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 17 Feb 2000 13:24:39 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 1108
Lines: 25

> I've added a fix for this - which at least removes the crash. The
> complete patch enclosed also attempts to clean up various other issues re.
> use of select(), (re)defining libc stuff in the program, updating changes
> in the X interface, etc. 

Thanks a lot!  It seems to work except the text window -- I only get
black boxes while typing in some text...  In case you have nothing
serious to do, may I ask you to look into this also? :-)

I will eventually put a working xgremlin to the ftp.ffii.org host for
reference...  Daniel, since you are the only active user of xgremlin I
know of, may I ask you to check the manual?  It is *really*, hmm, out
of date, talking about green and blue buttons on the mouse...

> That said, I really can't understand what the purpose of this
> program is -- since xfig seems to be a much better alternative.  Or
> is there something I haven't understood?

xfig doesn't output gremlin format!  Since I will soon add grn to
groff, I think it is nice to have xgremlin working.  And I can imagine
that people who got used to xgremlin won't change to xfig...


    Werner


From groff-admin  Thu Feb 17 17:05:54 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id RAA16642
	for <groff@ffii.org>; Thu, 17 Feb 2000 17:05:54 +0100
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id LAA00135
	for <groff@gnu.org>; Thu, 17 Feb 2000 11:09:42 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id IAA09716
	for groff@gnu.org; Thu, 17 Feb 2000 08:09:41 -0800 (PST)
Date: Thu, 17 Feb 2000 08:09:41 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Thu, 17 Feb 00 07:53:20 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002171553.AA14282@synchrods.synchrods.COM>
To: egil@kvaleberg.no, wl@gnu.org
Subject: Re: [Groff] RE: grn
Cc: daniel@synchrods.synchrods.COM, groff@gnu.org
Content-Type: text
Status: O
Content-Length: 927
Lines: 23

>I've added a fix for this - which at least removes the crash. The
>complete patch enclosed also attempts to clean up various other issues re.
>use of select(), (re)defining libc stuff in the program, updating changes
>in the X interface, etc. 

thanks for the fixes. You may also check another version of
gremlin that is around. I'll give you later the ftp site.
>
>That said, I really can't understand what the purpose of this  program is
>- since xfig seems to be a much better alternative. Or is there something
>I haven't understood?

I've used both xfig and gremlin. xfig has a few more features
than gremlin, however there is no 'fig' preprocessor for *roff.
So at the moment, the only way to include fig files in a *roff
text is to translate them to pic. pic files have less features
than gremlin, such as lack of stipples. I personally like the
gremlin "feeling" better than xfig, but that's a matter of
taste.

Dan



From groff-admin  Thu Feb 17 19:21:17 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id TAA17453
	for <groff@ffii.org>; Thu, 17 Feb 2000 19:21:13 +0100
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id NAA14573
	for <groff@gnu.org>; Thu, 17 Feb 2000 13:24:55 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id KAA11738
	for groff@gnu.org; Thu, 17 Feb 2000 10:24:50 -0800 (PST)
Date: Thu, 17 Feb 2000 10:24:50 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Thu, 17 Feb 00 10:08:30 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002171808.AA14450@synchrods.synchrods.COM>
To: wl@gnu.org
Subject: Re: [Groff] RE: grn
Cc: daniel@synchrods.synchrods.COM, egil@kvaleberg.no, groff@gnu.org
Content-Type: text
Status: O
Content-Length: 1132
Lines: 30

Werner,

	> I've added a fix for this - which at least removes the crash. The
	> complete patch enclosed also attempts to clean up various other issues re.
	> use of select(), (re)defining libc stuff in the program, updating changes
	> in the X interface, etc. 

I checked the version that you got from ring.jah.ne.jp and is the
same as mine. I'm still puzzled why it doesn't work on Linux
while it does just fine in my 5000/240 running NetBSD. If you
want to check another option, there is the Leban's modified
version that you can find in:

ftp.cs.wisc.edu/pub/X/xgremlin.tar.Z
	
	I will eventually put a working xgremlin to the ftp.ffii.org host for
	reference...  Daniel, since you are the only active user of xgremlin I
	                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Just come here to Berkeley, you even find the bums running
gremlin on their laptops while they hang out in the street...

	know of, may I ask you to check the manual?  It is *really*, hmm, out
	of date, talking about green and blue buttons on the mouse...

I'll do. I'll e-mail you the updated manual hopefully today or
tomorrow.

Dan



From groff-admin  Fri Feb 18 04:29:56 2000
Received: from mayn.de (qmailr@airbus.mayn.de [194.145.150.13])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with SMTP id EAA21046
	for <groff@ffii.org>; Fri, 18 Feb 2000 04:29:56 +0100
Received: (qmail 5844 invoked from network); 18 Feb 2000 03:33:49 -0000
Received: from cottbus.mayn.de (194.145.150.15)
  by airbus.mayn.de with SMTP; 18 Feb 2000 03:33:49 -0000
Received: (from bwarken@localhost)
	by cottbus.mayn.de (8.8.8/8.8.8) id EAA08877
	for groff@ffii.org; Fri, 18 Feb 2000 04:33:45 +0100
Message-ID: <20000218043345.B8864@mayn.de>
Date: Fri, 18 Feb 2000 04:33:45 +0100
From: Bernd Warken <bwarken@mayn.de>
To: groff@ffii.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.1i
Subject: [Groff] /usr/local/share
Status: O
Content-Length: 989
Lines: 28

From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>

> No.  Documentation will be installed into                                      
>
>  /usr/local/share/groff/doc
>
> according to the Linux File System Standard (FSS).

This isn't true any longer.  The Linux FSSTND has been superseeded by
the Filesystem Hierarchy Standard (FHS), an effort to harmonize Linux
and the other UNIX flavors, e.g. many elements of FreeBSD were included.
It is supported by Debian, Solaris, etc.  According to the FHS,

  /usr/local/share/doc/groff

is the right place for the documentation of locally installed packages
(e.g. with autoconfig).

If, however, you want to include all package files into a single
directory tree (as is common for commercial stuff) instead of
distributing the files in the UNIX way, then /opt/groff should be used.

You might be interested to learn that the FHS is originary written in
groff_mm and pic.  It can be found on www.pathname.com.

Bernd Warken <bwarken@mayn.de>



From groff-admin  Fri Feb 18 08:45:15 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id IAA02611
	for <groff@ffii.org>; Fri, 18 Feb 2000 08:45:14 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id CAA18942
	for <groff@gnu.org>; Fri, 18 Feb 2000 02:49:07 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 18 Feb 2000 08:48:52 +0100
Received: from rigel.univie.ac.at (dial-143177.HRZ.Uni-Dortmund.DE [129.217.143.177])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id IAA29576;
	Fri, 18 Feb 2000 08:48:46 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id HAA12876;
	Fri, 18 Feb 2000 07:17:32 GMT
To: daniel@synchrods.synchrods.COM
Cc: egil@kvaleberg.no, groff@gnu.org
Subject: Re: [Groff] RE: grn
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002171808.AA14450@synchrods.synchrods.COM>
References: <10002171808.AA14450@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000218071731U.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 18 Feb 2000 07:17:31 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 504
Lines: 13

> If you want to check another option, there is the Leban's modified
> version that you can find in:
> 
> ftp.cs.wisc.edu/pub/X/xgremlin.tar.Z

I must admit that this version looks *much* better IMHO; the man page
is better, the handling is more obvious, the binary is smaller, and
less changes are necessary to make it work with Linux.  Unfortunately,
it has a strange copyright: I would prefer GPL (or public domain), of
course -- apparently, I have to contact Dick to get permissions...


    Werner


From groff-admin  Fri Feb 18 13:23:50 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id NAA04696
	for <groff@ffii.org>; Fri, 18 Feb 2000 13:23:50 GMT
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 18 Feb 2000 14:27:18 +0100
Received: from rigel.univie.ac.at (dial-143154.HRZ.Uni-Dortmund.DE [129.217.143.154])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id OAA14689;
	Fri, 18 Feb 2000 14:27:17 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id LAA13308;
	Fri, 18 Feb 2000 11:32:00 GMT
To: nbsdbob@weedcon1.cropsci.ncsu.edu
Cc: groff@ffii.org
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <200002171431.JAA01801@weedcon1.cropsci.ncsu.edu>
References: <20000216223218X.sx0005@sx2.hrz.uni-dortmund.de>
	<200002171431.JAA01801@weedcon1.cropsci.ncsu.edu>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000218113200F.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 18 Feb 2000 11:32:00 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] Re: Nroff locale problem???
Status: O
Content-Length: 557
Lines: 20

>      $ nroff -man troff.1 >troff.man
>      locale: not found
>      $
> 
> What is the locale thing doing codewise in the nroff section?

The `locale' function tests the default charset set in your
environment.  It has been recently added to get, for example, -Tutf8
as the default behaviour in case you are in a UTF8 environment.

It seems that the following line of nroff makes problems:

  case "`locale charmap 2>/dev/null`" ...

I've tested bash, tcsh, ksh, zsh, and csh, but I never get a message
like yours.  Which shell do you use?


    Werner


From groff-admin  Fri Feb 18 13:23:50 2000
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id NAA04698
	for <groff@ffii.org>; Fri, 18 Feb 2000 13:23:50 GMT
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 18 Feb 2000 14:27:20 +0100
Received: from rigel.univie.ac.at (dial-143154.HRZ.Uni-Dortmund.DE [129.217.143.154])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id OAA14693;
	Fri, 18 Feb 2000 14:27:19 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id IAA13215;
	Fri, 18 Feb 2000 08:37:29 GMT
To: bwarken@mayn.de
Cc: groff@ffii.org
Subject: Re: [Groff] /usr/local/share
From: Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>
In-Reply-To: <20000218043345.B8864@mayn.de>
References: <20000218043345.B8864@mayn.de>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000218083729Q.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 18 Feb 2000 08:37:29 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 750
Lines: 22

> >  /usr/local/share/groff/doc
> 
> This isn't true any longer.  The Linux FSSTND has been superseeded by
> the Filesystem Hierarchy Standard (FHS), an effort to harmonize Linux
> and the other UNIX flavors, e.g. many elements of FreeBSD were included.
> It is supported by Debian, Solaris, etc.  According to the FHS,
> 
>   /usr/local/share/doc/groff
> 
> is the right place for the documentation of locally installed packages
> (e.g. with autoconfig).

Oops, sorry.  You are right.  I've interchanged the last two path
elements.

> You might be interested to learn that the FHS is originary written
> in groff_mm and pic.  It can be found on www.pathname.com.

I know :-)  It has helped to fix some nasty bugs in newer mm versions.


    Werner


From groff-admin  Fri Feb 18 17:48:22 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id RAA06579
	for <groff@ffii.org>; Fri, 18 Feb 2000 17:48:20 GMT
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id MAA27115
	for <groff@gnu.org>; Fri, 18 Feb 2000 12:52:11 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id JAA03682
	for groff@gnu.org; Fri, 18 Feb 2000 09:52:03 -0800 (PST)
Date: Fri, 18 Feb 2000 09:52:03 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Fri, 18 Feb 00 09:38:30 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002181738.AA15564@synchrods.synchrods.COM>
To: wl@gnu.org
Subject: Re: [Groff] RE: grn
Cc: daniel@synchrods.synchrods.COM, egil@kvaleberg.no, groff@gnu.org,
        sx0005@sx2.hrz.uni-dortmund.de
Content-Type: text
Status: O
Content-Length: 7513
Lines: 136

Werner,

>> If you want to check another option, there is the Leban's modified
>> version that you can find in:
>> 
>> ftp.cs.wisc.edu/pub/X/xgremlin.tar.Z
>
>I must admit that this version looks *much* better IMHO; the man page
>is better, the handling is more obvious, the binary is smaller, and
>less changes are necessary to make it work with Linux.  Unfortunately,
>it has a strange copyright: I would prefer GPL (or public domain), of
>course -- apparently, I have to contact Dick to get permissions...

I haven't used Leban's gremlin for a while, but one of the
problems I remember is that for very large drawings that come
off the window area I couldn't reposition the center as it's
done in Barry's gremlin. Maybe there is a way of doing it, but I
couldn't find it. I'm including below an updated man page for
gremlin as you requested.

Regards,

Dan

begin 644 gremlin_man.tgz
M'XL( !:#K3@  ^U;76\<.7:=U_!7,'J1A)%Z)%OK $(0P/8XM@#;XUCVS@;K
M#<"N8G=S75VL+59+ZGG8WYYS[R59K.ZV9P)DLPGB!NSNJF*1]_/<#U++WJX;
MU\XNO_O;?2XO+IY<7>GOM-97E_*M]47\UH\O+Q]?:/U/%[][_/CBXNK1$ZUQ
MY_+)=_KB;TA3_B1B:M,ZVWQY7-B&P:[_*Q-?\KS_RS^S#Z_TR_<OWKR^>0N"
MU>SC<WVE9K>O]-NG;UZHI5B'_G2N.U<-F]YJ6[O!]SSD]M_?_O3N]N96S9[I
M.%+]D2X^G7OY"NJ?9_%)7_V+5G_2?]0+UUC])S6;RR0_OKA]_O[FW8>;G]ZJ
MV8U^&>=Q09M6NW:PO:D&=V=W"- +_.MZ7V\JURXU7K&Z[LT]+L),/??KM6EK
MS($77%LUF]K6_$H<HX-;=Z##-G9MVR'HL*E6R@3=^6:[].V9KEQ?-3:<@8Q:
M#_9AP#S:Z#O3.SMLM5]@.GH1<_+B8=AB^$SK%W%*58$!TP2OYQ;B\9L.) Q^
M:8>5[7E6D.BZ36,&/,#2P0[T_AL/FHU>TU=M!P-QU:JVH>I=-S@B+5BK,8DF
M>26Y;X+M \VX,<U,*;;J#Q@3[MU0K2PD<8>9S!P\0R;72LW SO>7LPNG9DVC
MSR_Q/3A]/ON=RQJ$AI:VA0(&O/]I<1/7^K1XSTH,)!&BPS<LV[499CN3!![(
M,X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SAV6_057_CYWJ6YQL7=H(9\LB3GNH4,-DUW\ WOVN^;*D;EHD,CUX>"R
M\CZE(#PLVD>>GY/ HB&P,D$9>LWQ23Y]Q:\%/G2Q;!,^Q R<]NZ&%6\"7F&2
M9]MX#C >9Z;U+A7[BYQ*8RHX78];8U=GL4'6+W%+ZA]IW9?G#[<2=C!R*V?7
M& #DYCUDRK%F1<4"-QP9(^@ N=WO790QG&IRL#Q(<9JDQZ[)!4B?CA26)7AV
MZ(Z.T/5T.AB,C27M">27ST.-YT*_7B"?3HZ?:I]ZG6/C/I70("=5:HM\[+%L
MH9Q A&IZ\I.+QE,=L2O"3NZ95:8'%TO*"\'8 2_?M+6G[7GZXDYFZ@L=S(8Q
MJNQZ9K)HOX*2>$<JX[\!X GC\U/-7:NR)3IO-M-SQWNZO,M]J-^GPOPKNU;3
M4U5[+:5)*[,H;;C+-*9:.?X[^BL%R)@LE'9&#Z#1/:/+'A;9W8;M%(5R=WW:
M\O'%#FHQ!6UKW;[21[<O7NBGKV]_.E)+=H^3RU,^G4]^'?_T(B/S"_E#B_-S
MO?/'!333TX\?7OWT7CV#56SU>^^&>6,&>?3LX\M;]:W^_[]1__^]__[HV^?;
@Y]OGV^?;Y^_S^5;_?ZO_O]7__W_K__\$XZ9W)@!   #^
 
end



From groff-admin  Fri Feb 18 23:24:23 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA08591
	for <groff@ffii.org>; Fri, 18 Feb 2000 23:24:22 GMT
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id SAA11240
	for <groff@gnu.org>; Fri, 18 Feb 2000 18:28:19 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sat, 19 Feb 2000 00:28:00 +0100
Received: from rigel.univie.ac.at (dial-143172.HRZ.Uni-Dortmund.DE [129.217.143.172])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id AAA11995;
	Sat, 19 Feb 2000 00:27:58 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id RAA13557;
	Fri, 18 Feb 2000 17:23:09 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
Subject: Re: [Groff] RE: grn
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <20000218071731U.sx0005@sx2.hrz.uni-dortmund.de>
References: <10002171808.AA14450@synchrods.synchrods.COM>
	<20000218071731U.sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000218172308U.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 18 Feb 2000 17:23:08 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 662
Lines: 18

> > If you want to check another option, there is the Leban's modified
> > version that you can find in:
> > 
> > ftp.cs.wisc.edu/pub/X/xgremlin.tar.Z
> 
> I must admit that this version looks *much* better IMHO; the man page
> is better, the handling is more obvious, the binary is smaller, and
> less changes are necessary to make it work with Linux.  Unfortunately,
> it has a strange copyright: I would prefer GPL (or public domain), of
> course -- apparently, I have to contact Dick to get permissions...

BTW, are there significant differences between these two
implementations resp. are all features in xgremlin2 available in
xgremlin also?


    Werner


From groff-admin  Sat Feb 19 01:44:04 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id BAA09515
	for <groff@ffii.org>; Sat, 19 Feb 2000 01:44:03 GMT
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id UAA26968
	for <groff@gnu.org>; Fri, 18 Feb 2000 20:48:02 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id RAA10562
	for groff@gnu.org; Fri, 18 Feb 2000 17:48:01 -0800 (PST)
Date: Fri, 18 Feb 2000 17:48:01 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Fri, 18 Feb 00 17:36:58 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002190136.AA16208@synchrods.synchrods.COM>
To: wl@gnu.org
Subject: Re: [Groff] RE: grn
Cc: groff@gnu.org
Content-Type: text
Status: O
Content-Length: 928
Lines: 21

	BTW, are there significant differences between these two
	implementations resp. are all features in xgremlin2 available in
	xgremlin also?

Not all. As I remember in xgremlin you cannot mark an action.
For example in xgremlin2 you can click on the vector icon and
after as you lay down points the screen will interactively draw
the lines. In xgremlin you first set the points and after click
on the icon. That's not a big deal, however for certain other
things the way that xgremlin2 works can be more useful. For
example you may have a polygon or spline already drawn that you
want to reshape. In xgremlin2 you could first click on the icon
that moves the points and as you move the point the shape will
be automatically redrawn in real time. In xgremlin you have to
redraw the point and after when you click on the icon the new
shape will appear. Maybe that's one of the reasons why the
xgremlin binaries are smaller.

Dan



From groff-admin  Sun Feb 20 08:28:00 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id IAA30079
	for <groff@ffii.org>; Sun, 20 Feb 2000 08:27:54 GMT
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id DAA00926
	for <groff@gnu.org>; Sun, 20 Feb 2000 03:32:00 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sun, 20 Feb 2000 09:31:48 +0100
Received: from rigel.univie.ac.at (dial-143163.HRZ.Uni-Dortmund.DE [129.217.143.163])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id JAA17223;
	Sun, 20 Feb 2000 09:31:46 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id XAA18566;
	Sat, 19 Feb 2000 23:30:16 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000219233015Y.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sat, 19 Feb 2000 23:30:15 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] grn independent from device
Status: O
Content-Length: 421
Lines: 17

Daniel,


while adapting grn to the groff layout, I've detected that grn is
dependent on the device's resolution to set the line thickness.

Two questions:

  . Is it possible to make grn independent from the output device,
    similar to pic?

  . If not, why is `256' the lower limit to make the default line
    thickness values dependent on the resolution (this behaviour is
    not documented, BTW)?


      Werner


From groff-admin  Sun Feb 20 20:51:19 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id UAA03310
	for <groff@ffii.org>; Sun, 20 Feb 2000 20:51:18 GMT
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id PAA27870
	for <groff@gnu.org>; Sun, 20 Feb 2000 15:55:27 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sun, 20 Feb 2000 21:55:04 +0100
Received: from rigel.univie.ac.at (dial-143135.HRZ.Uni-Dortmund.DE [129.217.143.135])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id VAA28369;
	Sun, 20 Feb 2000 21:55:03 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id UAA23744;
	Sun, 20 Feb 2000 20:34:09 GMT
To: daniel@synchrods.synchrods.COM, groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000220203407H.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sun, 20 Feb 2000 20:34:07 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] grn problems with xditview
Status: O
Content-Length: 209
Lines: 13

Daniel,


I've just tested the following (with your example):

  grn -TX100 grnexmpl.me | groff -TX100 -e -X -me

The results are quite ugly since the lines are far to thick... Can you
fix this?


    Werner


From groff-admin  Sun Feb 20 20:51:19 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id UAA03311
	for <groff@ffii.org>; Sun, 20 Feb 2000 20:51:18 GMT
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id PAA27872
	for <groff@gnu.org>; Sun, 20 Feb 2000 15:55:28 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sun, 20 Feb 2000 21:55:11 +0100
Received: from rigel.univie.ac.at (dial-143135.HRZ.Uni-Dortmund.DE [129.217.143.135])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id VAA28381
	for <groff@gnu.org>; Sun, 20 Feb 2000 21:55:10 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id MAA20299
	for <groff@gnu.org>; Sun, 20 Feb 2000 12:09:13 GMT
To: groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000220120912B.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sun, 20 Feb 2000 12:09:12 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] grn support in macro packages
Status: O
Content-Length: 272
Lines: 11

Dear friends,


currently, only the me macros provide support for gremlin pictures
(.GS, .GE and .GF requests).  Should the other macro packages (mm, ms)
be updated, or should a tmac.grn file be added?  In either case, is
there a good guy who could do that?


    Werner


From groff-admin  Sun Feb 20 20:51:22 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id UAA03358
	for <groff@ffii.org>; Sun, 20 Feb 2000 20:51:22 GMT
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id PAA27875
	for <groff@gnu.org>; Sun, 20 Feb 2000 15:55:31 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sun, 20 Feb 2000 21:55:09 +0100
Received: from rigel.univie.ac.at (dial-143135.HRZ.Uni-Dortmund.DE [129.217.143.135])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id VAA28378
	for <groff@gnu.org>; Sun, 20 Feb 2000 21:55:09 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id MAA20505
	for <groff@gnu.org>; Sun, 20 Feb 2000 12:20:24 GMT
To: groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000220122024S.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sun, 20 Feb 2000 12:20:24 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] grn again
Status: O
Content-Length: 197
Lines: 10

Continuing my last mail:

It seems that the original ms macros have support for .GS, .GE, and
.GF; additionally, there was a -mg macro package also...

This should be added to groff.


    Werner


From groff-admin  Sun Feb 20 20:58:19 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id UAA03674
	for <groff@ffii.org>; Sun, 20 Feb 2000 20:58:18 GMT
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id QAA27948;
	Sun, 20 Feb 2000 16:02:27 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sun, 20 Feb 2000 22:02:25 +0100
Received: from rigel.univie.ac.at (dial-143135.HRZ.Uni-Dortmund.DE [129.217.143.135])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id WAA28544;
	Sun, 20 Feb 2000 22:02:18 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id VAA25514;
	Sun, 20 Feb 2000 21:02:05 GMT
To: groff@gnu.org, bug-groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000220210204C.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sun, 20 Feb 2000 21:02:04 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] groff has grn!
Status: O
Content-Length: 179
Lines: 14

Dear friends,


I've just committed `grn' to the groff CVS.  An example is in the
`doc' subdirectory.

groff now has the new option `-g' to call grn.


Please test!


    Werner


From groff-admin  Sun Feb 20 21:44:03 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id VAA04149
	for <groff@ffii.org>; Sun, 20 Feb 2000 21:44:02 GMT
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id QAA29719
	for <groff@gnu.org>; Sun, 20 Feb 2000 16:48:12 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id NAA14619
	for groff@gnu.org; Sun, 20 Feb 2000 13:48:10 -0800 (PST)
Date: Sun, 20 Feb 2000 13:48:10 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Sun, 20 Feb 00 13:33:47 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002202133.AA17993@synchrods.synchrods.COM>
To: wl@gnu.org
Subject: Re:  [Groff] grn independent from device
Cc: groff@gnu.org
Content-Type: text
Status: O
Content-Length: 1370
Lines: 47

Werner,

	while adapting grn to the groff layout, I've detected that grn is
	dependent on the device's resolution to set the line thickness.
	
	Two questions:
	
	  . Is it possible to make grn independent from the output device,
	    similar to pic?
	
	  . If not, why is `256' the lower limit to make the default line
	    thickness values dependent on the resolution (this behaviour is
	    not documented, BTW)?

The code that you see in main.c:

	/* Correct the brush thicknesses based on res */
	if (res >= 256) {
		defthick[0] = res / 256;
		defthick[1] = res / 256;
		defthick[2] = res / 16;
		defthick[3] = res / 256;
		defthick[4] = res / 256;
		defthick[5] = res / 64;
	}

is an attempt to make the line widths device-independent. It
means that if the resolution is less than 256 use the default
values for defthick that are:

int	defthick[STYLES] = {  1, 1, 5, 1, 1, 3  };

that as you can see are close to it would result from the
division of the lower resolution devices.

In other words I didn't want to penalize the higher resolution
devices in terms of a good rendition of different line widths.
One could use the lowest resolution display (devX75-12/DESC) as
a reference value so all the line widths are identical, but
again I don't see that as being practical. But if you have a
different idea let me know, and I figure something out.

Regards,

Dan



From groff-admin  Mon Feb 21 07:36:05 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id HAA20835
	for <groff@ffii.org>; Mon, 21 Feb 2000 07:36:04 GMT
From: hifiber7@compuserve.com
Received: from mailmachine8384.compuserve.com (98ABC476.ipt.aol.com [152.171.196.118])
	by mescaline.gnu.org (8.9.1a/8.9.1) with SMTP id CAA27995
	for <groff@gnu.org>; Mon, 21 Feb 2000 02:40:10 -0500
To: <groff@gnu.org>
Date: Mon, 21 Feb 2000 00:56:24
Message-Id: <672.881060.95104@mailmachine8384.compuserve.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: [Groff] AD:Family Reunion T Shirts & More
Status: O
Content-Length: 994
Lines: 36

Message sent by:  Kuppler Graphics, 32 West Main Street, Maple 
Shade, New Jersey, 08052,
1-800-810-4330.   This list will NOT be sold.  All addresses 
are automatically added to our remove list.

Hello.  My name is Bill from Kuppler Graphics.  We do 
screenprinting on T Shirts, Sweatshirts,
Jackets, Hats, Tote Bags and more!

Do you or someone you know have a Family Reunion coming up?  
Kuppler Graphics would like to
provide you with some great looking T Shirts for your Reunion.

Kuppler Graphics can also provide you with custom T's and 
promotional items such as imprinted
magnets, keychains, pens, mugs, hats, etc. for your business or 
any fundraising activity
(church, school, business etc.) We also can provide you with 
quality embroidery. 

We are a family owned company with over 15 years of experience.  

All work is done at this location.  No middle man.  Our prices 
are great!

Click reply to email us or call 1-800-810-4330 for more info


Bill
Kuppler Graphics
 
 
 
 
 


From groff-admin  Mon Feb 21 23:22:22 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA27099
	for <groff@ffii.org>; Mon, 21 Feb 2000 23:22:21 GMT
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id RAA31528
	for <groff@gnu.org>; Mon, 21 Feb 2000 17:22:14 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id OAA02855
	for groff@gnu.org; Mon, 21 Feb 2000 14:22:13 -0800 (PST)
Date: Mon, 21 Feb 2000 14:22:13 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Mon, 21 Feb 00 13:53:35 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002212153.AA19099@synchrods.synchrods.COM>
To: sx0005@sx2.hrz.uni-dortmund.de
Cc: daniel@synchrods.synchrods.COM, groff@gnu.org
Content-Type: text
Subject: [Groff] Re: grn problems with xditview
Status: O
Content-Length: 664
Lines: 24

Werner,

>I've just tested the following (with your example):
>
>  grn -TX100 grnexmpl.me | groff -TX100 -e -X -me
>
>The results are quite ugly since the lines are far to thick... Can you
>fix this?


Ooops. The problem was that the program wasn't finding the value
of "res" from the DESC file because the code was making the assumption
that the "res" variable was the first in the list -- that was the
case of the devices that I was initially interested in. I fixed it
so it would scan the whole file. However, there is a device: "devlj4"
that does NOT have the "res" variable. What do we do about it?

I'll send you the fix in a separate mail.

Regards,

Dan



From groff-admin  Tue Feb 22 01:46:40 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id BAA28018
	for <groff@ffii.org>; Tue, 22 Feb 2000 01:46:40 GMT
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id TAA04315
	for <groff@gnu.org>; Mon, 21 Feb 2000 19:46:34 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Tue, 22 Feb 2000 01:45:51 +0100
Received: from rigel.univie.ac.at (dial-143181.HRZ.Uni-Dortmund.DE [129.217.143.181])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id BAA06688;
	Tue, 22 Feb 2000 01:45:50 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id XAA27191;
	Mon, 21 Feb 2000 23:37:17 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
Subject: Re: [Groff] Re: grn problems with xditview
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002212153.AA19099@synchrods.synchrods.COM>
References: <10002212153.AA19099@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000221233717W.sx0005@sx2.hrz.uni-dortmund.de>
Date: Mon, 21 Feb 2000 23:37:17 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 1084
Lines: 29

> >I've just tested the following (with your example):
> >
> >  grn -TX100 grnexmpl.me | groff -TX100 -e -X -me
> >
> >The results are quite ugly since the lines are far to thick... Can
> >you fix this?
> 
> Ooops.  The problem was that the program wasn't finding the value of
> "res" from the DESC file because the code was making the assumption
> that the "res" variable was the first in the list -- that was the
> case of the devices that I was initially interested in.

This is no longer true (with the grn files I've committed to the groff
CVS repository -- please get the latest snapshot and look at the
files!  I've changed *a lot* to be in sync with other preprocessors)
since I'm using libgroff's font::load_desc() function to automatically
extract the resolution from the DESC file.

The reason must be something different.

> However, there is a device: "devlj4" that does NOT have the "res"
> variable. What do we do about it?

It *does* have.  During the process of converting devlj4's `DESC.in'
to DESC while installing groff it gets a proper `res' value.


    Werner


From groff-admin  Tue Feb 22 02:42:49 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id CAA28377
	for <groff@ffii.org>; Tue, 22 Feb 2000 02:42:48 GMT
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id UAA06444
	for <groff@gnu.org>; Mon, 21 Feb 2000 20:42:43 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id RAA05725
	for groff@gnu.org; Mon, 21 Feb 2000 17:42:41 -0800 (PST)
Date: Mon, 21 Feb 2000 17:42:41 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Mon, 21 Feb 00 17:30:49 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002220130.AA19493@synchrods.synchrods.COM>
To: wl@gnu.org
Subject: Re: [Groff] Re: grn problems with xditview
Cc: groff@gnu.org, sx0005@sx2.hrz.uni-dortmund.de
Content-Type: text
Status: O
Content-Length: 1637
Lines: 42

Werner,

Our messages are crossing each other in cyberspace.

Given that you properly read "res" in devX100/DESC, then as I
said to you in a previous mail, the line thicknesses will be the
default ones in the array defthick[] (because res < 256). So the
fine will be 1u, the medium 3u and the thick 5u. The relative
fine thickness will be 1/100.  If you compare that with the case
of the devps/DESC then you'll get 1/256 that is considerably
thinner. So, the problem is how to get a thickness less than 1u
for low resolution devices.

Dan

>> >I've just tested the following (with your example):
>> >
>> >  grn -TX100 grnexmpl.me | groff -TX100 -e -X -me
>> >
>> >The results are quite ugly since the lines are far to thick... Can
>> >you fix this?
>> 
>> Ooops.  The problem was that the program wasn't finding the value of
>> "res" from the DESC file because the code was making the assumption
>> that the "res" variable was the first in the list -- that was the
>> case of the devices that I was initially interested in.
>
>This is no longer true (with the grn files I've committed to the groff
>CVS repository -- please get the latest snapshot and look at the
>files!  I've changed *a lot* to be in sync with other preprocessors)
>since I'm using libgroff's font::load_desc() function to automatically
>extract the resolution from the DESC file.
>
>The reason must be something different.
>
>> However, there is a device: "devlj4" that does NOT have the "res"
>> variable. What do we do about it?
>
>It *does* have.  During the process of converting devlj4's `DESC.in'
>to DESC while installing groff it gets a proper `res' value.



From groff-admin  Tue Feb 22 09:19:41 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id JAA10701
	for <groff@ffii.org>; Tue, 22 Feb 2000 09:19:40 GMT
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id DAA17742
	for <groff@gnu.org>; Tue, 22 Feb 2000 03:19:36 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Tue, 22 Feb 2000 09:18:18 +0100
Received: from rigel.univie.ac.at (dial-143167.HRZ.Uni-Dortmund.DE [129.217.143.167])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id JAA13343;
	Tue, 22 Feb 2000 09:18:17 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id HAA27564;
	Tue, 22 Feb 2000 07:45:15 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
Subject: Re: [Groff] Re: grn problems with xditview
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002220130.AA19493@synchrods.synchrods.COM>
References: <10002220130.AA19493@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000222074515A.sx0005@sx2.hrz.uni-dortmund.de>
Date: Tue, 22 Feb 2000 07:45:15 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 774
Lines: 17

> Given that you properly read "res" in devX100/DESC, then as I said
> to you in a previous mail, the line thicknesses will be the default
> ones in the array defthick[] (because res < 256). So the fine will
> be 1u, the medium 3u and the thick 5u. The relative fine thickness
> will be 1/100.  If you compare that with the case of the devps/DESC
> then you'll get 1/256 that is considerably thinner. So, the problem
> is how to get a thickness less than 1u for low resolution devices.

I believe that it is not a good idea to specify line-thicknesses in
pixels (except on special request).  What do you think about
specifying it in points instead (or something similar), i.e., giving
the values a dimension?  This would be a step towards device
independence.


    Werner


From groff-admin  Tue Feb 22 18:51:47 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id SAA15608
	for <groff@ffii.org>; Tue, 22 Feb 2000 18:51:45 GMT
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id NAA21177
	for <groff@gnu.org>; Tue, 22 Feb 2000 13:51:35 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id KAA20195
	for groff@gnu.org; Tue, 22 Feb 2000 10:51:29 -0800 (PST)
Date: Tue, 22 Feb 2000 10:51:29 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Tue, 22 Feb 00 10:39:29 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002221839.AA20258@synchrods.synchrods.COM>
To: wl@gnu.org
Subject: Re: [Groff] Re: grn problems with xditview
Cc: groff@gnu.org, sx0005@sx2.hrz.uni-dortmund.de
Content-Type: text
Status: O
Content-Length: 1128
Lines: 26

Werner,

>> Given that you properly read "res" in devX100/DESC, then as I said
>> to you in a previous mail, the line thicknesses will be the default
>> ones in the array defthick[] (because res < 256). So the fine will
>> be 1u, the medium 3u and the thick 5u. The relative fine thickness
>> will be 1/100.  If you compare that with the case of the devps/DESC
>> then you'll get 1/256 that is considerably thinner. So, the problem
>> is how to get a thickness less than 1u for low resolution devices.
>
>I believe that it is not a good idea to specify line-thicknesses in
>pixels (except on special request).  What do you think about
>specifying it in points instead (or something similar), i.e., giving
>the values a dimension?  This would be a step towards device
>independence.

I modified the grn code, but after I found out that groff
doesn't accept fractional values for points, e.g. \D't 0.15p'.
So if you pick the minimum linewidth equal to \D't 1p', it's way
too thick that is what you wanted to avoid in the first place.
Do you have any other unit in groff that can fractioned to make
the equivalent of 0.15p?

Dan



From groff-admin  Wed Feb 23 01:46:16 2000
Received: from is.rice.edu (is.rice.edu [128.42.42.24])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id BAA18345
	for <groff@ffii.org>; Wed, 23 Feb 2000 01:46:15 GMT
Received: (from sandmant@localhost)
	by is.rice.edu (8.9.0/8.9.0) id TAA12142
	for groff@ffii.org; Tue, 22 Feb 2000 19:46:08 -0600 (CST)
From: "Tod A. Sandman" <sandmant@is.rice.edu>
Message-Id: <200002230146.TAA12142@is.rice.edu>
Subject: Re: [Groff] Segmentation fault in grops
To: groff@ffii.org
Date: Tue, 22 Feb 2000 19:46:07 -0600 (CST)
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Status: O
Content-Length: 499
Lines: 22

I submitted a bug report today regarding what looks like the
same problem (groff-1.15/grops seg faults on an EPS file
created with Adobe Illustrator):

DESCRIPTION OF INCORRECT BEHAVIOUR:
grops seg faults in read_one_of() when processing line
  "%%BeginData: 8444 Hex Bytes".

SUGGESTED FIX
medina:/build/groff-1.15/src/groff-1.15/grops: diff psrm.cc.DIST psrm.cc        
698c698
<     ++ptr;
---
>     ++(*ptr);


This works for me.  Or you can delete the data section
in the EPS file.


sandmant


From groff-admin  Wed Feb 23 08:22:00 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id IAA00924
	for <groff@ffii.org>; Wed, 23 Feb 2000 08:22:00 GMT
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id DAA15689
	for <groff@gnu.org>; Wed, 23 Feb 2000 03:21:54 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Wed, 23 Feb 2000 09:21:44 +0100
Received: from rigel.univie.ac.at (dial-143145.HRZ.Uni-Dortmund.DE [129.217.143.145])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id JAA05999;
	Wed, 23 Feb 2000 09:21:42 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id IAA29625;
	Wed, 23 Feb 2000 08:17:09 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
Subject: Re: [Groff] Re: grn problems with xditview
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002221839.AA20258@synchrods.synchrods.COM>
References: <10002221839.AA20258@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000223081708T.sx0005@sx2.hrz.uni-dortmund.de>
Date: Wed, 23 Feb 2000 08:17:08 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 406
Lines: 12

> I modified the grn code, but after I found out that groff doesn't
> accept fractional values for points, e.g. \D't 0.15p'.  So if you
> pick the minimum linewidth equal to \D't 1p', it's way too thick
> that is what you wanted to avoid in the first place.  Do you have
> any other unit in groff that can fractioned to make the equivalent
> of 0.15p?

Good question.  Ted, any info on this?


    Werner


From groff-admin  Wed Feb 23 19:04:47 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id TAA04662
	for <groff@ffii.org>; Wed, 23 Feb 2000 19:04:41 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id NAA15385
	for <groff@gnu.org>; Wed, 23 Feb 2000 13:04:32 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Wed, 23 Feb 2000 19:04:09 +0100
Received: from rigel.univie.ac.at (dial-143137.HRZ.Uni-Dortmund.DE [129.217.143.137])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id TAA02709;
	Wed, 23 Feb 2000 19:04:08 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id PAA30218;
	Wed, 23 Feb 2000 15:30:28 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
Subject: Re: [Groff] Re: grn problems with xditview
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002221839.AA20258@synchrods.synchrods.COM>
References: <10002221839.AA20258@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000223153026K.sx0005@sx2.hrz.uni-dortmund.de>
Date: Wed, 23 Feb 2000 15:30:26 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 540
Lines: 22

> I modified the grn code, but after I found out that groff doesn't
> accept fractional values for points, e.g. \D't 0.15p'.  So if you
> pick the minimum linewidth equal to \D't 1p', it's way too thick
> that is what you wanted to avoid in the first place.  Do you have
> any other unit in groff that can fractioned to make the equivalent
> of 0.15p?

I've just tested with the following pic code:

.PS
arrow thickness 0.5;
.PE

and it contains a line

\D't 0.500p'\h'-0.500p'

so groff accepts fractional values for points.


    Werner


From groff-admin  Wed Feb 23 19:09:37 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id TAA04722
	for <groff@ffii.org>; Wed, 23 Feb 2000 19:09:33 +0100
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id NAA15544
	for <groff@gnu.org>; Wed, 23 Feb 2000 13:09:25 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id KAA11017
	for groff@gnu.org; Wed, 23 Feb 2000 10:09:19 -0800 (PST)
Date: Wed, 23 Feb 2000 10:09:19 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Wed, 23 Feb 00 09:58:05 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002231758.AA21763@synchrods.synchrods.COM>
To: sx0005@sx2.hrz.uni-dortmund.de
Cc: groff@gnu.org
Content-Type: text
Subject: [Groff] -s flag
Status: O
Content-Length: 612
Lines: 16

Werner,

I picked groff-current and noticed that you documented in the
man page of grn the -s flag. I purposedly left it out because
groff doesn't provide both options \D'P...' and \D'p...' that
are outlined and not-outlined shaded polygons. Therefore, I
switched the -s option making the "traverse twice" the default,
so if the gremlin file contains an outlined polygon it will
properly do it.  If you place the -s flag in the command line,
the interior won't be painted, that is not what you want in most
cases. If you still want to document the flag, you can say that
can be used to eliminate shading.

Dan



From groff-admin  Wed Feb 23 19:18:44 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id TAA04815
	for <groff@ffii.org>; Wed, 23 Feb 2000 19:18:41 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id NAA17046
	for <groff@gnu.org>; Wed, 23 Feb 2000 13:18:32 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Wed, 23 Feb 2000 19:18:22 +0100
Received: from rigel.univie.ac.at (dial-143156.HRZ.Uni-Dortmund.DE [129.217.143.156])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id TAA03306
	for <groff@gnu.org>; Wed, 23 Feb 2000 19:18:20 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id SAA30673
	for <groff@gnu.org>; Wed, 23 Feb 2000 18:16:12 GMT
To: groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
 boundary="--Next_Part(Wed_Feb_23_18:16:08_2000_601)--"
Content-Transfer-Encoding: 7bit
Message-Id: <20000223181612X.sx0005@sx2.hrz.uni-dortmund.de>
Date: Wed, 23 Feb 2000 18:16:12 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] Fw: Re: ps2eps.tar.gz in /incoming
Status: O
Content-Length: 5514
Lines: 111

----Next_Part(Wed_Feb_23_18:16:08_2000_601)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


There were some request about such a tool, so I'm forwarding this
announcement.


    Werner


----Next_Part(Wed_Feb_23_18:16:08_2000_601)--
Content-Type: Message/Rfc822
Content-Transfer-Encoding: 7bit

Return-Path: <CTAN-ANN@RELAY.URZ.UNI-HEIDELBERG.DE>
Return-Path: <CTAN-ANN@RELAY.URZ.UNI-HEIDELBERG.DE>
Received: from localhost (root@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id SAA30637
	for <sx0005@localhost>; Wed, 23 Feb 2000 18:05:38 GMT
Received: from sx2
	by localhost with IMAP (fetchmail-4.7.5)
	for sx0005@localhost (single-drop); Wed, 23 Feb 2000 18:05:38 +0000 (GMT)
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id RAA29982
	for <sx0005@SX2.HRZ.UNI-DORTMUND.DE>; Wed, 23 Feb 2000 17:53:38 +0100 (MET)
Received: from relay.uni-heidelberg.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-def with ESMTP; Wed, 23 Feb 2000 17:53:09 +0100
Received: from relay.urz.uni-heidelberg.de (relay-eth.urz.uni-heidelberg.de [129.206.100.201])
	by relay.uni-heidelberg.de (8.9.3+Sun/8.9.3) with ESMTP id RAA10529;
	Wed, 23 Feb 2000 17:46:41 +0100 (MET)
Received: from relay (relay.urz.uni-heidelberg.de [129.206.119.201])
	by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with SMTP id RAA12891;
	Wed, 23 Feb 2000 17:46:10 +0100 (MET)
Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE
          (LISTSERV-TCP/IP release 1.8b) with spool id 454784 for
          CTAN-ANN@RELAY.URZ.UNI-HEIDELBERG.DE; Wed, 23 Feb 2000 17:46:06 +0100
Received: from ix.urz.uni-heidelberg.de (mail.urz.uni-heidelberg.de
          [129.206.119.234]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with
          ESMTP id RAA12874 for <ctan-ann@relay.urz.uni-heidelberg.de>; Wed, 23
          Feb 2000 17:46:04 +0100 (MET)
Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de
          [129.206.100.212]) by ix.urz.uni-heidelberg.de (8.8.8/8.8.8) with
          ESMTP id RAA46310 for <ctan-ann@urz.uni-heidelberg.de>; Wed, 23 Feb
          2000 17:46:03 +0100
Received: from sun2.dante.de (sun2.dante.DE [134.93.8.35]) by
          relay.uni-heidelberg.de (8.9.3+Sun/8.9.3) with ESMTP id RAA10291 for
          <ctan-ann@urz.uni-heidelberg.de>; Wed, 23 Feb 2000 17:46:03 +0100
          (MET)
Received: from mailgate2.zdv.Uni-Mainz.DE (mailgate2.zdv.Uni-Mainz.DE
          [134.93.8.57]) by sun2.dante.de (8.8.8/8.8.8) with ESMTP id RAA06964
          for <ctan-ann@dante.de>; Wed, 23 Feb 2000 17:48:11 +0100 (MET)
Received: from perdita.zdv.Uni-Mainz.DE (perdita.zdv.Uni-Mainz.DE
          [134.93.179.147]) by mailgate2.zdv.Uni-Mainz.DE (8.9.3/8.9.3) with
          ESMTP id RAA18635; Wed, 23 Feb 2000 17:48:12 +0100 (MET)
Received: (from schoepf@localhost) by perdita.zdv.Uni-Mainz.DE (8.9.3/8.9.3) id
          RAA138975; Wed, 23 Feb 2000 17:47:01 +0100 (MET)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Encoded: Changed encoding from 8bit for 7bit transmission
References: <200002231509.QAA18222@blackfoot.telematik.informatik.uni-karlsruhe.de>
X-Mailer: VM 6.62 under Emacs 19.34.1
Approved-By:  Rainer Schoepf <schoepf@UNI-MAINZ.DE>
Message-ID:  <14516.3844.297179.743661@perdita.zdv.Uni-Mainz.DE>
Date:         Wed, 23 Feb 2000 17:47:00 +0100
Reply-To: Rainer Schoepf <schoepf@uni-mainz.de>
Sender: Mailing list for Comprehensive TeX Archive Network announcements
              <CTAN-ANN@RELAY.URZ.UNI-HEIDELBERG.DE>
From: Rainer Schoepf <schoepf@uni-mainz.de>
Organization: Johannes Gutenberg-Universitaet Mainz
Subject:      Re: ps2eps.tar.gz in /incoming
Comments: To: Roland Bless <bless@telematik.informatik.uni-karlsruhe.de>
Comments: cc: ctan-ann@dante.de
To: Multiple recipients of list CTAN-ANN
              <CTAN-ANN@RELAY.URZ.UNI-HEIDELBERG.DE>
In-Reply-To:  <200002231509.QAA18222@blackfoot.telematik.informatik.uni-karlsruhe.de>

Roland Bless writes:

 > - I just uploaded the ps2eps-Tool (ps2eps.tar.gz and README.ps2eps)
 >   in CTAN /incoming of ftp.dante.de. Sorry, but I accidentially
 >   put README.txt in /incoming and could not delete it.
 >
 > - I suggest that the archive and README should reside in "support/ps2eps=
".
 >
 > - The program is licensed under gpl.
 >
 > - ps2eps is a tool to produce Encapsulated PostScript Files (EPS/EPSF)
 >   from usual one-paged Postscript documents. It calculates correct
 >   Bounding Boxes for those EPS files and filters some special postscript
 >   command sequences that can produce errorneous results on printers. EPS
 >   files are needed for including (scalable) graphics into TeX documents.=
 I
 >   found out that other programs like "ps2epsi" didn't calculate the
 >   bounding box always correct (because the values are put on the
 >   postscript stack which may get corrupted by bad postscript code) or
 >   rounded it off so that clipping the EPS cutted off some part of the
 >   image. Therefore ps2eps uses a resolution of 144 dpi to get the correc=
t
 >   bounding box.
 >   ps2eps needs perl, ghostscript and an ANSI-C compiler if your platform
 >   is not Linux, Solaris, Digital Unix or Windows 2000/9x/NT (binaries
 >   included).

Thanks a lot for the upload. As suggested, I installed it in

  support/ps2eps

For the CTAN Team
  Rainer Sch=1B.A=1BNvpf

----Next_Part(Wed_Feb_23_18:16:08_2000_601)----


From groff-admin  Wed Feb 23 21:09:49 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id VAA05528
	for <groff@ffii.org>; Wed, 23 Feb 2000 21:09:42 +0100
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id PAA18596
	for <groff@gnu.org>; Wed, 23 Feb 2000 15:09:27 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id MAA13050
	for groff@gnu.org; Wed, 23 Feb 2000 12:09:16 -0800 (PST)
Date: Wed, 23 Feb 2000 12:09:16 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Wed, 23 Feb 00 11:49:12 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002231949.AA22075@synchrods.synchrods.COM>
To: sx0005@sx2.hrz.uni-dortmund.de
Subject: Re: [Groff] Re: grn problems with xditview
Cc: groff@gnu.org
Content-Type: text
Status: O
Content-Length: 960
Lines: 33

Werner,

>> I modified the grn code, but after I found out that groff doesn't
>> accept fractional values for points, e.g. \D't 0.15p'.  So if you
>> pick the minimum linewidth equal to \D't 1p', it's way too thick
>> that is what you wanted to avoid in the first place.  Do you have
>> any other unit in groff that can fractioned to make the equivalent
>> of 0.15p?
>
>I've just tested with the following pic code:
>
>.PS
>arrow thickness 0.5;
>.PE
>
>and it contains a line
>
>\D't 0.500p'\h'-0.500p'
>
>so groff accepts fractional values for points.

Yes. I inadvertently changed the width commands in my test file
(e.g. thick = medium = narrow = 1) so that all lines were equal
and minimum width. The code is going in a separate mail.

Incidentally, I also checked this upgraded code with xditpsview
and although it looks good in terms of the line thickness, the
position of the whole figure is different from what the 'ps'
output is. Check it out.

Dan



From groff-admin  Thu Feb 24 08:49:55 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id IAA22769
	for <groff@ffii.org>; Thu, 24 Feb 2000 08:49:55 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id CAA12246
	for <groff@gnu.org>; Thu, 24 Feb 2000 02:49:56 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Thu, 24 Feb 2000 08:49:54 +0100
Received: from rigel.univie.ac.at (dial-143181.HRZ.Uni-Dortmund.DE [129.217.143.181])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id IAA26701
	for <groff@gnu.org>; Thu, 24 Feb 2000 08:49:54 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id HAA01762
	for <groff@gnu.org>; Thu, 24 Feb 2000 07:37:56 GMT
To: groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000224073756H.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 24 Feb 2000 07:37:56 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] grn line thicknesses
Status: O
Content-Length: 180
Lines: 11

Daniel,


I've applied your patches, slightly modified -- check for the
BASE_THICKNESS macro.

What do you think about adding a grn command to adjust BASE_THICKNESS?


    Werner


From groff-admin  Thu Feb 24 08:50:13 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id IAA22812
	for <groff@ffii.org>; Thu, 24 Feb 2000 08:50:12 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id CAA12260
	for <groff@gnu.org>; Thu, 24 Feb 2000 02:50:13 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Thu, 24 Feb 2000 08:49:56 +0100
Received: from rigel.univie.ac.at (dial-143181.HRZ.Uni-Dortmund.DE [129.217.143.181])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id IAA26706;
	Thu, 24 Feb 2000 08:49:55 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id HAA01751;
	Thu, 24 Feb 2000 07:29:37 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
Subject: Re: [Groff] Re: grn problems with xditview
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002231949.AA22075@synchrods.synchrods.COM>
References: <10002231949.AA22075@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000224072936R.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 24 Feb 2000 07:29:36 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 728
Lines: 17

> Incidentally, I also checked this upgraded code with xditpsview and
> although it looks good in terms of the line thickness, the position
> of the whole figure is different from what the 'ps' output is.
> Check it out.

Indeed, it is incorrectly positioned.  I strongly believe that it is
possible to remove the dependency on `res' completely (which is the
culprit, I think) -- I don't know exactly how a gremlin graphics file
must look like (BTW, it might me a good idea to add a section to
grn.man, documenting the format), but I can imagine that
device-independent code for groff solves this problem also.

In case you do some work towards this direction, please send patches
relative to groff's grn version.


    Werner


From groff-admin  Thu Feb 24 19:00:14 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id TAA26611
	for <groff@ffii.org>; Thu, 24 Feb 2000 19:00:06 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id NAA14414
	for <groff@gnu.org>; Thu, 24 Feb 2000 13:00:01 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Thu, 24 Feb 2000 18:59:38 +0100
Received: from rigel.univie.ac.at (dial-143157.HRZ.Uni-Dortmund.DE [129.217.143.157])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id SAA22491;
	Thu, 24 Feb 2000 18:59:37 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id RAA03395;
	Thu, 24 Feb 2000 17:57:19 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
Subject: Re: [Groff] -s flag
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002231758.AA21763@synchrods.synchrods.COM>
References: <10002231758.AA21763@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000224175718D.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 24 Feb 2000 17:57:18 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 390
Lines: 11

> I picked groff-current and noticed that you documented in the
> man page of grn the -s flag. I purposedly left it out because
> groff doesn't provide both options \D'P...' and \D'p...' that
> are outlined and not-outlined shaded polygons.

You mean that groff's behaviour of \D'P...' and \D'p...' differ from
the original ditroff?  This should be fixed.  Patches please :-)


    Werner


From groff-admin  Thu Feb 24 19:08:09 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id TAA26800
	for <groff@ffii.org>; Thu, 24 Feb 2000 19:08:00 +0100
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id NAA17280
	for <groff@gnu.org>; Thu, 24 Feb 2000 13:07:49 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id KAA02560
	for groff@gnu.org; Thu, 24 Feb 2000 10:07:37 -0800 (PST)
Date: Thu, 24 Feb 2000 10:07:37 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Thu, 24 Feb 00 09:56:01 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002241756.AA23394@synchrods.synchrods.COM>
To: sx0005@sx2.hrz.uni-dortmund.de
Subject: Re: [Groff] Re: grn problems with xditview
Cc: groff@gnu.org
Content-Type: text
Status: O
Content-Length: 1958
Lines: 56

Werner,

>> Incidentally, I also checked this upgraded code with xditpsview and
>> although it looks good in terms of the line thickness, the position
>> of the whole figure is different from what the 'ps' output is.
>> Check it out.
>
>Indeed, it is incorrectly positioned.  I strongly believe that it is
>possible to remove the dependency on `res' completely (which is the
>culprit, I think) --

The difference between the xpsditview and ps outputs seems to be
significantly larger than any error that the usage of 'res' would
cause. It's about 1 cm more to the left.

I don't know exactly how a gremlin graphics file
>must look like (BTW, it might me a good idea to add a section to
>grn.man, documenting the format), but I can imagine that

I have a document quite thick that has a tutorial and a
description of the gremlin file format. Unfortunately I don't
have it in a computer form. Give me a snail mail address and I
send it to you.

I noticed that you left in the man page the -s flag, isn't it
more confusing than deleting it or changing to something else?
Don't forget that if you use the -s flag to shaded polygons won't
come out. In any case, the most useful feature would be to have
the capability of overlapping patterns on top of polygons, if you
don't want them, just don't draw them.

>device-independent code for groff solves this problem also.
>
>In case you do some work towards this direction, please send patches
>relative to groff's grn version.

I will.

>I've applied your patches, slightly modified -- check for the
>BASE_THICKNESS macro.
>
>What do you think about adding a grn command to adjust BASE_THICKNESS?

grn has already the option of adjusting the line thickness
individually, that is a more flexible feature (thick = x, narrow
= y, etc.). What I would have is an option to change it at
compile time in case some new device starts acting up. So I
would do:

#ifndef BASE_THICKNESS
#def BASE_THICKNESS 0.15
#endif

Dan



From groff-admin  Thu Feb 24 19:22:51 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id TAA26922
	for <groff@ffii.org>; Thu, 24 Feb 2000 19:22:43 +0100
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id NAA21625
	for <groff@gnu.org>; Thu, 24 Feb 2000 13:22:33 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id KAA02838
	for groff@gnu.org; Thu, 24 Feb 2000 10:22:22 -0800 (PST)
Date: Thu, 24 Feb 2000 10:22:22 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Thu, 24 Feb 00 10:10:07 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002241810.AA23507@synchrods.synchrods.COM>
To: sx0005@sx2.hrz.uni-dortmund.de
Subject: Re: [Groff] -s flag
Cc: groff@gnu.org
Content-Type: text
Status: O
Content-Length: 4924
Lines: 167

>> I picked groff-current and noticed that you documented in the
>> man page of grn the -s flag. I purposedly left it out because
>> groff doesn't provide both options \D'P...' and \D'p...' that
>> are outlined and not-outlined shaded polygons.
>
>You mean that groff's behaviour of \D'P...' and \D'p...' differ from
>the original ditroff?  This should be fixed.  Patches please :-)

    \D'P and \D'p are not the only things that are different
between groff and the original ditroff. In fact most of the work
in modifying grn was due to the fact that MOST of the drawing
commands are different. For your information, I include below
the man page with the drawing commands in ditroff.

>.TH TRCHANGES l
>.de P1
>.nf
>.ta 5 10 15 20 25 30 35 40 45 50 55 60
>.sp 1
>..
>.de P2
>.fi
>.sp 1
>..
>.hy 14	\"2=not last lines; 4= no -xx; 8=no xx-
>.SH COMMAND LINE ARGUMENTS
>.PP
>The argument
>.BI \-P xxx
>loads parameters and character definitions for typesetter
>.IR xxx ,
>which at the moment is typically one of
>.IR ip " (imagen),"
>.IR va " (varian),"
>.IR vp " (versatec)"
>or
>.IR ter " (terminal or printer)."
>.PP
>.BI -F yyy
>causes font information to be loaded from directory
>.I yyy
>instead of the default
>.BI /usr/lib/font/dev xxx.
>.SH GRAPHICS COMMANDS
>.PP
>The most significant new facility is the ability to draw
>simple graphical objects  
>\(em diagonal lines, circles, ellipses, arcs, splines, and filled polygons \(em
>in TROFF .
>.PP
>The new graphical commands are
>.P1
>.ta 1i
>\eD'l\f2 dh dv\fP'
>	draw line from current position by \f2dh, dv\fP
>\eD'c\f2 d\fP'
>	draw circle of diameter \f2d\fP with left side at current position
>\eD'e\f2 d1 d2\fP'
>	draw ellipse of diameters \f2d1 d2\fP
>\eD'a\f2 dh1 dv1 dh2 dv2\fP'
>	draw arc counter-clockwise from current position to \f2dh1+dh2
>	dv1+dv2\fP, with center at \f2dh1 dv1\fP from current position
>\eD'~\f2 dh1 dv1 dh2 dv2 ...\fP'
>	draw B-spline from current position by \f2dh1 dv1\fP
>	then by \f2dh2, dv2\fP, then by \f2dh3, dv3\fP, then ...
>\eD'g\f2 dh1 dv1 dh2 dv2 ...\fP'
>	same as \eD'~\f2 dh1 ...\fP' except the gremlin spline
>	algorithm is used.
>\eD'p\f2 n dh1 dv1 dh2 dv2 ...\fP'
>	draw polygon using stipple \f2n\fP from current stipple font
>	starting at current position by \f2dh1 dv1\fP then by \f2dh2, dv2\fP,
>	then by \f2dh3, dv3\fP, then ...
>\eD'P\f2 n dh1 dv1 dh2 dv2 ...\fP'
>	same as \eD'p\f2 n dh1 ...\fP' except no border is printed.
>\eD't\f2 d\fP'
>	set line thickness to \f2d\fP (set to 3 units at startup).
>	The default units are ems, so \f2d\fP must be given in \f2u\fP
>	units if a number of pixels is needed.
>\eD's\f2 d\fP'
>	set line style to \f2d\fP (set to -1 at startup).  The value is
>	taken as a coordinate mask on the individual bits of the line.
>	The default units are ems, so \f2d\fP must be given in \f2u\fP units.
>.P2
>The position after a graphical object has been drawn is
>at its ``end'', where for circles and ellipses, the end
>is at the right side.
>As with other commands,
>default units are ems horizontally and line spaces vertically.
>.PP
>Realistically, these commands are not intended for direct use,
>but for preprocessors like PIC, IDEAL, and GRN.
>.SH Other new commands
>.PP
>.BI .sy " commandline"
>executes the command, then returns.
>Output is not captured anyplace.
>.PP
>.BI .cf " file"
>copies
>.I file
>into the TROFF output file at this point, uninterpreted.
>Havoc ensues unless the motions in the file
>restore current horizontal and vertical position.
>This command hasn't been used much,
>and is probably a bad idea anyway.
>.PP
>.BI .pi " program"
>(pipe the output into
>.IR program )
>now works in TROFF as well as NROFF,
>since it makes somewhat more sense to allow it.
>.PP
>.BI .st " stipple_font"
>loads
>.I stipple_font
>as the current font used to fill polygons, with each
>polygon command selecting one pattern number from the font.
>The available stipple fonts are listed in the "font" manual page.
>.PP
>The number register
>.B $$
>contains the process id of the TROFF process.
>.PP
>The string
>.B .T
>contains the name of the current typesetter
>(e.g.,
>.IR va ,
>.IR vp ,
>.IR ip ).
>.PP
>The
>.B .ft
>command causes the named font to be loaded on font position 0
>(which is in all other ways inaccessible) if the font exists
>and is not currently mounted by default or by a
>.B .fp
>command.
>The font must be still or again in position 0 when the line is printed.
>.PP
>Transparent mode (\e!) has been fixed so that transparent
>output actually appears in the output;
>thus special commands can be passed through to postprocessors
>by witchcraft like
>.P1
>\&.if "\e*(.T"va" \e!x ...
>.P2
>(If this makes no sense to you,
>you shouldn't be using it anyway.)
>.SH Deletions
>.PP
>The
>.B .fz
>and
>.B .li
>commands are no more.
>The
>.BR -p ,
>.B -g
>and
>.B +n
>command line arguments have also been eliminated,
>as has the
>.B hp
>number register.



From groff-admin  Thu Feb 24 22:39:58 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id WAA28126
	for <groff@ffii.org>; Thu, 24 Feb 2000 22:39:55 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id QAA19165
	for <groff@gnu.org>; Thu, 24 Feb 2000 16:39:58 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Thu, 24 Feb 2000 22:39:39 +0100
Received: from rigel.univie.ac.at (dial-143132.HRZ.Uni-Dortmund.DE [129.217.143.132])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id WAA26974;
	Thu, 24 Feb 2000 22:39:38 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id VAA04919;
	Thu, 24 Feb 2000 21:01:43 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
Subject: Re: [Groff] -s flag
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002241810.AA23507@synchrods.synchrods.COM>
References: <10002241810.AA23507@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000224210143U.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 24 Feb 2000 21:01:43 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 572
Lines: 16

> >You mean that groff's behaviour of \D'P...' and \D'p...' differ
> >from the original ditroff?  This should be fixed.  Patches please
> >:-)
> 
>     \D'P and \D'p are not the only things that are different between
> groff and the original ditroff.  In fact most of the work in
> modifying grn was due to the fact that MOST of the drawing commands
> are different.  For your information, I include below the man page
> with the drawing commands in ditroff.

Thanks a lot for the info!  Does somebody know why groff's drawing
capabilities are so different?


    Werner


From groff-admin  Thu Feb 24 22:40:01 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id WAA28128
	for <groff@ffii.org>; Thu, 24 Feb 2000 22:39:57 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id QAA19170
	for <groff@gnu.org>; Thu, 24 Feb 2000 16:40:00 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Thu, 24 Feb 2000 22:39:41 +0100
Received: from rigel.univie.ac.at (dial-143132.HRZ.Uni-Dortmund.DE [129.217.143.132])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id WAA26977;
	Thu, 24 Feb 2000 22:39:40 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id UAA04901;
	Thu, 24 Feb 2000 20:41:13 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
Subject: Re: [Groff] Re: grn problems with xditview
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002241756.AA23394@synchrods.synchrods.COM>
References: <10002241756.AA23394@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000224204113A.sx0005@sx2.hrz.uni-dortmund.de>
Date: Thu, 24 Feb 2000 20:41:13 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 1056
Lines: 28

> I have a document quite thick that has a tutorial and a description
> of the gremlin file format.  Unfortunately I don't have it in a
> computer form.  Give me a snail mail address and I send it to you.

Thanks for the offer, but I fear I don't have enough time to learn
gremlin...

> I noticed that you left in the man page the -s flag, isn't it more
> confusing than deleting it or changing to something else?  Don't
> forget that if you use the -s flag to shaded polygons won't come
> out.  In any case, the most useful feature would be to have the
> capability of overlapping patterns on top of polygons, if you don't
> want them, just don't draw them.

I will delete it -- shall I delete the whole `-s' stuff from grn also?
Or do you plan to extend groff's drawing capabilities?

> >What do you think about adding a grn command to adjust BASE_THICKNESS?
> 
> grn has already the option of adjusting the line thickness
> individually, that is a more flexible feature (thick = x, narrow =
> y, etc).

But here you can only use integers.


    Werner


From groff-admin  Fri Feb 25 00:23:36 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA28901
	for <groff@ffii.org>; Fri, 25 Feb 2000 00:23:35 +0100
Received: from zabriskie.EECS.Berkeley.EDU (zabriskie.EECS.Berkeley.EDU [128.32.139.25])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id SAA01199
	for <groff@gnu.org>; Thu, 24 Feb 2000 18:23:40 -0500
Received: (from adm@localhost)
	by zabriskie.EECS.Berkeley.EDU (8.8.5/8.8.5) id PAA07523
	for groff@gnu.org; Thu, 24 Feb 2000 15:23:39 -0800 (PST)
Date: Thu, 24 Feb 2000 15:23:39 -0800 (PST)
X-Authentication-Warning: zabriskie.EECS.Berkeley.EDU: adm set sender to daniel@synchrods.synchrods.COM using -f
>Date: Thu, 24 Feb 00 15:10:44 PST
From: daniel@synchrods.synchrods.COM (Daniel Senderowicz)
Message-Id: <10002242310.AA24085@synchrods.synchrods.COM>
To: sx0005@sx2.hrz.uni-dortmund.de
Subject: Re: [Groff] Re: grn problems with xditview
Cc: groff@gnu.org
Content-Type: text
Status: O
Content-Length: 1514
Lines: 45

>> I have a document quite thick that has a tutorial and a description
>> of the gremlin file format.  Unfortunately I don't have it in a
>> computer form.  Give me a snail mail address and I send it to you.
>
>Thanks for the offer, but I fear I don't have enough time to learn
>gremlin...

OK. I'll type the gremlin file format and send it one of these
days.

>I will delete it -- shall I delete the whole `-s' stuff from grn also?
>Or do you plan to extend groff's drawing capabilities?

Just delete it from the man page. If I come out with an idea it
will be handy to have the code already written for a flag.

>
>> >What do you think about adding a grn command to adjust BASE_THICKNESS?
>> 
>> grn has already the option of adjusting the line thickness
>> individually, that is a more flexible feature (thick = x, narrow =
>> y, etc).
>
>But here you can only use integers.

You're right. The original man page says:

"Set the thickness of gremlin's narrow (medium or thick) lines
to N. The default is 1 (3 and 5) pixels."

So having an integer as a scaling factor makes sense only if
you're magnifying the minimum quantum (pixels), but now that we
are using points, we can switch it to a floating point number
(patch sent). The man page should also be modified to
something like:

narrow N
   (medium, or thick) Sets the thickness of gremlin's narrow
   (medium or thick) lines to N * BASE_THICKNESS. The default for N
   is 1 (3 and 5). BASE_THICKNESS is 0.15p that can be modified at
   compile time

Dan



From groff-admin  Fri Feb 25 08:16:46 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id IAA11990
	for <groff@ffii.org>; Fri, 25 Feb 2000 08:16:45 +0100
From: ebiz@navegalia.com
Received: from servidor1.cip.es (cip.es [195.76.105.5] (may be forged))
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id CAA27124
	for <groff@gnu.org>; Fri, 25 Feb 2000 02:16:52 -0500
Date: Fri, 25 Feb 2000 02:16:52 -0500
Message-Id: <200002250716.CAA27124@mescaline.gnu.org>
Received: from navegalia.com ([212.7.45.198]) by servidor1.cip.es
          (Netscape Mail Server v1.1) with SMTP id GUU236
          for <groff@gnu.org>; Fri, 25 Feb 2000 06:59:17 +0000
To: groff@gnu.org
Subject: [Groff] "HAZ DINERO DE INMEDIATO!!! o CASI
Status: O
Content-Length: 1053
Lines: 31

Hola,

Puede que usted sea una persona que le interesan las oportunidades;
si estoy en un error, por favor una disculpa.

Gane de $40-100 USD diarios. Resultados en 24 horas!!

Utilice nuestro Sistema Automatizado de Promocion. Es muy facil.

Solicite informes enviando un email en blanco al visitar nuestra pagina en:


http://nikkei.st/to/ebiz/
http://ebiz.turincon.com/
http://ir-a.net/hismark/
http://miweb.antikton.com/ebiz/

Si encuentra que algunos de estos links no funciona, visite el siguiente. Se agradece informe del
fallo

O envie un email a:

<mailto:info-ebiz@eudoramail.com?subject=informacion>

Gracias por su atencion
-----------------------------------------------------------------------------------------------------------------------------------------
Puede borrarse de la lista en cualquiera de las direcciones ofrecidas. No obstante este email
solo lo recibira esta vez desde esta direccion por lo que no es necesario darse de baja.
Por otro lado el envio de este email es legal desde el punto de vista de las leyes españolas.



From groff-admin  Fri Feb 25 15:06:23 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id PAA14550
	for <groff@ffii.org>; Fri, 25 Feb 2000 15:06:21 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id JAA10902
	for <groff@gnu.org>; Fri, 25 Feb 2000 09:06:29 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 25 Feb 2000 15:06:18 +0100
Received: from rigel.univie.ac.at (dial-143136.HRZ.Uni-Dortmund.DE [129.217.143.136])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id PAA02529;
	Fri, 25 Feb 2000 15:05:59 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id KAA00497;
	Fri, 25 Feb 2000 10:08:24 GMT
To: daniel@synchrods.synchrods.COM
Cc: groff@gnu.org
Subject: Re: [Groff] Re: grn problems with xditview
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <10002242310.AA24085@synchrods.synchrods.COM>
References: <10002242310.AA24085@synchrods.synchrods.COM>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000225100824K.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 25 Feb 2000 10:08:24 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 573
Lines: 15

> So having an integer as a scaling factor makes sense only if you're
> magnifying the minimum quantum (pixels), but now that we are using
> points, we can switch it to a floating point number (patch sent).
> The man page should also be modified to something like:
> 
> narrow N
>    (medium, or thick) Sets the thickness of gremlin's narrow
>    (medium or thick) lines to N * BASE_THICKNESS. The default for N
>    is 1 (3 and 5). BASE_THICKNESS is 0.15p that can be modified at
>    compile time

OK, I'll change atoi() to atof() for `narrow' and friends.


    Werner


From groff-admin  Fri Feb 25 22:46:34 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id WAA17989
	for <groff@ffii.org>; Fri, 25 Feb 2000 22:46:31 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id QAA19548
	for <groff@gnu.org>; Fri, 25 Feb 2000 16:46:39 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Fri, 25 Feb 2000 22:46:32 +0100
Received: from rigel.univie.ac.at (dial-143132.HRZ.Uni-Dortmund.DE [129.217.143.132])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id WAA13988
	for <groff@gnu.org>; Fri, 25 Feb 2000 22:46:31 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id SAA00882
	for <groff@gnu.org>; Fri, 25 Feb 2000 18:36:41 GMT
To: groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000225183640A.sx0005@sx2.hrz.uni-dortmund.de>
Date: Fri, 25 Feb 2000 18:36:40 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] \lefthyphenmin, \righthyphenmin in groff
Status: O
Content-Length: 195
Lines: 9

It seems that \{left,right}hyphenmin (to use TeX's terminology) is
always set to 2 (using th .hy request)

I haven't yet checked the code, but shouldn't be that made more
flexible?


    Werner


From groff-admin  Sat Feb 26 21:25:12 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id VAA09860
	for <groff@ffii.org>; Sat, 26 Feb 2000 21:25:11 +0100
Received: from partagas.dragonet.es (IDENT:root@dragonet.es [194.179.92.130])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id PAA06139
	for <groff@gnu.org>; Sat, 26 Feb 2000 15:25:26 -0500
Received: from Trantor.Trnet.org (dinamic1-85.drago.net [195.76.196.85]) by partagas.dragonet.es (8.9.3/8.7.3) with ESMTP id VAA08519 for <groff@gnu.org>; Sat, 26 Feb 2000 21:20:11 GMT
Received: from Trantor.dragonet.es (22627 bytes) by Trantor.Trnet.org
	via smail with P:bsmtp/R:smart_host/T:smtp
	(sender: <pandres@dragonet.es>) 
	id <m12Onm5-000XzfC@Trantor.Trnet.org>
	for <groff@gnu.org>; Sat, 26 Feb 2000 21:25:13 +0100 (CET)
	(Smail-3.2.0.102 1998-Aug-2 #2 built 1998-Oct-13)
Received: from localhost (really [127.0.0.1]) by Trantor.Trnet.org
	via in.smtpd with esmtp
	id <m12OnlW-0008UsC@Trantor.Trnet.org> (Debian Smail3.2.0.102)
	for <groff@gnu.org>; Sat, 26 Feb 2000 21:24:38 +0100 (CET) 
Date: Sat, 26 Feb 2000 21:24:37 +0100 (CET)
From: Paco Andres Verdu <pandres@dragonet.es>
Reply-To: =?iso-8859-1?Q?Paco_Andr=E9s_Verd=FA?= <pandres@dragonet.es>
To: groff@gnu.org
Message-ID: <Pine.LNX.3.96.1000226201513.3937A-200000@Trantor.Trnet.org>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-24745039-951593047=:3937"
Content-ID: <Pine.LNX.3.96.1000226211759.3937C@Trantor.Trnet.org>
Subject: [Groff] New version of the grolbp driver
Status: O
Content-Length: 21832
Lines: 379

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--8323328-24745039-951593047=:3937
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine.LNX.3.96.1000226211759.3937D@Trantor.Trnet.org>

Hi,

	I've put an updated version of the grolbp driver at the usual place
   <http://www1.dragonet.es/~pandres/canon/patch-lbp.gz>.

   	For those who missed my previous posting, grolbp is a groff driver for
   the Canon printers which use the CAPSL page	description language (lbp-4 and
   lbp-8 series laser printers).

   The main changes over the previous version are:
   	
       - A very flexible paper size selection mechanism.
       - A bunch of command line options (to select the page orientation, size,
	  number of copies, etc). See the attached man page for the full
	  listing.
       - Support for all the fonts shipped with the printer (at least with the
	  lbp-8 III Plus).
       - An improved man page.
       - Adapted to the new groff directory layout.

       I've attached the man page to this message, take a look at it if you are
    interested in the driver features.

       Currently the driver has been tested only on a Debian/Linux system, so I
   would like to know if there are any problems compiling or running the driver
   on other platforms.
	
       The distributed driver is a patch for the current CVS tree, to apply the
   patch cd to the directory where you have the groff sources and issue this
   command:
            zcat path_where_the_patch_is/patch-lbp.gz | patch -p1


PS: Werner, can you take a look a it, and tell me if it's ready for inclusion 
   in the CVS tree ?. Of course I would volunteer to maintain the driver.
   
 
-----------------------------------------------------------------------------
Paco Andrés Verdú                                     pandres@dragonet.es
Alicante (Spain)                                              


--8323328-24745039-951593047=:3937
Content-Type: TEXT/PLAIN; CHARSET=iso-8859-1; NAME="grolbp.n"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.1000226202407.3937B@Trantor.Trnet.org>
Content-Description: Man page

LmlmICFcbiguZyAuYWIgR05VIHRibCByZXF1aXJlcyBHTlUgdHJvZmYuDQou
aWYgIWRUUyAuZHMgVFMNCi5pZiAhZFRFIC5kcyBURQ0KLmxmIDEgZ3JvbGJw
Lm1hbi5zcmMNCi5pZyBcIi0qLSBucm9mZiAtKi0NCkNvcHlyaWdodCAoQykg
MTk5NCwgMTk5NSwgMTk5OSBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb24sIElu
Yy4NCg0KUGVybWlzc2lvbiBpcyBncmFudGVkIHRvIG1ha2UgYW5kIGRpc3Ry
aWJ1dGUgdmVyYmF0aW0gY29waWVzIG9mDQp0aGlzIG1hbnVhbCBwcm92aWRl
ZCB0aGUgY29weXJpZ2h0IG5vdGljZSBhbmQgdGhpcyBwZXJtaXNzaW9uIG5v
dGljZQ0KYXJlIHByZXNlcnZlZCBvbiBhbGwgY29waWVzLg0KDQpQZXJtaXNz
aW9uIGlzIGdyYW50ZWQgdG8gY29weSBhbmQgZGlzdHJpYnV0ZSBtb2RpZmll
ZCB2ZXJzaW9ucyBvZiB0aGlzDQptYW51YWwgdW5kZXIgdGhlIGNvbmRpdGlv
bnMgZm9yIHZlcmJhdGltIGNvcHlpbmcsIHByb3ZpZGVkIHRoYXQgdGhlDQpl
bnRpcmUgcmVzdWx0aW5nIGRlcml2ZWQgd29yayBpcyBkaXN0cmlidXRlZCB1
bmRlciB0aGUgdGVybXMgb2YgYQ0KcGVybWlzc2lvbiBub3RpY2UgaWRlbnRp
Y2FsIHRvIHRoaXMgb25lLg0KDQpQZXJtaXNzaW9uIGlzIGdyYW50ZWQgdG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gbGFuZHNjYXBlLg0KDQoNCi5TSCBGSUxFUw0KLlRQ
DQouQiAvdXNyL2xvY2FsL3NoYXJlL2dyb2ZmL2ZvbnQvZGV2bGJwL0RFU0MN
CkRldmljZSBkZXNjcmlwdGlvbiBmaWxlLg0KLlRQDQouQiAvdXNyL2xvY2Fs
L3NoYXJlL2dyb2ZmL2ZvbnQvZGV2bGJwLyBGDQpGb250IGRlc2NyaXB0aW9u
IGZpbGUgZm9yIGZvbnQNCi5JUiBGIC4NCi5TSCAiU0VFIEFMU08iDQouQlIg
Z3JvZmYgKDEpLA0KLkJSIHRyb2ZmICgxKSwNCi5CUiBlcW4gKDEpLA0KLkJS
IGdyb2ZmX291dCAoNSksDQouQlIgZ3JvZmZfZm9udCAoNSksDQouQlIgZ3Jv
ZmZfY2hhciAoNyksDQo=
--8323328-24745039-951593047=:3937--


From groff-admin  Sun Feb 27 02:49:47 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id CAA12401
	for <groff@ffii.org>; Sun, 27 Feb 2000 02:49:46 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id UAA18599
	for <groff@gnu.org>; Sat, 26 Feb 2000 20:50:05 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Sun, 27 Feb 2000 02:49:49 +0100
Received: from rigel.univie.ac.at (dial-143161.HRZ.Uni-Dortmund.DE [129.217.143.161])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id CAA27919;
	Sun, 27 Feb 2000 02:49:48 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id BAA02903;
	Sun, 27 Feb 2000 01:45:43 GMT
To: pandres@dragonet.es
Cc: groff@gnu.org
Subject: Re: [Groff] New version of the grolbp driver
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <Pine.LNX.3.96.1000226201513.3937A-200000@Trantor.Trnet.org>
References: <Pine.LNX.3.96.1000226201513.3937A-200000@Trantor.Trnet.org>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000227014542G.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sun, 27 Feb 2000 01:45:42 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 264
Lines: 10

> PS: Werner, can you take a look a it, and tell me if it's ready for
> inclusion in the CVS tree?  Of course I would volunteer to maintain
> the driver.

Applied!  Thanks a lot.  I've improved the man page and some other
small things.  Please test.


    Werner


From groff-admin  Sun Feb 27 22:46:38 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id WAA14667
	for <groff@ffii.org>; Sun, 27 Feb 2000 22:46:37 +0100
Received: from partagas.dragonet.es (IDENT:root@dragonet.es [194.179.92.130])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id QAA03313
	for <groff@gnu.org>; Sun, 27 Feb 2000 16:47:01 -0500
Received: from Trantor.Trnet.org (dinamic1-243.drago.net [195.76.196.243]) by partagas.dragonet.es (8.9.3/8.7.3) with ESMTP id WAA06954 for <groff@gnu.org>; Sun, 27 Feb 2000 22:41:42 GMT
Received: from Trantor.dragonet.es (1760 bytes) by Trantor.Trnet.org
	via smail with P:bsmtp/R:smart_host/T:smtp
	(sender: <pandres@dragonet.es>) 
	id <m12PBWb-000XzfC@Trantor.Trnet.org>
	for <groff@gnu.org>; Sun, 27 Feb 2000 22:46:49 +0100 (CET)
	(Smail-3.2.0.102 1998-Aug-2 #2 built 1998-Oct-13)
Received: from localhost (really [127.0.0.1]) by Trantor.Trnet.org
	via in.smtpd with esmtp
	id <m12PB75-0008UsC@Trantor.Trnet.org> (Debian Smail3.2.0.102)
	for <groff@gnu.org>; Sun, 27 Feb 2000 22:20:27 +0100 (CET) 
Date: Sun, 27 Feb 2000 22:20:27 +0100 (CET)
From: Paco Andres Verdu <pandres@dragonet.es>
Reply-To: =?iso-8859-1?Q?Paco_Andr=E9s_Verd=FA?= <pandres@dragonet.es>
To: Werner LEMBERG <wl@gnu.org>
cc: groff@gnu.org
Subject: Re: [Groff] New version of the grolbp driver
In-Reply-To: <20000227014542G.sx0005@sx2.hrz.uni-dortmund.de>
Message-ID: <Pine.LNX.3.96.1000227214209.2879A-100000@Trantor.Trnet.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
Status: O
Content-Length: 922
Lines: 26

> Applied!  Thanks a lot.  I've improved the man page and some other
> small things.  Please test.

     The man page looks better with your changes, thanks. Also the "break"
bug you solved was something I overlooked.

     The only problem that I've found is with the removal of the tbl
preprocessing when generating grolbp.n.

     Without that preprocessing the man program doesn't display the table
included in the page (it shows the table source), this can be solved by using
the '-p t' option to man, but I feel that typing "man grolbp" without
options should display the page correctly.

     Maybe the problem is related to the man version I'm using (version
2.3.10 on a Debian 2.1 system).


 

-----------------------------------------------------------------------------
Paco Andrés Verdú                                     pandres@dragonet.es
Alicante (Spain)                                              




From groff-admin  Mon Feb 28 00:28:52 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA15419
	for <groff@ffii.org>; Mon, 28 Feb 2000 00:28:51 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id SAA13368
	for <groff@gnu.org>; Sun, 27 Feb 2000 18:29:17 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Mon, 28 Feb 2000 00:29:10 +0100
Received: from rigel.univie.ac.at (dial-143165.HRZ.Uni-Dortmund.DE [129.217.143.165])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id AAA21959;
	Mon, 28 Feb 2000 00:29:07 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id XAA06385;
	Sun, 27 Feb 2000 23:26:14 GMT
To: pandres@dragonet.es
Cc: groff@gnu.org
Subject: Re: [Groff] New version of the grolbp driver
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <Pine.LNX.3.96.1000227214209.2879A-100000@Trantor.Trnet.org>
References: <20000227014542G.sx0005@sx2.hrz.uni-dortmund.de>
	<Pine.LNX.3.96.1000227214209.2879A-100000@Trantor.Trnet.org>
X-Mailer: Mew version 1.94 on Emacs 20.5 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000227232613V.sx0005@sx2.hrz.uni-dortmund.de>
Date: Sun, 27 Feb 2000 23:26:13 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 984
Lines: 28

>      The only problem that I've found is with the removal of the tbl
> preprocessing when generating grolbp.n.
> 

>      Without that preprocessing the man program doesn't display the
> table included in the page (it shows the table source), this can be
> solved by using the '-p t' option to man, but I feel that typing
> "man grolbp" without options should display the page correctly.
> 
>      Maybe the problem is related to the man version I'm using (version
> 2.3.10 on a Debian 2.1 system).

My man system automatically uses `-t' (resp. can be adjusted with an
environment variable).  The very problem is that if you do

  tbl < grolbp.man > grolbp.tbl.man

and then view `grolbp.tbl.man' with the -t option (i.e. calling the
tbl preprocessor again), a large portion of the man page is silently
cut out...

Thus I believe it is better to not call tbl in advance -- there is the
`grog' command to assist people in finding out which preprocessor
should be used.


    Werner


From groff-admin  Mon Feb 28 15:56:46 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id PAA02029
	for <groff@ffii.org>; Mon, 28 Feb 2000 15:56:43 +0100
Received: from maxwell.phys.lafayette.edu (maxwell.phys.lafayette.edu [139.147.200.41])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id JAA11655
	for <groff@gnu.org>; Mon, 28 Feb 2000 09:57:02 -0500
Received: from localhost (doughera@localhost)
	by maxwell.phys.lafayette.edu (8.9.3/8.9.3) with ESMTP id JAA29543
	for <groff@gnu.org>; Mon, 28 Feb 2000 09:57:23 -0500 (EST)
X-Authentication-Warning: maxwell.phys.lafayette.edu: doughera owned process doing -bs
Date: Mon, 28 Feb 2000 09:57:23 -0500 (EST)
From: Andy Dougherty <doughera@lafayette.edu>
X-Sender: doughera@maxwell.phys.lafayette.edu
To: groff@gnu.org
Subject: Re: [Groff] New version of the grolbp driver
In-Reply-To: <20000227232613V.sx0005@sx2.hrz.uni-dortmund.de>
Message-ID: <Pine.SOL.4.10.10002280944290.29530-100000@maxwell.phys.lafayette.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 954
Lines: 31

On Sun, 27 Feb 2000, Werner LEMBERG wrote:

> >      The only problem that I've found is with the removal of the tbl
> > preprocessing when generating grolbp.n.

> My man system automatically uses `-t' (resp. can be adjusted with an
> environment variable).

> Thus I believe it is better to not call tbl in advance -- there is the
> `grog' command to assist people in finding out which preprocessor
> should be used.

There is a very widespread convention to embed the necessary preprocessor
commands as a comment in the first line of the man page.  Thus, if you
want to use tbl, you put

	 '\" t

as the first line in the file.  If you want both tbl and eqn, you put

	 '\" te

The man package shipped with most linux distributions honors this
directive.  You can run man --debug to see what preprocessors the man
program thinks it needs to run.

    Andy Dougherty		doughera@lafayette.edu
    Dept. of Physics
    Lafayette College, Easton PA 18042



From groff-admin  Mon Feb 28 16:04:13 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA02151
	for <groff@ffii.org>; Mon, 28 Feb 2000 16:04:10 +0100
Received: from titans.cisco.com (titans.cisco.com [161.44.216.10])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id KAA14263
	for <groff@gnu.org>; Mon, 28 Feb 2000 10:04:36 -0500
Received: from localhost (srich@localhost)
	by titans.cisco.com (8.8.8-Cisco List Logging/8.8.8) with ESMTP id KAA11275;
	Mon, 28 Feb 2000 10:03:40 -0500 (EST)
Date: Mon, 28 Feb 2000 10:03:40 -0500 (EST)
From: Steve Rich <srich@cisco.com>
To: Andy Dougherty <doughera@lafayette.edu>
cc: groff@gnu.org
Subject: Re: [Groff] New version of the grolbp driver
In-Reply-To: <Pine.SOL.4.10.10002280944290.29530-100000@maxwell.phys.lafayette.edu>
Message-ID: <Pine.GSO.4.05.10002281002550.26863-100000@titans.cisco.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: O
Content-Length: 1221
Lines: 43

Works on Solaris, too.

sjr

On Mon, 28 Feb 2000, Andy Dougherty wrote:

> On Sun, 27 Feb 2000, Werner LEMBERG wrote:
> 
> > >      The only problem that I've found is with the removal of the tbl
> > > preprocessing when generating grolbp.n.
> 
> > My man system automatically uses `-t' (resp. can be adjusted with an
> > environment variable).
> 
> > Thus I believe it is better to not call tbl in advance -- there is the
> > `grog' command to assist people in finding out which preprocessor
> > should be used.
> 
> There is a very widespread convention to embed the necessary preprocessor
> commands as a comment in the first line of the man page.  Thus, if you
> want to use tbl, you put
> 
> 	 '\" t
> 
> as the first line in the file.  If you want both tbl and eqn, you put
> 
> 	 '\" te
> 
> The man package shipped with most linux distributions honors this
> directive.  You can run man --debug to see what preprocessors the man
> program thinks it needs to run.
> 
>     Andy Dougherty		doughera@lafayette.edu
>     Dept. of Physics
>     Lafayette College, Easton PA 18042
> 
> 
> _______________________________________________
> Groff maillist  -  Groff@ffii.org
> http://ffii.org/mailman/listinfo/groff
> 



From groff-admin  Mon Feb 28 22:08:09 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id WAA04869
	for <groff@ffii.org>; Mon, 28 Feb 2000 22:08:08 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id QAA12283
	for <groff@gnu.org>; Mon, 28 Feb 2000 16:08:39 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Mon, 28 Feb 2000 22:08:26 +0100
Received: from rigel.univie.ac.at (dial-143171.HRZ.Uni-Dortmund.DE [129.217.143.171])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id WAA03845;
	Mon, 28 Feb 2000 22:08:24 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id UAA12416;
	Mon, 28 Feb 2000 20:55:57 GMT
To: doughera@lafayette.edu
Cc: groff@gnu.org
Subject: Re: [Groff] New version of the grolbp driver
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <Pine.SOL.4.10.10002280944290.29530-100000@maxwell.phys.lafayette.edu>
References: <20000227232613V.sx0005@sx2.hrz.uni-dortmund.de>
	<Pine.SOL.4.10.10002280944290.29530-100000@maxwell.phys.lafayette.edu>
X-Mailer: Mew version 1.94 on Emacs 20.6 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000228205556S.sx0005@sx2.hrz.uni-dortmund.de>
Date: Mon, 28 Feb 2000 20:55:56 GMT
X-Dispatcher: imput version 990905(IM130)
Status: O
Content-Length: 346
Lines: 15

> There is a very widespread convention to embed the necessary
> preprocessor commands as a comment in the first line of the man
> page.  Thus, if you want to use tbl, you put
> 
> 	 '\" t
> 
> as the first line in the file.  If you want both tbl and eqn, you put
> 
> 	 '\" te
> 

Thanks for the tip!  I'll add this to grolbp.man.


    Werner


From groff-admin  Tue Feb 29 11:37:09 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id LAA22983
	for <groff@ffii.org>; Tue, 29 Feb 2000 11:37:08 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id FAA21771;
	Tue, 29 Feb 2000 05:37:42 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Tue, 29 Feb 2000 11:37:37 +0100
Received: from rigel.univie.ac.at (dial-143169.HRZ.Uni-Dortmund.DE [129.217.143.169])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id LAA00333;
	Tue, 29 Feb 2000 11:37:36 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id KAA17856;
	Tue, 29 Feb 2000 10:35:18 GMT
To: groff@gnu.org, bug-groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.6 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000229103518M.sx0005@sx2.hrz.uni-dortmund.de>
Date: Tue, 29 Feb 2000 10:35:18 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] getopt added to groff
Status: O
Content-Length: 201
Lines: 10

Dear groff users.


I've added the GNU getopt files to groff.  Please test it (the changes
are available immediately from the CVS or in a few hours as the
groff-current.tar.gz snapshot).


    Werner


From groff-admin  Tue Feb 29 23:10:32 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id XAA27959
	for <groff@ffii.org>; Tue, 29 Feb 2000 23:10:21 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id RAA26564
	for <groff@gnu.org>; Tue, 29 Feb 2000 17:10:54 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Tue, 29 Feb 2000 23:10:53 +0100
Received: from rigel.univie.ac.at (dial-143171.HRZ.Uni-Dortmund.DE [129.217.143.171])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id XAA24317
	for <groff@gnu.org>; Tue, 29 Feb 2000 23:10:52 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id WAA18619
	for <groff@gnu.org>; Tue, 29 Feb 2000 22:05:08 GMT
To: groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
X-Mailer: Mew version 1.94 on Emacs 20.6 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000229220507N.sx0005@sx2.hrz.uni-dortmund.de>
Date: Tue, 29 Feb 2000 22:05:07 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] groff.texinfo revised
Status: O
Content-Length: 321
Lines: 14

Dear friends,


I've done a complete revision of groff.texinfo, adding a lot of index
entries, fixing some other problems.

Please check it whether incorrect information is given -- I know,
there are a lot of omissions which I hope to fill sooner or later...

Volunteers are highly welcome to contribute...


    Werner


From groff-admin  Wed Mar  1 00:30:33 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id AAA28661
	for <groff@ffii.org>; Wed, 1 Mar 2000 00:30:32 +0100
Received: from partagas.dragonet.es (IDENT:root@dragonet.es [194.179.92.130])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id SAA30414
	for <groff@gnu.org>; Tue, 29 Feb 2000 18:31:09 -0500
Received: from Trantor.Trnet.org (dinamic1-163.drago.net [195.76.196.163]) by partagas.dragonet.es (8.9.3/8.7.3) with ESMTP id AAA22589 for <groff@gnu.org>; Wed, 1 Mar 2000 00:25:22 GMT
Received: from Trantor.dragonet.es (1504 bytes) by Trantor.Trnet.org
	via smail with P:bsmtp/R:smart_host/T:smtp
	(sender: <pandres@dragonet.es>) 
	id <m12Pw6T-000XzfC@Trantor.Trnet.org>
	for <groff@gnu.org>; Wed, 1 Mar 2000 00:30:57 +0100 (CET)
	(Smail-3.2.0.102 1998-Aug-2 #2 built 1998-Oct-13)
Received: from localhost (really [127.0.0.1]) by Trantor.Trnet.org
	via in.smtpd with esmtp
	id <m12Pw6E-0008UqC@Trantor.Trnet.org> (Debian Smail3.2.0.102)
	for <groff@gnu.org>; Wed, 1 Mar 2000 00:30:42 +0100 (CET) 
Date: Wed, 1 Mar 2000 00:30:42 +0100 (CET)
From: Paco Andres Verdu <pandres@dragonet.es>
Reply-To: =?iso-8859-1?Q?Paco_Andr=E9s_Verd=FA?= <pandres@dragonet.es>
To: Andy Dougherty <doughera@lafayette.edu>
cc: groff@gnu.org
Subject: Re: [Groff] New version of the grolbp driver
In-Reply-To: <Pine.SOL.4.10.10002280944290.29530-100000@maxwell.phys.lafayette.edu>
Message-ID: <Pine.LNX.3.96.1000301002444.1184A-100000@Trantor.Trnet.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT
Status: O
Content-Length: 635
Lines: 22

On Mon, 28 Feb 2000, Andy Dougherty wrote:

> There is a very widespread convention to embed the necessary preprocessor
> commands as a comment in the first line of the man page.  Thus, if you
> want to use tbl, you put
> 
> 	 '\" t

    Many thanks for the info, that solved the problem.
    
PS: I've seen that Werner has added such line to the grolbp man page, so the
man page should be formated properly now.



-----------------------------------------------------------------------------
Paco Andrés Verdú                                     pandres@dragonet.es
Alicante (Spain)                                              





From groff-admin  Wed Mar  1 01:17:24 2000
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
	by genba.ffii.org (8.9.3/8.9.3/Debian/GNU) with ESMTP id BAA29012
	for <groff@ffii.org>; Wed, 1 Mar 2000 01:17:23 +0100
Received: from nx5.HRZ.Uni-Dortmund.DE (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21])
	by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id TAA02812;
	Tue, 29 Feb 2000 19:18:00 -0500
Received: from sx2.hrz.uni-dortmund.de by nx5.HRZ.Uni-Dortmund.DE
          via smtp-local with ESMTP; Wed, 1 Mar 2000 01:17:46 +0100
Received: from rigel.univie.ac.at (dial-143145.HRZ.Uni-Dortmund.DE [129.217.143.145])
	by sx2.hrz.uni-dortmund.de (8.8.8+Sun/8.8.8) with ESMTP id BAA07960;
	Wed, 1 Mar 2000 01:17:44 +0100 (MET)
Received: from localhost (sx0005@localhost [127.0.0.1])
	by rigel.univie.ac.at (8.9.3/8.8.8) with ESMTP id WAA18685;
	Tue, 29 Feb 2000 22:42:17 GMT
To: enf@pobox.com
Cc: bug-groff@gnu.org, groff@gnu.org
From: Werner LEMBERG <sx0005@sx2.hrz.uni-dortmund.de>
In-Reply-To: <200002291920.NAA66959@216-80-13-65.d.enteract.com>
References: <200002291920.NAA66959@216-80-13-65.d.enteract.com>
X-Mailer: Mew version 1.94 on Emacs 20.6 / Mule 4.0 (HANANOEN)
Reply-To: Werner LEMBERG <wl@gnu.org>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20000229224216W.sx0005@sx2.hrz.uni-dortmund.de>
Date: Tue, 29 Feb 2000 22:42:16 GMT
X-Dispatcher: imput version 990905(IM130)
Subject: [Groff] Re: UTF-8/Unicode for groff
Status: O
Content-Length: 1872
Lines: 42

> I'm working on extending groff to support UTF-8-encoded Unicode
> input.

This is good news!

>  (I hope this isn't duplicating work someone else is already doing!)

AFAIK, no.  The latest thing was utf8 output for ttys.

>   (1) Is it reasonable to represent Unicode characters that do not
>       map directly onto any character in the standard troff
>       character set as names corresponding to their Unicode
>       character numbers?  For example, I am representing Unicode
>       character U+1234 (Ethiopic syllable See) as troff character
>       \[U+1234].  I didn't want to use just character numbers in
>       case there are output devices that use radically different
>       numbering schemes.

I would rather suggest to use a new escape, `\U' (which is still
unused fortunately) for that.  It should behave similarly to \N but
(a) accepts hexadecimal input and (b) doesn't map to charN but to uniN
(to follow the Adobe Glyph List specification.  Have you considered
the more serious problems of combining characters (not to mention the
reordering of glyphs)?

>   (2) For Unicode characters that do not appear in the current font,
>       I have set it up to automatically substitute bitmap versions
>       of the characters.  These are created spontaneously from Roman
>       Czyborra's "unifont" font whenever troff finds it cannot
>       locate a U+xxxx character, and are accomplished through the
>       equivalent of .char with a series of \h, \v, and \D to draw
>       the bitmapped image.  I'm not terribly happy with this, but it
>       seems better than not being able to do anything at all with
>       the characters.

Hmm, what about mounting this fallback font as a special font?  This
should be sufficient, shouldn't it?  Maybe we have to develop a
special syntax in case groff becomes too slow (or too memory hungry)


    Werner


