HDTenEightyP/NetNews huggingface dataset:
From: das@eplunix.UUCP (David Steffens)
Newsgroups: comp.sys.sun.misc,comp.sys.sun.hardware,comp.unix.solaris
Subject: Re: Adding to a TAR tape
Date: 9 Sep 92 21:14:28 GMT
Organization: Eaton-Peabody Lab, Boston, MA

In article <1992Sep8.154726.18675@utdallas.edu>,
karches@utdallas.edu (Tom Karches) writes:
> Adding files to existing tar files is only possible on a 9 track tape
> drive. The reason is that other tape drives can not accurately position
> the write head to the exact spot on the tape where the additional files
> would be appended.

In article <1992Sep8.211434.6509@zia.aoc.nrao.edu>,
rmilner@zia.aoc.nrao.edu (Ruth Milner) writes:
> ... Exabytes using long filemarks (which Suns do by default... )
> are able to position between double EOFs to append another file.
> If it can position at the beginning of the second EOF, isn't this
> accurate enough to position at the beginning of the first EOF?

You have confused writing another file onto the logical end of a tape
with appending another file to an existing tar archive.  The former simply
requires positioning between the two file marks that indicate logical
end-of-tape and writing over the second one with the new tape file.
The latter is more complicated as it requires _updating_ the last record
of the tar archive itself in order to remove the logical end-of-archive
that tar has written while preserving whatever data may be present.
This process requires reading to logical end-of-archive, backspacing
one record, and rewriting said record with an updated version containing
the data from the old record plus the data from the head of the new file.

In article <1992Sep9.083842.19758@onionsnatcorp.ox.ac.uk>,
dominic@natcorp.ox.ac.uk (Dominic Dunlop) writes:
> ...  There are two (512 byte) blocks full of nulls at
> the end of a tar archive, indicating end-of-archive.  (See also
> tar(5).)  If you want to extend the archive, you've got to update the
> contents of those two blocks.  Only block-structured devices (/dev/mt8
> and so on) are capable of doing updates in place...

Close, but not quite, since tar always uses the raw tape device not the
block tape device.  The tape driver and transport hardware must support
the magtape ioctl's that allow backspacing and rewriting the last record.
The old 1/4" cartridge tapes did not support this interface and so were
unable to update a tar archive in place.  Newer drives should be able to,
but perhaps the software has not been updated to reflect this change.
-- 
David Allan Steffens       | I believe in learning from past mistakes...
Eaton-Peabody Laboratory   | but why does a good education require so many?
Mass. Eye & Ear Infirmary, 243 Charles Street, Boston, MA 02114
{harvard,mit-eddie}!eplunix!das    Tel (617) 573-3748    Fax (617) 720-4408
Xref: sparky comp.sys.sun.misc:4150 comp.sys.sun.apps:1862
From: wsadkin@bbn.com (Will Sadkin)
Newsgroups: comp.sys.sun.misc,comp.sys.sun.apps
Subject: Why is .dbxinit read before symbol table?
Date: 9 Sep 92 15:32:34 GMT
NNTP-Posting-Host: daedalus.bbn.com


Can anyone tell me why the .dbxinit file (or -s <startup file>) is read
*prior* to reading the symbol table for the program being debugged?  To
me, this make the whole concept rather useless...  I want my startup file
to contain a line like "stop in init_proc", but dbx just says 
"1: no module, procedure or file named init_proc" when I run it, because it
hasn't read the symbol table when it tries to run the commands in the file. 

WHY OH WHY doesn't it read the symbol table 1st? 

I am trying to attach to a running process, and get it to stop when it
gets to a particular routine (same one every time) without having to type
it by hand on each run. (This is not a problem on other platforms...)

Can anyone tell me: 
a) if this is possible using sun's dbx?
b) how do I accomplish it?

Thanks,
/Will
-------------------------------------------------------------------------------
Will Sadkin                | "Never draw what you can copy;
BBN Systems & Technologies |  never copy what you can trace;
wsadkin@bbn.com            |  never trace what you can cut out and paste down!"
-------------------------------------------------------------------------------
From: umn@cadre.com (Uttam M. Narsu)
Newsgroups: comp.sys.sun.misc
Subject: Setjmp/longjmpOptimization
Date: 14 Sep 92 15:26:36 GMT
Organization: Cadre Technologies Inc.

