home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / bbs / waffle / 6410 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  2.0 KB

  1. Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!usc!rpi!utcsri!geac!torsqnt!uunorth!cibbs!root
  2. From: root@cibbs.UUCP (Mark Buckaway)
  3. Newsgroups: comp.bbs.waffle
  4. Subject: "BUG FIX" for Waffle for DOS
  5. Message-ID: <903uXB1w165w@cibbs.UUCP>
  6. Date: Sat, 23 Jan 93 22:23:43 EST
  7. Organization: DataSoft Consulting (Toronto, Ont. Canada)
  8. Lines: 39
  9.  
  10. I have seen some complaints about Waffle doing screwy things to the screen
  11. when you are in 43 or 50 line mode. After some fiddling with Turbo Debugger, I
  12. have figured it out. If this has been done already, ignore this message and I
  13. apologize for the wasted bandwitdh, however...
  14.  
  15. Tom is doing something I consider a no-no. Using CONIO and STDIO functions
  16. BOTH for video in ONE program. This does not work properly in most
  17. circumstances as the CONIO functions don't always know what the STDIO
  18. functions are doing (this is my experience). Anyways, for those of you who
  19. have purchase the source for Waffle, you can fix this VERY EASILY.
  20.  
  21. Load up DOS.H, and look for:
  22.  
  23. #define VSPRINT
  24. #define CONIO
  25.  
  26. ...comment out the  #define CONIO and recompile. When you do so, two things
  27. will happen:
  28. 1) The screen will now go properly to the bottom of a 50 line display.
  29. 2) The reverse video will stop working.
  30.  
  31. (Tom, every consider fixing this?)
  32.  
  33. The reverse video stops working because Tom uses the Borland textattr function
  34. to change the screen attribute on some cases, and without CONIO defined, the
  35. textattr functions are redirected to no where.
  36.  
  37. If I may inject my personal opinion, some of the code for the DOS portion of
  38. Waffle is rather shakey. I am surprised some of it works. Oh, unless I am
  39. brain dead, no where in the docs does it say, add #define MSDOS to the
  40. version.h header file to compile under DOS.
  41.  
  42. I'll be glad to finally switch to UNIX in the coming months....
  43. Mark
  44.  
  45. ----
  46. Club InSaNiTy BBS   |   BBS:+1 416 691 0679 |   root@cibbs.UUCP
  47. DataSoft Consulting | Voice:+1 416 691 5529 |   uunorth!cibbs!root
  48. Mark Buckaway       | Toronto, Ont. CANADA  |   1@4653 (WWIVnet)
  49.