From: norm.grant@wmich.edu Sent: Thursday, October 31, 2002 12:39 PM To: Everhart, Glenn (Card Services) Subject: RE: OpenVMS 7.3-1 and CSWING Glenn, Yes, I found that stuff in swing_15.c this morning. Also, in swing_29.c $ dif swing_29.c ************ File DISK$UCS:[GRANT.CSWING]swing_29.c;8 603 while ((iosb.status & 1) == 1 && (status & 1) == 1)) 604 { ****** File DISK$UCS:[GRANT.CSWING]swing_29.c;7 603 while ((iosb.status & 1) != 1 && (status & 1) == 1)) 604 { ************ > Norm - > I put your stuff up on VMS 7.3 to make sure things worked there first. > Got it running last night. Turned out swing_15.c needed a whole lot of > if ((status & 1) == 1) changed to > if ((status & 1) != 1) > and around the statement with s = EOB - apparant_distance(end) > I inserted brackets so that adding comments or the like would not change > the sense of the program. Looks like the rest_cursor routines both > have essentially the same effect so it isn't much of an issue which > gets called. > I will try on 7.3-1 and let you know how it goes but figured you might want > to know about swing_15.c. The other edits of that form seem to have been > OK based on a quick check. > Glenn Everhart > (ps - the .obj files in the .zip were of course corrupt, but I recompiled > from source anyhow. I have the original search.c in my set as search.c_orig as well, from the 1997 release.) > -----Original Message----- > From: norm.grant@wmich.edu [mailto:norm.grant@wmich.edu] > Sent: Tuesday, October 29, 2002 9:09 AM > To: Everhart, Glenn (Card Services) > Subject: RE: OpenVMS 7.3-1 and CSWING > Here is a zip of CSWING. It includes all the original headers > and source as well as my modified code. I'll warn you of three > definite gotchas: > 1) There are two global routines named rest_cursor. I renamed the > one in swing_25.c to rest_cw_cursor - but I don't know if any of > the other calls should be to that one. > 2) In search.c, there was a statement > s = EOB - apparant_distance(end); > which I don't know what it should be - and I just noticed I lost > the original of search.c from the zip file. > 3) There is a call to lib$erase_page in swing_9.c that I can't find > a header for, or documentation on. But, it links. > Good luck. If you get it working better, please send back a copy. > I'll try to merge it with anyone else's contributions. > ------------- > Norman D. Grant INTERNET: norm.grant@wmich.edu > Western Michigan University Voice: (616) 387-5449 > Office of Information Technology/UCS > Kalamazoo, MI 49008 > ********************************************************************** > This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you > ********************************************************************** ------------- Norman D. Grant INTERNET: norm.grant@wmich.edu Western Michigan University Voice: (616) 387-5449 Office of Information Technology/UCS Kalamazoo, MI 49008