[comp.unix.wizards] eqn and pic

kmw@usl (Kent Michael White) (11/19/87)

I am trying to run a large pic file through eqn.
When my picture command file reaches about 44 lines long
I get a "line too long" error message when I run the file
through eqn.
  I am using the statement "delim $$" for my eqn commands
and an example of a line in my pic file is: 
line <- " $ v hat $ "
  It seems to me that pic places all of the pic commands
as a single string and then eqn can not handle this long
string when the command structure gets to be a certain length.
If anyone can tell me how to get around this problem I would
appreciate it. Thanks in advance for your help.

gwyn@brl-smoke.ARPA (Doug Gwyn ) (11/20/87)

In article <311@usl> kmw%usl.csnet@csnet-relay (Kent Michael White) writes:
>I am trying to run a large pic file through eqn.
>When my picture command file reaches about 44 lines long
>I get a "line too long" error message when I run the file
>through eqn.

Yes, several of the DWB tools suffered from undue restrictions on
input line length.  In the case of "eqn", this is set by a manifest
constant MAXLINE within the first few lines of the source file "io.c".
If you can't change this and rebuild "eqn" from sources, I don't
know what else you can do (other than to fold "pic" output lines
before submitting them to "eqn").