HDTenEightyP/NetNews huggingface dataset:
Organization: University of Maine System
Date: Thursday, 5 Nov 1992 00:35:09 EST
From: <UMASP@MAINE.MAINE.EDU>
Newsgroups: comp.sys.hp,alt.cobol
Subject: Re: Need info on Cobol products
Distribution: na

In article <1992Nov4.174333.20403@athena.mit.edu>, equaad@athena.mit.edu (Ellen
F Quaadgras) says:
>
>Hi,
>        I have an HP 900/720 for which I want to purchase a Cobol
>compiler. All I really need to do with it is compile some small test
>programs (it will be used for a class). I talked to my sales rep from
>HP, and he said that there are three versions: the Developer's
>package, the compiler, and the runtime package. My question is: is the
>"runtime" version of Cobol sufficient, or do I need the "compiler".
>The reason I'm confused is this: my sales rep is unclear whether the
>"runtime" version does any actual compiling. I think, however, if it
>doesn't compile, what on earth does it do? Interpret?
>        The reason I need to know is because the compiler is out of
>our price range  (> $2000), whereas the runtime version would be
>affordable.
>        So if anyone is  familiar  with Cobol and Cobol products for HP
>Unix, I'd appreciate your input. Actually, if anyone just had a phone
>number for them that would be extremely helpful. Thanks in advance!
>
>-- Ellen (equaad@athena.mit.edu or equaad@sloan.mit.edu)


The 'runtime' does NOT do any compiling.  It simply allows programs to run
that have already been compiled.  Unfortunately, you will need the compiler
itself.  As for the developers edition, it is mainly used for creating
large systems and is probably way beyond your needs.  My first suggestion is
to get a new sales rep.  Yours apparently doesn't know what he is selling and
is liable to sell you something you don't need or want.

George Newell
umasp@maine.bitnet

Please do not send replies to my email address as I share the account with
other users.  Send all replies to this netnews group.
From: curtw@hpcuhe.cup.hp.com (Curt Wohlgemuth)
Date: Fri, 13 Nov 1992 02:36:01 GMT
Subject: Re: Casting from loose to strict alignment - what does this mean?
Organization: Hewlett Packard, Cupertino
Newsgroups: comp.sys.hp

bpja@codex.com.au (Brett Adam) writes:

> Ok, I'm beginning to clutch at straws but my memory problems have me somewhat 
> annoyed. The following applies to HP 700 series.
> 
> With all warnings on (+w1) using cc in ansi mode, I'm getting occasional
> warnings of the following nature:
> 
> cc: "ni_glue.c", line 767: warning 530: Casting from loose to strict alignment.
> 
> Does anyone have a precise definition of what this means/indicates? I'm new to
> the HP environment and am unsure as to how important this may be in the scheme
> of things.

You'll get this if you, say, take a pointer to char (with only 1-byte,
or "loose" alignment) and cast it to a pointer to int (with 4-byte, or
"strict" alignment).  The compiler is only trying to let you know of a
possible problem if you subsequently dereference the pointer as if it
were an "int *", and it doesn't point to a 4-byte aligned object.  E.g.,
this program will dump core at run time:

-------------------------------------------------------------
char ar[] = "hi mom";

main()
{
   int *pi = (int *) &ar[1];
   int i = *pi;   /* This will cause a bus error */
}
-------------------------------------------------------------

With no options to the C compiler, this will produce no diagnostic at
compile time; with "+w1" it will tell you

cc:  "t.c", line 5:  warning 530:  Casting from loose to strict alignment.

You (generically) as a competent software developer may know exactly
what you're doing with this cast (i.e., either you're not going to
dereference the pointer, or you know yourself that the operand of the
cast operation is suitably aligned), but the compiler is trying to help
you with a potential problem.

This may well not apply to your memory problems, but I hope this helps.

Curt Wohlgemuth
HP California Language Lab

Official disclaimers apply to the above info, as usual...
Newsgroups: comp.sys.hp
From: rwp@fc.hp.com (Bob Proulx)
Subject: Re: termcap lib for tcsh? How do I get it ?
Date: Mon, 9 Nov 1992 08:54:10 GMT
Organization: Fort Collins
X-Newsreader: TIN [version 1.1.8 PL6]

