HDTenEightyP/NetNews huggingface dataset:
From: jrh@de.deere.com (John R. Howell)
Newsgroups: comp.sys.hp,comp.sys.sgi
Subject: Re: Help for my binary read !!!
Date: 13 Aug 92 12:58:30 GMT
Followup-To: comp.sys.hp
Organization: Deere & Company

In article <Aug.12.15.40.21.1992.3094@paul.rutgers.edu>, slu@paul.rutgers.edu (shen lu) writes:
>    I have the following c-code which reads in a binary file
>    generated by Fortran program write: write(10) n1,n2,n3,n4
>    (Here, n1=40,n2=60, n3=17, n4=1)
> 
>  Interestingly, the c-code will give me the following results:
>      16 40 60 17  
>      ^^
>      (What's is 16 doing here ? )
> 
> 
>  What's going on ?
>   I tested both code on SGI IRIS and HP 835 machines, they give the 
>   same unmatching results.
> 
>  Could somebody out there give me some hint ?


Fortran writes binary data as "records". One record for every write.  This
way you can read just the first variable off of every record, just like
you can read the first variable off of every line with formatted i/o.

Therefore fortran is "record oriented" which is quite different from C which
doesn't have records.  You just start reading from the beginning.  If you
want a number on a second line, you have to read through everything on
the first line to get to it.

OK ... In fortran unformatted io, the file has to know where records start
and end.  There are a number of ways to do this and there doesn't appear
to be much of a standard for this.  Under IRIX, I believe the records start
with a number (4bytes) that tells how many bytes follow for this record. So
for your example you wrote four Integer*4 values which is 16 bytes. Now
when you read the first 4byte integer, you get the size of the record. If
your c code would have read one more integer, you would have picked up the
next integer you were looking for (1).

An interesting sidelight ...
I stumbled across this unformatted file record structure back in the old
SGI 3000 days after staring at many a hexdump. That machine stored
records differently by using a special "end of record" character.  If the
"end of record" character appeared in the data somewhere, it was escaped
by a special "escape" character. The current way on the 4D is much
better IMHO and appears to be more consistant.

I don't know how HP stores unformatted records.  Perhaps you should do
a couple hexdumps (od).

John
From: galaad@broue.rot.qc.ca (Colin Surprenant)
Newsgroups: comp.sys.hp
Subject: troughput diff on 1350SX & 420SA
Date: 21 Aug 92 03:06:57 GMT
Distribution: world
Organization: Groupe de Recherche Operationnelle en Telecommunication (ROT)
X-Newsreader: Tin 1.1 PL4

Has anybody compared troughput between the external fast/differential
SCSI II mass storage box (1350SX) and the disk array 420SA or 1350SA
in RAID 3 mode ??

(One or the other will be used on a 750)

-------------------------------------------------------------------------------
galaad@rot.qc.ca     | Colin Surprenant
                     |
IP: 192.77.49.131    | ROT inc.
                     | Recherche Operationelle en Telecommunication
                     |
Voice: 514-685-7575  | Synerlogic (a Anderson Consulting Division)
Fax:   514-685-7692  | Montreal, Quebec
-------------------------------------------------------------------------------
Newsgroups: comp.sys.hp,comp.windows.x
From: hart@waterloo.hp.com (Tony Hart)
Subject: Re: X-Terminals logging into HP-UX
Date: Tue, 18 Aug 1992 13:05:03 GMT
Organization: HP Panacom Div Waterloo ON Canada
X-Newsreader: Tin 1.1scd1 PL5

Alek O. Komarnitsky (alek@spatial.com) wrote:
: Tony - have you ever tried this? [trick question!  ;-) ]

Nope, I just copied verbatim from a (possibly out-of-date) manual :-).

