HDTenEightyP/NetNews huggingface dataset:
From: dsiebert@icaen.uiowa.edu (Doug Siebert)
Subject: Writing to argv[] for display in 'ps'
Organization: ISCA
Date: Mon, 9 Nov 1992 10:11:45 GMT

How can I write to the argv[] strings in a program so that the altered strings
show up in 'ps'?  I know this is possible to do, if you telnet to an HP-UX
machine (or at least my 750 running 8.07) and hook up to an internal service
of /etc/inetd, it does this.  (Do 'telnet localhost sink', and then do a ps -ef
in another shell for an example)

Since I know it can be done, the only question is how to do it.  Writing
directly to the strings, changing the pointers in the argv[] array to point
elsewhere, and changing the value of argv itself do not work, either before or
after a fork.

I assume there must be some call I am unaware of, or is undocumented, to do
this, and it may require root privileges.  This isn't a problem, I just would
really like to know how to do it.  If someone out there knows how this is done,
or has access to the HP-UX source of /etc/inetd, I would be very grateful if
if they could pass along to me the information on how this is done.  Thanks!

-- 
/-----------------------------------------------------------------------------\
| Doug Siebert                             | "I don't have to take this abuse |
| Internet:  dsiebert@isca.uiowa.edu       |  from you - I've got hundreds of |
| NeXTMail:  dsiebert@chop.isca.uiowa.edu  |  people waiting in line to abuse |
|     ICBM:  41d 39m 55s N, 91d 30m 43s W  |  me!"  Bill Murray, Ghostbusters |
\-----------------------------------------------------------------------------/
From: lou@hpkslx.mayfield.HP.COM (Lou Kvitek)
Date: Thu, 5 Nov 1992 21:38:54 GMT
Subject: Re: hpterm's cut and paste
Organization: HP Response Center Lab
Newsgroups: comp.sys.hp

In comp.sys.hp, sullivan@interex.UUCP (John Sullivan) writes:


> And how can I increase my terminal-window's memory?  I can't find a 
> resourse for it.

hpterm -sl 256

sets screen length to 256 lines.

Lou
#include <std.disclaimer>
P.S. Do you really think HP would let me speak for them?
From: bnadon@hpfcse.HP.COM (Benoit Nadon)
Date: Tue, 10 Nov 1992 20:27:46 GMT
Subject: ramdisc on HP9000 ???
Organization: Hewlett Packard Co.
Newsgroups: comp.sys.hp

Hello from Montreal,

does someone knows how to setup a ramdisc on HP9000 systems.I found a ramdisc
driver on my HP9000/350 running HP-UX 8.0 but no instruction or man pages on
how to set it up.

Can this be done on a series 800 as well (HP9000/867 running HP-UX 8.02).

Thanks,

Benoit


/-----------------------------------------------------------------------------\
| Benoit Nadon 				| Phone  : T428-2121 or (514)428-2121 |
| Consultant   				| Fax    : (514) 428-2190             |
| Professional Services Organisation	| HPDESK : Benoit Nadon/HP2012/01     |
| Hewlett-Packard Canada Ltd		| e-mail : benoit@bnadon.canada.hp.com|
| 17500 Trans-Canada Highway		|				      |
| South Service Road			|				      |
| Kirkland,Quebec,Canada		|				      |
| H9J 2X8				| 				      |
\-----------------------------------------------------------------------------/
Newsgroups: comp.sys.hp
From: atkinson@itd.nrl.navy.mil (Randall Atkinson)
Subject: Re: New to HPs...Thinking about buying one...need advice...
Keywords: pa-risc, clones, 486/586
Organization: Naval Research Laboratory, DC
Date: Mon, 9 Nov 1992 12:15:14 GMT

In article <RXHyTB1w163w@gcarter> gcarter!gcarter (George Carter) writes:

>  Only a small performance difference, if any, exists 
>between the reported speed of the 586 and traditional UNIX 
>platforms.

  For personal or small business use, purchasing a 386/486/586 might
