HDTenEightyP/NetNews huggingface dataset:
From: ben@rex.uokhsc.edu (Benjamin Z. Goldsteen)
Subject: Cray EL
Organization: Health Sciences Center, University of Oklahoma
Date: Mon, 21 Dec 1992 02:52:59 GMT

       I am curious as to what anybody thinks of the Cray EL.  I am
looking over some stuff, but I was wondering what other people think of
it -- especially people who have worked with it.  I have worked with
the Cray YMP as a user, but I wonder how much translates down to
the Cray EL.  How does it run vector, scaler, IO, etc?

      It is binary compatible with the Cray YMP, but from what I
understand, it has extensions to make it go faster (like 4 instructions
per clock rather then two in some cases).  Is it running the exact same
UNICOS from the Cray YMP (at the bit level).  If not, does it get
overlooked by Cray?

      I havn't heard too much about the Cray-3 -- is it out yet?  I
heard that they were still having problems, but I don't talk to too many
people who work in this area.  It sounds like a nice computer...

Thanks

-- 
Benjamin Z. Goldsteen
Newsgroups: comp.unix.cray
From: mrl@uai.com (Mark R. Ludwig)
Subject: Storage of Fortran character strings on Cray
Organization: Universal Analytics, Inc., Torrance (LA), CA
Date: 16 Dec 92 09:49:50

I'd appreciate information or pointers to information about how
Fortran character strings are stored on Cray machines.  I have the
impression that sometimes they are word-aligned, but I don't know how
they then honor the X3.9-1978 standard which requires adjacency of
elements of a character array.  Perhaps only the first element of the
array is mandatorily aligned, and rest are also aligned only if the
length of each element is an integer multiple of 8?

Hopefully related enough to not need a separate post, can someone tell
me what the addressability is of data on Cray machines?  What does the
machine have to do to extract an arbitrary character from a string?

Thanks in advance.$$
-- 
INET: mrl@uai.com           NIC: ML255           ICBM: USA; Lower Left Coast
"A computer is one of life's joys; it follows simple rules.  Just like
 children, adults need toys, only we like to call them 'tools.'" -- Dave Ross
From: dik@cwi.nl (Dik T. Winter)
Newsgroups: comp.unix.cray
Subject: Re: Storage of Fortran character strings on Cray
Date: 19 Dec 92 01:11:40 GMT
Organization: CWI, Amsterdam

In article <1992Dec17.164818.2198@craycos.com> jrbd@craycos.com (James Davies) writes:
 >Character variables are passed by descriptor.  The descriptor contains
 >the address of the first word, the starting offset in that word,
 >and the length of the variable in bytes, all packed into a 64-bit word.
 >The format of the descriptors varies by model, but the Cray-2 and 3 have 
 >the starting bit offset in the upper 6 bits of the word, the length in the
 >next 26 bits, and the word address in the lower 32 bits.  C character pointers
 >have the same format, except that the length field isn't used.
 > 
Right.  Which makes me wonder.  Could you publish a list of standard Unix
programs that were broken and revealed such by this particular character
pointer implementation?  (Like /bin/sh which is really awful.)  It ought
to be more common knowledge that:
1.  type1 pointers have not necessarily the same format as type2 pointers,
and:
2.  the low order bit(s) of a word aligned pointer can not be freely used as
    a marker.
(On the other hand, one of the Cray C compilers had a bug where in some
cases the upper bits of a char pointer were cleared when it was passed as
a parameter, so apparently Cray did not know this all at that time
either :-).)
-- 
dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland
home: bovenover 215, 1025 jn  amsterdam, nederland; e-mail: dik@cwi.nl
From: jrbd@craycos.com (James Davies)
Newsgroups: comp.unix.cray
Subject: Re: Storage of Fortran character strings on Cray
Date: 17 Dec 92 16:48:18 GMT
Organization: Cray Computer Corporation