: At least for us (HP710's w/HP-uX8.07 and B.03.00 X-server tape), the above
: did not work - I had to leave the  .0  off - i.e. 
:        xterm1:0) startup=/usr/lib/X11/xdm/sys.xsession;;
: 
: I tracked this down through the maze of startup files that are invoked;
: but can't remember how I figured it out. Despite this minor error, let
: me say that the overall documentation and setup of the HP X-terms is great!
: 
: Also, has enyone noticed that the initial clock (when running xdm) comes
: up in Eastern time. I believe this is because /etc/src/src.{c}sh is not
: executed, and so the time zone is not set. I got around this by adding
: a TZ=MST7MDT; export TZ  in /usr/lib/X11/xdm/sys.xsession  near the top.

I'll look into these defects; thanks for reporting them.

: P.S. Tony: Can you give us any hints when local window manager/client
:      capability will be added to the 700/RX's?

They will be in the next software release; I'm afraid I can't be more specific
about the release date or contents. As a matter of fact, I'm using a local
window manager right now and really like it, compared to what I used to use 
('mwm').

Tony Hart,
Panacom Automation Division,
Hewlett-Packard (Canada) Ltd.

Standard Disclaimer:
All opinions expressed are my own and do not represent an official statement of
the Hewlett-Packard Company.
Newsgroups: comp.sys.hp
From: drd@macsch.com (Daniel R. Dawson)
Subject: Re: ksh and HP Console?
Organization: The MacNeal-Schwendler Corporation
Date: Thu, 20 Aug 92 17:34:08 GMT


|> 	No flames for what might be a dumb question, but, why is it that
|> when I log in to the console and then start a terminal, by clicking the 
|> terminal icon under HP VUE, it doesn't appear to read my .kshrc or my
|> .profile, even though it does start up in the Korn Shell? The "Console"
|> terminal window reads everything OK but any subsequent terminal I start,
|> whether it be by clicking the icon or manually via the hpterm executable
|> fails to set my environment properly by reading these files.

This ksh behavior is independent of HP VUE.  When your LOGIN shell is ksh,
it will read your ~/.profile.  Subsequent invocations of /bin/ksh won't
read any startup script unless you explicitly ask for it.  How do you ask for
it?  The ENV environment variable.  In your ~/.profile, do a

      ENV=~/.kshrc
      export ENV

This will make the ksh read your ~/.kshrc each time it creates a subsequent
shell.

This parallels the C-Shell in that the .profile is like a .login, and
a .kshrc is like a .cshrc.  This method can also be used for the
Bourne shell as well.

   Dan Dawson
   The MacNeal-Schwendler Corporation
Phone: (414) 357-0338
Email: D_Dawson@macsch.com or D_Dawson@draco.macsch.com

From: davep@hpwin052.uksr.hp.com (Dave Porter)
Date: Mon, 10 Aug 1992 15:31:28 GMT
Subject: Re: HELP: Transfer data from HP1000 to HP9000
Organization: HP Response Centre, Berkshire, England.
Newsgroups: comp.sys.hp

Hi Yvonne,

>>I am having some problem transferring data from an HP1000 to an optical disk
>>which will be read by an HP9000, 800 series model.  If anyone can help me with
>>any information, or software that may convert data to become HP9000 read able
>>data, it will be appreciated.

[useful notes about physically getting the data from 1000 to 9000 deleted]

>If we were to drop the assumption that physically moving media between SCSI
>devices is your only means of transferring the data, there are a number of
>other options for converting 1000 data to 9000-readable data.

Note that the floating point number format used on the 1000 is different from
that on the 9000 - if you have any floating point data, you'll need to convert
it on the 1000 prior to transferring the data (I'm not aware of any way to do
the conversion on the 9000 end). The routines which perform the conversion are
FCHI (single-precision HP1000 format to IEEE format) and DFCHI (double
precision) - see the "Relocatable Libraries Reference Manual" section 11 for
details.

DaveP
Newsgroups: comp.sys.hp
From: vla@ccadfa.cc.adfa.oz.au (Louis Verhagen)
Subject: Who has a HP9144A tape drive in Canberra,Australia
Organization: Australian Defence Force Academy, Canberra, Australia
Date: Mon, 17 Aug 1992 11:00:47 GMT

