HDTenEightyP/NetNews huggingface dataset:
From: S_JUFFA@IRAV1.ira.uka.de (|S| Norbert Juffa)
Newsgroups: comp.sys.sun.misc
Subject: Books on SPARC assembly language?
Date: 21 Jan 1993 12:53:35 GMT
Organization: University of Karlsruhe, FRG
Distribution: world
NNTP-Posting-Host: irav1.ira.uka.de
X-News-Reader: VMS NEWS 1.25

Hi netters!

During the next few month, I will have to write software using SPARC
assembly language. I am looking for something along the lines of
"Tips and tricks..." that cover the not so obvious aspects of using
assembly language on SPARC. I do own the SPARC architecture manual,
version 8, and a copy of the "SPARC technical papers". Although, the
manuals for the assembler are available to me. I also have plenty of
experience programming in assembler on CISC architectures such as Z80,
80x86/80x87 and 680x0. So I am really looking for something that doesn't
explain the basics (e.g. 'What is a macro?') but that deals with more
arcane features of the SPARC architecture. Being used to a flat register
file, I am also worried a bit about this register windowing stuff. FYI,
the software will be used on SUN-Workstations under the Solaris OS. Any
pointers are appreciated. Please reply by email, as I don't have the
chance to follow this newsgroup on a regular basis. I will post a summary
of all replies received. Thanks for your help in advance.

Norbert

--------------------------------------------------------------------------
Norbert Juffa      email: S_JUFFA@IRAVCL.IRA.UKA.DE      Live and let live!

Newsgroups: comp.sys.sun.apps
From: Kall@Mayo.EDU
Subject: Re: SS10 to play CD's through audio box...
Reply-To: Kall@Mayo.EDU
Organization: Mayo Foundation
Date: Thu, 28 Jan 93 15:59:24 GMT

In article 29085@afterlife.ncsc.mil, mlbelan@afterlife.ncsc.mil (Mark Belangee) writes:
>I have the x_cdplayer program on my Sparc 10, what I'd like to be 
>able to do is to play the audio thru that really neat speaker that
>was included with the machine.. Any ideas? Or is there a new program
>out there written for this case?
>
>Thanks
>Mark Belangee

I received this from my local Sun SE regarding the Sun Speakerbox:

  >I have just received a SS10 with a speaker box.  Is there
  >any trick in piping the output of a Sun CD to the speaker
  >box.

Inside the speaker box is a MMCodec chip that has multiple
inputs and outputs (serial bus, line input, microphone are
inputs; speaker, line, headphone are outputs).  The routing
of which is active is acomplished under software control
via ioctl's to /dev/audio.  I believe that "audiotool" will be
enhanced in future releases to provide a GUI interface to
allow us "mortal users" to do what you desire without programming
at such a low level.

  >Are the mute,volume up, and volume down keys on the Type 5
  >keyboard supposed to control the speaker box.

This is much the save as above, future OS releases will catch
the key strokes and send instructions to the MMCodec chip to
perform the task.  It's a case of the hardware features being
a bit ahead of the software.  Same with the power on/off key.
The SS10 power supply can be controlled by the CPU but it will
take a bit for the software to catch up to the underlying
functionality built into the hardware.  The good news is that
the features are in the hardware to do some of these interesting
things in the future.
 
 



\------------------------------------------------------------\
 \   Bruce Kall                \  Internet:   Kall@Mayo.edu   \
  \   Mayo Clinic (Foundation)  \  Phone: (507)-255-4768       \
   \   Rochester, MN 55905       \                              \
    \                             \                              \
     \   Go BILLS!!!!!!!!!!!       \  Go BILLS!!!!!!!!!!!!        \
      \------------------------------------------------------------\

Newsgroups: comp.sys.sun.apps,comp.sys.sun.admin,comp.sys.sun.misc
From: weinri@athena.cs.uga.edu (Kevin Weinrich)
Subject: SUMMARY: / and /usr on separate disks in 4.1.3?
Organization: University of Georgia, Athens
Date: Fri, 22 Jan 1993 21:25:43 GMT