In the past we have had a number of problems with Sun's optimizer
and our use of setjmp/longjmp to handle exceptions.  The problem was 
particularly nasty since many of the longjmps would work just fine, but
we would see crashes on some of them.

However, with the Sun 4.1.2 compiler, things seem to have improved. But how can I know for sure without testing every branch path?  So: does anyone know if
Sun's optimizer correctly handles setjmp/longjmpcode?

Also, are there any other gotchas when using the levels -O2 to -O4 (besides
what is in the man page)?


Uttam M. Narsu			EMAIL:	umn@cadre.com
c/o Cadre Technologies Inc	TEL:	(401) 351-5950
222 Richmond St.		FAX: 	(401) 351-7380
Providence, RI  02906
Xref: sparky comp.sys.sun.apps:1871 comp.windows.x:16438
From: Paul Peterson <paulp@ccsd.uts.edu.au>
Subject: Re: ksh for SUN (Found some!!!)
Organization: University of Technology, Sydney
Date: Thu, 10 Sep 1992 07:31:43 GMT
X-Xxmessage-Id: <A6D52FBDA4012015@paulp.ccsd.uts.edu.au>
X-Useragent: Nuntius v1.1.1d9
X-Xxdate: Thu, 10 Sep 92 01:00:45 GMT

In article <1992Sep10.043020.11888@ccsd.uts.EDU.AU> Paul Peterson, 
paulp@ccsd.uts.edu.au writes:
>	Does anyone out there know of source or binary for ksh on a Sun? Any
>help would be appreciated.

	Shortly after posting this previous message I found a site that I
had previously overlooked and found a copy of some source that compiled
first go :-) I ran the shell and I got all of the funtionallity that I
expected.

	I then tried (from csh) to run a shell script which specified to be
run by my newly created ksh but only got permission denied. I have execute
permission on ksh and I have execute permissions on the shell script.

	I've put ksh into /etc/shells in case that was the problem to no
avail. Any help regarding a solution would be most appreciated

Cheers.

BTW. For any one else who'd like to know, I found the source on
sun0.urz.uni-heidelberg.de (129.206.100.126) in directory /pub/unix. The file's
name is pd_ksh-4.1.tar.Z Thank goodness for archie!!!

--
 _--_|\   Paul Peterson,                            P.Peterson@ccsd.uts.EDU.AU
/      \  Systems Support Section,                          Ph: +61 2 330 2131
\_.--._/  University of Technology, Sydney,                  (Internal: x2131)
      v   PO Box 123, Boadway, NSW, 2007, Australia.       Fax: +61 2 330 1994
From: weinri@athena.cs.uga.edu (Kevin Weinrich)
Newsgroups: comp.sys.sun.apps
Subject: My Sun calendar man. went flaky - why?
Date: 9 Sep 92 22:25:49 GMT
Organization: University of Georgia, Athens

Any of you folks ever have weird things going on with your Sun
Calendar Manager?  Sometime recently mine started to go flaky
on me -- when I double-click on a day, it brings up the *previous*
day.  If I set an appointment, it schedules it for a different time
(this last time, I set it for 6 p.m., it showed up at 1 p.m.).
I assume it's always off by this much now.  Oh, yeah, standing
appointments that I had set up months ago were moved a set amount
of time, too.

I deleted my entries under /usr/spool/calendar, and re-ran
install_cmgr, but to no avail.  cm, install_cmgr, and rpc.cmsd all
seem to have the original release date.  This problem might have started
when I installed X11R5, but I'm not at all sure.  I'm running
OS 4.1, and OW 2.0 on a Sparc 1+.  I have another Sparc 1+ on
which I've never run install_cmgr until just now -- it installs
and runs just fine.  I have a 4/330 with OS 4.1.1 that's been
running cm for a long while -- it runs fine, too.

Any idea what gives?  Thanks for your help,

