HDTenEightyP/NetNews huggingface dataset:
From: mjs@hpfcso.FC.HP.COM (Marc Sabatella)
Newsgroups: comp.sys.hp
Subject: Re: X11 include files and libraries on HP-UX
Date: 16 Apr 92 17:51:10 GMT
Organization: Hewlett-Packard, Fort Collins, CO, USA

In comp.sys.hp, jxt@stc06.ctd.ornl.gov (TOLLIVER J S) writes:

> But what about the library files? Instead of /usr/lib holding everything
> related to X and Motif (i.e., libX11.a, libXt.a, libXm.a, etc.) those
> library files (and the shared library versions, etc.) appear under either
> /usr/lib/X11R4 or /usr/lib/Motif1.1.
> 
> Does it make sense to make lots of symbolic links for all those library
> files so that, for instance /usr/lib/libX11.a will point to /usr/lib/X11R4/
> libX11.a? These links would be for individual files, not directores, so it
> would be a bit more tedious to make the links. What about hard links instead
> of symbolic links? Are there any special problems for the shared library files
> as opposed to the archive library files?

Doing this for shared libraries defeats the purpose of our moving the libraries
to begin with.  A program linked against this library will have the library
pathname recorded as /usr/lib/libX11.sl, so when you later change the link to
point to /usr/lib/X11R5/libX11.sl, your program will suddenly start using the
R5 libraries when it really wasn't meant to.  That's why we separated the
libraries - so that programs built with one X/Motif revision would keep using
that same version.

With include files, the issue is not so critical.  If you compile under R4 with
the links set up as you proposed, everything is fine, because simply changing
the links later will not affect the program.  Of course, if you recompile the
program under R5, you'll get the R5 headers unless you explicitly go back and
add "-I/usr/include/X11R4", but normally you probably wouldn't be recompiling
under R5 unless you actually intended to take advantage of it.

> In general, is this a good idea? Or should I just stick with lots of
> -L/usr/lib/X11R4 and -L/usr/lib/Motif1.1 statements in my makefiles?

Note you don't really have to do this in your makefiles.  You could put the
following in your .profile or .kshrc file (or equivalent for other shells):

LDOPTS="-L /usr/lib/X11R4 -L /usr/lib/Motif1.1"
export LDOPTS

or,

LPATH="/usr/lib/Motif1.1:/usr/lib/X11R4:/usr/lib:/lib"
export LPATH

--------------
Marc Sabatella (marc@hpmonk.fc.hp.com)
Disclaimers:
	2 + 2 = 3, for suitably small values of 2
	Bill (H.) and Dave (P.) may not always agree with me
Xref: sparky comp.sys.hp:5139 gnu.misc.discuss:1844
From: gritton@alaska.caedm.byu.edu (Jamie Gritton)
Newsgroups: comp.sys.hp,gnu.misc.discuss
Subject: Re: HP-UX public domain software (update #1)
Date: 10 Apr 92 20:07:22 GMT
Reply-To: gritton@byu.edu
Organization: Brigham Young University, Provo UT USA

datri@convex.com (Anthony A. Datri) writes:

>>[*DOES ANYONE HAVE A WORKING VERSION OF PERL THEY COULD CONTRIBUTE?*]

>Perl is not in the public domain.

>>  15508823     GNUEmacs.tar.Z

>This is not in the public domain.

I guess if you want to keep the politicos happy, you'll have to call
your FTP collection "Public Domain and/or Gnu Public License."
--
James Gritton - gritton@byu.edu - I disclaim
From: curt@oce.orst.edu (Curt Vandetta)
Newsgroups: comp.sys.hp
Subject: Re: NFS and root
Date: 13 Apr 92 18:43:42 GMT
Article-I.D.: talon.1992Apr13.184342.9516
Organization: Oregon State University, College of Oceanography

In article <1992Apr13.165218.21478@alchemy.chem.utoronto.ca> system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson)) writes:
>In article <1992Apr12.061209.16577@news.eng.convex.com> datri@convex.com (Anthony A. Datri) writes:
>>
>>As has been pointed out to me, HP doesn't support explicit root mapping
>>in /etc/exports.  I quite honestly hadn't imagined that a post-SunOS 3.5
>>OS would still have that limitation.
>
>This makes backing up other HP systems from an HP system (or anywhere
>else) very painful. Come on, HP, get with it - this is the 1990's!!
>(Note that HP/Apollo Domain/OS was only patched a few weeks ago to allow
>root access in/out, though it was supposed to have worked a year ago.)

  I've found it to be very hard to set up fileservers because of the root
  mapping, but backups?  If your mounting all your partions to the one
  machine that has a backup device (DAT, E-xabye, etc) and telling it that
  they are all local partions, your doing it the hard way.  Take a look
  a the rdump and rrestore programs.  They are very useful.  How ever
  HP bit the big-one with these programs also, as you can't do backups
  as other users than root.  So you need /.rhosts files on your machines.
  A very eligenant method that I use on my Suns is to set up a "backup"
  account which has it's own bin directory (~/bin) that has copies of
  dump, rdump, restore and rrestore that run setuid to root and only 
  executable by the user backup.  Then you can rdump -0f backup@host:/dev/dat
  from all your machines with no root NFS mapping or /.rhost files.

  Curt
