HDTenEightyP/NetNews huggingface dataset:
From: freeman@saul.cis.upenn.edu (Jon Freeman)
Newsgroups: comp.sys.hp
Subject: read() not blocking on empty stdin in 8.07
Date: 13 Aug 92 00:37:42 GMT
Organization: University of Pennsylvania

One of our large programs (written in APL) starts up another process
(written in C) and opens up a pipe through which the two programs
communicate; the APL process sends the desired operation + arguments
and the C process sends back the result.  (We do this because most C
programs are faster than their APL counterparts, of course).  The C
processes communicate using a set of interface routines which the APL
vendor provides, and we have the source code to those routines.  They
work on all of our other platforms, but...

The C process spends most of its time waiting for input from the APL
process, naturally.  It calls read() on stdin, which should block if
there's nothing in the pipe.  Instead of blocking, however, read()
*sometimes* returns immediately with a value of 0.  The man page for
read() says that this is correct behavior when certain flags are set
for the file descriptor in question, but I don't know if those flags
are set for stdin.  Is HP-UX's read() supposed to block on stdin if
it's empty?  If so, has anyone else experienced this problem?

			Thanks in advance,
			     Jon

-------------------------------------------------------------------------------
All life is suffering.               |     Jon Freeman
The cause of suffering is desire.    |     freeman@gradient.cis.upenn.edu
I want my MTV.                       |     Office: (215) 898-4612
Newsgroups: comp.sys.hp
From: sysdave@starbase.spd.louisville.edu (David L. Walsh)
Subject: Running diskless over two lan cards 
Summary: Need info on running diskless over multible lan cards
Keywords: diskless multi-lan cards
Organization: University of Louisville
Date: Mon, 17 Aug 1992 21:55:38 GMT

I have a 750 with an extra EISA lan card.  It was my understanding from
the local sales reps and CEs that it would be possible to connect diskless
clients up to both LAN cards.  The documentation seems to hint that this is  
possible to do on a server(although it does not seemed to be recommended).
However the documentation does not provide any insight on how to setup the
system for this to work properly.  

I did discover to configure rbootd to use both LAN cards.  This seems to 
work, the client connects to the EISA LAN card and starts booting.  However
early in the boot process the client stops and keeps repeating the error
"server does not respond".  The EISA LAN card has a different IP address than
the primary LAN card.  How does the diskless client connected to the EISA
LAN card know to use the address of the EISA LAN card and not the address
of the primary LAN card?

I suspect some of the problem has to due with being able to properly configure
routing on the server.  I know this is a sort of complex problem, if someone
could maybe just point be to a source of documentation I would be most grateful.



-- 

******************************************************************************
**  David L. Walsh                 PHONE: (502) 588-7620                    **
**  CAE Systems Manager            E-Mail internet:                         **
**  Speed Scientific School            sysdave@starbase.spd.louisville.edu  **
**  University of Louisville       E-Mail Bitnet:                           **
**                                     dlwals01@ulkyvm.bitnet               **
******************************************************************************

-- 

******************************************************************************
**  David L. Walsh                 PHONE: (502) 588-7620                    **
**  CAE Systems Manager            E-Mail internet:                         **
**  Speed Scientific School            sysdave@starbase.spd.louisville.edu  **
**  University of Louisville       E-Mail Bitnet:                           **
**                                     dlwals01@ulkyvm.bitnet               **
******************************************************************************

Newsgroups: comp.sys.hp,comp.windows.x
From: hudel@waterloo.hp.com (Chris Hudel)
Subject: Re: X-Terminals logging into HP-UX
Date: Tue, 18 Aug 1992 13:58:08 GMT
Organization: Hewlett Packard (Panacom Division)
X-Newsreader: Tin 1.1scd1 PL5

Tony Hart (hart@waterloo.hp.com) wrote:
: Alek O. Komarnitsky (alek@spatial.com) wrote:
:: 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;;
:: 