-Kevin (Confused) Weinrich		weinri@athena.cs.uga.edu
Newsgroups: comp.sys.sun.apps
From: bernward@rcc.de (Bernward Averwald)
Subject: Re: Help me tar kermit.tar.z !
Organization: Home
Date: Mon, 14 Sep 92 20:08:34 GMT

In article <1992Sep14.160034.1762@uhura.neoucom.edu> wtm@uhura.neoucom.edu (Bill Mayhew) writes:
>
>Careful about the .z and .Z extensions.
>
>Use, "uncompress kermit.tar," if the file is kermit.tar.Z.
>
>Use, "unpack kermit.tar," if the file is kermit.tar.z.

Or, if you got the file with kermit :-), all letters are folded
to lower case, so kermit.tar.z is in fact kermit.tar.Z.
Unpack with "zcat < kermit.tar.z | tar xvf -".

>
>The compression algorithm is similar, but there are technical
>implementation differes slightly.  I believe one  is berkeley
>flavor while the other has systemVish roots.
>
>
>-- 
>Bill Mayhew      NEOUCOM Computer Services Department
>Rootstown, OH  44272-9995  USA    phone: 216-325-2511
>wtm@uhura.neoucom.edu   (140.220.1.1)


-- 
Bernward Averwald, Heinrichstr. 42, 4600 Dortmund 1, Germany, b@rcc.de
Newsgroups: comp.sys.sun.apps
From: eboltz@jhunix.hcf.jhu.edu (Eric Scott Boltz)
Subject: Re: Problems with WP 5.0!! WP 5.1 how much bett
Organization: HAC - Johns Hopkins University, Baltimore
Date: Fri, 11 Sep 1992 18:58:01 GMT

My question re: WP 5.1 is how easy it is to mount a DOS disk.
Running WP 5.1 under SoftPC this is quite easy.

Sorry if someone has previously answered this.

Eric
From: lambert@duke.cs.duke.edu (Chris Lambert)
Newsgroups: comp.sys.sun.apps
Subject: Optimized fft library for sun4's?
Date: 11 Sep 92 06:06:36 GMT
Distribution: usa
Organization: Duke University, Department of Computer Science




        Is there such thing as an optimized fft library, tuned for sun4's?
In particular, I need an efficient real fft implementation.  I suppose
one could resort to netlib, but speed is of the essence.

Many thanks,

Chris Lambert

Duke University                 
Department of Computer Science  
109 North Building              
Box 90129 Durham, NC 27708-0129
(919) 660-6529
lambert@cs.duke.edu


-- 
Department of Computer Science, Duke University, Durham, NC 27706
Internet:	USER@cs.duke.edu
UUCP:		mcnc!duke!USER
Newsgroups: comp.sys.sun.apps
From: dshaker@qualix.com (Doug Shaker)
Subject: Re: Help with Sun thinks SparcPrinter unavaible
Reply-To: dshaker@qualix.com
Organization: QUALiX Group, Inc. 
Date: Fri, 4 Sep 1992 19:45:08 GMT

In article 11727@eng.umd.edu, naiming@eng.umd.edu (Naiming Shen) writes:
>
>I have a problem with the Sun's SparcPrinter: Sometimes after I sent out
>a print job, nothing coming out from the printer. When I use 'lpc' and
>'status' to check the printer, it says 'waiting the printer to be 
>avaible'. Sometimes by typing in 'restart printer-name' will get the
>print job going, othertimes nothing happened. And on the Sun a lot of
>'lpd' deamon are running. I had to reboot the machine to correct the
>problem. Can someone give me a clue how to solve this problem?
>thanks in advance.
>Naiming
>
I sometimes get results by 1) killing the xnews process doing the postscript
interpretation [ the one with -cubesize large on the line when you do a
ps -ax] and (2) restarting the whole shebang [by greping /etc/rc.local for
the Sparcprinter line and rexecuting the command used to start the printer].

I don't claim to understand it though.

 - Doug Shaker

	voice:	415/572-0200
	fax:	415/572-1300
	email:	dshaker@qualix.com
	mail:	Qualix Group
		1900 S. Norfolk St., #224
		San Mateo, CA 94403


