HDTenEightyP/NetNews huggingface dataset:
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.sys.sun.misc
Subject: Re: Changing Timezone
Date: 10 Oct 92 22:22:32 GMT
Organization: Auspex Systems, Santa Clara

>Many thanks to everyone who wrote pointing out that I should...
>
>cd /usr/share/lib/zoneinfo
>rm localtime
>ln GB-Eire localtime

If everyone (or almost everyone) who wrote pointed out that you should
do that, then it appears that "zic -l" is a *REALLY* obscure feature.

From the 4.1.1 ZIC(8) (although any UNIX system with the Arthur Olson
time zone code will support it, if the people who picked it up did a
competent job):

	OPTIONS

		...

	     -l timezone    Use the time zone  timezone  as  local  time.
	                    zic  will act as if the file contained a link
	                    line of the form

	                         Link  timezone                    localtime

so all you need do is

	zic -l GB-Eire

(you have to do that from an account with sufficient privileges to do
it, of course, but if you're going to do it by hand, you have to do it
from such an account as well).

Of course, once you've done that, you may want to reboot, in order to:

	1) restart any daemons started when the wrong time zone was
	   being used;

	2) run "tzsetup", for the benefit of pre-4.0 binaries, and
	   programs not written to use "timelocal()" or "mktime()"
	   (those programs may not *ever* work correctly, if the DST
	   rules wired into them don't match your rules, but "tzsetup"
	   may make them work better).
Newsgroups: comp.sys.sun.misc,comp.sys.sun.wanted
From: aburt@mnemosyne.cs.du.edu (Andrew Burt)
Subject: Reading mac disks
Organization: University of Denver, Dept. of Math & Comp. Sci.
Date: Thu, 15 Oct 92 00:18:34 GMT

Arrrgh!  It's never safe not to save anything.  I know this came up,
I thought I even saved the answer...but I'll be damned if i can't find
it anywhere.  Grr.

Anyway, s'pose I have a mac disk and want to read it on the Sun (even read it
on an IBM PC clone) -- what software do I want? Something akin to Mtools...

I thought the answer was something like "you can't read certain disks,
but for the others, use XXX"...    What is the XXX I want?

Sorry to dredge it up again; an faq would be nice... (Whatever happened
to the sun-managers faq, anyway?)
-- 

Andrew Burt 		   					  aburt@du.edu

      "And that, my liege, is how we know the Earth to be banana-shaped"
Newsgroups: comp.sys.sun.misc
From: nickel@cs.tu-berlin.de (Juergen Nickelsen)
Subject: Re: swap or swapon?
Reply-To: nickel@cs.tu-berlin.de
Organization: STONE Project, Technical University of Berlin, Germany
	<1992Oct15.010806.6630@news.acns.nwu.edu>
Date: Thu, 15 Oct 1992 17:50:56 GMT

In article <1992Oct15.010806.6630@news.acns.nwu.edu>
c-wargaski@nwu.edu (Christopher J. Wargaski) writes:

> In <SIMON.92Oct14122400@liasg2.epfl.ch> simon@lia.di.epfl.ch (Simon Leinen) writes:
> 
> >Swap partitions are better than swap files because paging i/o doesn't
> >go through the file system.  We only use swap files in acute cases of
> >lack of swap space, and replace them with larger/more swap partitions
> >in the long term.
> 
> I echo "" (couldn't resist) your sentiments.  It inhibits speed of
> the system when swapping thorugh the file system occurrs.

As I once read somewhere, it doesn't matter if swapping is done on a
swap partition or on a swap file. If swapon(8) setablishes a swap
file, the file's blocks are simply added to the list of blocks
available for swapping, just like those of a swap file. No performace
penalty here.

--
Juergen Nickelsen
Newsgroups: comp.sys.sun.misc
From: freyder@NeoSoft.com (Rob Freyder)
Subject: mailtool !!!!! How do I change the editor ?
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Sat, 17 Oct 1992 01:33:53 GMT

Greetings,

I have given up using mailtool cause I hate textedit !!

Anyone know how to change the editor in mailtool ?

I want to use Crisp V3.0 !!  A real editor !

Thanks millions. Rob.

rob@marley.aws.waii.com        freyder@neosoft.com

-- 
Rob Freyder                             Atlas Wireline a division of
____    ____     ____                   Western Atlas International Inc.
\   \  /   /\   /   /\                  A Litton / Dresser Company
 \   \/   /  \ /   /  \                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.sys.sun.misc
From: wsg@cbnewsk.cb.att.com (Wendy S. Grohol)
Subject: Does lp have an option for point size?
Organization: AT&T Bell Laboratories - Engineering Research Center
Distribution: usa
Date: Fri, 16 Oct 1992 19:45:53 GMT
Summary: What is the option for point size for the lp command?
Keywords: lp, point size

A user is printing a file using lp but isn't happy
with the point size. Is there an option to change
the point size for the lp command? Is there also
an option for changing the font?

I RTFM but the only thing that looks promising is
-o which can be used to enter device dependent
options, which they don't give any examples of.
This is for a PostScript printer.
From: tda10@cus.cam.ac.uk (Tim)
Newsgroups: comp.sys.sun.misc
Subject: Re: shared linker problems
Date: 16 Oct 92 22:06:54 GMT
Organization: U of Cambridge, England

In article <1992Oct15.164046.1692@us-es.sel.de>, dcb@slsvitt (David Binderman 3841) writes:

|> Whenever I do a link on shared libraries, ld.so checks version numbers.
|> 
|> Of course the version numbers don't match up, and it displays a
|> warning message, but it still does the link.
|> 
|> What flag can I give the linker to stop the warning ?
|> 
|> Of course, its not for me, its for this brain damaged application which
|> requires the linker to produce zero lines of output for a successful link.

I only know of one way:

It's a bit naughty, because the warnings may well be important as your
applications may well be incorrect using the wrong libraries, but you can disable
the warnings by mv'ing the shared library to a higher version number.


Tim.
Newsgroups: comp.sys.sun.misc
From: andrewf@cs.uwa.oz.au (Andrew Forth)
Subject: Does SUN Light Weight Processes claim POSIX compliance??
Summary: Does SUN Light Weight Processes claim POSIX compliance??
Keywords: Light Weight Processes, Sun Microsystems, POSIX
Organization: Dept. Computer Science, University of Western Australia.
Date: Tue, 13 Oct 1992 15:22:05 GMT

I need to find out if the Sun Microsystems' Light Weight Process
library (LWP) claims to be a POSIX compliant Threads implementation.

I realize that the Pthreads proposal (P1003.4A) has, as yet, existed in
the form of multiple drafts only, and that any Pthreads implementation
can only claim compliance with a draft of P1003.4A.

Therefore, I was wondering whether anyone might know if SUN LWP claims
to conform to any of these drafts of P1003.4A.

If anyone can help me with this I would appreciate replies by Email.

Thanks
Andrew



-- 
Andrew Forth                                <andrewf@cs.uwa.edu.au>
Department of Computer Science, The University of Western Australia
From: brown@ftms.UUCP (Vidiot)
Newsgroups: comp.sys.sun.misc
Subject: Re: Use Courier font in Sun/Troff
Date: 13 Oct 92 15:06:50 GMT
Reply-To: brown@ftms.UUCP (Vidiot)
Distribution: usa
Organization: Vidiot's Other Hangout

In article <5814@osc.COM> yms@osc.osc.com (Yuh-Ming Shyy) writes:
<Hi, is there any one who can tell me how to switch to Courier font 
<inside a Sun/Troff document? I found this is the only inconvenience 
<that I feel as compared to Latex. Thanks in advance. 

The problem with Sun Troff is that it is the old C/A/T troff, i.e., it only
supports 4 fonts.  By default they are Times-Roman, Times-Roman Italic,
Times-Roman Bold and Symbol.  Obviously the Courier font isn't there.

You might try something like:

.fp 3 C
.ft 3

This will replace your TR Bold with Courier.  After the page is finished,
or maybe even a paragraph later, you can try changing it back.  But, you
won't be able to mix Courier and TR Bold on the same line.

A better approach is to get the Chris Lewis Psroff package, which adds better
font support.

But, the best approach is to dump the old troff all-together and get the GNU
groff-1.06 package.  It supports many fonts at one time, and I mean many
fonts.

To change to Courier at any time can be done very easily with .ft C or \fC.
It also has DWB 3.0 features.  Old troff is, in my opinion, garbage and should
not be used.  GNU groff is the way to go.

I use groff to produce a 470+ page document that does all kinds of stuff with
page layout, PostScript inclusion of drawings and pictures, personally written
PostScript inclusion, etc.  Great package by James Clark.
-- 
harvard\
  ucbvax!uwvax!astroatc!ftms!brown  or  uu2.psi.com!ftms!brown
rutgers/
INTERNET: brown@wi.extrel.com  or  ftms!brown%astroatc.UUCP@cs.wisc.edu
Newsgroups: comp.sys.sun.misc
From: Steinar.Haug@delab.sintef.no (Steinar Haug)
Subject: Re: Sparc Assembler
Organization: SINTEF DELAB, Trondheim, Norway.
Date: 15 Oct 92 13:45:13

> Can anybody tell me where to find a good introduction/reference to the Sparc
> assembler language ?

I strongly recommend the following book:

	The SPARC Architecture Manual, Version 8
	SPARC International, 1992
	ISBN 0-13-825001-4
	Published by Prentice-Hall, Inc.

The book can be obtained directly from your friendly nearby bookstore, or
directly from SPARC International.

Steinar Haug, system/networks administrator
SINTEF DELAB, University of Trondheim, NORWAY
Email: Steinar.Haug@delab.sintef.no, 
	sthaug@idt.unit.no, steinar@tosca.er.sintef.no
Newsgroups: comp.sys.sun.misc
From: wiesel@ipf.bau-verm.uni-karlsruhe.de (Joachim Wiesel)
Subject: Re: 24-bit SUNs -- can software take advantage
Reply-To: wiesel@ipf.bau-verm.uni-karlsruhe.de
Organization: IPF, University of Karlsruhe
Date: Tue, 13 Oct 1992 09:33:02 GMT

In article 16299@csc.ti.com, venkat@vidcom.csc.ti.com (Venkat Venkateswar) writes:
>I am considering getting a 24-bit SUN. My main concern is whether existing
>software can take advantage of the 24-bit display or are most of them
>restricted to just 8-bits. The software that I am strongly concerned about
>is X WINDOWS/MOTIF. I plan to display 24-bit images on the display using
>programs like xv etc.

OpenWindows 3.0 supports 24-bit graphic adapters as DirectColour visuals.
Application software is a different thing ...

'xv' does NOT support direct colour -- but `ImageMagic' does (as does Khoros if
you are interested in image processing).

Joachim


---

Joachim Wiesel, Institut fuer Photogrammetrie und Fernerkundung,
Universitaet  Karlsruhe, Englerstr. 7, D-7500 Karlsruhe, Germany
Phone: +49 721 608 2316                      Fax: +49 721 694 568
Internet: wiesel@ipf.bau-verm.uni-karlsruhe.de
From: tony@hacgate.SCG.HAC.COM (Tony Reeves)
Newsgroups: comp.sys.sun.misc
Subject: swap or swapon?
Date: 13 Oct 92 22:21:14 GMT
Reply-To: tony@hacgate.UUCP (Tony Reeves)
Distribution: usa
Organization: Hughes Aircraft Co., El Segundo, CA

I would like to hear from some disk experts on the role of how best to use
swap space on the suns. 

Is it better to have swap on a dedicated partition (like sd0b, sd1b, etc) or
is it better to have a smaller swap partition on disk and use mkfile and
swapon in rc to use swap space? If you use swapon you can then "spread" your
swap accross several drives. If sun supports multi-access controllers then
would not the swapon method be a faster swap than using the standard swap
partition? 

Please let me hear any ideas on this...

-- 
Why did the Roman Empire Collapse? What is latin for Office Automation?
---- The opitions expressed here are mine and have nothing to do with Hughes
Aircraft Co. -- So there! tony@hacgate.hac.com
Newsgroups: comp.sys.sun.misc
From: paulr@fulcrum.oz.au (Paul Rosham)
Subject: Re: troff/postscript viewer for openwin 3 ?
Organization: The Fulcrum Consulting Group
Date: Mon, 12 Oct 1992 01:59:45 GMT

In <355@ftms.UUCP> brown@ftms.UUCP (Vidiot) writes:

>OpenWindows has a PostScript previewer called "pageview".  It will not read
>old troff output (default troff that comes with Sun systems).  While 2.0
>NeWSprint will work with the C/A/T output from the troff program, pageview
>will not.  I don't know, off-hand, if the NeWSprint rendering of the C/A/T
>output can be redirected to a PostScript file.  My gut guess is no, it can't.

PreLimn (the pl(1) command) can be directed to convert troff input to
PostScript. This usually happens automatically before the PostScript output
is handed to xnews(1) for rendering and output.

F  U  L  C  R  U  M                                                     ()
__________________________________________________________________________
                           Paul Rosham                                /\
                        Senior Consultant                             ""
The Fulcrum Consulting Group,
611 Brunswick St,                                Telephone: +61-3-481-6188
North Fitzroy VIC 3068, Australia                      Fax: +61-3-482-4161
Newsgroups: comp.sys.sun.misc
From: cpcahil@virtech.uucp (Conor P. Cahill)
Subject: Re: Malloc and Free
Organization: Virtual Technologies Inc.
Date: Thu, 15 Oct 1992 11:35:05 GMT

In article <1992Oct14.085355.29371@ccsun.strath.ac.uk>, The Throg writes:
> One particular transform requires about 10 extra arrays which it mallocs with 
> no problem. It performs the transform working with all these arrays. However,
> when I FREE the last declared array, SunOS complains that valid memory does
> not exist at that address.

This sounds like you are writing beyond the end of one of the data areas 
that you are allocating.  This is the kind of problem that our product,
SENTINEL, is designed to solve by pointing out the line of code where the
overrun is taking place.  Email if you want more info.


-- 
*** SENTINEL(tm) The ultimate Debugging Environment - email for more info ***

Conor P. Cahill              (703)430-9247            cpcahil@virtech.vti.com
Virtual Technologies, Inc.  46030 Manekin Plaza          Dulles, VA 20166
From: hr@spica.astro.uiuc.edu (Harold Ravlin)
Newsgroups: comp.sys.sun.misc
Subject: mmap and files?
Date: 15 Oct 92 20:39:34 GMT
Article-I.D.: news.Bw6K21.CI6
Organization: University of Illinois at Urbana

Is it possible to extend a file using the mmap call? My experience and
the part of the mmap section of the "System Services Overview" manual
that discusses how to get SIGBUS violations indicated its not possible.
One the other hand the sentence:
 "... the act of storing into a MAP_SHARED mapping is equivalent to doing
 a write() system call."
seems to indicate otherwise. Perhaps they mean its equivalent except when
it isn't.


It is possible to do an lseek to the 'new' end of the file, poke a
byte there then write to the mmap'ed array, but then I might just as
well have used the write call in the first place.

So,
 Can I extend a file using via an mmap'ed array or should I just use the
write call?

Thanks,
hr


--
Harold Ravlin, hr@spica.astro.uiuc.edu
U. of Illinois, Dept of Astronomy
Xref: sparky comp.sys.sun.misc:4608 comp.text.frame:3116 comp.windows.open-look:4104
From: alh@einoed.in-berlin.de (Adrian Le Hanne)
Newsgroups: comp.sys.sun.misc,comp.text.frame,comp.windows.open-look
Subject: Frame and additional PS NeWS fonts...
Date: 12 Oct 92 14:37:02 GMT
Organization: Einoed Unix & Netzwerke, Berlin (FRG)

Hi,
i have to add some additional PS fonts to a Sun Sparc with OpenWindows and
Framemaker. Whereas the Framemaker has no problems recognizing the new fonts,
NeWS apparently doesn't like the standard postscript font format (which makes
it difficult to use frame with display postscript).

On further examination, the standard postscript fonts (as delivered by 
Linotype) use the 'eexec' statement for the font description, but unfortunately
this command is not recognized by NeWS. 

My question is, how do i add postscript fonts to the NeWS environment? 
I probably have to convert them to F3 format. If so, are there filters 
available for this task? (pd preferred ;-)

E-mail reply's would be fine, i will summarize if there is some interest.

many thanks,
Adrian
-- 
Adrian S. Le Hanne        Einoed Unix & Netzwerke, Koepenicker Str.154, D-1000
alh@einoed.in-berlin.de   Berlin 36. Tel.: 030/611 31 26,  Fax.: 030/611 32 86
  "On a day such as this you should insist on more than the truth" -Pere Ubu
Newsgroups: comp.sys.sun.misc
From: grant@bluemoon.rn.com (Grant DeLorean)
Subject: Re: 24-bit SUNs -- can software take advantage of the display?
Organization: Blue Moon
Date: Tue, 13 Oct 92 14:20:39 GMT

venkat@vidcom.csc.ti.com (Venkat Venkateswar) writes:

>I am considering getting a 24-bit SUN. My main concern is whether existing
>software can take advantage of the 24-bit display or are most of them
>restricted to just 8-bits. The software that I am strongly concerned about
>is X WINDOWS/MOTIF. I plan to display 24-bit images on the display using
>programs like xv etc.

 Forget xv, it says all displays are 8 bits or less regardless. Use
Xloadimage or ImageMagik for displaying, the later also has manipulation
capabilities to a small extent (not as much as Pixel!FX, but it doesn't
cost $1600 like Pixel!FX does either). 

 Once you have a server that is capable of 24 bitplanes there is
software to use though.
-- 
\   Grant DeLorean  - IHMSA & NRA Life Member -  (grant@bluemoon.use.com)   /

        Good leaders being scarce, following yourself is allowed.

Newsgroups: comp.sys.sun.misc
From: vikas@wucs1.wustl.edu (Vikas Awasthi)
Subject: Info needed on SunOS 4.1 - processor & memory mgmt.
Organization: Washington University, St. Louis MO
Date: Wed, 14 Oct 1992 18:28:07 GMT

Hi,

I would like to have some information about how Sun has implemented
process management and memory management. I am told Sun has distributed
this information as a set of technical memos. Is there some ftp site
from which I can copy these documents ? 

Any help ( pointers to right location ) will be highly appreciated

Vikas Awasthi.
vikas@wuccrc.wustl.edu

Newsgroups: comp.sys.sun.misc
From: bradley@mdd.comm.mot.com (Michael Bradley)
Subject: setsockopt question
Organization: Motorola, Mobile Data Division - Seattle, WA
Date: Fri, 16 Oct 1992 17:28:33 GMT



I am trying to set the TCP maximum size using
setsockopt:

 u_short seg_size;

 setsockopt(sock_fd, IPPROTO_TCP, TCP_MAXSEG, &seg_size, sizeof(u_short));

The value returned is EINVAL - illegal argument.
I can successfully call getsockopt for TCP_MAXSEG. 
Looking at some of the tcp code from Berkeley I 
find that setting this value has "not yet been implemented"
(ie returns EINVAL). The question is does my Sun
(OS version 4.1.1) implement this or not? Any other
methods for changing this value?

 Thanks
  Michael Bradley

Newsgroups: comp.sys.sun.misc,sci.math.num.analysis
From: fitzgb@mml0.meche.rpi.edu (Brian Fitzgerald)
Subject: sunos 4.1.2 ld: do not mix -e and -r flags. -- Why?
Organization: Rensselaer Polytechnic Institute, Troy, NY
Date: Thu, 15 Oct 1992 05:15:52 GMT

Under SunOS 4.1.1 and below, I could generate an a.out
file (actually a mex Matlab executable) with

ld -d -x -r -e _mex_entry_pt -o foo.mex4 ...

With SunOS 4.1.2, I get 

"ld: do not mix -e and -r flags"

I would like to keep the relocation bits and define the entry point.

Any clues why doing this is no longer allowed?

Brian
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.sys.sun.misc
Subject: Re: What Solaris on a Sparc 10
Date: 9 Oct 92 07:29:00 GMT
Organization: Auspex Systems, Santa Clara
Originator: news@auspex-gw.Auspex.COM

>I think that is for the SS10 series 30. The series 40 and 50 will require
>Solaris 2.x that last I heard.

I haven't heard that the model 40 will require 2.x.  The models 52 and
54 will, as far as I know, because Solaris 1.1 doesn't support
multiprocessor Vikings and the 52 and 54 are 2-processor and 4-processor
models.  Models 40, 30, and 20 :-) are uniprocessors.
Newsgroups: comp.sys.sun.misc
From: gregw@highland.oz.au (Greg Wilkins)
Subject: Not more Doco Viewers!
Organization: Highland Logic
Date: Wed, 7 Oct 92 02:55:19 GMT


Every few month, Sun sends me another CD in the mail:  

    Openwindows 3
    Solaris 1
    AnswerBook
    ToolChest
    SunSolve
    etc. etc.


On all of these CDs is documentation.
And for set of documentation there is a new way of viewing it:

    man
    viewman
    help viewer
    AnswerBook
    SunSolve search
    SunSolve viewer
    pageview (well...)
    etc. etc. etc.


All this documentation is Good.
I strongly praise Sun for all the trees they are saving.
Each tool is very good in its own right.

But why are there so many of them???????

Why is there not one and only one document search/view system for
openwindows.  And a text based version if possible.

Does sun have a long term plan to merge all these viewers?
Are things going to be better in Solaris2?

Greg Wilkins @ Highland Logic 
       Snail : Suite 1, 348 Argyle St., MossVale, NSW, 2577, Australia
       Email : gregw@highland.oz.au
       Phone : (+61 48) 683490  or direct: (+61 2)8107029
       Fax   : (+61 48) 683474 


Newsgroups: comp.sys.sun.misc
From: scs@lokkur.dexter.mi.us (Steve Simmons)
Subject: Re: Cheaper (Non-SUN) CD-ROM drives work
Organization: Inland Sea
Distribution: usa
Date: Tue, 13 Oct 92 22:21:45 GMT

gordon@zorch.SF-Bay.ORG (Gordon Vickers) writes:

>       Using the DEC CD-ROM worked perfectly at installing Solaris 1.1
>   ( Sun OS 4.1.3 ) onto a SUN-4c .  There were absolutely no changes
>   in the standard OS installation proceedures.  The
>   system does bulk at each boot time with a message similar to :
>    'Unrecognized vendor : DEC .....' message but so what, there are no
>   ill effects from this.

DEC tried to ignore Sun for years and paid the price.  Now Sun is trying
to turn the tables, and will no doubt suffer equally.

:-)
-- 
 "When Dexter's on the Internet, can Hell be far behind?"
		-- Steve Simmons, scs@lokkur.dexter.mi.us
Newsgroups: comp.sys.sun.misc,comp.sys.sun.hardware,comp.sys.sun.admin,alt.sys.sun