[Cook] Over-riding cook's default line wrapping: Can it be done?
Simon Clift
ssclift at math.uwaterloo.ca
Wed Oct 29 07:59:47 EST 2003
Hi folks,
Cook's wrapped lines are confusing my editor when it looks for error
output in the Howto.list file. I was hoping to over-ride the wrap
function, but I can't seem to and was wondering, please, if anyone
knew if it was possible.
There appears to be a reference to a COLS environment variable
in the source code common/page.c. However the wrap() function in
common/error.c seems hard coded to use its own PAGE_WIDTH macro.
The wrap() in common/error_intl.c seems to use a page_width_get
routine in common/page.c an in turn default_page_sizes().
Setting COLS doesn't work for me (setenv COLS 400). I still get
material wrapped at 80 columns. There seemed to be a -Page_Width
option defined but that isn't working for me either.
Any help would be appreciated...
Thanks and best regards,
--- Simon
--
Simon Clift E-mail: ssclift at math dot uwaterloo dot ca
Ph.D. Student
Scientific Computation Group
University of Waterloo
Waterloo, Ontario, Canada
N2L 3G1
More information about the Cook-users
mailing list