From: librarian@adus.ecn.uiowa.edu (InterWorks librarian)
Newsgroups: comp.sys.hp
Subject: HP-UX public domain software (update #1)
Date: 10 Apr 92 16:04:30 GMT
Organization: International HP Workstation users' group (InterWorks)
Originator: librarian@iworks

I am continuing to gather UX-related software on the InterWorks library
node (iworks.ecn.uiowa.edu-- 128.255.18.10). Note that everything is
available via anonymous ftp-- in "comp.hp"). Everything is supposed to
be suitable for the 700 series. Until our list grows too large, I will
continue to post the whole thing. New entries (since my last posting) 
are flagged with an asterisk.

[*DOES ANYONE HAVE A WORKING VERSION OF PERL THEY COULD CONTRIBUTE?*]

I am starting to get things ready for the conference in New Orleans,
and would like to include as much UX software as possible. If you have
something you would like to make available for that time, let me know.

    mbytes
  15508823     GNUEmacs.tar.Z
                  The HP (unofficial) enhanced version of GNUemacs,
                  with Darryl Okahata's three patches applied
*    37852     cproto.tar.Z
                  generate a set of ANSI C prototypes from old-style 
                  K&R source code. More robust than mkptypes. 
    342135     dtrek.tar.Z
                  An HP (unofficial) enhanced version of xtrek
    165961     less177magic.tar.Z
                  Another HP (unofficial) enhanced version of a standard
                  program. The special patches which made the 123 version
                  of "less" magic, have been applied to the current public
                  domain version of less
*   111139     mkid2.tar.Z
                  Builds a database for indexing the use of identifiers
                  in source modules. Lots of options.
*    16803     mkptypes.tar.Z
                  generate a set of ANSI C prototypes from old-style 
                  K&R source code. Prototypes can be used with both 
                  ANSI and old-style (K&R) C compilers.
   1448256     nethack3pl10.tar.Z
                  an "ultra-super-rogue" type game
*    52907     ntalk.tar.Z
                  an extension to standard UNIX "write"
    578051     p2c-1.20.hpux.tar.Z
                  an excellent pascal-to-C translator. Can handle the
                  HP dialect.
*     8431     zutils.tar.Z
                  zcmp, zdiff, and zmore scripts. Can handle compress(1),
                  pack(1), and freeze(1) output.

Dave Shaw
InterWorks librarian
Newsgroups: comp.sys.hp
From: martins@hpl.hp.com (Henrique Martins)
Subject: Re: Datebook wish list
Organization: Hewlett-Packard Laboratories, Palo Alto, CA
Date: 14 Apr 92 09:00:56


>Namely: it thinks week begins on Sunday.  Yes, I know that's the convention
>in the USA, but Monday is the first day of the week in most (all?) of Europe,

  I'm not so sure about this. It may officially now be the 1st day of the
