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