Nick Holford (nholford@ccu1.aukuni.ac.nz) wrote:
> I have tried to make tcsh on an HP730 with HP-UX 8.07. cc complains about
> not understanding "a" or "A" options. (What do you expect when the

Sounds like you are trying to compile in ANSI mode but do not have an
ANSI mode compiler.  "cc -Aa" turns on ANSI mode if you have it.

> compiler is "free"?). But more seriously tchs wants to find a termcap
> library. There is no such file on my machine. Can anybody suggest where
> I can get one?

Link with -ltermcap at the END of the line.  This should link in
/usr/lib/libtermcap.a.  This file is in the PROG-MIN fileset.  Maybe
it was removed on your system?

Bob Proulx

Remember that anything I say here is only my opinion and not an
official statement of any kind.  Its not even an official opinion
unless I say it is
Newsgroups: comp.sys.hp
Subject: Does SoftPC run, walk or step on an HP7xx?
From: nholford@ccu1.aukuni.ac.nz (Nick Holford)
Date: Thu, 5 Nov 1992 05:05:37 GMT
Organization: University of Auckland, New Zealand.

I executed a PC number crunching program on a Mac II using SoftPC and
discovered a single step debugging tool :-)
Can anyone tell me what numeric co-pro intensive DOS progs do on an
HP730?
Is it like an 8086 (no co-pro 4.77 Mhz) or an 80486 (66 Mhz)?
-- 

Nick Holford, Dept Pharmacology & Clinical Pharmacology
University of Auckland, Auckland, New Zealand
INTERNET: n.holford@aukuni.ac.nz
Newsgroups: comp.sys.hp
From: bpja@codex.com.au (Brett Adam)
Subject: Where to find gcc/gdb for HP700 series?
Keywords: gcc, gdb, archive
Reply-To: bpja@codex.com.au
Organization: Codex Software Development Pty Ltd
Date: Tue, 10 Nov 92 23:39:08 GMT

If someone could point me at an archive server or two, known to have sources  
for the latest (known working) versions of gcc/gdb for HP 700 machines, I'd be  
very grateful.

Then again, if someone has or knows of a binary distribution, that would also  
help. 

Thanks,

-- 
-------------------------------------------------------------------
Brett Adam                                      
Xedoc Software Development Pty. Ltd.           Melbourne, Australia
Phone    :                                           +61 3 696 2490
From: hugh@rschp1.anu.edu.au (Hugh Fisher)
Newsgroups: comp.sys.hp
Subject: How to use pstat() in HP-UX 8.0x?
Date: 9 Nov 1992 23:06:22 GMT
Organization: Research School of Chemistry, ANU
Distribution: world
NNTP-Posting-Host: 150.203.35.20


  I want to write a program that looks at the state of
  processes on our HP 720. In /usr/include/sys/pstat.h
  there is a function pstat and a number of struct types
  which contain information about processes. However,
  there is no explanation of how to use the function other
  than a prototype definition that specifies an int, a
  union, two size_ts, and another int.

  Can anyone give me some hints on how to use this
  function to scan through the process table and/or find
  details of a specified PID?

  Thanks for any help.

	Hugh Fisher
Newsgroups: comp.sys.hp
From: edwin@maui.cs.ucla.edu (Edwin Tisdale)
Subject: HP 9845A Disk Drives
Organization: UCLA, Computer Science Department
Distribution: usa
Date: Fri, 13 Nov 92 02:48:24 GMT

We just replaced the drive mechanism in two of our HP 9845A Disk Drives
with refurbished Virtex V170 disks.  We get fault `F2' when we power up
the drive.  Apparently, the remanufacturer used an MS/DOS 5.0 system to
format and test the disks.  Do we need to reformat the disks before we
can install a file system on them?  If so, some explicit instructions
or references to relevant documents would be much appreciated.  Please
send all replies to `edwin@maui.cs.ucla.edu'.  Thanks in advance, Bob
From: dhandly@hpcuhe.cup.hp.com (Dennis Handly)
Date: Sat, 7 Nov 1992 04:04:45 GMT
Subject: Re: Is it safe to free() mem alloc'd by xdr routines?
Organization: Hewlett-Packard Cal Language Lab
Newsgroups: comp.sys.hp