Yes, this defect has been recorded and the manuals for the next software
release have already been fixed to this effect. :-)


:: 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').
: 
I know! I know! :-) But I'm can't be more specific about the release date
or contents either... 

Cheers!
Chris.

--
                                                         Chris Hudel
business: hudel@waterloo.hp.com                         519/883-3080
pleasure: chudel@watarts.waterloo.edu             
(Pleasure forwards to business...)       - all comments are mine, not HP's -
From: djms@bear.com (David J. Sullivan)
Newsgroups: comp.sys.hp
Subject: Re: HP 9000/370, no root password!
Date: 20 Aug 92 17:17:17 GMT
Organization: Bear, Stearns & Co. - FAST
In-reply-to: avl@nessie.mcc.ac.uk's message of 18 Aug 92 06:40:54 GMT

I was sort of aghast at the whole thing too.  At least on our Suns you
can set things so that it will ask for the root password when going
single user.  Ok, if the user has bootable media, you're screwed.
But still I feel a whole lot better knowing that the average Joe who
reads hpux_700 (in my case) and hits the power button can't become
root.  [If I was a whole lot more paranoid, there'd be no workstations
in the open and HP would lose a lot of sales from us.]

From what I could tell, the problem comes down to init calling /bin/su
when going to single user state.  If you could get /bin/su to ask for
a password, then all should be fine.  

Here's my hack which works but is NOT supported by Hewlett Packard,
Bear Stearns, or anyone else -- use at your own risk!  Move /bin/su to
/bin/realsu (keep it setuid), and create a new /bin/su (non setuid)
that if it is called by root and if there are no arguments or only `-'
supplied as an argument will ask for the root password.  If the
password is fine, call /bin/realsu.

I'm checking to see if I can pass out the code (about 20 lines w/out
comments, 84 with) over the net without people here getting bent out
of shape.  If it's ok, then I'll post it Monday.  I have given the
code to HP.  What they do with it is beyond my control :-)

A better solution would be to have a new flag to /bin/su, say -s, that
says `check for the root password' and have init call /bin/su with
that.

David J. Sullivan			Bear, Stearns & Co.
Internet: sullivan@bear.com		245 Park Avenue, FAST 5-122
Usenet:   cmcl2!ursa!sullivan		New York, New York 10167
212/272-3668				Fax: 212/272-5850
Newsgroups: comp.sys.hp
From: jxt@stc06.ctd.ornl.gov (TOLLIVER J S)
Subject: Re: HP VUE swiss fonts: are BDF sources available somewhere?
Reply-To: jxt@stc06.ctd.ornl.gov (TOLLIVER J S)
Organization: Oak Ridge National Laboratory
Date: Thu, 20 Aug 1992 17:21:19 GMT

In article <92Aug19.225931.21965@acs.ucalgary.ca>,
bauwens@acs.ucalgary.ca (Luc Bauwens) writes:

>Talking about fonts, the HP VUE User's guide does not mention any
>possibility of changing them to some more readable ones.  I
>find the courier-like default not only unattractive but also, 
>sometimes confusing.  Look at the difference between 0 and 8!
>
>You got to carefully look at them on my 710 with the 16 in
>color (1024x768) monitor.
>
As long as we are talking preferences here, I like the prestige fonts
pretty well -- much better than courier. I'm on a 19" 1280x1024 monitor
(about 86 dpi vs 80 for 16")
 
>Swiss fonts would be much better.

But they're not monospaced...
From: good@gdwest.gd.com (David L. Good)
Newsgroups: comp.sys.hp
Subject: Re: HP 9000/370, no root password!
Date: 19 Aug 92 15:25:22 GMT
Organization: General Dynamics Corp.

In article <1992Aug18.064054.8484@nessie.mcc.ac.uk> LeBlanc@mcc.ac.uk writes:
>In article <1992Aug15.022529.7176@mccc.edu> pjh@mccc.edu (P. J. Holsberg) writes:
>>A neighboring university has asked to donate to us a couple of
>>HP9000/370 workstations, but the root password is not known.
>>
>>If we accept these, what can be done to gain superuser status?
>
>I've never done this with a 370, but on 340's you can easily
>interrupt the boot sequence while fsck is being performed and
>get root privileges.  An fsck will be performed if the system is
>switched off without using reboot or shutdown: do a sync first,
>if you can, to minimise damage.
>
>Once you have root privileges, you can edit /etc/passwd and reboot.
>

That's certainly an interesting "feature".  Is there any way to prevent 
this from occuring?  We have a network of ~60 350s, and I'd hate to have 
users be able to be superuser anytime they want just by cycling power on 
a workstation!


-- 
David Good                                               good@gdwest.gd.com

                 This space intentionally left blank.
From: cary@hpcuhe.cup.hp.com (Cary Coutant)
Newsgroups: comp.sys.hp
Subject: Re: Question on ss_flags values in the save_state structure
Date: 12 Aug 92 22:07:52 GMT
Organization: Hewlett Packard, Cupertino

> Could someone fill me in on the implications for a debugger of the
> various values in the ss_flags field of the save_state structure for
> the HP-PA architecture (HP720)?

If the process is stopped in a system call (ss_flags & SS_INSYSCALL),
the actual pc value is in the gr31 field of the save_state structure,
which will point to the return point in the system call stub.  The only
other save_state fields that are meaningful are sp, dp, rp, and sr4.
The rp field will contain the return point of the procedure making the
system call.

Otherwise, the save_state structure should be valid, and the pc value
for the point of interruption would be in the pc queue fields.

The standard disclaimers apply -- this is not an official response from HP.

Cary Coutant
Hewlett-Packard
California Language Lab
Newsgroups: comp.sys.hp,comp.sys.sun.admin,comp.sys.sun.misc,comp.unix.misc,comp.protocols.nfs,comp.unix.msdos
From: boyd@prl.dec.com (Boyd Roberts)
Subject: Re: NFS file locking
Organization: Digital Equipment Corporation - Paris Research Laboratory
Date: Sun, 16 Aug 1992 17:17:40 GMT

In article <1992Aug16.131858.7219@alchemy.chem.utoronto.ca>, system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson)) writes:
> 
> I don't either, but this is standard behaviour -- vi on UNIX doesn't
> lock the file until it wants to write on it, so with multiple active edit
> sessions, the last writer will win

vi _doesn't_ lock files.  Anyway, locking sucks.


Boyd Roberts			boyd@prl.dec.com

``When the going gets wierd, the weird turn pro...''
From: smp@tellabs.com (Sal Piro)
Newsgroups: comp.sys.hp
Subject: Problem nfs mounting hpux on sun
Date: 20 Aug 92 11:57:44 GMT
Article-I.D.: tellab5.1992Aug20.115744.6372
Organization: Tellabs, Inc., Lisle, IL
Originator: smp@sunk13


This is my first time posting here.

I am having a problem nfs mounting a hpux 8.0 series 382 on to a
sun server (I can nfs mount any machine on our network to my HP).

The error message that is displayed on the sun is:

-------

# mount srm_hpux:/home /mnt
mount: srm_hpux:/home server not responding: RPC: Authentication error
                                        ; why = Invalid client credential
mount: giving up on:
   /mnt
#

-------

I would appeciate any help on this.

Thanks in advance,
-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Salvatore M. Piro
smp@tellabs.com
*********************************************************************
From: tonyc@a4430ux.esr.hp.com ( Tony Cox (SR) )
Date: Sat, 22 Aug 1992 10:52:18 GMT
Subject: Re: How to connect HP 700/92 to use as an ASCII terminal for HP 9000/350?
Organization: Hewlett-Packard Rockville
Newsgroups: comp.sys.hp