make sense.  However, the real performance difference between ANY x86
system running UNIX and a UNIX workstation from HP is huge.  When the
586 comes out it still will only be about 50% of the performance of my
HP workstation, as rated by the generally accepted SPEC benchmarks.

  I have real problems with HP-UX ( I call it "caffeine-free diet
UNIX" or "UNIX with nothing" as everyone here knows) but the HP
hardware has been rock solid and the performance of the HP hardware is
outstanding.  Folks who think that an x86 cpu will give me the raw
performance I already have on my desk are very confused.

DISCLAIMER: Opinions are mine alone.

Ran
atkinson@itd.nrl.navy.mil
From: houten@prso.pttnwb.nl (K. van Houten)
Newsgroups: comp.sys.hp
Subject: Re: strange behaviour of tar
Date: 5 Nov 92 15:45:08 GMT
Organization: PTT Telecom b.v. The Netherlands

In article <5727@esf.esf.de>, klaus@helsinkiesf.de (Klaus Wicovsky) writes:
|> I am running the following command:
|> 
|>     tar xvf TARFILE > out 2> err
|> 
|> and of course I would expect to get any errors, e.g. 
|> 
|>     tar: cannot open TARFILE
|> 
|> in err, while if everything works right, I would expect something like
|> 
|>     x filename, 444 bytes, 1 tape blocks
|> 
|> 
|> But this is not how it works on my HP 9000/825 !!! If everything works all right, i.e. tar xvf TARFILE extracts the file, my command will print the
|> x filename, ...
|> into err rather than out !!!!

What do you expect from the following command:

	tar cvf - /dira/dirb > out 2> err

Should the tar output be intermixed with the 'verbose' output?

It is surely specified that all additional output of tar should
go to stderr.

-- 
Karel van Houten, 		DOMAIN:	houten@pttnwb.nl
PTT Telecom b.v.		UUCP:	uunet!mcsun!sun4nl!pttdis!houten
's-Gravenhage, The Netherlands	VOICE:	+31 70 3434947
Xref: sparky comp.sys.hp:12773 comp.unix.admin:6126
From: sean@coombs.anu.edu.au (Sean Sebastian Batt)
Newsgroups: comp.sys.hp,comp.unix.admin
Subject: HP9000/750 can't remap SCSI disk bad blocks
Date: 11 Nov 92 05:09:39 GMT
Organization: Australian National University
NNTP-Posting-Host: 150.203.76.2
Summary: I need help with a 3rd party disk thats becoming flaky
Keywords: SCSI disks, bad blocks, surface analysis, formatting

Dear Colleagues,

My HP 9000/750 with an Instantly Ignited version of HPUX 8.07 doesn't
seem to let me deal with a 3rd party SCSI2 disc that is starting to
show bad blocks.

Surely I can map out these bad blocks?! The only tool I have to do
anything on this sick disc at a low level is mediainit(1m), and
reformatting the disc doesn't fix or map out these bad blocks.

I vaguely remember that the SunOS format(8) program can extract a
disc's defect list, add to it and then rewrite it. I'm not sure at
what level this helps to keep defects out of a filesystem, whether at
the SCSI disc driver level or at the controler level. I can't find any
similar functionality under HPUX.

Would anyone know how I can go about fixing this sort of problem?

Any assistance would be greatly appreciated.

Sean Batt

--
------------- Sean Sebastian Batt - sean@coombs.anu.edu.au --------
-------- Coombs Computing Section - Telephone: +61 6 249 3296 -----
-- Australian National University - GPO Box 4 Canberra City 2601 --
-------------------------------------------------------------------
Newsgroups: comp.sys.hp
From: bpja@codex.com.au (Brett Adam)
Subject: HP/UX 8.x and RPC/XDR - I'm losing patience
Reply-To: bpja@codex.com.au
Organization: Codex Software Development Pty Ltd
Date: Thu, 12 Nov 92 07:30:03 GMT

I'm now almost 100% convinced that the RPC implementation under HP/UX is flaky  
with regards to memory allocation/deallocation.

A few days ago, I posted requests to this group looking for anyone who had  
strange memory related problems with RPC/XDR. 

I've received some replies indicating that yes, there have been problems.

Unfortunately, I've not received enough information to make the problems go  
away.

So in a final bid for information, does anyone have any advice as to how to  
solve RPC/XDR related problems ONCE AND FOR ALL. Are there 'well known' patches  
for HP/UX RPC?

As a software developer attempting to port good, stable code to HP, I'm pretty  
disappointed by the environment overall. Maybe the machine I'm working with is  
way outta date or something, but it's not impressive by any means.

Indeed, what version of the OS should I be running to give me the greatest  
chance of success, and how do I work out what version I've got? (Including  
patch levels, etc. IBM drove me nuts with 1000000 patches to AIX)

