Sun-Spots-Request@RICE.EDU (William LeFebvre) (08/29/88)
SUN-SPOTS DIGEST Friday, 26 August 1988 Volume 6 : Issue 199 Today's Topics: Re: make has a problem with "make makefile" Re: How can I make a /dev/enable device for the cgfour enable plane Re: Formatting a non-Sun SCSI disk Re: ALM2 problems Re: Problems with GNU emacs under SunOS4.0 Re: Problems with GNU emacs under SunOS4.0 touchup sources 2.4 Fig locks up after text insertion Apple LaserWriter II NT on Sun-3/50 doesn't work 8mm tape backup speedups Answer center? SCSI disk drives experiences? Apple SCSI on Sun 3/50? arbitrary precision math routines? Fax modems for Sun's? Sun 2's vs the Wren-IV? Send contributions to: sun-spots@rice.edu Send subscription add/delete requests to: sun-spots-request@rice.edu Bitnet readers can subscribe directly with the CMS command: TELL LISTSERV AT RICE SUBSCRIBE SUNSPOTS My Full Name Recent backissues are available via anonymous FTP from "titan.rice.edu". For volume X, issue Y, "get sun-spots/vXnY". They are also accessible through the archive server: mail the request "send sun-spots vXnY" to "archive-server@rice.edu" or mail the word "help" to the same address for more information. ---------------------------------------------------------------------- Date: Mon, 22 Aug 88 08:57:26 BST From: mcvax!duttnph!hans@uunet.uu.net (Hans Buurman) Subject: Re: make has a problem with "make makefile" We found another difference between 3.5 Sunpro and 3.2 make. It occurs when I keep my .o files in a library, and build the executable from that. So: LIB = library.a OBJS = $(LIB)(obj1.o) $(LIB)(obj2.o) PROG = prog $(PROG): $(OBJS) $(CC) -Qoption ld -u -Qoption ld _main -o $(PROG) $(LIB) This is of course a very simplified version of a complex makefile. The reason for doing this is that we have sun3 and sun4 object files. We let the names of PROG and LIB vary with the architecture. There should also be a ranlib there somewhere. By the way, does anybody know a way to avoid the double -Qoption ? As you can see, I leave a lot to the built-in rules. The 3.2 make on our 4/280 deals with this correctly. Sunpro 3.5 fails to build PROG from LIB, although LIB is maintained correctly. The way around it, as SUN pointed out too, is to have an extra target LIB, and let PROG depend on LIB. But the fact that the two makes didn't do the same was a reason for us to use only one: 3.2. Hans Buurman Pattern Recognition Group Department of Applied Physics Delft University of Technology the Netherlands hans@duttnph.uucp or mcvax!dutrun!duttnph!hans ------------------------------ Date: Mon, 22 Aug 88 12:59:07 PDT From: david@sun.com (David DiGiacomo) Subject: Re: How can I make a /dev/enable device for the cgfour enable plane Reference: v6n191 >From: Don Hopkins <don@brillig.umd.edu> > >I'd like to be able to use the cgfour enable plane on a Sun 4/110 like any >other monochrome framebuffer. Is there some magic major/minor pair I get >give to mknod, or does the device driver have to be hacked? The bwtwo driver will believe that the cgfour overlay enable plane is another monochrome frame buffer as long as you put the right address in the config file. Here are some possibilities: device bwtwo1 at obmem 4 csr 0xfe400000 # 3/110 device bwtwo1 at obmem 7 csr 0xff600000 # 3/60 device bwtwo0 at obio 2 csr 0xfb600000 # 4/110 Note that you probably don't want to give up bwtwo0 for this, but if /usr/sys/{sun[34],}/OBJ/bwtwo.h says that NBWTWO is 1 you're stuck (in the absence of source). I know, there should be an fb_conf.c. P.S. This is semi-untested. ------------------------------ Date: 19 Aug 88 03:59:04 GMT From: ebauman@uceng.uc.edu (evan bauman) Subject: Re: Formatting a non-Sun SCSI disk Reference: v6n189 > Torsten Beyer <unido!bilbo.irb!tb@uunet.uu.net> says: > > > > By the way, has anyone outhere tried to format a non SUN SCSI disk (330Mb > > drive in our case) using SunOS4.0 format (under MUNIX) ??... > > We had a Micropolis 1558 (380 Mb, 1224 cyl total) ESDI drive on an Emulex > MD21 controller, talking to a Sun 3/60 via SCSI.... We had the exact same config running on a Sun 3/50. We used 3.5's diag to format the disk without any alterations. Not sure anymore what the number of cylinders was, though. In any case, the drive has been operational for many months now and it was a substantial savings over Sun's price. The drive, controller, cabinet, and power supply cost slightly over $3000 (university pricing). Evan Bauman Univ. of Notre Dame evan@ndcheg.cheg.nd.edu ebauman@uceng.uc.edu ------------------------------ Date: Mon, 22 Aug 88 10:43:32 PDT From: limes@sun.com (Greg Limes) Subject: Re: ALM2 problems Earlier, I wrote about some fixes that are available for the ALM-2 under SunOS. One of my friends down south (Hi Tony!) was kind enough to note that I forgot to mention one thing: these fixes are, so far, only available for SunOS release 4.0; rolling it back into 3.x is a separate task that I have not even discussed with my manager yet. -- Greg Limes [limes@sun.com] Still Ducking and Running for Cover. ------------------------------ Date: Mon, 22 Aug 88 16:08:21 EDT From: frank@morgan.com (Frank Wortner -- mstan!frank@uunet.uu.net) Subject: Re: Problems with GNU emacs under SunOS4.0 Steve Cumming <stevec%lccr.sfu.cdn@relay.ubc.ca> writes: >So, I moved my Gnu emacs version 17 over to my test bed machine, and built >it. In the process of building, it links all the modules into a big >executable called temacs. This temacs is supposed to load up a version >number, some electric lisp stuff, and then (I think) dump out an >executable image of itself. > >The porblem is that it core dumps with a segmentation fault when it tries >to load. dbx is no help, because I have made temacs shared, I gather from >the manual. Your problem with GNU Emacs would be quickly cured if you manage to get a more recent version. 18.51 compiles and runs just fine under 4.0 --- I'm using GNU Emacs to write this reply. You can probably force your version of Emacs to compile and operate correctly if you look for the line in the makefile which links temacs, and add "-Bstatic" before any other options. This will force ld to use the non-shared libraries and allow Emacs to play with memory in the way it wants to. TeX can be moved to SunOS 4.0 through similar means. If a non TeX-pert like me can do it, anyone can ;-) [[ We "undumped" a dynamically linked TeX. It worked fine. However, we did have a problem getting undump to work correctly. See v6n154 for more information. --wnl ]] I can't comment on UniPress Emacs, since I have no experience with this program, but I think UniPress should be able to give good advice on moving their software to 4.0. By the way, 3.4 and 3.5 binaries should run correctly under 4.0. If you don't have a real need to re-compile, you can save time and trouble by just moving the binary. I did that with a number of programs, both commercial and public domain, without any problems. The only disadvantage is that programs which *can* use shared libraries don't and are larger than they could otherwise be. Frank Wortner Morgan Stanley & Co. frank@morgan.com ...!uunet!mstan!frank Morgan Stanley doesn't pay me to have opinions on their behalf, so the above are purely my own thoughts. ------------------------------ Date: Mon, 22 Aug 88 13:28:50 EDT From: bob@allosaur.cis.ohio-state.edu (Bob Sutterfield) Subject: Re: Problems with GNU emacs under SunOS4.0 Reference: v6n192 In article <1988.08.21.19.21.10.785.24491@rice.edu> Steve Cumming <stevec%lccr.sfu.cdn@relay.ubc.ca> writes: >We're in the process of moving our network from 3.4 to 4.0. ...I >moved my Gnu emacs version 17 over to my test bed machine... core >dumps with a segmentation fault when it tries to load. dbx is no >help... Does anyone have any helpful suggestions? Get a current version of the software, which is 18.51 right now. It runs quite nicely under SunOS 4.0. dbx hasn't been much help for a very long time now, which is (part of) why gdb was written. GNU Emacs problems should go to the newsgroup gnu.emacs or (equivalently) to the mailing list info-gnu-emacs@prep.ai.mit.edu. I'm sure wnl would be happy to stop hearing from us here :-) By the way, >stevec@lccr.sfu.cdn There's no such domain registered with the NIC, even though the sendmail on relay.ubc.ca graciously offers to forward mail to it (I hope it succeeds with this one). If anybody tries to send mail to you based upon your signature, rather than up on the headers your mailer generates, they won't succeed. --Bob ------------------------------ Date: Fri, 12 Aug 88 15:00:40 EDT From: rayk@sbcs.sunysb.edu (Raymond T Kreisel) Subject: touchup sources 2.4 Here are the source for the newest version of Touchup, which include bug fixes and many new commands. Touchup is a public domain bitmap editor for Sun workstations that is very useful for "fixing" screendumps and doing other types of bitmap editing. Touchup is a powerful bitmap editor, a few of the capabilities are listed below: - paint with different textures - draw circles, rectangles, ovals, lines, and polygons - examine and modify a region at magnification 1-20 - use text in many fonts - flood fill an area - lasso a free form region within a bitmap - scale-stretch a region of a bitmap - rotate a region - move a region ray [[ The sources have been placed in the archives in seven separate shar files: "touchup.shar.1" through "touchup.shar.7". These shar files vary in size from 50346 to 76616 bytes, and total about 440 kilobytes. They are in the "sun-source" directory. They can be retrieved via anonymous FTP from the host "titan.rice.edu" or via the archive server. For more information about the archive server, send a mail message containing the word "help" to the address "archive-server@rice.edu". If you are going to use the archive server to retrieve these files, please limit each request to two files. Some sites have a restriction on the size of a mail message, and requesting all files at once will produce a very large return mail message! --wnl ]] ------------------------------ Date: Mon, 22 Aug 88 11:12:04 CDT From: blu%hall.CRAY.COM@uc.msc.umn.edu (Brian Utterback) Subject: Fig locks up after text insertion Ever since I changed over to Sun Os 4.0, Fig 4.1 locks up after inserting a text item. I am using Fig 4.1, and can demonstrate the problem using vanilla Fig, Xfig, and both with and without the rasterfile patch. The problem is that whenever I select the text insertion tool, I can insert text to my hearts desire, but I cannot then select another tool, nor can I get the pop-up menu. Anyone else having these problems? Brian Utterback |UUCP:{ihnp4!cray,sun!tundra}!hall!blu Cray Research Inc. |ARPA:blu%hall.cray.com@uc.msc.umn.edu One Tara Blvd. #301 | Nashua NH. 03062 |Tele:(603) 888-3083 ------------------------------ Date: Mon, 22 Aug 88 11:00:57 MDT From: dbd%benden@lanl.gov (Dan Davison) Subject: Apple LaserWriter II NT on Sun-3/50 doesn't work One of our Sun-3/50s has a LaserWriterII NT on ttyb and the printer just won't work. The local Sun hardware and software people have been out several times as well as have local wizards; the printer resists all attempts to make it work. If anyone on this list has successfully gotten a LW II NT to work on a Sun-3, I would appreciate hearing from you. We are now desperate! (I will be traveling for the next 12 days, so if you send me e-mail I will not be able to immediately acknowledge your note). Thanks! dan davison theoretical biology, los alamos national laboratory dd@lanl.gov (Internet) or dd%lanl.gov@CUNYVM (bitnet) or ...cmcl2!lanl!dd (uucp) ------------------------------ Date: Mon, 22 Aug 88 11:20:52 PDT From: mkp@hac2arpa.hac.com (Mike K. Peterson) Subject: 8mm tape backup speedups Matt Goheen laments the lack of speedup tips for his Exabyte. "Things will be better under 4.0." I spoke with a technical support engineer (whose name I've currently misplaced) at Delta Micro last week regarding the Exabyte under SunOS4.0. He said they're in the process of finishing the documentation for the 4.0 version of the driver, and along with our friend bdd, they will be a providing a couple of other goodies: a network backup utility, and a "tape certifier" program to give clues as to the quality of the tapes you buy from the video section of your favorite discount store. He also indicated that if your Exabyte is either still under warranty, or if you have a software support contract with Delta, then the new driver, utilities, and documentation come free of additional charge. I have nothing to do with Delta Microsystems other than as a satisfied customer. Mike Peterson mkp@hac2arpa.hac.com ...!hacgate.hac.com!mkp ------------------------------ Date: 22 Aug 88 18:44:56 GMT From: ehrlich@blitz.cs.psu.edu (Dan Ehrlich) Subject: Answer center? What is the "Answer Center"? Is it the people who answer the phone at 1-800-USA-4SUN? Dan Ehrlich <ehrlich@blitz.cs.psu.edu> The Pennsylvania State University Department of Computer Science University Park, PA 16802 ------------------------------ Date: Mon, 22 Aug 88 10:46:20 PDT From: Jonathan Eisenhamer <jon@mira.astro.ucla.edu> Subject: SCSI disk drives experiences? To All Spots, I know everyone dislikes these type of postings, but... We have 3/260, 3/160, and a bunch of 3/50's and we are considering getting a couple SCSI disks. I no nothing about what type of drives are out there, price, capacity, quality, etc. If someone could volunteer their knowledge and experiences with such drives, I would be grateful. Thanks for your time! Jonathan Eisenhamer mira.astro.ucla.edu (128.97.64.198) ------------------------------ Date: Mon, 22 Aug 88 16:04:39 CDT From: thors@umn-cs.cs.umn.edu (Olafur Thorsteinsson) Subject: Apple SCSI on Sun 3/50? We have just completed connecting a SCSI drive for the Apple Macintosh to a Sun 3/50. It formatted nicely when we reduced the number of cylinders documented by the manufacturer by one. The drives we have tried are an Apple 20HD 20 Mbyte drive that contained a Seagate ST225 disk, and a Rodime 140 Plus 140 Mbyte disk. Both drives seem to operate nicely and have no problems. We have booted of these drives and instelled /root and swap partitions and will include some of /usr later. Does anyone know of any reason that we might run into any sort of trouble with this setup. The prices on Macintosh drives are extremely tempting these days and this seems to be an excellent way to alleviate some of the traffic of our network as well as to get some extra disk space cheaply. If anyone is still having trouble getting this to work (as people seemed to not to long ago) send me a note and I'll try to help out. Thanks in advance 'Olafur thors@umn-cs.cs.umn.edu ------------------------------ Date: Mon, 22 Aug 88 17:55 EDT From: "W. Olin Sibert" <Sibert@dockmaster.arpa> Subject: arbitrary precision math routines? Can any reader recommend a subroutine package (with source) for doing integer arithmetic in arbitrarily high (i.e., effectively unlimited) precision on a Sun-3 or Sun-4? I'm mostly interested in ordinary integers; rationals and modular arithmetic would be useful also, but real numbers aren't important. I'm not inclined to use dc because its internal representation is both inherently slow and completely inaccessible -- I'm looking for a subroutine level interface to an efficient binary representation. Actually, anything more or less portable would do -- it doesn't have to be Sun-specific. Reply directly and I'll summarize (if anyone requests). Thanks -- Olin Sibert ------------------------------ Date: Mon 22 Aug 88 11:27:33-GMT From: Rich Cower <mcvax!olsen!cower@uunet.uu.net> Subject: Fax modems for Sun's? Anyone know of a Fax modem I can plug into one of the serial ports on the back of my 3/50? It would be ideal if it would send to a list of numbers (ie..call one, send, call another, send, etc, etc). Swiss PTT would help - if you don't know what PTT is - don't worry about it, you probably sleep better at night than we do. thanks...Rich Cower ------------------------------ Date: Mon, 22 Aug 88 06:51:42 edt From: grr@cbmvax.cbm.commodore.com (George Robbins) Subject: Sun 2's vs the Wren-IV? Is there anyone out there that has gotten the CDC Wren IV drives to work with the SCSI controllers included with the Sun 2/120 systems? All the messages in the last year or so have been with reference to Sun 3 systems. I'd like to improve the performance of our installed base of Sun 2's. They may be "obsolete", but they're what we have and upgrades are unlikely at this point. George Robbins grr%cbmvax@uunet.uu.net {pyramid,uunet,rutgers}!cbmvax!grr ------------------------------ End of SUN-Spots Digest ***********************