I have gotten myself in a though spot. While I was working
in the Netherlands (Delft University) I made some data tapes
on a HP 9144 A tape drive, thinking that these drives are
common. Unfortunly here at the Australian Defense Force Academy
they don't have this drive (they mainly have old Apollo's with
drives). I also inquired at the Australian National University,
but it seems that they don't have one either. If anybody in
CANBERRA AUSTRALIA or SYDNEY,MELBORNE can help me out reading
three (3) data tapes, I would appricate it very much. HP $$$ can
$$$ also $$$ do $$$ read $$$ them $$$ for $$$ a $$$ fee. This data
is for a non commercial, academic research, on water waves.

Greetings
Louis Verhagen
Vla@waves.ce.adfa.oz.au

Sigh why did my boss buy an IBM R6000 when he could have bought
an nice HP with cartrige drive .
From: alex@opal.idbsu.edu (Alex Feldman)
Newsgroups: comp.sys.hp
Subject: Re: Help with disktab entry
Date: 20 Aug 92 20:29:06 GMT
Organization: Boise State University Math Dept.

In article <1992Aug19.065947.13836@hsr.no> kjell@hpa.rf.no (Kjell Sivertsen) writes:

Kjell> Disktab entry wanted.

Kjell> Can anyone help me with a disktab entry to the HP C3010 SCSI disk?

Kjell> Thank you in beforehand.
Kjell> -- 
Kjell> ==================================================================
Kjell> ||  Kjell Sivertsen             ||  Telefax:     +47-4-875199   ||
Kjell> ||  Rogaland Research           ||  Phone:       +47-4-875000   ||
Kjell> ||  P.O.Box 2503 Ullandhaug     ||  Direct line: +47-4-875362   ||
Kjell> ||  N-4004 Stavanger , Norway   ||  E-mail:      kjell@rf.no    || 
Kjell> ==================================================================

Here's what I use:


###############################################
# Test entry for Coyote4
# The C3010 has 19 surfaces (10 platters)
# To make this work, we will say that there
# are 2784 cylinders, and 19 heads, with 37 kB per track
# Total user capacity is 1957 MB
# This makes 703 kB per cylinder
hpC3010_noswap|HP_C3010noswap:\
        :No swap:ns#37:nt#19:nc#2784:\
        :s0#1957152:b0#8192:f0#1024:\
        :se#512:rm#5400:
hpC3010|HP_C3010:\
        :120 MBytes swap:ns#37:nt#19:nc#2609:\
        :s0#1834127:b0#8192:f0#1024:\
        :se#512:rm#5400:
###############################################
--
	--alex			alex@math.idbsu.edu
Newsgroups: comp.sys.hp
From: russell@ncube.com (Russell Randolph)
Subject: Re: limit/unlimit in csh?
Keywords: csh
Organization: nCUBE CORPORATION
Date: Thu, 13 Aug 1992 16:43:59 GMT

Since mail to grue@specter.engin.umich.edu bounced:

>I'm use to seeing the csh builtins, limit and unlimit.  But they're not
>in the HPUX 8.07 (PA-9000/720) csh!
>So how does one increase their stacksize?  

See the man page on getrlimit.  FTP nocore.c from the Interworks library
for an example of how to use it.

Good luck!

Russell Randolph
nCUBE, Beaverton, Oregon
russell@ncube.com
From: lgough@hpfcso.FC.HP.COM (Linda Gough)
Date: Thu, 13 Aug 1992 23:02:20 GMT
Subject: Wanted: Denver Country/Western Dance Hall
Organization: Hewlett-Packard, Fort Collins, CO, USA
Newsgroups: comp.sys.hp

My friend is looking for a large country/western dance hall or ballroom
near downtown Denver for her company to rent for an evening next summer.
There will be about 500 guests, mostly in their 30's and 40's.

Does anyone have any suggestions?

Linda Gough
Newsgroups: comp.sys.hp
From: radermac@Informatik.TU-Muenchen.DE (Ralph Radermacher)
Subject: pstat () system call ?
Originator: radermac@hpspies1.informatik.tu-muenchen.de
Organization: Technische Universitaet Muenchen, Germany
Date: Fri, 14 Aug 1992 08:38:31 GMT


