Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!steinmetz!vdsvax!barnett From: barnett@steinmetz.UUCP (Bruce G Barnett) Newsgroups: comp.sources.bugs Subject: Re: Monthtool from comp.sources.unix Message-ID: <2989@vdsvax.steinmetz.UUCP> Date: Fri, 13-Nov-87 12:43:38 EST Article-I.D.: vdsvax.2989 Posted: Fri Nov 13 12:43:38 1987 Date-Received: Sun, 15-Nov-87 10:28:31 EST References: <5419@jhunix.UUCP> <743@rocky.STANFORD.EDU> <2967@vdsvax.steinmetz.UUCP> <672@russell.STANFORD.EDU> Sender: barnett@vdsvax.steinmetz.UUCP Organization: General Electric CRD, Schenectady, NY Lines: 33 Keywords: monthtool, Sun In article <672@russell.STANFORD.EDU> gandalf@russell.UUCP (Juergen Wagner) writes: |Monthtool definitively runs. under SunOS 3.2 |The font (monthtool.font) is installed in "${LIBDIR}/fonts/". (The trailing |slash is important!! If you omit it you will get ^?, too!) If you compile under SunOS 3.4 you will get the ^? instead of the proper [D], [M], [Y] characters. The problem is because these characters are located in the second half of the font characters ( i.e. >128 ). Yet the source defines them using a type of 'char' instead of 'unsigned char'. SunOS 3.4 is VERY strict in type checking, and the dbxtool gave me an error 'out of range' when I did set typeMark[0]='\220' I changes typeMark and typeChar to be 'unsigned char' but there was still some problems. I gave up and recompiled it under a SunOS 3.2 system, and the program finally worked properly. Perhaps someone whom has more time than I can chase this down further. | |Good luck, Ditto |Juergen Wagner gandalf@Russell.stanford.edu |Center for the Study of Language and Information (CSLI), Stanford University