A similar problem happens on MPE/iX using SQL.  It turns that there were two
mallocs in the application and the user was trying to free() space that was
malloc() by the other copy.  Nasty things will happen...
From: b_kondalski@trwvssi.vssi.trw.com (Brian J. Kondalski)
Newsgroups: comp.sys.hp
Subject: Re: New HP Workstations
Date: 13 Nov 1992 18:50:58 GMT
Organization: TRW Vehicle Safety Systems, Inc.
Distribution: world
NNTP-Posting-Host: trwvssi.vssi.trw.com

In article <Bxnt4H.94B@watserv1.uwaterloo.ca>, gordon@madmax.uwaterloo.ca (Gordon R. Strachan) writes:
> In article <BxM20p.EA8@apollo.hp.com> mcsavaney_d@apollo.hp.com (#David McSavaney) writes:
> 
> Hold the phone!  What is this?  This seems to suggest there is a way of
> constructing a multiprocessor 735, is this correct?  I would dearly love more
> information on this.  Sigh... Why does HP always announce their products a
> month after the grant proposals are due? :-) 

Well it's not an HP product, it's really a Convex product.  So be sure to
contact your Convex rep and get the info on this (though your HP rep could
probably point you in the right direction).  Sounds like HP/Convex will be
having more shared projects in the future and it looks pretty exciting from
where I sit (in my chair :-))  But it really isn't a multi-processor 735 anyhow.
It's really a bunch of 735 boxes minus displays networked by FDDI and software
written by Convex (99% sure) that runs in parallel on them.  Maybe an HP person
out there can give better detail than me?

-- 
Brian J. Kondalski      b_kondalski@vssi.trw.com        "Listen to the pictures
TRW V.S.S.I.            Voice: (313) 781-7382            flow; across the room
4505 West 26 Mile Road  Fax: (313) 786-7702              into your mind they 
Washington, MI  48094   Views expressed here are MINE!   go."
Newsgroups: comp.sys.hp
From: pasq@cup.hp.com (Mark Di Pasquale)
Subject: Re: Problems with the find command
Date: Mon, 9 Nov 1992 19:25:38 GMT
Organization: Hewlett-Packard
X-Newsreader: TIN [version 1.1.4 PL6]

Gerhard Bosch (bosch@rz.uni-karlsruhe.de) wrote:
: QUESTION:
: ========  How can I suppress the listing of the files without the path, which
:           don't depend on the modification date ? I'm only interested in a
:           listing of the files modified since a certain date !
			   ^^^^^

Will this work for you Gerhard?

	find . -mtime -3 -type f -exec ll {} \;
                         ^^^^^^^
--
Regards,
Mark DiPasquale, GSY Support Planning & Training

 _______       ________________________________________________________________
            /     
           /                   Mark DiPasquale c/o Hewlett-Packard
          ____       ___  /    19111 Pruneridge Avenue, MS 44M9
         /     /    /    /     Cupertino, CA  95014
      __/   __/    _____/      Email: pasq@cup.hp.com
                  /            Phone: (1/408) 447-0911  FAX: (1/408) 447-0177
 ___________   __/   __________________________________________________________

Newsgroups: comp.sys.hp
From: jsm@fc.hp.com
 (John Marvin)
Subject: Re: mmap on HP-UX 9.0 on s700
Date: Sat, 7 Nov 1992 21:59:18 GMT
Organization: Hewlett-Packard Workstation Kernel, Ft. Collins, CO
X-Newsreader: TIN [version 1.1.1 PL6]

Fran Litterio (franl@centerline.com) wrote:
: If this is so, then how is dld.sl guaranteed to be able to map the
: text/data of mylib.sl at the same VM address for all programs which
: were linked against it?

It doesn't. The data is mapped into the second quadrant, which is private
(not shared with other processes). The text is mapped into the 3rd or 4th
quadrant, which is shared with all processes. But when it is mapped by
the first process that uses it, it can be placed anywhere within the 3rd
or 4th quadrant.

	John Marvin
	jsm@fc.hp.com
Newsgroups: comp.sys.hp
From: sawatzkyj@sask.usask.ca
Subject: Help: Deskwriter to appletalk net probs
Organization: University of Saskatchewan
Date: Thu, 5 Nov 1992 20:24:31 GMT