In article <MRL.92Dec16094950@sun4.uai.com> mrl@uai.com (Mark R. Ludwig) writes:
>I'd appreciate information or pointers to information about how
>Fortran character strings are stored on Cray machines.  I have the
>impression that sometimes they are word-aligned, but I don't know how
>they then honor the X3.9-1978 standard which requires adjacency of
>elements of a character array.  Perhaps only the first element of the
>array is mandatorily aligned, and rest are also aligned only if the
>length of each element is an integer multiple of 8?

They're packed 8 to a word, and aligned when possible.  The need to
make common blocks, equivalenced variables, and arrays conform to the
standard make it necessary to start things on non-word boundaries at times.
For example, Fortran 77 allows passing an array declared
	character*3 a(4)
to a subroutine and declaring it in the subroutine as
	character*4 a(3)
and both arrays have to reference the same 12 characters.  Similar
tricks can be played by equivalencing variables together or varying the
declarations in common blocks between routines.

>Hopefully related enough to not need a separate post, can someone tell
>me what the addressability is of data on Cray machines?  What does the
>machine have to do to extract an arbitrary character from a string?

Character variables are passed by descriptor.  The descriptor contains
the address of the first word, the starting offset in that word,
and the length of the variable in bytes, all packed into a 64-bit word.
The format of the descriptors varies by model, but the Cray-2 and 3 have 
the starting bit offset in the upper 6 bits of the word, the length in the
next 26 bits, and the word address in the lower 32 bits.  C character pointers
have the same format, except that the length field isn't used.

To reference an arbitrary character, you basically have to work real hard :-).
Shift and mask to extract the fields from the descriptor, load the word with
the character you want, and shift and mask some more to extract the character.

						Jim Davies
						jrbd@craycos.com
From: dousson@sasg1.epfl.ch (Jacqueline Dousson)
Newsgroups: comp.unix.cray
Subject: CUG-Spring 93 in Montreux
Date: 15 Dec 92 15:32:34 GMT

Do not forget the early registration deadline for the next CUG Conference
in Montreux : December 31, 1992. Normal registration : March 1, 1993.
Registration forms have been sent to CUG sites and to attendees of the previous
two meetings.
We hope to see you next Spring.
Have a nice Christmas and a happy New Year.

LAC - EPFL


-- 
Jacqueline Dousson
EPFL-SIC/Assistance
tel (021) 693 2246 - 2211

Newsgroups: comp.unix.cray
From: k206027@smog.DKRZ-Hamburg.DE (Bakayaroo Banzai)
Subject: Re: Storage of Fortran character strings on Cray
Organization: Deutsches Klimarechenzentrum GmbH, Hamburg
Date: Thu, 17 Dec 92 11:59:27 GMT

In article <MRL.92Dec16094950@sun4.uai.com> mrl@uai.com (Mark R. Ludwig) writes:
>I'd appreciate information or pointers to information about how
>Fortran character strings are stored on Cray machines.  I have the
>impression that sometimes they are word-aligned, but I don't know how
>they then honor the X3.9-1978 standard which requires adjacency of
>elements of a character array.  Perhaps only the first element of the
>array is mandatorily aligned, and rest are also aligned only if the
>length of each element is an integer multiple of 8?
>
>Hopefully related enough to not need a separate post, can someone tell
>me what the addressability is of data on Cray machines?  What does the
>machine have to do to extract an arbitrary character from a string?
>
I'm not a Fortran expert so I can't answer the first part of your
question. 

The smallest addressable chunk of data on a Cray machine is one word
(8 Bytes). You can use system subroutines to do a pattern 
search within a retrieved word. You must first compile a regular
expression to produce a pointer to the area to be searched and then use
the system calls regcmp and regex to match it. This can be written as
a C subprogram which should be callable from Fortran. If you don't know
precisely what you're trying to extract you would need to apply some
shift and bitwise operations to the word you retrieved in order to
separate out the desired character.

Matt Marchese
matt@cray.com
From: fischer@iesd.auc.dk (Lars Peter Fischer)
Newsgroups: comp.unix.questions
Subject: Re: Book for programming under unix
Date: 11 Dec 92 21:46:39 GMT
Organization: Mathematics and Computer Science, Aalborg University

>>>>> "Samuel" == Samuel Ko (kko@fraser.sfu.ca)

