peters@ti-csl (09/22/86)
We recently switched from a Sys V based system to Ultrix 1.2. Some of our users (myself included) are having problems with 'ms' and 'me'. We have grown quite accustomed to 'mm'. I took a quick stab (VERY quick) at porting 'mm' to Ultrix, but several things (like page numbers and the table of contents) don't work correctly. Before I invest too much time in this, I'd like to know if anyone has already done this. Please E-mail responses. I don't get this board on my system. Thanks. Patrick W. Peters Texas Instruments UUCP: {uiucdcs!convex!smu, {ut-sally!im4u, sun!texsun}!ti-csl}!tifsie!pat Voice: (214) 995-2786
lyle@hrshcx.UUCP (Lyle Plitt) (10/30/86)
In article <17100001@ti-csl> peters@ti-csl writes: > >We recently switched from a Sys V based system to Ultrix 1.2. Some of our >users (myself included) are having problems with 'ms' and 'me'. We have >grown quite accustomed to 'mm'. I took a quick stab (VERY quick) at porting >'mm' to Ultrix, but several things (like page numbers and the table of contents) >don't work correctly. Before I invest too much time in this, I'd like to >know if anyone has already done this. > >Please E-mail responses. I don't get this board on my system. > >Thanks. > >Patrick W. Peters >Texas Instruments > >UUCP: {uiucdcs!convex!smu, {ut-sally!im4u, sun!texsun}!ti-csl}!tifsie!pat >Voice: (214) 995-2786 I think I know what is causing your problem. The main symptom is a zillion leading zeros, or other characters, in front of the page numbers. The problem is caused by bad parameters to several *.af* commands (assigns format to a register). The two registers getting screwed up are "P" (the page number register) and ";P". To work around the problem you need to make changes in two places --- in the macros ".TP" and ")b". Replace the lines ".af ;P \\gP" with ".af ;P 1", and ".af P \\g(;P" with ".af P 1". This will force the page number register to use the arabic numbering sequence. Lyle Plitt Harris Computer Systems Div. Ft. Lauderdale, Florida {allegra, ucf-cs}!novavax!hrshcx!lyle