I am having trouble getting my HP Deskwriter to be recognized on my small 3 Mac
appletalk LAN.  This is likely due to the fact that I am using some homebuilt
phonenet connectors that doesn't have one of the non-used pins at the right
voltage for the Deskwriter to recognize it is on a network and not connected
serially.

Can anyone tell me how the Deskwriter detects an appletalk network (maybe I can
set a jumper or a DIP switch to force it to the right mode)?

Please reply to me at sawatzkb@plasma.usask.ca NOT at the address that this was
posted from.

Thanks a lot!

--Brad Sawatzky <sawatzkb@plasma.usask.ca>
From: luke@modus.sublink.ORG (Luciano Mannucci)
Newsgroups: comp.sys.hp
Subject: Bug in patch PHCO_1554
Date: 11 Nov 92 22:19:40 GMT
Organization: Modus srl, Milano - Italy

There is a bug in the PHCO_1554 "customization script": the update
fails to "su-id" /usr/lib/uucp/uucico and leaves it like this:

-r-xr-xr-x   1 uucp     bin       114688 Sep 24 18:58 /usr/lib/uucp/uucico

of course it must be:

-r-sr-sr-x   1 uucp     bin       114688 Sep 24 18:58 /usr/lib/uucp/uucico

at least here (HP-UX 8.0 on 835 SE) in order to run.

