Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!spdcc!husc6!rice!sun-spots-request From: Sun-Spots-Request@Rice.edu (William LeFebvre) Newsgroups: comp.sys.sun Subject: Sun-Spots Digest, v7n16 Message-ID: <2158@kalliope.rice.edu> Date: 18 Nov 88 14:07:15 GMT Sender: usenet@rice.edu Reply-To: Sun-Spots@Rice.edu Organization: Rice University, Houston, Texas Lines: 446 Approved: Sun-Spots@rice.edu SUN-SPOTS DIGEST Wednesday, 16 November 1988 Volume 7 : Issue 16 Today's Topics: Administrivia Re: Problems with dump on 4.0 Re: /var/spool/lpd/err files Re: Sun and ksh method needed to get shelltool info Re: Silicon Graphics Tapes Contool 2.0, patch 2 sysdiag and other virus risks Gammontool Bug, Yes. Cheats? No. Kudos to William LeFebvre 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: Wed, 16 Nov 88 15:45:41 CST From: William LeFebvre Subject: Administrivia My apologies for being so slow with the digests recently. I have been busy with two separate projects: getting the software ready to let comp.sys.sun go undigested, and testing out a new mail gateway by running sun-spots mailings from it. Hopefully, this will be the last (or maybe second to last) digest to be posted to comp.sys.sun. After this, individual messages will be posted. I have sludged through all the backlogged requests to make sure that those wanting to keep the digested format were added back to the main list. Let me stress that those who receive Sun-Spots directly via mail or via the Bitnet list server will see no change in the format. This change will only affect Netnews (readnews, rn, NNTP, etc.) readers. I will post an introductory note to comp.sys.sun when the change takes effect. William LeFebvre ------------------------------ Date: Tue, 08 Nov 88 11:30:47 SET From: Danielle Heinzer Subject: Re: Problems with dump on 4.0 Reference: v6n278 > The second problem is like this. I wrote two small dumps onto one > tape. Itried to read the second one with: > /usr/etc/restore ibfs 1750 /dev/rst0 2 > Restore then demands the second volume. I had the same problem. I dumped two partitions onto one tape by doing the following: /usr/etc/dump 0ucf /dev/nrst8 /dev/rsd0a /usr/etc/dump 0ucf /dev/nrst8 /dev/rsd0d mt -f /dev/rst8 offline To read the table of contents of the second dump of the tape, I did: mt -f /dev/rst8 rew /usr/etc/restore tfs /dev/nrst8 2 Restore asked me for volume 2. Entering : /usr/etc/restore tfs /dev/nrst8 3 gave me the good table of contents. But I don't know why !! Danielle Heinzer ESA Computer Department/Computer Services European Space Operations Centre Robert-Bosch-str. 5 6100 Darmstadt West-Germany Tel int : 49-6151-886540 ------------------------------ Date: Tue, 8 Nov 88 10:16:01 EST From: David Wiseman Subject: Re: /var/spool/lpd/err files Reference: v7n6 In SunSpots v7n6, bparent%sdcc7@ucsd.edu (Brian Parent) suggested a rather nice fix for the Transcript/lpd problem that caused the transcript filter output to end up in an lpd bit bucket. It was very clever. Unfortunately, on my system, it did not work. It appears to me, from what Brian suggested, that pscomm is assumed to know what to do with the JOBOUTPUT variable. Mine didn't. I don't know if this is because it is an older or newer version of Transcript (I haven't checked). However, a small modification to his .options file (options to my Transcript) will make it work. In fact, it should work for any version of Transcript. Here it is: log=/var/spool/ps800/ps800-log err=/var/spool/ps800/err* it=/var/spool/ps800/filter_diags test -r $it && cat $it >>$log test -r $err && rm -f $it && ln $err $it The above code should be added to the end of the options file. Basically, instead of relying on JOBOUTPUT, simply grab the err* file that lpd creates. I am, of course, assuming that /var/spool/ps800/err* will be expanded by the shell. Note also that I am running SunOS 4.0: your log files may differ. Finally, it should be pointed out that the captured filter messages will not show up in the log file until the next job prints. This is better than not showing up at all. magi David Wiseman, Network Manager Department of Computer Science The University of Western Ontario London Ontario Canada N6A 5B7 ------------------------------ Date: Mon, 7 Nov 88 17:42:30 GMT From: mmm@inf.rl.ac.uk (Mark M. Martin) Subject: Re: Sun and ksh method needed to get shelltool info Reference: v7n5 Organization: Rutherford Appleton Laboratory, Didcot. UK. In Sun-Spots Digest, v7n5 n8emr!lwv@sun.com (Larry W. Virden) writes > I have a set of aliases to talk to the shelltool, but do not know how to > write the report aliases/functions properly > stty raw -echo; echo "$ESC[11t\c" >/dev/tty ;read -r resp;stty echo -raw I use good old dd. Here is an excerpt from a /bin/sh script using it: (note you mustn't type while the interrogation is going on.) reportlabel=${esc}'[21t' # returns $label