Any help appreciated.
-- 
-------------------------------------------------------------------
Brett Adam                                      
Xedoc Software Development Pty. Ltd.           Melbourne, Australia
Phone    :                                           +61 3 696 2490
From: kk@hpl-opus.hpl.hp.com (Konstantinos Konstantinides)
Newsgroups: comp.sys.hp
Subject: Re: Starbase Radiosity and RayTracing Library
Date: 7 Nov 92 22:24:36 GMT
Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA

In comp.sys.hp, 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 are looking for ArtCore, an obscure HP package that even
HP sales does not know about. (They claim you can do Ray Tracing
with the Visualizer :-) )
Here is the relevant info

Konstantin
-------------------------

	The product is B2930A and B2931A; respectively the
	development environment and the run time environment.

	The development environment comes will on-line manual
	pages as well as a programmers manual (#OBJ option).
From: dij@afp.com (Didier Jouan)
Newsgroups: comp.sys.hp
Subject: Looking for a Screen Saver on HPvue
Date: 6 Nov 92 15:11:36 GMT
Reply-To: dij@afp.com
Organization: Agence France Presse

Hi!
Sorry if it's an FAQ.
How can I replace the "X" logo screen saver on HPvue by a picture, a photo or a
bitmap. I'm running a HP/ux 8.07 on a HP9000/720 with a A1097C 19" color sreen.
Thanks in advance ...

-- 
Didier Jouan,		Agence France Presse, +33 1 40414855
Mail :			13, Place de la Bourse 75012 PARIS FRANCE
Email:			dij@afp.com
From: wolf@spud.Hyperion.COM (Michael Wolf)
Newsgroups: comp.sys.hp
Subject: compiler bus error
Date: 12 Nov 1992 18:10:38 -0800
Organization: Hyperion, Mountain View, CA, USA
Distribution: ca
NNTP-Posting-Host: spud.hyperion.com
Keywords: bug

% uname -a
HP-UX renoir A.08.07 A 9000/710 2011230030
% cat foo.c
extern struct pstate q1[],q2[],q3[];
struct pstate {
        int a;
};
% cc -c foo.c

 Signal 10: bus error
%
Newsgroups: comp.sys.hp
From: rians@cfsmo.honeywell.com (Rian Schmidt)
Subject: How is the VUE backdrop set?
Organization: Honeywell Systems & Research Center
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 10 Nov 1992 21:01:06 GMT


Is it possible to put graphics on the VUE backdrops instead of the tiled bitmap
stuff that comes with.  I'm used to putting weathermaps on the "root" and I
don't know where they're going, but it's not to the backdrop.

I have been using xloadimage or xview but seem to be at an impasse.

Any ideas?

--
Rian Schmidt - rians@cfsmo.honeywell.com

Honeywell Commercial Flight Systems
Minneapolis Operations

Newsgroups: comp.sys.hp
From: davep@hpwin052.uksr.hp.com (Dave Porter)
Subject: Re: HPUX 9.0 LaserRom
Date: Wed, 11 Nov 1992 16:24:01 GMT
Organization: the HP UK Response Centre
X-Newsreader: TIN [version 1.1.4 PL6]

Meinhard E. Mayer (Hardy) (hardy@golem.ps.uci.edu) wrote:
: Have the 300/400 systems been completely forgotten?
: --

Nope - I installed a 9000/425e with our (internal) copy of 9.0 a couple of
weeks ago.

(I know, should have posted earlier - we just switched to news and
I've been catching up...)

DaveP
Newsgroups: comp.sys.hp,comp.mail.sendmail
From: a866700@hp9000.csc.cuhk.hk (Wong Siu To)
Subject: What sendmail do when quota exceeds ?
Organization: The Chinese University of Hong Kong
Date: Thu, 12 Nov 1992 11:44:36 GMT

Hi there,

I'd like to know what sendmail will do if user's quota is exceeded.
I've enabled quota on /usr/mail to limit the user mail box's size.  I
wonder the mail will be requeued, bounced back, or stored as usual when
the user's quota is exceeded.  If sendmail bypasses the quota checking,
how can I queue up the mail (but not delivered to user) in the mail
queue until the user files are cleared up ?

I'm using hp7xx and hp8xx running HP-UX 8.07 and HP-UX 8.02(and 8.00)
respectively.

Any help will be appreciated.

Thanks in advance.

Regards,
-- 
ST Wong				       
Computer Services Centre 
The Chinese University of Hong Kong               
Shatin, N.T., Hong Kong
From: franks@hpuamsa.neth.hp.com (Frank Slootweg CRC)
Date: Fri, 13 Nov 1992 11:13:11 GMT
Subject: Re: Tty monitoring?
Organization: Hewlett-Packard, The Netherlands
Newsgroups: comp.sys.hp

> Any similar capability, one way or another, under HP-UX?

  You may want to have a look at script(1).
Newsgroups: comp.sys.hp
From: mahesh@evb.com (B.G. Mahesh)
Subject: How to read a DAT tape....
Reply-To: mahesh@evb.com
Organization: SETT Inc.
Affiliate-Of: EVB Software Engineering, Inc.
Distribution: usa
Date: Mon, 9 Nov 1992 01:38:13 GMT

I need to install a compiler. The manual asks me to read
the HP installation manual to get details about how to
read the tape but I don't have a HP installation manual.
THe compiler manual says I should use the command 'update'
I got this HP just last week and I am very new to HP.
The update command asks for the device name and I don't know
what it is. I have a HP DAT drive. Please respond by email.

thanks

-- 

B.G. Mahesh
mahesh@evb.com
From: dds@hpcndfa.CND.HP.COM (Darren Smith)
Date: Mon, 9 Nov 1992 17:54:01 GMT
Subject: Re: Is it safe to free() mem alloc'd by xdr routines?
Organization: HP Network and System Management Division
Newsgroups: comp.sys.hp

|There are some "issues" ;-) with malloc/free and items created by/with
|xdr et al.  As part of the port of SPEC SFS 1.0 (LADDIS) to HP-UX, I
|replaced the calls to free() with _rpc_free() for those places where I
|knew the memory was allocated by xdr...

This is actually the right thing to do.  There are actually a few options
that you can use:

1) In the name of portability, use the mem_alloc()/mem_free() macros 
defined in <rcp/types.h>.  This will map to _rpc_malloc()/_rpc_free() on
HP-UX, and malloc()/free() on Sun and others.

