hans@ditmela.oz (Hans Eriksson) (08/02/89)
The message in the Subject: was actually: Xman Error: Too many manual pages in /usr/man/man3 Try recompiling with larger allocations I had a look at CHANGES, README and defs.h but did not find anything helpful. Anybody know what to change in what file to get 'larger allocations'? /hans -- Hans Eriksson (hans@ditmela.oz.au) CSIRO/DIT, 55 Barry Street, Carlton, Victoria 3053, Australia (we are GMT+10) Tel: +61 3 347-8644 Fax: +61 3 347-8987 Home: +61 3 534-5188 On a years leave from Swedish Institute of Computer Science (hans@sics.se)
kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (08/03/89)
> Xman Error: Too many manual pages in /usr/man/man3 Try recompiling > with larger allocations. Change the definition in "defs.h" for MAXENTRY to something larger. Note: This problem in fixed in R4, I am now using dynamic allocations. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213
david@ics.COM (David B. Lewis) (08/04/89)
In article <6481@ditmela.oz>, hans@ditmela.oz (Hans Eriksson) writes: > The message in the Subject: was actually: > Xman Error: Too many manual pages in /usr/man/man3 Try recompiling > with larger allocations > > I had a look at CHANGES, README and defs.h but did not find anything > helpful. > > Anybody know what to change in what file to get 'larger allocations'? defs.h has this code: #ifdef sun #define MAXENTRY 2000 /* The maximum number of entries in one #else #define MAXENTRY 800 /* The maximum number of entries in one #endif Changing MAXENTRY does the trick. -- David B. Lewis david@ics.com ics!david@buita.bu.edu david%ics.UUCP@buita.bu.edu "Welcome to Chinese Restaurant. Please try your Nice Chinese Food with Chopsticks. the traditional and typical of Chinese glorious history and cultual." -- greeting found on the wrapper of a pair of chopsticks
Hans.Eriksson@mamab.FIDONET.ORG (Hans Eriksson) (08/05/89)
-- Fidonet: Hans Eriksson via 1:363/9 Internet: Hans.Eriksson@mamab.FIDONET.ORG Usenet: ...!peora!rtmvax!libcmp!mamab!Hans.Eriksson
net@tub.UUCP (Oliver Laumann) (08/07/89)
In article <6481@ditmela.oz> hans@ditmela.UUCP (Hans Eriksson) writes: > > Xman Error: Too many manual pages in /usr/man/man3 Try recompiling > with larger allocations Am I the only one who finds this error message annoying? Is there a particular reason why xman can't allocate the storage for the manual sections dynamically using malloc()? A quick grep shows that the constant is only used in a few places (some of them are bogus by the way, e.g. in declarations of function arguments). I'm sorry if this sounds like a flame (of course I respect the work of the author of xman), but I hate artificial limits and error messages like the one above. Yes, sometimes it's harder to write programs without artificial limits, but the extra work is worth-while and saves other people's work. As an example for software that avoids annoying built-in limits, look at GNU Emacs. Regards, -- Oliver Laumann net@TUB.BITNET net@tub.UUCP
rlk@THINK.COM (Robert L. Krawitz) (08/07/89)
Date: 7 Aug 89 10:44:08 GMT From: mcvax!unido!tub!net@uunet.uu.net (Oliver Laumann) I'm sorry if this sounds like a flame (of course I respect the work of the author of xman), but I hate artificial limits and error messages like the one above. Yes, sometimes it's harder to write programs without artificial limits, but the extra work is worth-while and saves other people's work. As an example for software that avoids annoying built-in limits, look at GNU Emacs. One of the biggest hassles of emacs is that it DOES have limits. It uses 24-bit signed integers (the top 8 bits are tag bits) and as a result editor buffers are limited to 8 Mbytes (as are a lot of other things). ames >>>>>>>>> | Robert Krawitz <rlk@think.com> 245 First St. bloom-beacon > |think!rlk Cambridge, MA 02142 harvard >>>>>> . Thinking Machines Corp. (617)876-1111
kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (08/08/89)
> Am I the only one who finds this error message annoying? Is there a > particular reason why xman can't allocate the storage for the manual > sections dynamically using malloc()? I was in a hurry to get it out the door, and had other things to work on. I have since had the time to fix the code, and am pleased to announce that this had been fixed in R4. Keep those cards and letters comming :-) Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213