Yes, indeedy!  So says the net, and so went my intallation.

Thanks to (among others):
Andrew C. Burnette  acb@ncsu.edu 
Dave Curry          davy@ecn.purdue.edu
Rob Quinn           rjq@phys.ksu.edu 

-Kevin Weinrich
From: jpd@tardis.cl.msu.edu (Joe P. DeCello)
Newsgroups: comp.sys.sun.apps
Subject: Re: X server for PC running PC/NFS
Date: 24 Jan 93 14:11:36 GMT
Reply-To: jpd@tardis.cl.msu.edu
Organization: Michigan State University
NNTP-Posting-Host: tardis.cl.msu.edu



We use MicroX from StarNet Communications (408/739-0881) on 5
PCs, two 486dx50's and 2 386dx33's.  We can run openwindows 3.0
from the sparc on the PC and most any non-NEWS x-software.


---
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Joseph P. DeCello III                      e-mail:  jpd@cad.msu.edu
Michigan State University                      ph:  (517) 353-3027 
Specialized Computing Support Services           1:00pm - 5:00pm EST
Newsgroups: comp.sys.sun.apps
From: shmuel@mapsut.einstein.com (Shmuel Einstein)
Subject: Yes, f77 can be taught not to use /tmp
Date: Fri, 22 Jan 1993 01:44:43 GMT
Organization: Shmuel Einstein & Associates, Inc.

I received many replies to my query as to how one redirects f77's choice
of temporary directory.  Thank you all for taking the time to inform me.
Here's a summary of answers:

use the option "f77 -temp=<directory> ..." which is the simplest.
Although this is not in the man page, it appears when you enter
f77 -help.

The TMPDIR environment variable does not work.

Use virtual memory (tmpfs) for the tmp directory.  I did not try this, 
but several respondents said it does.

Thanks again.



-- 
Shmuel Einstein, shmuel@einstein.com
Shmuel Einstein & Associates, Inc.
9100 Wilshire Blvd, Suite 235 E
Beverly Hills, CA  90212
310/273-8971 FAX 310/273-8872
Xref: sparky comp.sys.sun.apps:3100 comp.sys.sun.misc:6530 comp.windows.x:21582
From: johnson@akula.llnl.gov (  Robert Johnson          )
Newsgroups: comp.sys.sun.apps,comp.sys.sun.misc,llnl.sunmanagers,comp.windows.x
Subject: SUMMARY: X server for PC running PC/NFS
Date: 26 Jan 93 18:13:34 GMT
Followup-To: comp.sys.sun.apps

I originally wrote:
>We are Sun workstation users who have recently started using a
>PC for a specific project.  The PC is a 486DX50 and we plan on
>using a 3COM Etherlink III card running PC/NFS 4.0.  The Sun
>server will be a SPARCstation 2 running SunOS 4.1.2.  We would
>also like to have an X server for the PC preferably running under
>MS Windows 3.1.  We would like to have MS Windows applications
>running along side X sessions.  We would therefore greatly
>appreciate any email with pro/con recommendations for X servers
>for the PC, especially from people experienced with a setup similar 
>to ours.

The PC X server that was most recommended from people with setups
similar to mine was VisionWare's XVision.  Another X server that
received a lot of recommendations was Hummingbird's eXceed/W.  One
person had found that XVision had better performance than eXceed
on his system using Beame&Whiteside PC NFS.  PC-XView from NCD was
also recommended by a few people.

Thank you to all that have responded:
mweiner@itsa.ucsf.EDU
fetrow@biostat.washington.edu
jpensar@ra.abo.fi
klamer@mi.el.utwente.nl
lfm@pgroup.com
dfc@resumix.portal.com
bmaggio@dcs.bellcore.com
dean2@tbone.biol.scarolina.edu
gmortens@mailbox.syr.edu
dshaker@qualix.com
pete@physical-chemistry.oxford.ac.uk
klee@nurb.aero.org
zlsiimw@info.mcc.ac.uk
jpd@tardis.cl.msu.edu