Newsgroups: comp.sys.sun.apps
From: earle@elroy.jpl.nasa.gov (Greg Earle (Gainfully Unemployed))
Subject: Re: Pageview overlays pages of some PostScript files
Followup-To: comp.sys.sun.apps
Keywords: pageview
Organization: Gainfully unemployed
Date: Fri, 11 Sep 1992 10:54:02 GMT

In article <JGREELY.92Sep8161437@morganucodon.cis.ohio-state.edu> jgreely@morganucodon.cis.ohio-state.edu (J Greely) writes:
>>The problem is that PageView uses the %%page command to determine
>>where pages end.  If there aren't any, it doesn't stop.  This is the
>>wrong behaviour, as the %%page is specifically a comment (called a
>>"body comment" in the "red book").
>
>This is perfectly sensible behavior for a previewer.  While it's nice
>that some other previewers manage to trap all showpage commands
>correctly, the problem is "poor PostScript", not "poor previewer".

Nonetheless, making the PostScript producer (or viewer) insert the necessary
%%Page comments into the documents is either impossible (in the case of the
former) or quite difficult/time-consuming (the latter), so the author of
"pageview" (Hi, Joe!) decided to address the problem by enabling a mode
whereby the "showpage" operator gets internally re-defined and thus the
need to have the "%%Page:" comments is obviated.

