Xref: utzoo comp.sources.bugs:614 rec.games.hack:1855 Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!mtune!codas!usfvax2!pdn!tsc3b21!Elric From: Elric@tsc3b21.UUCP (Frank ) Newsgroups: comp.sources.bugs,rec.games.hack Subject: Re: Nethack on 7 char systems--PLEASE Message-ID: <221@tsc3b21.UUCP> Date: 21 Dec 87 13:44:53 GMT References: <10010@stb.UUCP> Reply-To: codas!pdn!tsc3b21!crash Organization: Transportation Systems Consulting, FL Lines: 45 in article <10010@stb.UUCP>, michael@stb.UUCP (Michael) says: > > Way back when, when Nethack version 1.4something came out, I made a > set of mods to it to compile on 7 char systems with 7 char preprocessors. > I also sent a copy off to the source maintainers. > > [ some deleted stuff ] > > Does anyone have a copy of the old sed script that I posted back then > to convert to 7 chars? Or will I just have to make a new script thats > probably incompatible with the old. > > For the maintainers: PLEASE, PLEASE, **PLEASE***, Don't Make Constants > Prefixes Like DEAD_ or CROSSBOW_ which guarantee name conflicts. Not > everyone has, or even can get at any price, a flex name compiler. > ARRRGGGHHH. > > Michael > -- > : Michael Gersten ihnp4!hermix!ucla-an!remsit!stb!michael > : sdcrdcf!trwrb!scgvaxd!stb!michael > : "Copy Protection? Just say 'Off site backup'. " Quite true. I am running NH2.2 on an old Version 7 which only supports 7 character identifiers... However, there is a copy of a program called "shortc" which will go through the source code looking for identifiers and make a header file of #define's that will ensure 7 char uniqueness. When I get home tonight I'll post the Shortc.h header produced for my system, as well as the shortc program itself (I'm pretty sure it's been posted before so there shouldn't be any copyright infringement)... I also have patches to shortc that produce a sed script file for actually changing the source code. But the beauty of the header file is that any more diffs that get posted for NH2.2 will still work since none of the source has actually changed. Anyway, I'll post it later today along with some helpful hints. "Use the Source, Luke. Feel it flow through your fingertips..." ----- Frank (crash) Edwards ...!codas!usfvax2!{pdn,jc3b21}!tsc3b21!crash TSC in Palm Harbor, FL The Sweat Shop [with a 'C'] Phone: (813) 785-0583 (voice)