-- 
 _________________________________________________________________________
| Robert K. Johnson               Lawrence Livermore National Laboratory  |
| Internet: johnson60@llnl.gov    P. O. Box 808                           |
| Voice: (510) 422-8375           L-156                                   |
|_FAX:___(510) 422-3013__________ Livermore, CA 94551 ____________________|
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.sys.sun.apps
Subject: Re: Putting /tmp in /usr (was Re: Can f77 be taught not to use /tmp?)
Date: 27 Jan 93 19:20:13 GMT
Organization: Auspex Systems, Santa Clara

>< Also, I would suggest a 'chmod +t' on your temp directories.
>
>I don't remember that being set as shipped either.  Will it make that much of
>a performance difference on a directory?

It shouldn't make *any* noticeable performance difference; that's not
what the "sticky bit" is for on directories.  "Sticky directories" are
directories from which only the owner of a file, or the super-user, or, I
think, on some flavors of UNIX, the owner of the directory, can remove a
file.
Newsgroups: comp.sys.sun.apps
From: davek@avocet.ims.com (Dave Koon)
Subject: Re: Application Generator for Ingres.
Reply-To: davek@avocet.ims.com
Organization: Integrated Measurement Systems
Date: Mon, 25 Jan 1993 21:42:15 GMT

SimplyfySQL from sun is a good front end tool for adhoc requests.  DAL from
apple is supposed to be good.

Dave Koon
From: fox@rudolf.nscl.msu.edu (Ron Fox)
Newsgroups: comp.sys.sun.apps
Subject: X/Open network transport libs where?
Date: 21 Jan 93 19:30:37 GMT
Reply-To: fox@rudolf.nscl.msu.edu (Ron Fox)
Organization: National Superconducting Cyclotron Lab.
NNTP-Posting-Host: rudolf.nscl.msu.edu


--
  I am trying to use the X/open transport library routines for a network
application.  These are routines like t_open t_bind and so on and so forth.
While I see them in the manuals (on-line man pages and bookreader), there
doesn't appear to be a mention of which library contains these routines.
I've tried a few libs and  tried to grep for t_open in some of the library
directories, but without any success. So:

1. Are these functions for real (do they actually exist)?
2. If so, which library actually contains them... or alternatively,
   is there a template compilation/link command for software that uses
   these routines?
	Thanks,
	Ron

Ron Fox                     | FOX@MSUNSCL.BITNET      | Where the name 
NSCL                        | FOX@RUDOLF.NSCL.MSU.EDU | goes on before
Michigan State University   | MSUHEP::RUDOLF::FOX     | the quality
East Lansing, MI 48824-1321 |                         | goes in.
USA
Xref: sparky comp.sys.sun.apps:3068 comp.unix.programmer:6032 comp.unix.internals:2151
From: edvax@pyrite.som.cwru.edu (Ed Reznichenko)
Newsgroups: comp.sys.sun.apps,comp.unix.programmer,comp.unix.internals
Subject: modifying ARGV within a running program
Date: 23 Jan 1993 06:11:35 GMT
Organization: WSOM CSG, CWRU, Cleve. OH
Distribution: world
NNTP-Posting-Host: pyrite.som.cwru.edu
X-Post-Machine: pyrite.som.cwru.edu



Platform: SunOS4.1
Hardware: SPARC IPC

Hi,

Does anyone know how to SAFELY modify (i.e. change) the argument vector inside
a running program so that when you do a ps it is picked up. I.e. I think
the C-runtime crt0.o sets up argv[0]...argv[n] on the stack followed by
the actual strings.  But once a program is execve'd, I can't seem
to realloc/malloc that area.  I got it to work for the case where you
specify sufficiently long arguments to the program and then overwrite them.