Samuel> donadio@wilbur.psu.edu (Beaker) writes:

>I am looking for a good book about programming in C under Unix, 
>specifically SVR4 and POSIX.  I know C, but would like to learn
>Unix specifics. 

Samuel> I can suggest two ...

Samuel> 2. Title: Advanced Programming in The Unix Environment
Samuel> 9. Title: Using C on the Unix System

Agreed. I'd still start with

    Kernighan & Pike: The Unix Programming Environment.
     prentice-hall, 1984, 0--13--937681-X

Yeah, it's old, but nothing explain the true spirit of UNIX like the
words of the true Zen masters.

Also, get

    P. J. Plauger: The Standard C Library
      Prentice-Hall, 1991, 13--131509--9

Samuel> Also, O'Reilly has got a title on POSIX programming ... For more
Samuel> details, read their catalog ... 

O'Reilly has lots of good stuff. Recommended.

/Lars
--
Lars Fischer, fischer@iesd.auc.dk | It takes an uncommon mind to think of
CS Dept., Aalborg Univ., DENMARK. | these things.  -- Calvin
Xref: sparky comp.unix.questions:14677 comp.sys.sun.admin:9412 comp.sys.sun.misc:5830
From: twp@rand.mel.cocam.oz.au (Tony Payne CSD)
Newsgroups: comp.unix.questions,comp.sys.sun.admin,comp.sys.sun.misc
Subject: C2 security and auditing on SUNs. Anyone had experience with it?
Date: 14 Dec 92 08:10:18 GMT
Followup-To: comp.unix.questions
Organization: Co-Cam Computer Group, Oz

Hi all!,

The subject pretty much says it all. We have a security minded bureau client
who wants to have C2 security and auditing turned on for their box.

Has anyone had any bad experience with it?. I've heard it isn't great, but what
I really want to know is is it potentially hazardous?. The thing that worries
me is that fsck apparantly generates an audit record. How can it do this if
it doesn't know whether the file systems are clean or not? Is it likely to fill
up the root file system?, etc ...

Any info whatsoever would be appreciated, preferably by E-mail as I'm a busy
little boy these days, and don't get alot of time to read news.

As per usual, I will summarize, if enough interest is shown.

Thanks in advance,

Tony.

BTW. The box is a Sparc Station 2 running Solaris 1.0.1
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   ,-_|\     Tony Payne                   Phone:  +61 3 286 3480
  /     \    Co-Cam Computer Group        Fax:    +61 3 417 7857
  \_,-._/___ Abbotsford, Melbourne        Email:  twp@mel.cocam.oz.au
       v     AUSTRALIA                    DoD # 3764 - MRAA # 1453
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Newsgroups: comp.unix.questions
From: lachlan@dmp.csiro.au (Lachlan Cranswick)
Subject: Re: IS UNIX DEAD?
Organization: CSIRO Division of Mineral Products, Melbourne, AUSTRALIA
Date: Fri, 11 Dec 1992 15:16:31 GMT

rahardj@ccu.umanitoba.ca (Budi Rahardjo) writes:

>peter@global.hacktic.nl (Peter Busser) writes:

>>rahardj@ccu.umanitoba.ca (Budi Rahardjo) writes:

>>>Oh, BTW, to use windows for worksgroups the machine has to be connected,
>>>right ? Would you say, Joe User will do all the setup himself ? :-)

>>Have you ever installed a UNIX system?
>>Have you ever installed Windows?
>>Noticed any differences in the install procedures?
>>(I noticed considerable differences, I've been able to install Windows in *1*
>>go without using any manuals or people to help).