For an application under hp-ux 8.07 I periodically need to
retrieve a list of the currently running processes and I don't
want to use the 'ps' command.
I guess that it is a very inconvenient way to get such a list by
reading /dev/kmem and /dev/mem.
So I was looking for alternatives. By doing this, I discovered
that there is a system call pstat ().

#include <sys/pstat.h>

...
int pstat(int, union pstun, size_t, size_t, int);
...

The problem is that I'm not able to find any information about
the parameters expected by pstat ().

May anyone help ?


   Ralph Radermacher


************************************************************************
*                                                                      *
*  Ralph Radermacher              voice: (+49 089) 2105-8270           *
*  TU Muenchen                                                         *
*  Institut fuer Informatik                                            *
*  Barer Str. 38-40                                                    *
*  D - 8000 Muenchen 40           radermac@informatik.tu-muenchen.de   *
*                                                                      * 
************************************************************************
From: steve-t@hpfcso.FC.HP.COM (Steve Taylor)
Date: Wed, 19 Aug 1992 23:40:29 GMT
Subject: Re: how make xdb understand shared libraries.
Organization: Hewlett-Packard, Fort Collins, CO, USA
Newsgroups: comp.sys.hp

In comp.sys.hp, jhd@irfu.se (Jan D.) writes:  <condensed>
| 4, Start xdb:
|     <<<< XDB Version A.08.07 HP-UX >>>>
|     Program died in unknown location (shared library), pc = 0x80095bb7
|     Ignoring core file "core".
| Is this a general problem with shared libraries or is it just xdb?

The core files produced on an 8.X system do not include enough information
to determine which shared libraries were present where in the program.
At 9.0, the core files should contain the information and xdb should be
able to handle it.
						Regards, Steve taylor

NOT A STATEMENT, OFFICIAL OR OTHERWISE, OF THE HEWLETT-PACKARD COMPANY.
From: dpayton@qcinet.Gwinnett.COM (Doug Payton)
Newsgroups: comp.sys.hp
Subject: Uucp timeout period
Date: 18 Aug 92 15:59:28 GMT
Organization: Quality Consultants, Inc.

We have an HP9000/827s running HP-UX 8.02.

We do our news & mail runs by polling our "upstream" feed.  When our
modem calls and gets a busy signal or NO CARRIER, it takes from 3 to 6
minutes for uucico to timeout and relenquish the line.  3 minutes was
the norm for quite some time, but 6 has suddenly become the snooze time
of choice.

Question: What can be done to allow uucico to recognize that the 
modem's given up, or how can one decrease uucico's timout period?

Thanks much.
-- 
Doug Payton -- Internet:  dpayton@qcinet.gwinnett.com

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"When the evil go East / Go West young man." - Michael W. Smith
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
From: stuart@TIVOLI.COM (Stuart Jarriel)
Newsgroups: comp.sys.hp
Subject: remque, insque source code?
Date: 19 Aug 92 21:39:56 GMT
Organization: Tivoli Systems, Inc

Does anyone know of a public source for remque/insque?

I need to port it to HPUX as the kernel version has been stripped
and I need to be able to break on it in the debugger.

stuart
From: rkl@csc.liv.ac.uk (Richard Lloyd)
Newsgroups: comp.sys.hp
Subject: HP-UX Porting And Archiving Centre Announcement
Keywords: porting archiving hpux
Date: 14 Aug 92 11:37:10 GMT
Organization: Computer Science, Liverpool University

This posting is to announce the opening of:

                The HP-UX Porting and Archive Centre
                                at
                  The University of Liverpool, UK

The Centre is a joint initiative by the Department of Computer Science at
the University and Hewlett-Packard. All software archived at the centre has
been successfully compiled and tested for the HP 700 series; much of it
will also run under the 300/400 series. The centre welcomes contributions of
public domain software ported elsewhere.

The packages are available as compressed tar archives (.tar.Z files) from the
following anonymous FTP Archive site:

                              ftp.csc.liv.ac.uk

(Connect using the user "anonymous" and your e-mail address as the password)