/ a4430ux:comp.sys.hp / mike@sneezy.EEAP.CWRU.Edu (Michael C. Sidman) /  3:33 pm  Aug 21, 1992 /
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.
>>>Mike, Where do you want to hook up terminal....to a mux, the
>>>builtin ports, a serial card? What other info do you need besides
>>>cabling? tonyc

	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."
----------
Xref: sparky comp.sys.hp:9205 alt.security:4149
From: xm9@sdcc12.ucsd.edu (richard g. adair)
Newsgroups: comp.sys.hp,alt.security
Subject: Re: Poor HP response to CERT
Summary: HP security
Keywords: Security
Date: 12 Aug 92 15:18:21 GMT
Followup-To: comp.sys.hp
Organization: Arete Associates, San Diego

In article <unruh.713606206@physics.ubc.ca> unruh@physics.ubc.ca (William Unruh) writes:
>bkelley@ef2007.efhd.ford.com (Brian Kelley) writes:
>I have also found HP to be terrible. We found a security hole in the
>...
>experience that they don't give a damn about security.

"A" security hole?  Everybody together now, UNIX IS NOT SECURE,
regardless of vendor.  Period.

The amusing thing is that VMS was touted to be secure.  Guffaw!
Every new release of VMS had at least one emergency patch for
security that closed a hole that allowed a non-priv'ed user to log
in as system.

If you want a secure system, put it in a metal and concrete box with
a vault door (two are preferable :-)

Tony Burzio
Arete Associates
San Diego, CA
From: bruno@hpfcso.FC.HP.COM (Bruno Melli)
Date: Thu, 13 Aug 1992 16:08:15 GMT
Subject: Re: SoftDebug under HP-UX 8.07
Organization: Hewlett-Packard, Fort Collins, CO, USA
Newsgroups: comp.sys.hp

> Yes you are correct.  A stack depth of 'x' implies the debugger has
> stopped 8 procedures below main (main is depth 0).

Almost :-)
The top of the stack is level 0. 
In this case main would be at level 8.
 
The only control you can have on the stack depth is when you do a stack
trace. You can say

t n

And the debugger will only show you the top n entries on the stack.

bruno.
Newsgroups: comp.sys.hp
From: jason@jazz.cnd.hp.com (Jason Zions)
Subject: Re: 7.05 Locally Mounted File Systems
Date: Thu, 20 Aug 1992 23:04:39 GMT
Organization: HP-Network and Systems Management Division

Locally-mounted file systems are not supported in any 7.x release. It's not
that it has problems; the code to support the feature isn't there. Your CE
is wrong when he/she suggests it can be done.

Also, various studies inside HP have shown that it is faster to swap over
the network to a server with a reasonably-fast disk (any HP-IB disk as fast
or faster than a 7959, and any SCSI disk) than locally to a disk as slow as
a 7946. Sad to say, there's just not a lot of use for those dinosaurs
anymore, although they'll probably be acceptable local disks if/when you
roll to 8.x.

This is not an official statement of The Hewlett-Packard Company. No war-
ranty is expressed or implied. The information included herein is not to be
construed as a committment on HP's part. Save a tree - disband an ISO working
group today.

Jason Zions			The Hewlett-Packard Company
Colorado Networks Division	3404 E. Harmony Road
Mail Stop 102			Ft. Collins, CO  80525  USA
jason@cnd.hp.com		(303) 229-3800
From: renaud@balzac.CERCA.UMontreal.CA (Alain Renaud)
Newsgroups: comp.sys.hp
Subject: Playing a CD-ROM
Keywords: CD-ROM AUDIO SOUND
Date: 18 Aug 92 14:43:29 GMT
Reply-To: renaud@CERCA.UMontreal.CA
Organization: Cerca, Universite de Montreal


-- 
Hi,
   I am new at this group. I just reciver a HP9000/720 and a 710 and
I have a CD-ROM I would like to play music on it true the audio output.
I need a pgm that look like 'cdplayer' on sgi Thanks in advances.


