Sun-Spots-Request@RICE.EDU (William LeFebvre) (05/03/88)
SUN-SPOTS DIGEST Monday, 2 May 1988 Volume 6 : Issue 67 Today's Topics: Re: Reading TAR and CPIO format SUN cartridges on a PC Re: screen dumping Re: Sun-4 status fig to (vector based) postscript (SOURCE) rastool: display a rasterfile in a sun window Swapping a Micropolis 1558 for a Micropolis 1355 Nest 2.5 problems decnet and suns? Where is the Fig or rasterfile to LaTeX filter?? XWindow Interface for Sun Common Lisp ? Where is the autocall program Looking For SCSI or RS-232 Magtape Looking for ypchfn 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: Tue, 19 Apr 88 16:59:35 EDT From: "William R. Pearson" <wrp@biochsn.acc.virginia.edu> Subject: Re: Reading TAR and CPIO format SUN cartridges on a PC Reference: v6n56 "Robert Cape"@ncrlnk.dayton.ncr.com asks how to read sun tapes on an IBM-PC AT clone with a QIC-60 Wangtek tape drive and controller. I believe that this is relatively easy using Xenix, but one can never be certain whether the hardware/software will run until you try. I recently purchased an Everex 60 Mbyte tape drive with QIC02 controller. I was informed at the time of purchase that this controller tape configuration would work with SCO Xenix 2.2.1 out of the box. This proved to not be the case, although apparently other people have gotten other everex controllers to work with Xenix. I then purchased some device driver software for Xenix from Everex, and everything worked fine. I am now able to write tar tapes from Xenix and read them on my Sun using the /dev/rst8 device (this apparently specifies QIC-24 format, which is what is written by my tape drive, /dev/rst0 uses QIC-11 format, which is older and less available on PC's.) I have not tested reading Sun tapes on the PC, but it seems likely that it will work. Xenix is relatively easy if Xenix supports your tape/controller combination, and it is likely that it does, as they support Wangtek drives and controllers. Under DOS, it seems like it should be possible also, and I recall a public domain tar package that runs under DOS, but I do not remember when it was posted or where to get it. I suspect that additional software will be required to start the tape drive and transfer the tar files under DOS. Bill Pearson wrp@virginia ------------------------------ Date: Tue, 19 Apr 88 19:38:28 PDT From: tekbspa!joe@uunet.uu.net Tue Apr 19 21:49:47 1988 Subject: Re: screen dumping :>We have a Sun 3 and we are doing some "interactive" plotting. At the end :>of the plot program we just go ... :>Most of the time this works but if someone else is logged in from another :>terminal somethings get all confused. Sometimes it tells me that "valloc" :>failed. ... IF I REMEMBER PROPERLY, "valloc failed" is a good indication that some of your kernel tables aren't large enough. Try setting MAXUSER=12 in your kernel config file (/usr/sys/conf/NAME) then rebuild your kernel via the commands: # cd /usr/sys/conf # vi KERNEL_NAME (change MAXUSER= ....) # config KERNEL_NAME # cd ../KERNEL_NAME # make # mv /vmunix /vmunix.old # mv vmunix /vmunix # cd /dev # MAKEDEV win0 win1 win2 win3 # repeat 500 sync # reboot BTW: If you are running SunOS 3.4 (*maybe* releases below 3.4), you can't set MAXUSER over 12 due to a bcopy/bzero bug; if you did/do set MAXUSER>12, then your new kernel will die during boot. Contact sun!hotline and they'll send you a fix. This problem was fixed in 3.5. Joe Angelo -- Senior Systems Engineer/Systems Manager at Teknekron Software Systems, Palo Alto 415-325-1025 uunet!tekbspa!joe -OR- tekbspa!joe@uunet.uu.net ------------------------------ Date: 20 Apr 88 16:49:18 GMT From: woods@handies.ucar.edu (Greg Woods) Subject: Re: Sun-4 status I thought it would be worth mentioning here that handies.ucar.edu (alias ncar.ucar.edu and ncar.uucp) is a Sun-4. It is also a USENET backbone site and major mail forwarder. I have a resolver, nslookup, MX-sendmail, NNTP, news 2.11.14 and all that other good stuff running. I am not using Sun's uucp, but rather one I got from Rick Adams quite a while back (which is basically the 4.3 version with subdirectories with a couple of patches for efficiency). I junked the SunOS4-3.2 sendmail in favor of an MX-compatible sendmail 5.58 hacked to work on the Suns which I FTP'ed from somewhere (thanks!). Other than initially locating and bringing up this version of sendmail, I have had no major problems operating a backbone site on a Sun-4. A few minor problems (which I am not sure whether they are due to incorrect configuration or problems in Sun's resolver which does come with SunOS4-3.2) are that nslookup cannot look up local hosts unless I fully qualify them (i.e. "nslookup ncar" fails but "nslookup ncar.ucar.edu" finds the CNAME record just fine and returns the address of "handies"). A related problem is that the $[ $] syntax in sendmail does not resolve properly. For example I can do "nslookup oddjob" which properly returns the address for oddjob.uchicago.edu (I have a CNAME record for it in my local named files) but mail to user@oddjob does not properly get expanded to user@oddjob.uchicago.edu despite the fact that it passes through a rule that should have changed oddjob to $[oddjob$]. The identical sendmail.cf file, when run on an Integrated Solutions V24 running their 4.3 Rev D operating system, resolves this correctly. Just thought you all might like to know that there is at least one Sun-4 in major production use as a news/mail server. --Greg (woods@ncar.ucar.edu) ------------------------------ Date: Tue, 19 Apr 88 14:53:01 BST From: everson%COMPSCI.BRISTOL.AC.UK@cunyvm.cuny.edu Subject: fig to (vector based) postscript (SOURCE) A while back a posted a request to sun-spots for a fig to postscript filter than worked by interpreting the fig codes for lines etc to produce vector based postscript rather than the bitmap programs that already exist in the sun-spots archive. (As good as they are they produce *huge* output files which take ages to transmit.) I never saw my message on sun-spots, but perhaps I missed it. I did however get hold of a copy of the fig to ps filter I wanted and I enclose a copy. It is very useful! SNAIL: Phill Everson, Comp. Sci. Dept., U of Bristol, Bristol, BS8, UK UUCP: ...mcvax!ukc!csisles!everson JANET: everson@uk.ac.bristol.cs ARPANET: everson%cs.bristol.ac.uk@nss.cs.ucl.ac.uk BITNET: everson%cs.bristol.ac.uk@uk.ac [[ Placed in the archives as "sun-source/fig2ps.shar". It can be retrieved via anonymous FTP from the host "titan.rice.edu" or via the archive server with the request "send sun-source fig2ps.shar". For more information about the archive server, send a mail message containing the word "help" to the address "archive-server@rice.edu". --wnl ]] ------------------------------ Date: Tue, 19 Apr 88 22:22:18 EDT From: flynn%boopsie@cpswh.cps.msu.edu (Pat Flynn) Subject: rastool: display a rasterfile in a sun window Didya ever want to read a rasterfile into a window under Suntools? I recently did, and a quick pass through the examples in the pixrect manual produced no source code for this task. So, I wrote a teeny program which does nothing but read in the rasterfile and throw it up in a window. I've tested this program with both 8-bit and 1-bit-deep rasterfiles. The loading is fairly quick, too. I used the standard pixrect library calls for I/O. If the code to do this is in some Sun manual I didn't look at, oops. I apologize for any nasty coding habits I might have. Feel free to hack around with this as much as you want. Maybe somebody will build it into a 8-bit-deep pixel-based rasterfile editor (a la MacPaint). I doubt it, though. Cheers, Patrick J. Flynn, Dept. of Computer Sci., Michigan State U. flynn@cpsvax.cps.msu.edu, FLYNN@MSUEGR.BITNET /* * rastool: display a rasterfile in a sun window * written by Pat Flynn (flynn@cpsvax.cps.msu.edu) * * Compile with: cc -o rastool rastool.c -lsuntool -lsunwindow -lpixrect * * Usage: cat rasterfile | rastool * */ #include <stdio.h> #include <sys/types.h> #include <pixrect/pixrect.h> #include <pixrect/pr_io.h> #include <suntool/sunview.h> #include <suntool/canvas.h> main(argc,argv) int argc; char *argv[]; { Frame base_frame; Canvas canvas; Pixwin *canpixwin; colormap_t colormap; struct pixrect *img; struct rasterfile rh; FILE *fp = stdin; char colormapname[256]; if (pr_load_header(fp,&rh)) { perror("rastool: pr_load_header"); exit(-1); }; if (pr_load_colormap(stdin,&rh,&colormap)) { perror("rastool: pr_load_colormap"); exit(-1); }; if (!(img=pr_load_image(stdin,&rh,&colormap))) { perror("rastool: pr_load_image"); exit(-1); }; base_frame=window_create(NULL,FRAME,FRAME_LABEL,"rastool", WIN_WIDTH,9+rh.ras_width, WIN_HEIGHT,22+rh.ras_height, FRAME_ARGS,argc,argv,0); canvas=window_create(base_frame,CANVAS, CANVAS_WIDTH,rh.ras_width, CANVAS_HEIGHT,rh.ras_height, CANVAS_DEPTH,rh.ras_depth,0); canpixwin=canvas_pixwin(canvas); sprintf(colormapname,"rastool%d",getpid()); pw_setcmsname(canpixwin,colormapname); pw_putcolormap(canpixwin,0,rh.ras_maplength/3,colormap.map[0], colormap.map[1],colormap.map[2]); pw_rop(canpixwin,0,0,rh.ras_width,rh.ras_height,PIX_SRC,img,0,0); window_main_loop(base_frame); } ------------------------------ Date: Tue, 19 Apr 88 23:57:20 EST From: ron@vsedev.vse.com (Ron Flax) Subject: Swapping a Micropolis 1558 for a Micropolis 1355 Has anyone else tried swapping the 1558 (380MB ESDI) disk for the 1355 (170MB ESDI) disk? I would think that the two would be interchangeable in the shoebox with an Emulex SCSI/ESDI controller.. The 1355 is a raw 170MB disk that formats to about 141MB, and is the standard ESDI shoebox offering to go with a 3/60. The 1558 is a 380MB disk that I happen to have available for use. Now for the details... The 1558 has an entry in /stand/diag as does the default 1355, in fact the description does match the physical characteristics of the disk. Any operation on the disk (in diag) fails. Verify... read failure. Label... write failure. Format... write failure. The disk works in another machine!!! (not a Sun...) The drive select is the same for the 1558 as is for the 1355. During access attempts, the drive active led is illuminated. If anyone has any insight into what I could be doing wrong, or any suggestions as to what I might try, please let me know. Thanks. ron@vsedev.vse.com (Ron Flax) uucp: ..!uunet!vsedev!ron inet: ron%vsedev.vse.com@uunet.uu.net ------------------------------ Date: TUE APR 19, 1988 17.23.45 EST From: "Nick Iliev" <NI00@LEHIGH.BITNET> Subject: Nest 2.5 problems Has anyone managed to install the Nest 2.5 distributed system simulator on a Sun-3/160 C ? We attempted to run the user interface program and simulator on the same machine but could not run the demo programs. Any ideas ? Nick ARPA - INTERNET : CE460XX@VAX1.CC.LEHIGH.EDU BITNET : NI00@LEHIGH ------------------------------ Date: Tue, 19 Apr 88 19:07:37 EDT From: a.e. mossberg <aem@miavax.miami.edu> Subject: decnet and suns? We're getting our first Sun 3/60 here in August and the rest of the machines in this building are running decnet. Does anybody have a driver that will allow us to connect to the sun through our decservers? Almost all of the terminals on campus are connected to decservers, and I'd hate for people to have to sign on to one of the other systems, then rlogin or telnet to the sun... Thanks in adv.. aem -- a.e.mossberg Internet: aem@mthvax.miami.edu Bitnet: aem@miavax.miami.edu@cunyvm uucp: ...!uunet!miavax!aem SPAN: mthvax::aem (3.91) ------------------------------ Date: Tue, 19 Apr 88 18:50:19 EDT From: formtek!pen@idis.UUCP (Philip E. Nickerson, Jr.) Subject: Where is the Fig or rasterfile to LaTeX filter?? You mentioned a Fig to LaTeX filter. Where might one find it?? Better yet, where might one find a Sun rasterfile to LaTeX filter??? Philip E. Nickerson,Jr. (412)937-4900|(800)FORMTEK UUCP {pitt,psuvax1}!idis!formtek!pen decvax!formtek!pen Snail Formative Technologies, Inc., Foster Plaza VII 661 Andersen Dr., Pittsburgh PA 15220 [[ Sun RASTERFILE to LaTeX? That would be quite a feat! It would be easier to build a font from the rasterfile and produce the TeX to use the font in the correct manner. --wnl ]] ------------------------------ Date: Wed, 20 Apr 88 9:21:22 MET DST From: rader@Madrid.ira.uka.de (Klaus Radermacher) Subject: XWindow Interface for Sun Common Lisp ? Hi there, I would like to know whether there exists an interface to the XWindow-System from Sun Common Lisp. I know there is an excellent interface from Sun Common Lisp to SunWindows which belongs to the language and offers many useful functions. However, if there is something similar to that using XWindows I would like to know about it, whether it's PD or not and where I could get it from. Please mail all answers to: rader@ira.uka.de Thanks a lot in advance. Klaus Radermacher Institut fuer Programmstrukturen und Datenorganisation University of Karlsruhe Fed. Rep. of Germany e-mail: rader@ira.uka.de ------------------------------ Date: Tue, 19 Apr 88 18:54:44 EDT From: formtek!pen@idis.UUCP (Philip E. Nickerson, Jr.) Subject: Where is the autocall program I sent a message through rn a few days ago, but I'm not sure it properly handled the posting to a moderated group as it said it did, so here is my question again.... The monthtool man page mentions a program called autocall which properly handles the .monthtool file format for sending mail to alert users of monthtool about impending events. We do not have such a beast (autocall) here and I was wondering where I might get one. Thanx!! -Phil Philip E. Nickerson,Jr. (412)937-4900|(800)FORMTEK UUCP {pitt,psuvax1}!idis!formtek!pen decvax!formtek!pen Snail Formative Technologies, Inc., Foster Plaza VII 661 Andersen Dr., Pittsburgh PA 15220 ------------------------------ Date: Tue, 19 Apr 88 10:23:23 EST From: umix!lokkur!scs@rutgers.edu (Steve Simmons) Subject: Looking For SCSI or RS-232 Magtape We have a client who's bought some 3/X0 units from us, and want's to interchange files that are presently on magtape. Does anyone know of a magtape drive that will run on the SCSI port on a 3/[56]0? Also, a few years back I saw a magtape that ran off of a 9600baud RS-232 connection on UNIX systems, but darned if I know the name. Since he only wants it for data interchange, that might be acceptable. Anybody? ------------------------------ Date: 19 Apr 1988 2004-EST (Tuesday) From: Eric S. Johnson <esj@beach.cis.ufl.edu> Subject: Looking for ypchfn In highest hopes of not re-inventing the wheel: has anyone implemented a ypchfn server/client? Any pointers would be appreciated. Eric Johnson CIS dept. Univ. of Florida (esj@ufl.edu) ------------------------------ End of SUN-Spots Digest ***********************