>I have installed UNIX and Windows. And you know what ... The Windows
>install procedure is excellent. But when it breaks...
>How am I supposed to know that I should have my own video driver to
>get a higher resolution on my screen ?
>Recently I just added a Logitech mouse driver to a PC with Windows 3.1.
>A simple installation program (under Windows).
>Now it won't exit cleanly. It just hangs when you try to exit from Windows.
>I can tell you many problems I have with Windows.
>My point is most (if not every) install procedures are not bullet proof.
>Be that UNIX or Windows. You need a minimal computer background.
>Or ask somebody who knows better. (Users don't have to do it themselves).

The main point about user friendliness is that the default installation
of windows gets you going quite happily but the same cannot be said
for the steroetype UNIX.  However, if you want 
to optimize your system, you have
to spend some time and take the risks  -  UNIX is the same.

If you want to optimise windows with video drivers etc, it
helps if you have access to someone who has done it before.
Once you get the hang of it, it is quite easy.  One of the nasty things
about Windows is that if you stuff up a subtle default, the most time
effective thing is to delete the files and start 
installing again.  If you don't
have access to the above person, try backing up the windows
directory before you try something new.  I always do this
if someone wants me to tryout a new customized driver for windows.


>-- budi
>UNIX won't die...
>-- 

NEWSFLASH - UNIX FREAK GAINS IMORTALITY (grin)

Yo net dudes,  Lachlan.
-- 
  Lachlan Cranswick  -  CSIRO             _--_|\  lachlan@dmp.CSIRO.AU
  Division of Mineral Products           /      \ tel +61 3 647 0367
  PO Box 124, Port Melbourne 3207        \_.--._/ fax +61 3 646 3223
  AUSTRALIA                                    v
From: dchouina@sobeco.com (Daniel Chouinard)
Newsgroups: comp.unix.questions
Subject: Re: how do you center a line in vi/ex ???
Date: 18 Dec 92 17:49:57 GMT
Organization: Sobeco Ernst & Young

In <1giql2INNn58@chnews.intel.com> bhoughto@sedona.intel.com (Blair P. Houghton) writes:

>In article <1992Dec14.054911.9921@news.mentorg.com> thiam-chye_sim@mentorg.com writes:
>>In article <1992Dec11.040216.14337@umbc3.umbc.edu>, rouben@math9.math.umbc.edu (Rouben Rostamian) writes:
>>|> map v :s/^[ 	]*//^M:s/[ 	]*$//^M$ma81a 81^V|D`alxd0:s/  / /g^M$p
>>
>>I added the statement to my .exrc file, but it does not do its job.
>>There was a message flash across the screen when I invoke, how can I view
>>that message. Is it log somewhere or how can I get the screen to freeze?

>It's not logged and the screen won't freeze unless you
>have XON/XOFF (^Q/^S) or something.

>Two things may be happening.

>1.  You didn't add the escape character that was missing:
> [...] rest of message deleted (This is getting long!)_

I know I'm not replying to the right post but has that ever stopped anyone?

  Here's the definitive trick for those who have problems making this
  thing work.  Create this is a shell script:  (Type in exactly as shown)

#!/bin/sh
(
  echo "map q :s/^[\t\040]*//\026\r:s/[\t\040]*\$//\026\r\$ma81a\040\033\c"
  echo "81\026|D\`alxd0:s/\040\040/\040/g\026\r\$p"
) >> $HOME/.exrc

(Make sure you're running the right version of echo!)

After typing this in, run it and edit your .exrc .
--
"If we do not succeed, we run the risk of failure." -D.Q.| dchouina@sobeco.ca
- The rain it raineth every day, upon the just and the   | Daniel Chouinard
  unjust fella.  But more on the just because the unjust | Sobeco Ernst & Young
  had the just's umbrella.                               | Montreal, PQ, Canada
Newsgroups: comp.unix.questions
From: dman@netcom.com (Dallman Ross)
Subject: Re: Performing simple math on a numeric file from csh
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
X-Newsreader: TIN [version 1.1 PL7]
Date: Sat, 19 Dec 1992 03:48:57 GMT

John Navarra (navarra@casbah.acns.nwu.edu) wrote:
:    Just a suggestion -- try the 'gawk manual' which is freely
: available via anonmyous ftp. It is 150+ pages of pure excitement! Not
: only will you learn awk, but you will also learn gawk (which is also 
: freely available and better than awk). In addition, there are are a few
: books out on awk itself. Awk, in my opinion, is something that should be 
: learned on a rudimentary basis by every serious UNIX user. 

Thanks, this sounds like a good plan.  Also thanks to the previous
poster.  I'll get back to him in a day or two.

Oh, and I was quite embarrased to read that I wrote "hide nor hare"
instead of "hide nor hair."  Oh, well.  No sleep, and all that.

--
 __D_a l_l m a_n  _ R o_s s _ |dman@netcom.com  /or/  |"You sound like a man|
 l  \\ l\\   /l  /\\  l\\   l |dross@well.sf.ca.us    |with a rubber nose." |
 l   >)l \\ /ll /  \\ l \\  l |vox/fax: 1.510.645.1883| -- One-Lung Bill    |
 l  // l  \X ll/--- \\l  \\ l |350 Perkins St., #108  |     Remmer (deceased)
_l//______________________\\l_|Oakland,_CA__94610-3422|_____________________|_
Newsgroups: comp.unix.questions
From: bartlone@zeke.gemedical (Mike Bartolone 5-4266)
Subject: Re: Integers in SH
Reply-To: bartlone@zeke.gemedical
Organization: GE Medical Systems
Date: Fri, 11 Dec 92 20:20:05 GMT

In article 5899@esf.esf.de, klaus@tat2.esf.de (Klaus Wicovsky) writes:
>
>Hello Netters,
>
>does anyone of you out there know how I can make sure that I have read an
>integer rather than a string?
>
>Example:
>
>#!/bin/sh
>echo "How many:"
>read a
>
>
>What if someone answers "990Lines"? 
>
>Any help is appreciated !!
>
>-- 
>   Klaus Wicovsky                                                   
>                                                                    
#! /bin/sh

TypeCheck() {

   case $a in
 
        *[a-z,A-Z]*) type="Non-integer"               ;;
                  *) type="Integer"                   ;;
    esac
}