week, but tradionally, at least in Portugal, it wasn't. The names of
weekdays in Portuguese for Monday through Friday include the word for
second through sixth.

  Henrique (martins@hpl.hp.com)



From: rdg@hpfcso.FC.HP.COM (Rob Gardner)
Date: Mon, 6 Apr 1992 19:00:42 GMT
Subject: Re: ramdisc device driver
Organization: Hewlett-Packard, Fort Collins, CO, USA
Newsgroups: comp.sys.hp


> /etc/master on my 730 running 8.07 has an entry for a ramdisc driver and
> /etc/conf/libhp-ux.a has the files.  However, I haven't found _any_
> documentation on it.  Does anyone have any information?  It doesn't have to
> be supported, but if it is at least marginally stable, I would be interested
> in trying it out.

The ramdisc minor number is 0xVSSSSS, where V is the volume number,
and SSSSS is the number of 256-byte sectors. For instance, minor
number 0x101000 would be a 1 meg ram disk. After creating device
files, use mkfs to create a file system, then you can just mount it.
BTW, the ramdisc driver swallows up physical ram, so start out
conservatively ;-)

Rob
Newsgroups: comp.sys.hp
From: wjbaird@descartes.waterloo.edu (Warren Baird)
Subject: Paging/Swaping problems with HP9000/s720 under HP-UX 8.05
Organization: University of Waterloo
Date: Thu, 16 Apr 1992 15:09:31 GMT

Has anyone had any bad experiences with a HP 9000/720 running jobs
that won't fit in memory?  We have a 720 with 16 Meg memory running
HP-UX 8.05.  I think we have about 90 Meg of swap space.

On small jobs (under about 10 megs), we get about the performance we
expected, about twice as fast as our SparcStation 2, but on large jobs
we get a HUGE performance degradation.  A job (about 40 Meg) that took
8 hours on the Sparc (and so should have taken about 4 hours on the HP)
took about 36 hours to run on the HP!  Admittedly, our Sparc has 96 Meg
of memory, so the job wouldn't have had to swap as much, but a factor
of 9 still seems WAY too high.

The other nasty thing that we've found is that HP-UX seems to be
ignoring priorities.  When one of these huge jobs is running,
EVERYTHING slows down, no matter what `nice' value we use when we start
it.  The machine becomes completely unusable for interactive sessions
as soon as a big job is started.  For example, I was logged into the
console when a big job started.  I clicked on the logout bar, and four
and a half minutes later the login screen finally appeared.  I grabbed
a `renice' utility off of an ftp site, and it doesn't seemt to make any
difference to the performance either.

There's lots of other flakiness that we've noticed (jobs hanging for no
reason, etc.).  We're leasing this machine from HP to make sure that
our code is fully compatible, but no one here is at all impressed with
it.

Possibly some of these issues have been resolved in 8.07 or later.  If
so, I hope someone will tell me, because if the operating system was
behaving nicely, I think I could get to like this box...

Warren
From: scotta@hpcuhe.cup.hp.com (Scott Anderson)
Newsgroups: comp.sys.hp
Subject: Re: help with HP personal comp.
Date: 16 Apr 92 16:29:24 GMT
Article-I.D.: hpcuhe.31480159
Organization: Hewlett Packard, Cupertino

>   I have a question for one of you HP gurus. I have aquired a HP 86B personal
>   computer. Can anyone tell me what it is capable of, what DOS it runs, or
>   anything else that you know.  Also with the CPU I have a 3.5 duo disk drive
>   with the model number 9121. Does any one know what format it has or what it
>   formats the disk to (i.e  360K, 400k, 800K ...)?

Er, first off, you've got to realize this hunka hardware was introduced
long ago and far away.  The 86 came standard with BASIC; CP/M was
optional; DOS - dream on.  The CPU was HP Custom.  Came standard with
128Kb of memory, max was 640K.  As a disclaimer, all of this knowledge
was gleaned from an old HP catalog and I've never even touched an 86.
The 9121 was only capable of using single sided floppies (i.e. 360K
capacity under DOS).  If you want to know when these boxes were made,
look at the serial numbers.  Add 1960 to the first two digits to get the
year.  The next two digits give the week number.

    Scott Anderson
    An RTEsian and proud of it...	Hewlett-Packard
					Measure & Control Systems Division
    scotta@cup.hp.com			11000 Wolfe Rd.  MS 42UN
    408-447-5219			Cupertino, CA  95014-9804
