allbery@ncoast.UUCP (Brandon S. Allbery) (11/21/86)
Any of you who have managed to get your hands on UNaXcess 1.0.0, ESPECIALLY SITES RUNNING BERKELEY 4.2, BERKELEY 4.3, OR ULTRIX: There are a number of MAJOR bugs in UNaXcess when BSD is defined. They are worst under Ultrix, which tickles one particular bug. [I don't have diffs, since my only copy of this version is in the tar file. I am in the process of rewriting for the next version. So I also don't have line numbers or etc.] BUG #1: Terminal modes are randomized upon entry and exit. FIX: In io.c, the definition of SETPARAMS for BSD systems is wrong. It uses the TIOCSETP ioctl when it should use TIOCSETC. BUG #2: Under Ultrix, a suspend (^Z) will cause a panic. FIX: Ultrix, in the interests of compatibility with System V, defines the signals SIGUSR1 and SIGUSR2; unfortunately for UNaXcess, these are defined as signals 31 and 32. UNaXcess, expecting them to separate the "standard" signals from the "extended" signals, proceeds to set traps for all signals, including SIGTSTP and SIGWINCH. The fix is to remove the #ifndef SIGUSR1 lines from ua.h, and to substitute "<= SIGTERM" for "< SIGUSR1" in ua.c and system.c. BUG #3: On VAX systems (at least), panic() will cause another panic(), resulting in an infinite loop. FIX: UNaXcess assumes that abort() causes a SIGIOT to be sent to the process; VAXes use the HALT instruction, which generates SIGILL. The fix is to replace "abort()" with "kill(getpid(), SIGIOT)" in the "panic()' function in system.c. BUG #4: UNaXcess crashes with "UNaXcess internal error: copylink". This is made worse by bug #3 on Vaxes. FIX: I had thought that rename() would do a copy across devices; imagine my surprise when the log showed EXDEV returned by rename(). The fix is to delete the line #define'ing copylink() as rename(), then remove the #ifndef BSD and the #endif from around copylink() in system.c. The next bugs are of general interest: BUG #5: Exit from submenus (X) may cause UNaXcess to exit. FIX: The functions *menu() in ua.c are missing "return 1;" at the end; add it. BUG #6: The message editor drops the first character of any matched text if you skip the text or quit the search. FIX: These should have the line "putc(fch, tmp);" just after the fseek() to the original offset. BUG #7: UNaXcess won't read bulletins. FIX: None as yet; I'm still trying to locate it. BUG #8: UnaXcess exits after an upload, download, or "get file list". FIX: I am in the process of rewriting the UDL section from scratch; this should fix the problem, since the current version was originally a stand-alone program (can you say `hack'?). ------------------- ONWARD AND UPWARD! ------------------- I am starting a mailing list for UNaXcess. If you're not interested, hit the N key now. Note that it won't get started if I get fewer than 20 subscribers, before I say anything else. If you are interested in subscribing, send mail to: cbatt!cwruecmp!ncoast!unaxcess-request If you want to submit messages, send them to: cbatt!cwruecmp!ncoast!unaxcess (Note the case; I, for one, don't want to play games with my SHIFT keys when I'm sending out digests!) The list will be handled as follows: (1) Bug reports: these will be handled directly, and mailed immediately with fixes. (2) General-interest messages or questions: these will be collected into digests. (3) Minor version changes will be mailed out as diffs suitable for use with "patch". (4) Major version changes will be announced, but NOT mailed. Instead, they will go to mod.sources, and also be made available via our no-password "uauucp" login. The current UNaXcess sources are now being maintained with RCS; as a result, I will be able to keep better track of changes starting with the next release. This will make the posting of diffs possible, and also allow me to place diffs in the uucp area. -- ++bRando(m)n ---------------- /--/ Brandon S. Allbery HOME: 6615 Center St. #A1-105 / / /|\/ Tridelta Industries, Inc. Mentor, OH 44060-4101 ---- -------- /-++ 7350 Corporate Blvd. +1 216 974 9210 / / /---, ---- Mentor, Ohio 44060 SYSOP: UNaXcess/ncoast / / / / / / +1 216 155 1080 (216) 781-6201 24 hrs. / / / / / / CSNET: ncoast!allbery@Case ARPA: via relay.CS.NET ---- -----~ ---- UUCP: cbatt!cwruecmp!ncoast!{allbery,tdi2!brandon}