2) Create your own functions _rpc_malloc() and _rpc_free() that are linked
into your program that just call malloc/free, only used on HP-UX.

3) Ifdef your code for HP-UX to directly call _rpc_malloc() and _rpc_free().

NOTE: The latter two are probably not recommended since the special
rpc functions could go away in the future.

DISCLAIMER:  This is not an official statement by HP.  I speak solely
for myself.

--
Darren Smith 	dds@cnd.hp.com 	229-2536   Network and System Management Div.
--
From: a866700@hp9000.csc.cuhk.hk (Wong Siu To)
Newsgroups: comp.sys.hp
Subject: Mail from cron jobs
Date: 5 Nov 92 15:20:48 GMT
Article-I.D.: hp9000.1992Nov5.152048.429
Organization: The Chinese University of Hong Kong

Hi there,

Could anyone please tell me how to stop the cron jobs from sending mail
note to the user who schedules cron jobs ?  I've cron jobs run every 5
minutes, and there're many job log mailed to my account.

thanks in advance !

Regards,

ST Wong
Computer Services Centre, CUHK

stwong@cuhk.hk  
a8667000@hp9000.csc.cuhk.hk
-- 
ST Wong				       
Computer Services Centre 
The Chinese University of Hong Kong               
Shatin, N.T., Hong Kong
Newsgroups: comp.sys.hp
From: edsver4@cecil.lerc.nasa.gov (Jane Kramer)
Subject: original version of sendmail.cf needed
Keywords:  sendmail.cf
Reply-To: edsver4@cecil.lerc.nasa.gov
Organization: NASA - Lewis Research Center
Date: Tue, 10 Nov 1992 15:20:01 GMT