From: mike@hpwin052.uksr.hp.com (Mike Croom)
Date: Thu, 9 Apr 1992 08:48:20 GMT
Subject: Re: fortran:    -lisam or -lisamstub or -lisamstubs, which one ?????
Organization: HP PSO - London, England
Newsgroups: comp.sys.hp

I seem to recall you need to buy the isam libraries too, from Informix for
instance.

Mike Croom                       mike@hpwin052.uksr.hp.com                  
Financial Services PSO                                                     
London UK                        
+44-71-583-6565                  From the country that brought you cricket
VoiceMail +44-344-367538         and real football and sometimes wins
From: ajs@hpfcso.FC.HP.COM (Alan Silverstein)
Date: Mon, 6 Apr 1992 19:31:21 GMT
Subject: Re: ETX handshake on ancient HP 2621 terminal
Organization: Hewlett-Packard, Fort Collins, CO, USA
Newsgroups: comp.sys.hp

> ...thinking of upgrading to 9600 bps.  Will the 2621 handle this?

I don't know because I don't have one around.  If I did, I'd merely
check to see if 9600 is one of the configurable speeds.  Perhaps you can
look for yourself.  If it's there, the implication is it's supported,
and vice versa.
Newsgroups: comp.sys.hp
From: datri@convex.com (Anthony A. Datri)
Subject: Re: NFS and root
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
Date: Sun, 12 Apr 1992 06:12:09 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.


As has been pointed out to me, HP doesn't support explicit root mapping
in /etc/exports.  I quite honestly hadn't imagined that a post-SunOS 3.5
OS would still have that limitation.
-- 


======================================================8--<
From: mjs@hpfcso.FC.HP.COM (Marc Sabatella)
Newsgroups: comp.sys.hp
Subject: Re: If statements in makefiles -- again
Date: 16 Apr 92 17:57:09 GMT
Article-I.D.: hpfcso.7370878
Organization: Hewlett-Packard, Fort Collins, CO, USA

In comp.sys.hp, jxt@stc06.ctd.ornl.gov (TOLLIVER J S) writes:

> A few weeks back there was a discussion of if statements in makefile
> action lines.
> 
> This is a DIFFERENT question. I am using GNU make 3.62.
> 
> I would like to set the value of a macro based upon the value of an
> enviroment variable. Is this possible?

Annoying, isn't it?

I think recursive makes are a reasonable approach here:

> For example, suppose, under ksh, I have
> 	export MACHINE=HP
> 
> And in the makefile, I want to do something like this:
> 	if [ "$(MACHINE)" = "HP" ]; then \
> 		INCDIR = /a/b/c; \
> 	else \
> 		INCDIR = /x/y/z; \
> 	fi

Try under ksh:

	export MACHINE=HP
	make target.$MACHINE

and in your makefile:

	target.hp:
		$(MAKE) INCDIR=/a/b/c target

	target.other:
		$(MAKE) INCDIR=/x/y/z target

	target:

That is, you first invoke "make" telling it which version you want to build,
then have the rule for each version explicitly reinvoke "make" passing the
correct settings of INCDIR or other configuration-dependent macros on the
command line, and building the real target.  On the recursive make, INCDIR
will now be set approrpiately, and can be used by the real target

--------------
Marc Sabatella (marc@hpmonk.fc.hp.com)
Disclaimers:
	2 + 2 = 3, for suitably small values of 2
	Bill (H.) and Dave (P.) may not always agree with me
Xref: sparky comp.sys.hp:5180 comp.unix.ultrix:3809
From: jpd@gordon.UUCP (Jim Drummey)
Newsgroups: comp.sys.hp,comp.unix.ultrix
Subject: HPUX-Ultrix mount problems
Date: 13 Apr 92 01:26:59 GMT
Organization: Access Technology, Natick, MA