The example below demonstrates what I do:

	you invoke your program (called xyz) with arguments abc def:
	xyz abc def
	but you want ps auxww, to show FOO arg0 arg1, so:

	sprintf(argv[-1],"FOO arg0 arg1");

for some reason I have to put argv[-1], because argv[0] maps to argv[1]
when I do a ps.  This seems to work but I do not feel secure enough about it.
Any ideas on how to do this portably (if at all) would be appreciated.

Thanks,

--ed


--
Bus error, core dumped
Newsgroups: comp.sys.sun.apps
From: pgdmills@atlas.cs.upei.ca (Deryck Mills)
Subject: Application Generator for Ingres.
Organization: University of Prince Edward Island
Date: Mon, 25 Jan 1993 12:19:32 GMT

Need help choosing an application generator for ingres.  Any product
that would make a more user friendly frontend for ingres users who don't
want to use SQL statements.

      Thanks.
           Deryck.


-- 
===============================================================================
Bourque crosses the blue line, He shoots, He ......|  Deryck Mills
Nicklaus with another hole in ...                  |  pgdmills@cs.upei.ca
I'd rather be golfing.                             |  DEM Computing
Newsgroups: comp.sys.sun.apps
From: dejesus@pluto.nwc.navy.mil (Francisco X DeJesus)
Subject: Re: Putting /tmp in /usr (was Re: Can f77 be taught not to use /tmp?)
Organization: Science Applications International Corp.
Date: Wed, 27 Jan 1993 02:36:23 GMT

In article <1jsvihINNfe5@moe.ksu.ksu.edu> rjq@phys.ksu.edu (Rob Quinn) writes:
>In <447@ftms.UUCP> brown@ftms.UUCP (Vidiot) writes:
>[talking about making f77 use something other than a small /tmp]
>>While this isn't a perfect solution, all of our systems have been reconfigured
>>so that none of the temp space is in / (root).  Sun's brilliant idea of
>>providing temp directories in a filesystem that is way too small is rediculous
>>So, the following is done:
>>	rm -r /tmp /var/tmp /usr/tmp
>>	mkdir /usr/tmp
>>	chmod 777 /usr/tmp
>>	ln -s /usr/tmp /tmp
>>	ln -s /usr/tmp /var/tmp

There are potential problems with setting up /tmp as a symbolic link... most
will come up when you are trying to do any kind of system maintenance in
single-user mode (which means you probably already have at least one problem,
and the last thing you need is a few more!). You can always have /tmp
be a separate partition, or look into using tmpfs (sharing tmp and swap
space). Both these methods have worked flawlessly for me...

> It's very common to share /usr between machines. Won't your method cause
>a lot of problems? I thought the whole idea behind /usr was that it would
>contain files that never (rarely) changed, and that didn't need to be tailored

That's true... keeping /usr for "more permanent" files makes for a more
stable filesystem... and you want your system partition to be as stable
as possible! It also helps in the access time for disk reads/writes to keep
stable/volatile partitions separate...

>to each host. Host specific files go in / or /var.
> Also, I would suggest a 'chmod +t' on your temp directories.

Yup.
-- 
      Francisco X DeJesus  ----- S A I C -----  dejesus@chinalake.navy.mil
 ------------------------------------------------------------------------------
  * disclaimer: Opinions expressed here are mine. Typos and errors are yours *
 "Duck Season!" "Rabbit Season!" "...rabbit season." "It's Duck Season! SHOOT!"
Newsgroups: comp.sys.sun.apps
From: shintel@csc.technion.ac.il (Noam Shintel)
Subject: Sun SPARC PL/1 compiler
Reply-To: shintel@csc.technion.ac.il (Noam Shintel)
Organization: Technion, Israel Inst. of Technology
Date: Wed, 27 Jan 1993 09:10:52 GMT
Keywords: PL/1

Hi,