type="Non-integer"

while [ "$type" = "Non-integer" ]; do
echo "How many:"
read a
TypeCheck
done


---
sigs are like sound-bites..they never say enough, but frequently
are interpreted as saying too much.....bartlone@gemed.ge.com
From: kjhoule@iowegia.uucp (Kevin Houle)
Newsgroups: comp.unix.questions
Subject: <defunct> Zombies
Date: Tue, 15 Dec 92 21:51:16 CST
Distribution: world
Organization: Iowegia Public Access Usenet/UUCP, Clive IA USA.

I'm learning to manage a Wyse 9000i running Wyse's Sys V Unix, and have
a question concerning zombie processes. A few days ago, the current
admin rebooted the machine to clear out some processes he described as
"defunct". I asked how you see these processes, and he said to use ps.

So I did. And I read up in the man pages about ps. The process state 'Z'
means the process is in zombie state, and that it is finished but the
parent process has not begun waiting for it. If it does in fact even
HAVE a parent process, the process is marked as <defunct> in the
listing. So I'm thinking, the mere fact the process is marked defunct
means it has a parent that very well may come a' lookin' for the zombie.
Am I right?

Are zombie processes really a problem, and if so, can't the kill command
be used to get rid of them? I hate the idea of rebooting the machine all
the time and don't think it is needed.



--
Kevin Houle     kjhoule@iowegia.uucp
Newsgroups: comp.unix.questions
From: satish@ttd.teradyne.com (Satish)
Subject: I am baffled -- help!
Summary: Can keystrokes be stuck  in the keyboard buffer?
Keywords: n
Organization: Teradyne Inc., Telecommunications Division
Date: Thu, 17 Dec 92 17:34:47 GMT

We have an application that runs on a sun workstation that runs sunos 4.1.3
Sometimes (not very often) the application behaves as though a whole bunch of
keystrokes (returns i guess) have been keyed in at the terminal. This 
happens both at the console and at terminals connected to the sun.
The terminals are connected to the sun both directly and thro a xyplex terminal
server. This happens in both the cases.
Net result : application freaks completely. 

To me it seems like there are keystrokes stuck in the input (keyboard) buffer 
and the application reads these and behaves accordingly. 
How they got in the buffer i don't know . 

	Any suggestions or hints or pointers on what to look for would be much
	appreciated becos i can't even think of where to start.

	Thanks

		-- satish
