Sun-Spots-Request@RICE.EDU.UUCP (12/01/86)
SUN-SPOTS DIGEST October, 24 Oct 1986 Volume 4 : Issue 31.2 Today's Topics: biff with NFS mounted /usr/spool/mail new data communications packages from SUN Need undump for Tex82 on Sun3? D/A driver needed for Sun? 1/2 inch 1600/6250 bpi tape drives for Sun-3's? netstat funny? Problems with mmdfII on SUN workstations (3)? Query: adding mouse and keyboard to Sun serial ports? Magic on Sun-3/110? mods to ttysw to allow boldfacing/underlining/reverse video Network connections seem to lock up...? Color windows running in suntools? Eagle, 3rd party, installation problems? iobus level 3 interrupt not serviced? Query: getting carrier-detect status from zs0? typesetting previewers for Sun workstations? ------------------------------------------------------------------------ Date: 21 Nov 86 13:36:30 1986 (Fri) From: Vicky Riffle <sun-spots-request@Rice.edu> Subject: Administrivia As you all know - v4n31 was truncated. Here is part 2. My apologies for not getting Sun Spots issues out on a more regular basis. We have experienced many problems over the past month, especially with our net connection. The next several issues will be fat and frequent. After that I hope to send out one issue per week. ------------------------------ Date: Fri, 17 Oct 86 16:23:56 EDT From: budd@BU-CS.BU.EDU (Philip Budne) Subject: biff with NFS mounted /usr/spool/mail We run timesharing on a cluster of three SUN-3/180s. All three machines share a single mail queue. Here are changes to make biff work in this environment. The first problem is that /bin/mail only sends udp packets to the comsat on localhost. Here is a change so that /bin/mail will send packets to each host named biffhost-1 .... biffhost-N **************************************************************** mail.c **************************************************************** sendmail(n, name, fromaddr) if( sp ) sprintf(buf, "%s@%d\n", name, ftell(malf)); copylet(n, malf, ORDINARY); fclose(malf); if (sp) { char biffname[100]; int i; f = socket(AF_INET, SOCK_DGRAM, 0, 0); if( f >= 0 ) { for( i = 1; ; i++ ) { biffname[0] = '\0'; sprintf(biffname, "biffhost-%d", i); if( !trybiff(f, buf, biffname, sp ) ) break; } if( i == 1 ) trybiff(f, buf, "localhost", sp); close(f); } /* f */ } /* sp */ unlock(); return(1); } trybiff(s, buf, host, sp) /* budd */ int s; char *buf, *host; struct servent *sp; { struct hostent *hp = NULL; if( (hp = gethostbyname( host )) == NULL ) return( 0 ); biffaddr.sin_family = hp->h_addrtype; bcopy(hp->h_addr, &biffaddr.sin_addr, hp->h_length); biffaddr.sin_port = sp->s_port; sendto(s, buf, strlen(buf)+1, 0, &biffaddr, sizeof (biffaddr)); return( 1 ); } /* trybiff */ **************************************************************** **************************************************************** The second problem is that comsat on machines that had NFS mounted /usr/spool/mail could not read the user's mail files to print the new messages. **************************************************************** in.comsat.c **************************************************************** jkfprintf(tp, name, offset) /* BUDD... */ register FILE *tp; { struct stat stb; if( stat( name, &stb ) == 0 ) { dprintf("seting euid to %d\n", stb.st_uid ); setreuid( -1, stb.st_uid ); /* become mail file owner */ } _jkfprintf(tp, name, offset); setuid( 0 ); } /* ...BUDD */ _jkfprintf(tp, name, offset) /* BUDD */ real jkfprintf here ------------------------------ Date: Fri, 24 Oct 86 10:55:22 PDT From: bcraig@sun.com (Brian Craig - SunLink Product Marketing) Subject: new data communications packages from SUN Sun Microsystems has announced new data communications packages. Earlier this month, Sun announced the following additions to its SunLink data communications product family: SunLink VT100*-type Terminal Allows a Sun workstation to bring up Emulator VT100 emulation in a window. SunLink DNA*-type Protocols Allows a Sun workstation to connect to DECnet environment. Includes VT100*-type Terminal Emulator. DECnet Phase IV protocols that run Ethernet; TCP/IP is allowed to run concurrently on same Ethernet. SunLink OSI Enhanced to include MAP support, in addition to TOP. Allows Sun Workstations to communicate via an 802.4 broadband token bus. SunLink X.25 Enhanced to include X.29 and X.3 support in addition to X.25. Allows a Sun Workstation access to a public data network. X.29 and X.3 provide virtual terminal capability. SunLink DDN Allows a Sun Workstation to serve as a gateway between a Sun network and the Defense Data Network (eg. ARPANET, MILNET, etc.). Existing SunLink products: SunLink SNA 3270 Provides IBM 3278 terminal emulation in an SNA environment. Allows a Sun Workstation to be a gateway server providing 3278 terminal sessions (in a window) to other workstations on the local Ethernet or an Internetwork. File transfer capability provided. SunLink BSC 3270 Provides IBM 3278 terminal emulation in a non-SNA environment. Allows a Sun Workstation to be a gateway server providing 3278 terminal sessions (in a window) to other workstations on the local Ethernet or an Internetwork. File transfer capability provided. SunLink BSC RJE Provides IBM 2780, 3780 and HASP station emulation in a batch- communication environment. Allows a Sun Workstation to be a gateway server providing an IBM RJE host connection to other workstations on the local Ethernet or an Internetwork. File transfer capability provided. SunLink Internetwork Router Extends Sun network communications beyond local Ethernet across a wide area. Allows local Ethernet resources to be shared across the Internetwork. SunLink Communication Processor Optional board which improves performance by offloading protocol handling from the Sun workstation processor. Provides additional communications ports (RS232, RS449). The SunLink product family is designed to facilitate implementation of multi-vendor and wide area networks. Different SunLink packages can run concurrently on the same workstation, different protocols can run concurrently along the same Ethernet, and SunLink gateway products can be shared across a wide area network, allowing access to gateways residing on remote Ethernets. SunLink products are standalone software packages which require no special hardware; the SunLink Communication Processor is optional and can be used to improve performance. Your local Sun sales representative can provide you with additional information on SunLink products. Brian Craig Sun Microsystems Mountain View, Ca. ------------------------------ Date: Fri, 24 Oct 86 12:51:53 EDT From: mlandau@Diamond.BBN.COM (Matt Landau) Subject: Need undump for Tex82 on Sun3? Can anyone provide sources for/a pointer to the Sun 3 version of undump that supposedly appeared on the net some time ago, and that is necessary to bring up the Tex82 distribution on a Sun 3? Thanks. [[A version of undump that will work on a Sun 3 is available via anonymous FTP from host "dione.rice.edu" in the shar file "public/undump.shar". The new version that (presumably) will be appearing on subsequent copies of the Unix-TeX tape is available via anonymous FTP from host "ward.cs.washington.edu" in the file "<tex.xfer>sun3-undump.sh". I believe these versions are different, but they both work with ZMAGIC files. --ed.]] ------------------------------ Date: Thu, 23 Oct 86 17:38:22 cdt From: ihnp4!laidbak!bob@ucbvax.Berkeley.EDU (Bob Van Valzah) Subject: D/A driver needed for Sun? A client of mine needs to do D/A conversion on a VME bus Sun workstation. I know that suitable boards are available from Data Translation and other companies, but I haven't been able to find anyone with a Unix device driver for their board. I'd like to contact anyone who has any sort of D/A converter device driver for Sun workstations. Bob Van Valzah Lachman Associates, Inc. ..!ihnp4!laidbak!bob 800-LAI-UNIX ------------------------------ Date: Wed, 15 Oct 86 12:52:51 EDT From: hull%buffalo.csnet@CSNET-RELAY.ARPA (Jon Hull) Subject: 1/2 inch 1600/6250 bpi tape drives for Sun-3's? If you have experience with a 1/2 inch 1600/6250 tape drive on a Sun-3, please mail me a description of your configuration, the controller and driver you use, any comments you have on their reliability, etc., and where you purchased them. I am going to purchase a drive and controller and would like to get some advice from others that have done this already. I have looked at a Fujitsu 2442 and a Fujitsu 2444 as well as a Cipher 990. I received some negative comments on the 990 and thus am leaning toward one of the Fujitsu's. The controller would be an Interphase 3209. Any comments on these drives or any others you have experience with would be appreciated. Thanks in advance, Jon Hull hull@buffalo.csnet hull%buffalo@CSNET-RELAY.arpa P.S. Buying from Sun is out of the question because of their exorbitant prices. ------------------------------ Date: Tue, 14 Oct 86 14:51:33 BST From: jim%cs.heriot-watt.ac.uk@Cs.Ucl.AC.UK (Jim Crammond) Subject: netstat funny? If I do a netstat I get a number of RPC connections showing up in TIME_WAIT state. Typically I get 4 of these the first time I do a netstat. If I then immediately run netstat again I get 20+. Repeat this a couple more times and netstat will give up printing connections after say 150 (usually without getting to the"interesting" processes). After a short while, all these connections disappear and we're back to 4. Has anyone else seen this strange behavior? -Jim Crammond. ------------------------------ Date: Tue, 14 Oct 86 12:02:27 MET From: jochen%germany.csnet@CSNET-RELAY.ARPA (Jochen Grobholz) Subject: Problems with mmdfII on SUN workstations (1) I have problems to install the mmdfII-software on a sun-workstation. The first bug was a nil-pointer in the file ap_util.c, but this bug I had removed. Now I get the error message ,,Problem in do_an_address [EOF]'' when put a name in the field ,,To''. During the address check the program made a mistake. Do anyone have experience with this problem, please write to jochen@germany.csnet Thanks jochen ------------------------------ Date: Tue, 14 Oct 86 08:10:49 -0700 From: mrose@nrtc-gremlin (Marshall Rose) Subject: Problems with mmdfII on SUN workstations (2) The [EOF] message says that submit is still exiting prematurely. You might contact CSnet-CIC@sh.cs.net to find out how your version of MMDF compares to the one they are currently distributing. /mtr ------------------------------ Date: Wed, 15 Oct 86 14:25:08 -0500 From: long@SH.CS.NET (Daniel Long) Subject: Problems with mmdfII on SUN workstations (3) There is a mailing list "mmdf2@relay.cs.net" that discusses MMDF2 issues including porting to various machines. I'll reply in detail to you there. Dan Long MMDF2B Co-coordinator ------------------------------ Date: 15 Oct 1986 18:04-EST From: Ralph.Hyre@ius2.cs.cmu.edu (Ralph Hyre) Subject: Query: adding mouse and keyboard to Sun serial ports? I'd like to add an extra mouse and keyboard to some of our Sun-3 workstations. These suns already have an extra color monitor attached, so I can set up another user running suntools on the second monitor. The obvious solution would to be to attach them to the two serial ports on the CPU board. The mouse and keyboard share one Zilog serial chip, and the two serial ports share another. What I'm lacking are details, what do I need to know about the following? - the flags byte on zs0 (same as on zs1? (0x103?)) - changing the device numbers and names on the serial ports (I suppose eventually I'll change MAKEDEV to do this) - matching signal levels (do I need a 1488/29SL26 between mouse or keyboard TXD lines and RS-423A RXD lines?) Any help would be appreciated, especially from someone with experience trying to do this. - Ralph ------------------------------ Date: Wed, 15 Oct 86 17:06:01 EDT From: cadre.uucp!pitt!don@sun.UUCP (Don Chiarulli) Subject: Magic on Sun-3/110? Does anyone know what modifications (if any) will be required to port Magic 4.10 and other Berkeley tools to the new Sun-3/110 workstation. I would like to know if it is realistic to consider this configuration for the spring semester. Don Chiarulli Computer Science Dept. University of Pittsburgh don@pitt P.S. Even if you aren't running magic, if you have a 3/110 and are willing to answer some questions, please contact me. ------------------------------ Date: Wed, 15 Oct 86 22:12:27 EDT From: bzs@BU-CS.BU.EDU (Barry Shein) Subject: mods to ttysw to allow boldfacing/underlining/reverse video Thanks for the offer. I'd be interested in your diffs (we are a source site.) If anyone else from BU asks (others read this list) just tell me who you sent it to although I would be the right person. -Barry Shein, Boston University ------------------------------ Date: Fri, 17 Oct 86 09:50:41 PDT From: gerolima@Ford-wdl1.ARPA (Mark Gerolimatos) Subject: Network connections seem to lock up...? ( First, I'd like to complain about Sun's service policy. Seems to me that if this is indeed a Sun problem (ie: not our fault), then Sun should not require service contracts to fix it. If it's clear that my transmission was defective from the day it was installed in my car, no matter WHAT the warranty, there's no way on earth I'm goning to pay to fix it. I shouldn't have to pay for fixing THEIR mistakes, if they are indeed theirs. ) Every once in a while, tty windows to foreign (rsh) hosts seem to "lock up." No characters are echo'd, and "~." doesn't seem to get you out, which makes me think that the problem is on the local side. Usually seems to happen when I hit a signal character (^C, ^Z, etc) on a job that blathering out to a window (ie: catting a long file, or grep'ing a vowel from a source directory). Normally, I would assume it was a full input buffer, but I don't get that cutesy "tty hung?" menu (note: I use the walking menus). Of course, the only recourse is to kill the window (gak!). Anyone else seen this problem? "For almost a quarter of a century..." Mark Gerolimatos ARPA: gerolima@ford-wdl1.{arpa,com} "Let's take our neighbor for a ride! UUCP: {sun,fortune}!wdl1!gerolima Would you like to go for a ride!?" AT&T: (415) 852-4105 "Uuhhhh...no thanks." USPS: c/o Ford Aerospace "No what!?" "No, I wouldn't like to go." 3939 Fabian Way "Go Where!?" "Uuhh...for a ride..." Palo Alto CA 94303 "GOOD IDEA!!! LET'S GO FOR A RIDE!!!" Mail Stop X20 ------------------------------ Date: Sun, 19 Oct 86 13:22:18 EDT From: sean@cadre.dsl.pittsburgh.edu (Sean McLinden) Subject: Color windows running in suntools? I have an application which requires the full 256 colors for a display running under Suntools (Release 3.0 of the OS). I have tried everything from putattributes to setting the CMS and can get no more than two colors in a window (foreground and background). The application is running on a 3/160C with GP/GB. Interestingly, when I call the program and specify a color device (cgtwo or gpone), it exits without doing anything. If I leave it to the default, the foreground and background colors become the 255th and 256th colors in the array while the pointer is in the application window, but revert to black on white when the pointer is outside the application window. Does anyone have a clue as to what is happening? I still can't believe that SunView does not allow you to do all this as options to window_create, but that would be too obvious a feature to provide in a user level environment. Sean McLinden ------------------------------ Date: Mon, 20 Oct 86 11:32:12 edt From: cincotta@ICST-SE (Cincotta) Subject: Eagle, 3rd party, installation problems? I have been trying to install a third party Eagle drive on a SUN Model 150U Workstation with an upgraded 450 XYLOGICS controller. Looking for some insight on the following two problems. 1. SUN provides four bulkhead connectors on my 150U for hooking up to four drives (B channel cables) to the disk controller. On my 150U only port 0 appears to be working. Is this the norm or am I missing something? 2. Attempts to format the Eagle drive result in strange diagnostic messages for about half of the sectors tested: "n/n Format Failed #D, sector switches wrong ... ". The format board on the Eagle is correctly jumpered. The "diag" utility "Format" appears to provide the same diagnostics as "diag's" "fix". Does a means exist to ignore the data that currently exists on the drive and write new address tags? Thanks for any advice. ------------------------------ Date: Mon, 20 Oct 86 14:19:38 EDT From: ted@braggvax.arpa (Ted Nolan) Subject: iobus level 3 interrupt not serviced? We have recently started seeing this message iobus level 3 interrupt not serviced on the consoles of our sun2's (both 2/50 clients and 2/120 fileservers). It doesn't seem to have any harmful effect on the system at all, so we haven't done much about tracking it down yet, other than seeing that it does come from the kernel. Does anyone know what this signifies, before we go digging? (We are running 2.2). Thanks Ted Nolan ted@braggvax ------------------------------ Date: 21 Oct 1986 09:19-EDT From: Ralph.Hyre@ius2.cs.cmu.edu (Ralph Hyre) Subject: Query: getting carrier-detect status from zs0? Need to be able to read the state of the carrier-detect bit on ttya or ttyb. I see IOCTLS for setting and resetting DTR, bu no mention of CD. - Ralph ------------------------------ Date: Thu 23 Oct 86 04:18:48-PDT From: Bryan@SU-SIERRA.ARPA (Doug Bryan) Subject: typesetting previewers for Sun workstations? I'm looking for a TeX previewer for Sun-3 workstations. If anyone out there knows of a previewer for TeX, DVI, Scribe, Impress, or PostScript, please let me know. Please reply to me directly since I am not on all of these mailing lists. My apologies to those of you who are on more than one of the above mailing lists. doug ------------------------------ End of SUN-Spots Digest ***********************