I am looking for a PL/1 compiler for Sun SPARC's.

I am also looking for a PL/1 to C porting tool.

Does anybody know of such products?

Noam.


Newsgroups: comp.sys.sun.apps
From: marvo@asl.uni-bielefeld.de (Markus Vogt)
Subject: Re: Installation instructions for Xkernel
Date: Fri, 22 Jan 1993 01:41:04 GMT
Organization: Universitaet Bielefeld, ASL.

In article <1993Jan21.140918.4783@src.honeywell.com>, sroth@jabba.mavd.honeywell.com (Steve Roth) writes:
|> Has anybody gotten the Xkernel package to work?  I just got version 1.4,
|> unshar'ed it and can't seem to find instructions on how to set it up.
|> 
|> I put it in the /export/root directory, and changed my bootparams file to 
|> boot from the Xkernel.sun3 directory and the diskless node comes up with 
|> a message that it can't mount that directory.  I can't see any reason why -
|> protections seem ok, the directory /export/root is exported from the server.
|> 
|> If you have any suggestions as to what I'm doing wrong, please reply.
|> 
|> Thanks, 
|> 
|> Steve
|> sroth@sol.mavd.honeywell.com

I just installed Xkernel-1.5 and I had the same problem.

You have to add the /export/root and /export/swap directories to a
file named /etc/exports.  The command exportfs(8) is usually invoked
at boot time by /etc/rc.local to export the contents of /etc/export.
But if you don't want to boot your server, you can run exportfs manually
at any time.

Hope this helps,

 Markus

------------- Markus Vogt ---------------- University of Bielefeld ------
         System Administration             Room No.    C6-141
      marvo@asl.Uni-Bielefeld.DE or        PO Box      100131
