From: fredex AT fcshome DOT stoneham DOT ma DOT us Message-Id: <199607100101.VAA02305@fcshome.stoneham.ma.us> Subject: Elvis 2.0p for DJGPP (was editor for DJGPP) To: djgpp AT delorie DOT com Date: Tue, 9 Jul 1996 21:01:11 -0400 (EDT) Content-Type: text I received this message from one Pierre Hanser, to whom I have been unable to reply due to mail bouncing. he was asking for the changes I made to Elvis 2.0p to make it compile with DJGPP 2.0. Since I cannot find him, and perhaps others are/will be interested in that info too, I'll post it here with the hope Pierre sees it. > hello > I would be very interested by a patch to compile elvis with djgpp. > i had a quick look at it but it seemed to me it was not the thing > you do in one hour... > would you be kind enought to email me the patch you said you have, or > perhaps send an article in comp.editors > thanks So, here's the stuff: I'm appending below a uuencoded ZIP file which contains the makefile I hacked up for DJGPP 2.0, and the diffs from the normal distribution. The makefile isn't elegant, I hacked away at another one I had with a chainsaw, but it works for me. One thing you may note, is that in osmsdos/pcvideo.h, I chopped out a great block of code that attempts to determine how many lines are on the display, and replaced them with a hard-coded 25. This is because the stuff there is not portable to DJGPP, I didn't feel like rewriting it, and I always run in 25-line mode anyway, so it didn't bother me any :=( The executable that I get from this is 285184 bytes, whereas the one from compiling with MSC 5.1 is 298575, and as long as the -O2 option is used it's quite noticeably faster. Also, note that in my (somewhat limited) experience, the display works best if you use nansi.sys instead of ansi.sys. As far as I can tell, the 'pcbios' terminal type is just a pseudonym for nansi. Some day I may try to fix that so it is a REAL bios interface. yawn. Have fun! Fred ---------------------------- e2djg.uue -------------------------------------- begin 644 e2djg.zip M4$L#!!0``@`(`&>EZ2`K>Y[%PW?>,T#V"D$0`ML MA[4(:[7!WMAH+ZVMK4&CT0Q2V5Q('WFY3N^`OXLS%M.PE:9(H? M^]W8<>P<+4?@IU7 AT 7S?&&+U$EYZ/Z?HZ6ZXCP-(J+)]&J2R=Y0O_UF9>K%L- M65!9>ZPWU-9*,&1;-_8>\Q)V*IE?#;S+_*J"[N AT Q_:3*C5:"S97@.?/3AQV" M_Q01J4RD(O+"GT8!3Q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P)`````&%K ` end -- ------------------------------------------------------------------------------- .---- Fred Smith / Office: fred AT computrition DOT com ( /__ ,__. __ __ / __ : / 508-663-2524 / / / /__) / / /__) .+' Home: fredex AT fcshome DOT stoneham DOT ma DOT us / / (__ (___ (__(_ (___ / :__ 617-438-5471 -------------------------------- Jude 1:24,25 ---------------------------------