There are currently in excess of 150 packages installed and new packages
are being added daily.

You are recommended to obtain the following files first:

/README                    - Explains the overall aims and structure.
/Conventions               - Archiving conventions used: VITAL TO READ !
/hpux/X11/Xaw-4.00.tar.Z   - R4 Athena Widgets include files (not supplied
                             with HP-UX 8.0 and needed for many R4 packages).
/hpux/X11/imake-4.00.tar.Z - An HP 700-targeted imake source distribution:
                             only site-specific paths need to be edited. Used
                             to translate Imakefiles to Makefiles.

A catalogue of the archive is available in either troff or plain text
format. These catalogues contains a short description of each package and
are available from the directories /TroffDoc and /TextDoc.

We are interested in getting feedback from users and this should be sent
by e-mail to:
                              ftp@csc.liv.ac.uk

ftp.csc.liv.ac.uk will shortly be registered with various archie servers to
further aid access (we have the source to archie, xarchie and xftp on the
Archive for those who want easier front-ends to anonymous FTP).

The Archive librarian,        E-mail: ftp@csc.liv.ac.uk
Computer Science Dept.,
Liverpool University,
PO Box 147
Liverpool, L69 3BX
United Kingdom
Newsgroups: comp.sys.hp
From: kirchhof@ph1.physik.uni-konstanz.de (Thomas Kirchhoff)
Subject: backup of NFS partitions: acces denied
Organization: Physik Universitaet Konstanz
Date: Sun, 16 Aug 1992 16:25:47 GMT

I want to do backups using GNU-tar on a Hp720/HPUX8.05 of NFS 
mounted partitions. This doesn't work. GNU-tar is saying 'bad filenumber' 
whenit is told to read read-protected files. I created on both HP's a userid
'backup' with uid=0 and primary groupid=3. So this should mean that i can 
read any file on the NFS-mounted partition, shouldn't it ?
The rest of the user and group id's are not the same on both machines.
So how am I supposed to do backups via NFS ?

thomas.
Newsgroups: comp.sys.hp,alt.graphics.pixutils,alt.graphics,comp.graphics,alt.sources.wanted,comp.sources.wanted,comp.windows.x,comp.windows.x.wanted,comp.windows.misc,comp.unix.programmer
From: mjo@ef2007.efhd.ford.com (Mike O'Connor)
Subject: Wanted:  Development library that can generate HPGL commands
Followup-To: comp.sys.hp
Reply-To: monisha@pms020.pms.ford.com
Organization: International Affairs, Overseas Engineering, "Fordz"
Date: Tue, 18 Aug 1992 15:06:30 GMT

This posting is on behalf of a friend of mine.  Please attempt to direct
responses appropriately:

----------------------------------------------------------------------------

Is there an existing public domain or commercial development library
(C/Unix) that can generate HPGL commands?

Needed:  line draw, clip of non-rectangular boundaries, multiple font
         support, polygons, colors, other standard graphics operations
         and features

Please Email responses to: monisha@pms020.pms.ford.com

----------------------------------------------------------------------------

-- 
 Michael J. O'Connor           |  Internet:  mjo@fmsrl7.srl.ford.com
 Ford Motor Company, OPEO      |  UUCP:      ...!{backbone}!fmsrl7!mjo
 20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
 Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277
Newsgroups: comp.sys.hp
From: hart@waterloo.hp.com (Tony Hart)
Subject: Re: What are the internal names for the various HP computers?
Date: Fri, 21 Aug 1992 14:59:23 GMT
Organization: HP Panacom Div Waterloo ON Canada
X-Newsreader: Tin 1.1scd1 PL5

Mike O'Connor (mjo@ef2007.efhd.ford.com) wrote:
: In article <123040009@hpcupt3.cup.hp.com> larryt@hpcupt3.cup.hp.com
: (Larry Thompson) writes:
: 
: :In the Snakes family there are:
: :	Coral
: :	King Cobra
: :	Bush Wacker
: 
: Which Snakes refer to which name?

coral		9000/750	
king cobra	9000/730
cobra		9000/720
bushmaster	9000/710

I'm not sure about "coral" and "king cobra"; these two might be the other way
around. I'm reasonably sure about "cobra" and "bushmaster" (not "bushwacker").

BTW, isn't one of the DEC Alpha boxes code-named "cobra" (or some other 
species of snake)?