Could someone please post or send me a distribution copy of sendmail.cf?  I've
got a 750 running 8.05, if anyone's got a version from that release.  Thanks!

	Jane
-- 

-----------------------------------------------------------------------------
Jane Kramer			|     phone: 216-826-6737
NASA Lewis Research Center     	|     Sverdrup Technology, Inc.
Cleveland, Ohio  44135         	|     email: edsver4@cecil.lerc.nasa.gov 
-----------------------------------------------------------------------------
From: xm9@sdcc12.ucsd.edu (richard g. adair)
Newsgroups: comp.sys.hp
Subject: Re: Configuration of X on HP750/TVRX
Summary: X configuration
Keywords: X VUE
Date: 5 Nov 92 15:07:28 GMT
Distribution: na
Organization: Arete Associates, San Diego

In article <Bx5L94.Mpq@apollo.hp.com> web@apollo.HP.COM (Bill Bennett) writes:
>A method used by HP demo systems used two different logins to switch between
>8-bit (2D) and 4/24-bit (3D Combined mode).  It used VUE's Xreset file to
>switch in a new version of the X0screens file.

Hmmm...  Sounds like this should be placed in the VUE login panel.
Couldn't there be an entry that causes a pull-down menu to pop up to
let the user choose the display type?  I realize that the X server
would have to restart, but this is already implemented in VUE, why
not in VUElogin?

Is it possible to customize the VUElogin pushbuttons?

Tony Burzio
Arete Associates
San Diego, CA
Newsgroups: comp.sys.hp,alt.cobol
From: aaa@hpuerca.atl.hp.com (Simon Fowler)
Subject: Re: Need info on Cobol products
Date: Thu, 5 Nov 1992 14:43:11 GMT
Distribution: na
Organization: Hewlett-Packard Company, Atlanta GA

In article <1992Nov4.174333.20403@athena.mit.edu>, equaad@athena.mit.edu (Ellen F Quaadgras) writes:
> 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?

COBOL/HP-UX is licensed from Micro-Focus. Each machine that runs a COBOL program requires
a licence. The supplier can ship either an executable or .int or .gnt files. Any of 
these will run on a runtime system.
The Compiler is the minimum needed to actualy compile/run COBOL code. The
Developer includes all the utilities needed for a development environment, including
the Animator for debugging.

simon

#include <std.disclaimer>
From: jschamba@na35.lbl.gov (Jo Schambach)
Newsgroups: comp.sys.hp
Subject: GNU RCS build anyone?
Date: 6 Nov 1992 23:26:00 GMT
Organization: Lawrence Berkeley Laboratory, Berkeley CA
Distribution: world
NNTP-Posting-Host: na35.lbl.gov