I posted a question about why ypbind wouldn't work from an HP9000/720
system when other workstations do fine with the same config.
Now I'm getting access denied messages trying to mount my Ultrix disks
on the HP. The exports file is fine and I have other machines mounting
the same disks. I've heard this is a problem with root being in too
many groups, but I don't think that's the cause of the ypbind problem.
The HP runs telnet and ftp with no problem. What am I missing?

****************************************************************
Jim Drummey        harvard!necntc!gordon!jpd
Unix Admin
Computer Associates
****************************************************************
Newsgroups: comp.sys.hp
From: tjg01@thdhub.homedepot.com (Terry Gardner)
Subject: kernel replacement
Organization: The Home Depot, Inc.
Date: Thu, 9 Apr 1992 18:49:45 GMT


I've been told by HP that problems can be caused by replacing the
kernel image (/hp-ux) with a new kernel. I've done this a lot in
the past, with no difficulty. Any comments on this?

-- 
Terry Gardner, terry@thdhub, terrythdhub@uunet
Senior Network Systems Programmer @ The Home Depot, Inc.
404-433-8211 x 5124 Message Generated with GNU Emacs 18.58...
Aborting, Retrying, Failing, and Ignoring.....

-- 
Terry Gardner, terry@thdhub, terry%thdhub@uunet
Senior Network Systems Programmer @ The Home Depot, Inc.
404-433-8211 x 5124 Message Generated with GNU Emacs 18.58...
Aborting, Retrying, Failing, and Ignoring.....
From: greenidd@CS.ColoState.EDU (danielle greenidge)
Newsgroups: comp.sys.hp
Subject: SCSI Tape Drive (1/4")
Keywords: SCSI, quarter-inch, tape
Date: 8 Apr 92 21:05:40 GMT
Organization: Organization?  Why start now?

Just a note to all interested SCSI users:

I'm doing a little recon for my company regarding potential market interest
in an affordable (~$2000) 4 Gigabyte quarter-inch SCSI tape drive.  If this
sounds like a viable alternative to your current (or near-future) tape
solutions, drop me a little e-mail note with your machine type(s) and phone
number (optional).

Thanx,

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

Mark Spence (in exile at):  greenidd@mozart.cs.colostate.edu

A man asked God how much a million dollars was to Him. "About a penny."
The man asked how long a million years was to Him. "About a second."
The man asked if God could give him a penny. "Yeah...just a second..."

---------------------------------------------------------------------------
From: dlr@hpcndm.CND.HP.COM (Dominic Ruffatto)
Date: Wed, 8 Apr 1992 15:36:20 GMT
Subject: Re: HP-UX 6.5 and NFS File Locking...
Organization: HP Colorado Networks Division
Newsgroups: comp.sys.hp

> HP doesn't especially support this version of the OS any longer,
> though they have tried to be helpful. The word I get from them is
> that file locking never worked under 6.5 on a 9000/3xx machine...

As memory serves, NFS file locking was ported for HP-UX 6.5, but some of the
PCNFS file locking stuff was left out.  This was added in HP-UX 7.0.

Disclaimer:  I speak for myself, not HP.

Dom
From: aaronf@hpfcbig.SDE.HP.COM (Aaron Friesen)
Date: Tue, 7 Apr 1992 22:25:28 GMT
Subject: Re: Do the X11 libraries exist for 9000/8x7 systems?
Organization: HP SESD, Fort Collins, CO
Newsgroups: comp.sys.hp

In comp.sys.hp, sdroppers@pbs.org writes:

>We have a 9000/827 (well three of them, acually) and I would like to compile
>some code that uses the X11 libraries.  I cannot find them on our system,
>anywhere.  I used a find -name Xlib.h for example and could not get anything. 
>Am I out of luck, do I have to load the X11R4 system from somewhere, or what? 
>I wonder, since I am sitting in a window that is being managed by the HPs right
>now...  Does HP send stuff around that supports the compiled X utilities only
>and leave the others out in the cold?

Xlib.h is in the X11-PRG fileset.  You will also probably want the X11-SHLIBS
fileset if it is not already on your system.

Aaron

-- Standard Disclaimer:  This response does not represent the official
position of, or statement by, the Hewlett-Packard Company.  This
response is provided for informational purposes only and is supplied
without warranty of any kind.  --
From: annie@gna.axis-design.fr (Annie Tanguy)
Newsgroups: comp.sys.hp
Subject: looking after streams accounting command / HPUX
Date: 11 Apr 92 20:17:24 GMT
Distribution: comp
Organization: GNA c/o Axis Design 119 rue de Flandre, 75019 Paris, France


	Hello,

	I haven't found a FAQ list in the articles so please excuse me
	if I am wrong to post this question but please, I would like an 
	answer. I have an HPUX 7.0 9000/825 for tests but the client as a
	8.0 release and I don't know exactly the model but it is a big one.

	I am new to HP. For a specific client, but for my curiousity too,
	I would like to know the command I must type to see whether there
	are failures in the streams buffers allocation.

	I am used to crash under SCO, on some other systems netstat
	provides an option -m with the same presentation.

	I tried to port u386mon (last release) on HPUX but I soon
	have renounced to it, so different are include files and sometimes
	variables. 

	What I like to have is    ALLOC CURRENT MAX_USED FAILS
	for each size of block , queues and streams.

	Thank you in advance.

	Annie TANGUY
Newsgroups: comp.sys.hp
From: maguire@cs.columbia.edu (Gerald Q. Maguire)
Subject: Re: Laserrom on two disks
Organization: Columbia University Department of Computer Science
	<TT.92Apr11173248@remus.jyu.fi>
Date: Sun, 12 Apr 1992 06:35:31 GMT

Actually I did the following to avoid this problem and it seemed to
work, putting the following line in /usr/laserrom/.laserromrc

	dbloc = /laserROMs/1992_april	/laserROMs/1992_april/BIN

along with the line:
	dbloc = /cdrom

for the CD actually in the drive.

I was pleased that it even worked using an Apple CD drive (all of the
above on a 720).

I really like the keyword searching, but was disappointed with the
scanned bitmaps. They seem to have been scanned with a FAX machine and
not a high resolution scanner (such as the higher resolution modes on
the ScanJet). For example look at figure 2-2. Memory and I/O
addresses. in the section "Memory and I/O addressing" of the HP-PA
Arch. manual (Chapter 2 "System Organization) - the text (in the
boxes) and the address ranges are basically unreadable [even if you
print the figure on a LaserJet].  Although this could be the fault of
using an HP LAserJet II, but all the rest of the page looks fine (the
text in the box in figure 2-1 on the same page is readable). Comparing
the the actual figure in the printed manual shows that the error must
be in the scanning or rendering as the printed figure is typeset.  I'm
suprised that the text was not OCR'd and generatde as text and lines
rather than as a bit map. I am aware of the time it takes to enter
documents this way (as I have done a couple texts and handbooks) -
roughly 20 pages per hour including inserting formatting commands, but
it greatly increases the value of the resulting material.

[By the way the HP-PA manual is great reading.]

Chip
From: kgj@hpcndovd.CND.HP.COM (Karl Jensen)
Date: Thu, 16 Apr 1992 15:06:35 GMT
Subject: Re: If statements in makefiles -- again
Organization: HP Colorado Networks Division
Newsgroups: comp.sys.hp

Part of your problem is that make(1) runs each command line in its own
subshell.  So if you set an environment value on one line it doesn't
affect the next.  One possible solution to this is to package the if
test on the same line where it is used.  To do this you need to escape
each end-of-line with a backslash and separate each command with a
semicolon.  My guess is that this is too messy for you, though.

Another approach is to figure out some way to evaluate the if test
before calling make and passing the result of the test into the makefile
in the environment.  Can you put a shell script wrapper in front of
make?  Perhaps you could use a ksh alias.
From: dong@hpfcso.FC.HP.COM (Don Gourley)
Date: Thu, 9 Apr 1992 18:22:23 GMT
Subject: Re: fortran:    -lisam or -lisamstub or -lisamstubs, which one ?????
Organization: Hewlett-Packard, Fort Collins, CO, USA