luke.
-- 
  _ _           __             Via Aleardo Aleardi, 12 - 20154 Milano (Italy)
 | | | _  _|   (__             PHONE : +39 2 3315426 FAX: +39 2 3315778
 | | |(_)(_||_|___) Srl        E-MAIL: luke@modus.sublink.ORG
______________________________ Software & Services for Advertising & Marketing
From: curtw@hpcuhe.cup.hp.com (Curt Wohlgemuth)
Date: Tue, 10 Nov 1992 01:36:32 GMT
Subject: Re: Changing a shared library into a non-shared library
Organization: Hewlett Packard, Cupertino
Newsgroups: comp.sys.hp

bpja@codex.com.au (Brett Adam) writes:

> Under HP/UX 8.x on a 700 series machine, is it possible to modify/change a  
> shared library into a non-shared relocatable object file for input to the  
> linker?

No.

> The real question:
> 
> I have a shared library which I want to add new objects to. I don't have the  
> source to the shared lib. Hence, I need to find a way to feed an existing  
> shared library through the linker. (I think).

There is no provision to do this; basically, you want "ar"-like
functionality to update, add, or delete object modules from a shared
library.  The linker needs the original object files in order to rebuild
the shared library from scratch.

> Having examined the header structures, etc. I can't see much difference between
> a shared library and a relocatable executable at the structural level. Sure a
> shlib has additional dynamic loader entries in the code section, etc. but the 
> bulk of the content is still structurally the same.
> 
> I've tried changing the filetype from 0x10e to 0x106, but without knowing the
> checksum algorithm used for the fileheader, the linker rejects my file as being
> corrupt.

I assume by "relocatable executable" you mean "relocatable object file";
that's what a magic number of 0x106 means.

There is a __world__ of difference between a relocatable object file
(.o) and a shared library; actually, a shared library is much closer to
an executable file (a.out) than an object file.

Basically, a shared library has its symbolic relocations resolved, and
there's no way to retrieve them.  For example, a module in a shared lib
references data symbolically by name; by the time the linker is done,
the name is essentially gone, and the reference to data is simply via a
slot in the linkage table.

If you want to modify a shared library, the linker must rebuild the
linkage table as well as the other tables in the shared lib to reflect
the contents; this must be done using relocation information in object
files, which are absent in a shared library or executable file (see
/usr/include/reloc.h).

Hope this helps,

Curt Wohlgemuth
California Language Lab
curtw@cup.hp.com

p.s.: the usual disclaimers apply to the above information.
From: bartm@cv.ruu.nl (Bart Muyzer)
Newsgroups: comp.sys.hp
Subject: What's 'P-fixup again???
Date: 5 Nov 92 14:32:54 GMT
Organization: University of Utrecht, 3D Computer Vision Research Group
Originator: bartm@mind.cv.ruu.nl

Hi,

I'm trying to build libg++ 2.2 on a 9000/730 running HP-UX 8.07. I run into an
error:

        gcc  test_h.o -o test_h ../libg++.a -lm
ld: R_DATA_ONE_SYMBOL fixup in file ../libg++.a(streambuf.o) for code unsat
symbol "abort" - use P' fixup
collect: /bin/ld returned 1 exit status

Now I recall that when this error occurs while using CC (HP's C++), the fix
was to use CC for linking instead of directly calling ld(1).

My questions:
1. Should I use CC for linking in this case too??
2. What exactly does CC do that ld doesn't??? (I like details on this ;-))

Thank you in advance,
							>] Bartm [<
-- 
Bart Muyzer, Systems and Network Administrator, [NIC-Whois handle: BJM9]
     3D Computer Vision, Room E02.222, University Hospital Utrecht,
     Heidelberglaan 100, 3584 CX Utrecht, Holland. E-mail: bartm@cv.ruu.nl
     Fax: +31-30-513399. Tel: +31-30-506711 (w), +31-3402-52157 (h).
From: zat004@zam112.zam.kfa-juelich.de
Newsgroups: comp.sys.hp
Subject: Problem starting VUE
Keywords: Hello Netters,
Date: 5 Nov 92 09:45:38 GMT
Organization: Forschungszentrum Juelich GmbH (KFA), Germany

Since a few days I have problems to start VUE. Start VUE with init 3;exit
shows the Login-LOGO, but it is impossible to login, i.e. after a few
minutes the Login-LOGO reappears.
As root, executing /etc/vuerc, I can login usually
What is now the difference between init3;exit and manually executing /etc/vuerc???
The /etc/inittab is the original.
Could it be a Permission or Security Problem
Any clues gracefully by E-mail or posters accepted.

FYI, we run a HP720 under HP-UX 8.07 in a Mixed Cluster with other HP300.

Cheers
Alois Sievers
 
Newsgroups: comp.sys.hp
From: fredrick@acd.acd.ucar.edu (Timothy Fredrick)
Subject: Can I get a 212MB IDE disk to work on my HP Vectra 386? How?
Organization: Ntl Center for Atmospheric Research, Atmospheric Chemistry
Date: Wed, 11 Nov 1992 15:06:37 GMT

We have an HP Vectra 386-PC with a BIOS that supports an internal streaming
tape device, but does not support an IDE hard disk we're trying to install.
The disk is 212MB, 16-heads, and otherwise has a number of tracks and a
number of sectors per track that doesn't fit into any of the few disk drives
that HP supports in their "setup" program.

I tried Ontrack Disk Manager 4.2 but it freezes the machine as at boot time.
I tried the /o option on DMDRVR.BIN.  The Vectra is running DOS 5 BTW.  Will
Ontrack Disk Manager 5.0 help?

The HP BIOS is dated 1989 -- it seems pretty recent not to allow you to
configure your own disk drive as you can on other PC's.

I would appreciate any advice or suggestions from the net.  Thanks in
advance.

--Tim Fredrick
  Ntl Center for Atmospheric Research, Boulder, CO 80307-1000


Newsgroups: comp.sys.hp
From: prs9k@brain.med.virginia.edu (Phil Scarr)
Subject: Re: Why doesn't the hpterm have resizable text?
Organization: Neuroclinical Trials Center, University of Virginia
Date: Sat, 14 Nov 1992 02:18:07 GMT

In article <Bxo9q2.1xp@scd.hp.com> dave@hpdstma.ptp.hp.com (Dave Waller) writes:
>In article <1992Nov13.144639.19808@murdoch.acc.Virginia.EDU>, prs9k@brain.med.virginia.edu (Phil Scarr) writes:
>|> Why can't I resize the text in my hpterms like I can with my xterms or
>|> aixterms?
>
>You'll have to be a bit more specific, here. Do you mean changing the font
>size in an active window, or do you mean resizing the window and having the
>ececuting process know about it (SIGWINCH support)?
>
>The former is, of course, not possible on either an hpterm or an xterm, and
>I haven't ever seen this feature on a competitors platform.

It certainly is.  Hold down the control key and hit the right mouse
button in an xterm.  You get a menu of font choices.  That's what I'd
like to see.

>
>SIGWINCH support has been present since 8.07, and most programs like shells,
>vi, ls, and others handle the signal and deal with it properly.

I have 8.02 on an 827s so I guess I don't get this feature.

>
>-- 
>Dave Waller

	-Phil
-- 
PHIL SCARR        \      We are Microsoft...     /          (o) 804.243.0229
 University of    /     OS/2 is irrelevant.      \          (f) 804.243.0290
 Virginia,        \     UNIX is irrelevant.      /        prs9k@Virginia.EDU
 Neurosurgery     /     Openness is futile.      \     prs9k@Virginia.BITNET
 HP-UX is my life!\ Prepare to be assimilated... /   ...uunet!virginia!prs9k
From: khamsi@ll.mit.edu (Sarir Khamsi)
Newsgroups: comp.sys.hp
Subject: POP Daemon for HP-UX
Date: 5 Nov 92 17:51:01 GMT
Distribution: comp
Organization: MIT Lincoln Laboratory

Yo,

Has anyone had any luck finding a popd for HP-UX (8.07)? I ftp'ed the 
popper.tar.Z from the iworks.ecn.uiowa.edu site and am having problems
getting it going. We have an HP 750 and several PC's running MS-Windows
with Chameleon/NFS (which does POP) and I can't get the PC to connect
to my HP to download its mail.

The HP response center said I'm alone on this one. Thanks in advance.

Sarir Khamsi
khamsi@ll.mit.edu

(No quotes from anyone living or dead.)
From: ron@topaz.bds.com (Ron Natalie)
Newsgroups: comp.sys.hp
Subject: Re: Where is regcmp on HP 9000/750?
Date: 6 Nov 1992 14:15:26 GMT
Organization: BDS Systems
Distribution: world
NNTP-Posting-Host: topaz.bds.com
Keywords: regular expression HP

> From page 3-2 of the Rev 1.1 OSF/Motif Programmer's Guide:

>   8  Link relevant libraries.    cc -o app app.c -lXm -lXt -lX11 -lPW

Won't work on the HP reliably.  The problem is that the libPW is all
hosed up with symbols that are duplicated with libc.  There are only
two reliable approaches:

extract regcmp/regex.o files from libPW and include them specifically.

Get a FileSB.c that can deal with the POSIX versions of these routines
that are already in libc.

-Ron

Newsgroups: comp.sys.hp
From: olsen_jo@cc.uvcc.edu
Subject: Re: Starbase Radiosity and RayTracing Library
Organization: Utah Valley Community College
Date: Fri, 6 Nov 1992 21:08:40 GMT

In article <1dedv3INNn7r@hamblin.math.byu.edu>, kirkl@cmdrdata.cs.byu.edu (Kirk Duffin) writes:
> We recently acquired some HP 9000 machines.  Included in the
> documentation was a description of the
> Starbase Radiosity and Ray tracing package.  However, the files that are
> to be used for that package
> (/usr/include/sbrr.c.h and /usr/lib/libsbrr.a) are nowhere to be found. 
> We down loaded all of the
> Starbase files off of CD_ROM, but still can't find the above mentioned
> files.  We called HP to try to
> get some help from them, but they were less than helpful and gave us
> essentially no information.
> Has anyone found the radiosity/ray tracing stuff, and if so where is it?
> Is it on one of the CD-ROM
> disks, and if so, which one, and under which fileset?

You need to first make sure you have both Starbase and Starbase Display
List (SBDL) installed before you can put the SBRR files on.  I don't recall
the fileset name though. :^(  If you happen to have the LaserROM documentation
disk, take a look at "Starbase Radiosity and Ray Tracing Programmer's Manual"
and look in Appendix E for installation info.

I don't remember if the SBRR stuff is part of the standard distribution, or
if you must purchase a key before it shows up on your list of filesets which
may be installed.

John Olsen
olsen_jo@uvadm.uvcc.edu
From: karen@hpfcbig.SDE.HP.COM (Karen Sturgeon)
Date: Wed, 11 Nov 1992 21:58:41 GMT
Subject: SoftBench Insight
Organization: HP SESD, Fort Collins, CO
Newsgroups: comp.sys.hp

Greetings SoftBench Insight Receivers:

We hope you are enjoying the premier issue of HP's SoftBench Insights
quarterly newsletter.  For comments or suggestions, please use this
corrected email address:

       softbench_insights@fc.sde.hp.com

Thank you,
Denise Scruggs
Hewlett-Packard
Managing Editor
(303) 229-6773
Newsgroups: comp.sys.hp