Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!think!mit-eddie!gary From: gary@mit-eddie.MIT.EDU (Gary Samad) Newsgroups: net.micro.amiga Subject: Re: Help with Manx C Message-ID: <2770@mit-eddie.MIT.EDU> Date: Sat, 2-Aug-86 23:02:45 EDT Article-I.D.: mit-eddi.2770 Posted: Sat Aug 2 23:02:45 1986 Date-Received: Sun, 3-Aug-86 06:11:43 EDT References: <805@princeton.UUCP> Distribution: net Organization: M.I.T. EE/CS Computer Facility, Cambridge MA Lines: 25 In article <805@princeton.UUCP>, chiu@princeton.UUCP (Kenneth Chiu) writes: > Well, I finally bought a compiler. Now I can do something real programming, > instead of just playing around. I have run into a few things that might > be bugs, though. > > 1. The z editor doesn't seem to recognize :s/pat/repl/ commands. This is > quite a disappointment, since I use global substitutions sometimes. Yup, global search and replace is missing! My solution is to use Emacs! If you can get ahold of a set of 1.2 beta disks, C/As MicroEmacs is quite good. > 2. Many of the amiga functions (such as Lock) are defined: struct Lock *Lock(). > I can't find such a structure defined in any of the .h files. I did find > struct FileLock, though, and the Lattice compiler seems to define as > struct FileLock whatever the Manx compiler has as struct Lock. Use struct FileLock. I had this problem also. Also, if you are using the AmigaDOS functions you must CAREFULLY examine your code and determine when a FileLock that you pass in is going to be kept permanently by AmigaDOS and NOT free it, as well as when it is not going to be kept and free it. Send email for specific cases if you have trouble...I spent many hours trying to find 16 lost bytes... Gary