In trying to put together a distribution of Source Code Management programs for
our collaboration (in Physics, btw), I ran across a problem:
I wanted to make sure that all packages compile and run properly on all platforms
we want to support. One of these packages is GNU RCS. It compiled an runs fine on
the SUNs, ut on our HP 700 series I couldn't make the "installtest" target
properly. I understand that HP-UX 8.07 includes RCS, but I would still like to
make it compile and run from scratch. I got the source from prep.mit..., and the
only thing I changed is the Makefile to use gcc. The gcc is version 2.2.2 from
iworks. I then contrinued to

make conf.h
make all
make install		(in a local -not system- directory)
make installtest

and that's where all the errors occured. Here is the output:


[98] % make installdebug
        PATH=/u6/tmp/rcs/src:/u6/tmp/bin/.:$PATH sh rcstest -v
+ test -d RCS 
+ rm -f a.11 a.12 a.3x1 RCS/a.c RCS/a.d RCS/a._ 
+ echo 1.1 
+ echo 1.1.1.1 
+ echo 1.2 
+ diff -c a.11 a.3x1 
+ echo #warning: diff -c does not work, so diagnostics may be cryptic 
#warning: diff -c does not work, so diagnostics may be cryptic

>>>> (I don't understand this, GNU diff is installed in /u6/tmp/bin/ ???) 

diff=diff
+ rcs -i -L -ta.11 a.c 
RCS file: h8hKhVha
done
+ rlog a.c 
rlog: RCS/a.c:1: missing 'h' keyword
rlog aborted
+ echo #rlog failed on empty RCS file 
#rlog failed on empty RCS file
+ exit 1 
*** Error code 1
 
Stop.


Before I spend too much time on that, has somebody attempted what I am trying to
do and can give me some hints?
-- 

**************************************************************
Joachim Schambach
Mailstop 50D
Lawrence Berkeley Labs
Berkeley, CA 94720, USA

email:	JJSchambach@lbl.gov	or	JJSchambach@lbl.bitnet
Tel:	x1-(510) 486-6349
**************************************************************
From: aaron@minster.york.ac.uk
Newsgroups: comp.sys.hp
Subject: Re: New to HPs...Thinking about buying one...need advice...
Date: 11 Nov 92 12:06:20 GMT
Organization: Department of Computer Science, University of York, England

Randall Atkinson (atkinson@itd.nrl.navy.mil) wrote:
:   I have real problems with HP-UX ( I call it "caffeine-free diet
: UNIX" or "UNIX with nothing" as everyone here knows) but the HP
: hardware has been rock solid and the performance of the HP hardware is
: outstanding.  Folks who think that an x86 cpu will give me the raw
: performance I already have on my desk are very confused.
:

The hardware is good but HP-UX is neither one thing nor the other,
and certainly not as easy to port things onto as it should be. Also
it annoys me that HP-UX don't send me patches when they fix one pf
the many bugs, or the response centre staff seem ignorant of its
existence even when you quote the number at them.

		Aaron Turner		aaron@minster.york.ac.uk

	"Should have bought some silicon graphics" as my users chant
        when the engineer turns up to mend something.
Newsgroups: comp.sys.hp,comp.sys.ibm,comp.sys.ibm.pc,comp.sys.ibm.misc
From: do-minh@suned.cs.yale.edu (Minh Do)
Subject: LaserJet printing
Organization: Yale University
Date: Wed, 11 Nov 1992 20:09:08 GMT

I would like to dump print files to an HP LaserJet III.  I generate my
output on  one machine using WinWord running under Windows 3.1. The other
machine is hooked up to a machine with no Windows.  I would like to print
to a file, and then take it over to the printer connected machine to dump
it to print.  What I get usually, is a half a page of mixed up output.

I tried using "copy file.hp lpt1" and "print file.hp" without success.

Could someone point me to a solution?  Perhaps there is some small dos
program that slowly spools the output to the printer.  

I do this sort of thing all the time to postscript printers, but it would
be much more convenient for me to do it to an LJ III.  

Thanks in advance.  Please E-mail.
Xref: sparky comp.sys.hp:12566 alt.cobol:526