This mode is enabled by clicking on the box in the Properties sheet which
is labelled "Ignore PostScript Document Structuring Comments" (or similar;
I've forgotten the exact text).  When you hit the "Apply" button, the document
will be re-rendered, and your multiple-pages-piled-on-top-of-one-another
problem will go away.

"But", I hear you say, "my OpenWindows `pageview' doesn't *have* any such
button to click on!".  Aye, laddies.  That's because you're running OW 2.0
or 3.0.  This new feature is available starting with the "pageview" that
comes with OpenWindows 3.0.1, which only runs under Solaris 2.0.

I have a SunOS 4.1.x binary of a pre-3.0.1 "pageview" that has this
feature, but for obvious reasons I cannot give it out.  The last document I
signed before I left Sun two weeks ago essentially said that I'd get my ass
sued royally if I gave out proprietary information ... (-:

	- Greg Earle
	  Sun Microsystems, 4/1988 - 9/1992
	  (now Gainfully Unemployed)

Newsgroups: comp.sys.sun.apps
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: openwin and DISPLAY
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Date: Thu, 10 Sep 1992 13:02:17 GMT

In article <1992Sep10.120547.26796@cbnewsh.cb.att.com>, 
wolf@mt.att.com (Thomas Wolf) writes:
|> In article 5343@ukw.uucp, lupe@ukw.uucp (Lupe Christoph) writes:
|> "> "wolf@mt.att.com (Thomas Wolf) writes:
|> "> "
|> "> ">This is probably a FAQ: Why does the openwin script overwrite the DISPLAY
|> "> ">variable with its own ":0"?  An application I'm running under OW3.0 needs
|> "> ">to have at least "unix" or a hostname in that variable.  What's the simplest
|> "> ">solution to retaining the variable?
|> "> "
|> "> "From "man openwin":
|> "> "
|> "> "     DISPLAY
|> "> "          By default this is ":0" meaning this  xnews  server  is
|> "> "          the first (zero based) one running on this machine.  If
|> "> "          you need to  run  more  than  one  server  on  a  given
|> "> "          machine, use the "-display" option.
|> "> "
|> "> "The man pages are a bit fuzzy on this. But you *can* use the -display
|> "> "option with openwin just like that used by the clients.
|> 
|> That's not quite true.  When I try "openwin -display unix:0.0" (which is quite
|> legal with most/some/whatever x-clients) the server complains about invalid
|> command-line arguments.  I think the above just gives you the option of specifying
|> a different display number - e.g. "openwin -display :1".
|> 
|> I originally asked the question because I had an "ill-behaving" application (ie.
|> my application :-) that required the DISPLAY variable to have _something_ before
|> the colon.  I didn't realize know, at the time, that wasn't necessarily the case.
|> However, the question itself is still valid.  I don't think the "openwin" script
|> should decide for the user what to set DISPLAY to -- iff the user already has an
|> environment variable of that name set.

The problem here seems to be xnews, from its man page:

xnews [ :display ] ...

I your application needs DISPLAY set as you could just grab the openwin
script, change:

# default DISPLAY is :0
DISPLAY=":0"

to:

# default DISPLAY is :0
DISPLAY="${DISPLAY-:0}"

and:

# start up xinit and thus the server.
$OPENWINHOME/bin/xinit -- ${SERVER-$OPENWINHOME/bin/xnews} \
$DISPLAY $PASSTHRU $AUTH 

to:

# start up xinit and thus the server.
$OPENWINHOME/bin/xinit -- ${SERVER-$OPENWINHOME/bin/xnews} \
`echo $DISPLAY|sed -e 's/^.*:/:/' $PASSTHRU $AUTH 

and get rid of the error display by changing:

# complain if $DISPLAY doesn't begin with a colon.
case "$DISPLAY" in
    :*)
        ;;
    *)
        err "\"$DISPLAY\" is an illegal value for \$DISPLAY"
        ;;
esac

to:

# complain if $DISPLAY doesn't have a colon.
case "$DISPLAY" in
    *:*)
        ;;
    *)
        err "\"$DISPLAY\" is an illegal value for \$DISPLAY"
        ;;
esac


Untested I'm afraid, but not much can go wrong.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Newsgroups: comp.sys.sun.apps
From: wittesa@reks.uia.ac.be (Willy Wittesaele)
Subject: Re: Help me tar kermit.tar.z !
Organization: U.I.A.
X-Newsreader: Tin 1.1 PL5
Date: Mon, 14 Sep 1992 10:03:10 GMT

Hello ,

The kermit.tar.z (better rename it to kermit.tar.Z) means that it is
a compressed file :

uncompress kermit.tar.Z will give you the file kermit.tar

tar xvf kermit.tar      gives you the original files

Willy
wittesa@reks.uia.ac.be
From: amercer@discover.wright.edu (Art Mercer)
Newsgroups: comp.sys.sun.apps
Subject: Installing LAPACK
Date: 10 Sep 92 15:18:03 GMT
Organization: Wright State University

I am attempting to install LAPACK (June 92) on a SparcStationII under
1.4.3 and am getting the error messages reported in the Release-Notes.
I've tried their suggestion of redefining the temp directory, but no go.

Can someone who has successfully implemented this pacakage give help?

Thanks,
   Art Mercer
   Senior Consultant
   Computing and Telecommunications Services
   Wright State University.
From: gamin@ireq-robot.hydro.qc.ca (Martin Boyer)
Newsgroups: comp.sys.sun.apps
Subject: Re: Mathematica on SPARC?
Date: 11 Sep 92 17:18:22 GMT
Organization: Le laboratoire de robotique de l'Institut de recherche
	d'Hydro-Quebec

>>>>> Eric Boltz writes:

>I am sure that Mathematica is available for SPARCs, but is
>it the best manipulator for this platform? On the NeXT Mathematica
>uses a 'notebook' interface which is quite nice, but I do not
>believe this is available on Sun's machines.

There is an emacs interface which could be improved, but is workable.
The author is David Jacobson <jacobson@hpl.hp.com>.  It is available
by anonymous ftp at:

archive.cis.ohio-state.edu:/pub/gnu/emacs/elisp-archive/modes/math.el.Z

--
Martin Boyer                            mboyer@ireq-robot.hydro.qc.ca
Institut de recherche d'Hydro-Quebec    mboyer@ireq-robot.uucp
Varennes, QC, Canada   J3X 1S1
+1 514 652-8412
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.sys.sun.apps
Subject: Re: My Sun calendar man. went flaky - why?
Date: 10 Sep 92 20:39:38 GMT
Organization: Auspex Systems, Santa Clara

>Suns Time zone stuff is broken. Date will read corectly but the CM is using GMT
>for the time zone.

In particular, it's Sun's Calendar Manager that has the broken time zone
stuff; it uses the crufty old obsolete kernel time zone stuff rather
than correctly using routines such as "timelocal()" or "mktime()".

"tzsetup" does the best it can at setting the kernel time zone stuff to
match the real time zone stuff, although there are limits on what it can
do (the kernel time zone stuff, and the old routines that used it, only
supported certain hard-coded daylight savings time rules).
Newsgroups: comp.sys.sun.apps
From: wolf@mt.att.com (Thomas Wolf)
Subject: Re: openwin and DISPLAY
Reply-To: wolf@mt.att.com
Organization: AT&T Bell Laboratories
Date: Thu, 10 Sep 1992 12:05:47 GMT

In article 5343@ukw.uucp, lupe@ukw.uucp (Lupe Christoph) writes:
"> "wolf@mt.att.com (Thomas Wolf) writes:
"> "
"> ">This is probably a FAQ: Why does the openwin script overwrite the DISPLAY
"> ">variable with its own ":0"?  An application I'm running under OW3.0 needs
"> ">to have at least "unix" or a hostname in that variable.  What's the simplest
"> ">solution to retaining the variable?
"> "
"> "From "man openwin":
"> "
"> "     DISPLAY
"> "          By default this is ":0" meaning this  xnews  server  is
"> "          the first (zero based) one running on this machine.  If
"> "          you need to  run  more  than  one  server  on  a  given
"> "          machine, use the "-display" option.
"> "
"> "The man pages are a bit fuzzy on this. But you *can* use the -display
"> "option with openwin just like that used by the clients.

That's not quite true.  When I try "openwin -display unix:0.0" (which is quite
legal with most/some/whatever x-clients) the server complains about invalid
command-line arguments.  I think the above just gives you the option of specifying
a different display number - e.g. "openwin -display :1".

I originally asked the question because I had an "ill-behaving" application (ie.
my application :-) that required the DISPLAY variable to have _something_ before
the colon.  I didn't realize know, at the time, that wasn't necessarily the case.
However, the question itself is still valid.  I don't think the "openwin" script
should decide for the user what to set DISPLAY to -- iff the user already has an
environment variable of that name set.

Tom
---
+----------------------------------------+ ..I've been told my signature lacked
| Thomas Wolf   | (908) 957-3955         | originality...Of course it does!
| Bell Labs, NJ | wolf@merlin.mt.att.com | I'm a conservationist - and 
| MT 4D-213     | wolf@jolt.att.com      | originality, in my case,  is a
+----------------------------------------+ an extremely limited resource...

Newsgroups: comp.sys.sun.apps
From: attila@swanee.ee.uwa.oz.au (Attila Bodonyi)
Subject: Parallel HP-III printer with postscript cartridge
Reply-To: attila@swanee.ee.uwa.oz.au
Organization: Elec Eng, Univ of Western Australia
Date: Tue, 8 Sep 92 02:54:08 GMT

I am looking for a proper printcap entry for a HP-Laserjet III with a
postscript cartridge connected to a SS2 via the parallel interface of an
SBus card.

I tried both NewsPrint, and TranScript, but they seem to support
PostScript printers via serial line only. Also, I "cat" some ps files onto 
the bpp device with success, but I could not get lpd to handle the jobs 
properly.

Any help would be appreciated,

- Attila -


---
-------------------------------------------------------------------------
Attila Bodonyi				Email: attila@swanee.ee.uwa.edu.au
Electrical & Electronic Eng.		Phone: 61 9 380 3110
The University of Western Australia	Fax: 61 9 380 1065
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.sys.sun.apps
Subject: Re: openwin and DISPLAY
Date: 9 Sep 1992 15:54:32 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
Distribution: na
NNTP-Posting-Host: telecaster.think.com

In article <1992Sep9.122530.8309@cbnewsi.cb.att.com> adh@cbnewsi.cb.att.com (andrew.d.hay) writes:
>i don't know *which* of the openwin tools is refusing to run remotely;
>i just tried /usr/openwin/bin/openwin -- *that's* what i referred to
>above.

/usr/openwin/bin/openwin is the server.  Since you're already running a
server (in the X terminal), it makes no sense to try to run another server.
If you have an X terminal you should be starting your session by logging
into xdm rather than running openwin from the command line.


-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: comp.sys.sun.apps