From: lance@markv.com (Lance Ellinghouse)
Newsgroups: comp.unix.questions
Subject: Where can I find SUP or Mach?
Date: 18 Dec 92 22:19:54 GMT
Organization: Mark V Systems Limited, Encino, Ca.

Where can I find server and client versions of SUP 
and/or the source for Mach???

Thank you,
Lance Ellinghouse
lance@markv.com
Xref: sparky comp.unix.questions:14693 comp.unix.misc:4581
From: rick@ee.uwm.edu (Rick Miller, Linux Device Registrar)
Newsgroups: comp.unix.questions,comp.unix.misc
Subject: Does anyone remember the Tandy 6000?
Followup-To: comp.unix.xenix.misc
Date: 15 Dec 1992 05:57:12 GMT
Organization: Just me.
NNTP-Posting-Host: 129.89.2.33
Summary: Have hardware, need software and doc's.
Keywords: old, Tandy, 6000

The school that my church supports has a few Tandy 6000's sitting in the
cellar gathering dust...  I understand that they're old machines (8086's?)
and that they're *not* IBM-PC compatible... but the fellow at Tandy said
they're supposed to run Xenix!

These things each have an 8-inch floppy drive (yes, they're *that* old) and
a <whopping> 15 Megabyte hard drive.  I've got the hardware, but no manuals
and no software...  Can anyone out there point me to some source for doc's
and disks for these things?  I'd *love* to be able to put them to use for
*anything* (beyond being really ugly footstools).

I realize this request may be rather obscure, so I've added it to my .sig
in hopes that some day, somehow, someone will answer... (Like SETI, cxu ne?)

Rick Miller   <rick@ee.uwm.edu> | <rick@discus.mil.wi.us>   Ricxjo Muelisto
Occupation:  Husband, Father, WEPCo. WAN Mgr., Discus Sys0p, and  Linux fan

P.S.:  Will someone who knows anything about the old "Tandy 6000" *please*
	e-mail me?  I've got the hardware, but no manuals and no diskettes.
From: tariq@cowan.edu.au (T.MALIK)
Newsgroups: comp.unix.questions
Subject: System halted
Date: 16 Dec 92 09:39:46 GMT
Organization: The University of Western Australia
Distribution: world
NNTP-Posting-Host: scorpion.ac.cowan.edu.au
Summary: SCO Unix haulted
Keywords: Panic


Today when I came to University I found following message on my console.

Warning: wd: on fixed disk ctrl=0 dev=1/40 block=2 cmd=00000020
status=00005940, sector=130533, cylinder/head = 129/7

I 'm using SCO OpenDesktop 3.2.2. Any sort of help or explanation will be 
appretiated.

Regards
Tariq Malik
e-mail: t.malik@cowan.edu.au
From: cavers@menudo.uh.edu (Chris M. Cavers)
Newsgroups: comp.unix.questions
Subject: Cylinder Groups and Data Blocks
Date: 18 Dec 1992 19:43:19 -0600
Organization: University of Houston
NNTP-Posting-Host: menudo.uh.edu

I am trying to obtain a 'map' or list of all of the data areas on a disk
under sun os 4.1.2.
Can someone tell me how to do this?
I've been using the following code to try to do this:

{
int ctr;
long start,end;
struct cg group;
for (ctr = 0;ctr < sb->fs_ncg;ctr++)   /*sb is the superblock for the fs*/
	{
	long a;
	a = dbtob(fsbtodb(sb,cgtod(sb,ctr)));
	lseek(dv,a,0);    /*dv is the file handle for the device*/
	read(dv,&group,sizeof(struct cg));
	start = cgdmin(sb,ctr);
	end = cgdmin(sb,ctr) + group.cg_ndblk -1;
	/*now, start is the starting data block and end is the ending data block*/
	}

Assuming each block is one sector (512 bytes) the above code 
comes to about half of the number of bytes on the disk (as given by the
df command).

What is wrong?

Thanks in advance
Chris