-- uteca008@Unibi.HRZ.Uni-Bielefeld.DE --- W-4800 Bielefeld 1, Germany --
From: freeman-eric@cs.yale.edu (Eric Freeman)
Newsgroups: comp.sys.sun.apps
Subject: writing executable to data segment (poor man's exec)
Date: 23 Jan 1993 10:19:24 -0500
Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158
Distribution: world
NNTP-Posting-Host: dalton.systemsy.cs.yale.edu

I'm currently trying to write a hacked version of exec on a SPARC station.
This will eventually be ported to a special purpose machine with a 
SPARC chip running a subset of UNIX that does not support exec.

My version of exec allocates enough memory using valloc for the text/data/bss 
sections of the a.out file, loads the text and data sections at the 
appropriate  locations in the allocated memory and then jumps to the address
of a certain function.  I'm using the -T option of the linker to force the
text segment to begin at the same location as the allocated memory.  I've
also specified the -Bstatic flag.

While I can get simple functions to work (simple arth, simple printfs with 
only text), anything complex bombs.  If anyone has written a similar program 
and can offer some suggestions I'd really appreciate it.  From what I can
tell with dbx everything is being loaded at the correct address.

Thanks,

Eric

freeman-eric@cs.yale.edu
Newsgroups: comp.sys.sun.apps
From: tmk@mayo.edu (Tom Kinter)
Subject: Grammar Checkers
Reply-To: tmk@mayo.edu
Organization: Mayo Clinic/Foundation Rochester MN Campus
Date: Thu, 21 Jan 93 15:14:18 GMT

Does anyone have info/experience on grammar-checkers that run on Sun4/SunOS-4.1.3
platforms? Thanks in advance.
---
-------------------------------------------
  Tom Kinter  tmk@mayo.edu  (507)284-4981
    Mayo Foundation
    200 First St. SW
    Rochester, Minnesota 55905 USA
-------------------------------------------


Newsgroups: comp.sys.sun.apps
From: ahoekstr@cs.utwente.nl (Andre D. Hoekstra)
Subject: Re: X/Open network transport libs where?
Organization: Twente University, Dept. WB/WA (NOT cs)
Date: Thu, 28 Jan 1993 15:15:36 GMT

In article <1jmtktINNi3k@msuinfo.cl.msu.edu> fox@rudolf.nscl.msu.edu (Ron Fox) writes:
>
>--
>  I am trying to use the X/open transport library routines for a network
>application.  These are routines like t_open t_bind and so on and so forth.
>While I see them in the manuals (on-line man pages and bookreader), there
>doesn't appear to be a mention of which library contains these routines.
>I've tried a few libs and  tried to grep for t_open in some of the library
>directories, but without any success. So:
>
>1. Are these functions for real (do they actually exist)?
Yes.

>2. If so, which library actually contains them... or alternatively,
/usr/lib/libnsl.a

>   is there a template compilation/link command for software that uses
>   these routines?
cc -o outputname srcname.c -lnsl

>	Thanks,
>	Ron

Andre
-- 
There is no reason for any individual to have a computer in    | Andre Hoekstra
their home. (Ken Olson, Ex-President Digital Equipment, 1977)  | Enschede -- NL
From: brown@ftms.UUCP (Vidiot)
Newsgroups: comp.sys.sun.apps
Subject: Re: Can f77 be taught not to use /tmp?
Date: 22 Jan 93 15:36:27 GMT
Reply-To: brown@ftms.UUCP (Vidiot)
Organization: Vidiot's Other Hangout

In article <1993Jan20.185627.19507@mapsut.einstein.com> shmuel@mapsut.einstein.com (Shmuel Einstein) writes:
<Our Sparc systems have the default configuration for disk partitioning, which
<gives us a whopping 7.25 MB for the root partition.  This brilliant amount
<makes the /tmp directory quite tight to say the least, let alone that it
<compete's with /var/tmp.  We have moved /var/tmp to another partition and
<linked it back to /var with no problem.
<
<It seems that f77 uses /tmp as its temporary file repository.  For large
<compilations, we run out of space.  Although there is an option for allowing
<the compiler passes to communicate via pipes, it seems that there should be
<a way of designating the compiler's temporary directory also.
<
<If one cannot change the compiler's temp directory, is it permissable to
<change /tmp to point to space on another partition?  I am concerned because
<of single-user mode and various other aspects of system activity which may
<be affected before the system has not mounted other partitions.

While this isn't a perfect solution, all of our systems have been reconfigured
so that none of the temp space is in / (root).  Sun's brilliant idea of
providing temp directories in a filesystem that is way too small is rediculous.

So, the following is done:

	rm -r /tmp /var/tmp /usr/tmp
	mkdir /usr/tmp
	chmod 777 /usr/tmp
	ln -s /usr/tmp /tmp
	ln -s /usr/tmp /var/tmp

This should be done either as single user or right after booting as root, with
no other users on the system.  Obviously, do not have X windows running either.

Because we also ship a disk/tape subsystem with our configuration, a partition
has been set aside on the second disk and it gets mounted as /usr/tmp.  Be
sure and do a "chmod 777 /usr/tmp" after mounting it for the first time.

I have only run across one problem with this configuration, upgrading the
SunOS, using the install_upgrade (or whatever it is called).  It uses the
temp directories as if they were unique.  So, if the OS needs upgrading,
the links need to be removed and a mkdir done on each of them.  After the
OS upgrade is done, the links can be put back in place.  It isn't a real
pain and the OS isn't changed that often :-)

-- 
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.apps
From: stein@sionext.uio.no (Stein Onsrud)
Subject: Fingerpost
Organization: University of Oslo
Date: Thu, 28 Jan 1993 11:06:34 GMT

Hello
I am looking for a communication/text handling package for sun or rs6000  
machines that takes text files in trough different kind of communication  
lines, and distributes them out again through the same lines. I have heard  
about a package called fingerpost that does this, but i can t seem to find  
out who delivers it. ANY help is apprichiated.



Stein Onsrud
SiO Data
Newsgroups: comp.sys.sun.apps