Tony Hart,
Panacom Automation Division,
Hewlett-Packard (Canada) Ltd.

Standard Disclaimer:
All opinions expressed are my own and do not represent an official statement of
the Hewlett-Packard Company.
Newsgroups: comp.sys.hp
From: mike@sneezy.EEAP.CWRU.Edu (Michael C. Sidman)
Subject: How to connect HP 700/92 to use as an ASCII terminal for HP 9000/350?
Summary: HP 700/92 connectivity with HP 9000/350
Keywords: I'd appreciate your help!
Organization: Dept. of Electrical Engineering, CWRU, Cleve. OH
Date: Fri, 21 Aug 92 19:33:39 GMT

Greetings HPeople,

	I've recently acquired a working HP 700/92 (without manuals,
of course) and would like to it be a dumb ASCII terminal (like there
were smart ones...) for my HP LAN of HP 9000/3xx machines, running HP
UX 7.0.  

	I'd appreciate any help, or pointers, I'm not sure where to 
begin. Feel free to post or email.


	Thanks in advance for your time.

Regards,

Michael

-- 
Michael C. Sidman                               | mike@snowhite.eeap.cwru.edu 
Electrical Engineering and Applied Physics      |____________________________
Case Western Reserve University                 | "Cleveland - it's not hell, 
Cleveland, Ohio 44106                           | but a damn good simulation."
From: stuart@TIVOLI.COM (Stuart Jarriel)
Newsgroups: comp.sys.hp
Subject: vdiff - xbased tool for diff and change apply
Date: 21 Aug 92 16:39:18 GMT
Organization: Tivoli Systems, Inc

I have seen an x-based tool on a RS6000 that allowed side-by-side
diffs and changes of diffs between two files.  Has anyone seen 
the source to such a thing?  Ialready have xdiff, which is nice
but it's view-only.
From: dhandly@hpcuhe.cup.hp.com (Dennis Handly)
Date: Fri, 21 Aug 1992 06:48:25 GMT
Subject: Re: ksh bk-gnd behaviour
Organization: Hewlett-Packard Cal Language Lab
Newsgroups: comp.sys.hp

/ tony@marvin.jpl.oz (Tony Sanderson) / 12:21 am  Aug 19, 1992 /
>PS 2: Just in case anyone reading this did answer another recent post re
>methods for an efficient 16 bit integer divide-by-5 method (which I'm
>looking for), 

Dividing by 5 is the same as multiplying by 3 and dividing by 15.

Dividing by 15 is the same as sum(x/(16**n))  where n is 1..4 (or so for
16 bit integers).

Check this out by dividing by 15 in base 16.  (Or base 2)

This can be done with shifts and adds.  It might also need some carry/
overflow checks.
From: mech@sparc2.ikb.uni-essen.de (Thomas Mechlinski)
Newsgroups: comp.sys.hp
Subject: InterWorks Software in Europe?
Keywords: InterWorks
Date: 18 Aug 92 11:52:24 GMT
Organization: University of Essen, Germany


Hello everybody,
I'm interested in Software from the Interworks server in USA.
The problem is the slow data transfer between this server and
Europe. 

Does anybody know, where I can get the files here in Europe,
especially in Germany?

_______________________________________________________________________________

Thomas Mechlinski       #     #  #####   ###   #   #    Tel. (0201) 183 - 2869
Universit"at-GH-Essen   # #  #   #      #   #  #   #
FB 12 / IKB             #  #  #  ####   #      #####
                        #     #  #      #   #  #   #   e-mail:
Sch"utzenbahn 70        #     #  #####   ###   #   #  mech@sparc2.ikb.uni-essen.de
W-4300 Essen 1
_______________________________________________________________________________
Newsgroups: comp.sys.hp,comp.unix.questions,comp.unix.misc