==============================================================================
=                                                                            =
= Alain Renaud                                           Responsable Systeme =
= Email: renaud@CERCA.UMontreal.CA                                     CERCA =
= tel: (514)369-5221                          5160 Boul. Decarie, bureau 400 =
= fax: (514)369-3880                                        Montreal H3X 2H9 =
=                                                                            =
==============================================================================
Newsgroups: comp.sys.hp
From: root@uiatma.atmos.uiuc.edu ()
Subject: DATA RECOVERY?
Organization: University of Illinois, Urbana-Champaign
Date: Sat, 22 Aug 1992 23:25:07 GMT

Anyone have the number for a good data recovery
service?  Alternatively, does anyone know if 
NORTON UTILS for HPUX is available and if it 
is any good?

Desperate,
--------  john kemp            (  (  )_  internet - kemp@uiatma.atmos.uiuc.edu
  -----                       (  (   __)   decnet - uiatmb::kemp
   ---    univ of illinois   (_ (   __)    bitnet - {uunet,convex}
   --     dept of atmos sci  .(____).               !uiucuxc!uiatma!kemp
   -      105 s gregory ave    ...          phone - (217) 333-6881
    -     urbana, il 61801    ...             fax - (217) 244-4393

Newsgroups: comp.sys.hp
From: diaz@venice.sedd.trw.com (Phillip Diaz)
Subject: HP-UX 8.05 (correction)
Organization: TRW Systems Engineering & Development Division, Carson, CA
Distribution: usa
Date: Tue, 18 Aug 1992 23:17:26 GMT


HP users,

	I'm currently running on HP-UX 8.00 on a 9000/380 series
workstation. My question to youse is whether or not I can run
a COTS package that requires HP-UX 8.05 on the 9000/380 series.

Does HP-UX 8.05 only work with the 700 series or can I get it on 
the 300 series? I need answers ASAP. Thanks for your patience
and understanding.

		Ciao dudes (dudettes),

			Phil Diaz

			pdiaz@oahu.sedd.trw.com
				or
			diaz@venice.sedd.trw.com
Newsgroups: comp.sys.hp
From: rypma@waterloo.hp.com (Ted Rypma)
Subject: Re: 700/RX delete key - odd behaviour
Date: Sat, 22 Aug 1992 03:13:13 GMT
Organization: HP Panacom Div Waterloo ON Canada
X-Newsreader: Tin 1.1scd1 PL5

Mario Obejas (mobej@thaad-1g%hac2arpa.hac.com) wrote:
:           have an odd behaviour when the delete key is used. Specifically, the
: char being deleted is replaced with an unprintable char - looks like a cursor
: sized checkerboard. Anybody seen this one? Are we missing a patch? 

Hmm.. Seems to me you need an 'stty erase ^?' so that DEL is your erase
character. HP-UX mostly (in my limited experience) has erase set to BS (^H).
Are your .profile and other login control files correctly set up and used?

The X-terminal is only doing what its keyboard map is telling it to do.
and doing the 'stty' above nicely turns the printed DEL into a backspace.

Regards,

Ted Rypma
HP Panacom Division
From: manu@hpsrv.biotoul.fr (Emmanuel Courcelle)
Newsgroups: comp.sys.hp
Subject: Re: rdist-6.0beta for HP
Date: 13 Aug 92 08:42:54 GMT
Reply-To: manu@ibcg.biotoul.fr
Organization: Institut de Biologie et Genetique Cellulaire (IBCG/CNRS, Toulouse)

In article <NEAL.92Aug5114022@neal.ctd.comsat.com>, neal@neal.ctd.comsat.com (Neal Becker) writes:
|> rdist6.0beta is available from usc.edu. 

Fine !!! But what is rdist ?

-- 
------------------------------------------------------------------------------
Emmanuel COURCELLE		
CNRS/IBCG (ex-CRBGC)		Tel (33) 61 33 58 66
118 route de Narbonne		Fax (33) 61 33 58 86 
31062 TOULOUSE Cedex		e-mail   manu@ibcg.biotoul.fr
France		
------------------------------------------------------------------------------
From: bill@glidden.UUCP (Bill Glidden)
Subject: Circular directory linking
Newsgroups: comp.sys.hp
Date: 14 Aug 92 23:49:02 GMT
Distribution: world
Organization: Bill Glidden's Home, Tampa FL

At work, we are running 433 servers with HPUKES 8.0?. Something really
weird happened to one of our servers and I would like to know if anyone
has any ideas how this might have happened.

There is directory like this:

   / ---+
        |
        +--> abc ---+
                    |
                    +--> directory_a

Somehow, directory_a got linked to the / directory. So whenever you type
"cd /abc/directory_a", you are really back at the root directory. As you
can imagine, this really gives some system commands heartburn! (du, etc).

How could this have happened? The "ln" command is smart enough not to let
you do this. Also, how do we fix this? My first thought is to use fsdb, and
set the directory entry for "directory_a" to have an i-node number 0 (which
should effectively mark the file as deleted), then run an fsck and let it
take care of the rest. Are there any opinions on this as a fix? Is there a
better way? I'm so confused!

Thanks

--
Bill Glidden             bill@glidden.uucp -- glidden!bill@uunet.uu.net
7516 Camarina Calle
Tampa, FL 33615         "Well is an absolute-it has no comparatives."
(813) 882-8369                      Kettle-Belly Baldwin
From: kalli@kerfi.hi.is (Karl Roth Karlsson)
Newsgroups: comp.sys.hp
Subject: fbackup - some questions
Summary: Some questions on the fbackup command.
Keywords: fbackup
Date: 20 Aug 92 09:36:55 GMT




Im working on a backup schedule and I use the fbackup command.

I want to make a full backup every 3 months and 
weekly backup of the files changed since last full backup and
daily backup of the files changed since last weekly backup.

Questions:
	Which directorys are the proper ones to keep the backup
	scripts?
	Do I have to use the same graph file for the weekly backup
	and the daily backup (to make the -<level> option work right).
	Is there any common method to do these things?

Thanks in advance.

PS.
	What is going on when I get ...

	 tcio(1020):cannot write file mark tape /dev/rct; errno 6

	and

	 tcio(1011): EOT and no input device available

	... using properly installed tape and the tcio command??



Karl Roth Karlsson		kalli@kerfi.rhi.hi.is	kalli@rhi.hi.is
Systems Engineering Laboratory
University of Iceland
Xref: sparky comp.sys.hp:9238 comp.unix.programmer:4271
From: chris@bwilab3.UUCP (Chris Curtin)
Newsgroups: comp.sys.hp,comp.unix.programmer
Subject: pty programing question
Date: 12 Aug 92 19:02:29 GMT
Followup-To: comp.sys.hp
Organization: Bradley Ward Inc., Atlanta, Ga


hello,

I have written a program that opens a pty by trying to open all the pty
files in the master directory. This works okay but is not very elegant and
sometimes fails.

I found a C++ class from HP called PTYOPEN(3X) that does want I want
but, I need ANSI C. I called HP and they said that this was an AT&T library
and that they could not provide any info about it.

So my question: Does anyone know how PTYOPEN(3X) gets a pty? HP does not
document the pty interface for HP-UX. I pressed the HP support engineer
and he said that the HP-UX pty interface is probably standard AT&T. Does 
anyone have any documentation of this interface?

I am running HP-UX 8.0, 8.02 and 8.07 on 9000 series [78]00.

Thanks

Chris
-- 
--
Christopher M. Curtin				Bradley Ward Systems, Inc.
gatech!warlord!bwilab3!chris			5901-A Peachtree Dunwoody Rd
						Atlanta, Ga 30350