home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / bbs / waffle / 5469 < prev    next >
Encoding:
Text File  |  1992-12-22  |  3.2 KB  |  71 lines

  1. Path: sparky!uunet!cs.utexas.edu!swrinde!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!pdivine
  2. From: pdivine@unixg.ubc.ca (Patrick Divine)
  3. Newsgroups: comp.bbs.waffle
  4. Subject: Waffle Goodies (update)
  5. Date: 23 Dec 1992 01:14:36 GMT
  6. Organization: University of British Columbia, Vancouver, B.C., Canada
  7. Lines: 60
  8. Message-ID: <1h8ehsINN7cn@iskut.ucs.ubc.ca>
  9. NNTP-Posting-Host: unixg.ubc.ca
  10.  
  11. If any of you recall, I mentioned some utilties I was looking for/planning
  12. to write for Waffle.. he's what's happened up to date:
  13.  
  14. I finally managed to get my hands on a C compiler .. actually two C
  15. compilers so that I could start coding.  As you may or may not recall, I
  16. had a copy of Turbo C++ 2.0 which I replaced when I bought Turbo C++ 3.0
  17. to put on my hard drive.  Little did I know, 3.0 doesn't work if you have
  18. less then something like 2-3 megs of ram (I only have 1)
  19.  
  20. I nuked TC++ 3.0 off my hard drive, and ftp'd 2 different C Compilers from
  21. oak.oakland.edu .. the first of which (MC20.ZIP) required a copy of
  22. Microsoft Assembler to compile the asm code generated by the c compiler ..
  23. and then after the assembler, it had to be linked via dos's LINK.EXE now
  24. since I don't use a DOS shell, I had to search high and low for my dos
  25. disketes to find LINK and even then, I didn't have a proper assembler.
  26.  
  27. I decided to go with a different compiler, and got PCC122C.ARC which works
  28. a lot better .. unfortunatly it is pre-ansi C so I had to figure out he
  29. discrepencies between it and ansi c code. (there isn't a standard string.h
  30. but amazingly enough the functions worked without it)
  31.  
  32. I started coding my own library of string functions for the utilities I
  33. was planning on writing, which consisted of stringadd(), stringcp(),
  34. getstr(), and a few others.
  35.  
  36. The only project I'ved actually finished (atleast almost finished) was the
  37. one I mentioned about creating the body of text, + header and using rnews
  38. to post it into waffle.  This way allowing us to have every message posted
  39. in a newsgroup formatted exactly the same.
  40.  
  41. PROBLEMS I'VE ENCOUNTERED:
  42.  
  43. First off, I used rnews to post messages from an extern file called
  44. "buy-sell" .. this presents a couple of problems.  the extern file looks
  45. like this:
  46.  
  47. buy-sell /command="\waffle\bin\head.exe %A fish.buy-sell" /then="rnews
  48. _message"
  49.  
  50. head.exe creates the file "_message" which is then posted by another
  51. extern command "rnews" .. this presents a problem of a message only being
  52. able to be read AFTER he/she logs off and calls back because even though
  53. rnews has added the message, for some reason it isn't accessible yet.
  54.  
  55. The other problem I have encountered is that there is a line "Description:
  56. " in the _message file with I beleive rnews is interpreting wrong .. is
  57. Description an actual header command, or does rnews just interpret
  58. anything with any one word like "Bob: " as part of the header (unless is
  59. it proceeded buy a word, space, whatever) ??
  60.  
  61. Is there any other way of posting messages inside of waffle if the file is
  62. already created?
  63.  
  64.  
  65.  
  66. -- 
  67. |  The Postman Pat Show                featuring  o industrial strength noise |
  68. |  PO Box 75115                                   o clips from all of your    |
  69. |  White Rock, BC                                   favorite tv shows!        |
  70. |  Canada,  V4A 9M4  (send for catalog)           o Loops! & Loops! & Loops!  |
  71.