Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site mcc-db2.UUCP Path: utzoo!watmath!clyde!cbosgd!gatech!ut-sally!mcc-db2!ables From: ables@mcc-db2.UUCP (King Ables) Newsgroups: net.bugs.4bsd Subject: refer Message-ID: <357@mcc-db2.UUCP> Date: Thu, 5-Dec-85 11:32:31 EST Article-I.D.: mcc-db2.357 Posted: Thu Dec 5 11:32:31 1985 Date-Received: Tue, 10-Dec-85 07:15:52 EST Distribution: net Organization: MCC (Austin, TX) Lines: 86 Well, I asked a while back if anyone had made any changes to the set of refer programs from Berkeley to enlarge the size a bibliography could be. I never heard any response, so I finally had to go digging through and do it (not that it was actually difficult, just boring and time consuming). I seem to have found all the places that needed to be changed since we've been using our version a while and it's been working well. Just in case anyone else has ever wanted larger entries, I thought I'd post the lines that need to be changed (since I sort of said I would if no one else had alread done it). Here are diffs from the five files affected. I used 2000 rather than 1000, of course, you can use whatever limit for the entry you want, but I'm sure there's some point where it becomes a bad tradeoff. ======================================= glue1.c: 9c9 < int lmaster = 1000; --- > int lmaster = 2000; 25c25 < static int full = 1000; --- > static int full = 2000; 29,30c29,30 < int soutlen = 1000; < int taglen = 1000; --- > int soutlen = 2000; > int taglen = 2000; 273c273 < return(1000); --- > return(2000); ======================================= hunt1.c: 16c16 < int soutlen =1000; --- > int soutlen =2000; 24c24 < static int full =1000; --- > static int full =2000; 218c218 < char bout[1000]; --- > char bout[2000]; 228c228 < findline(oldtagp, bout, 1000); --- > findline(oldtagp, bout, 2000); 262c262 < return(1000); --- > return(2000); ======================================= hunt6.c: 7c7 < #define TXTLEN 1000 --- > #define TXTLEN 2000 ======================================= kaiser.c: 14c14 < int state 1000, i, book, volume, corp, report; --- > int state 2000, i, book, volume, corp, report; 17c17 < char ubuff[1000], *up; --- > char ubuff[2000], *up; ======================================= refer5.c: 207c207 < count=999; --- > count=1999; ========================================== Nothing incredibly difficult, but it might beat having to look through there yourself. I can't say I'm real impressed with refer, though. Oh, well, ours not to reason why... right? -King ARPA: ables@mcc UUCP: {ihnp4,seismo,ctvax}!ut-sally!mcc-db2!ables