HDTenEightyP/NetNews huggingface dataset:
From: davidb@ce.washington.edu (David W. Barts)
Subject: Re: pty programing question
Organization: University of Washington
Date: Thu, 13 Aug 1992 18:37:21 GMT

chris@bwilab3.UUCP (Chris Curtin) writes:

>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.

I find the claim "HP does not document the pty interface..." a bit
hard to believe, since typing `man 7 pty' will result in a dozen
pages of just such documentation.  In fact, I've used HP's pty man
page while programming with pty's on other systems (HP's is better
written and more complete than most).

The standard way to grab a pty pair is not explicitly mentioned in
the man page, but it does drop a very strong hint when it mentions
"Only one open to the master side of a pty is permitted."  Basically,
you step through all possible master pty names, and try to open
each one.  When open returns successfully, you have the master side
of your pty pair.

--
David Barts  N5JRN                      UW Civil Engineering, FX-10
davidb@ce.washington.edu                Seattle, WA  98195
    Sun OpenWindows...  the JCL of graphical user interfaces.
Newsgroups: comp.sys.hp
From: ruediger@ramz.ing.tu-bs.de (Ruediger Helsch)
Subject: Re: HP 9000/370, no root password!
Organization: Mechanikzentrum, Technische Universitaet Braunschweig, Germany
Date: Fri, 21 Aug 1992 10:48:20 GMT

Many people seem to worry that everybody with access to a HP workstations
console can boot as root. Just an idea I have not tried: isn't it possible to set
the 'CONSOLE PATH' from pdc (see pdc(1M))? Setting the console path
to a serial line should protect at least against misuse from the work place.
This should work for cases where screen and keyboard of the workstation
are not in a secure place, but the box itself is (behind a wall?). Else it may be
possible to lock (or remove) the serial connector.

Ruediger Helsch	<ruediger@ramz.ing.tu-bs.de>
Newsgroups: comp.sys.hp
From: jeanpaul@duteca.et.tudelft.nl (J.P.M. van der Jagt)
Subject: Re: talk utility
Originator: jeanpaul@dutecad.et.tudelft.nl
Keywords: talk
Organization: Delft University of Technology, Dept. of Electrical Engineering
Date: Sun, 23 Aug 1992 12:18:23 GMT

ahn@ac.wfunet.wfu.edu (Dave Ahn) writes:
>I'm looking for a version of talk that uses the BSD4.2 protocol standard.
>The version of talk/ntalk that is on the net these days (and on our hp9000)
>supports the BSD4.3 protocol and isn't compatible with (for example) talk
>running on SunOS and ConvexOS.
>Dave Ahn
>ahn@wfunet.wfu.edu
Get ntalk/ntalkd for Suns and Convex. Most OSs these days use the 4.3
protocol. I installed it on our Suns and it works fine.
I hate it when every now and then someone on a Sun wants to talk to me and
have me do a login to a Sun because his system is antique.
John-Paul
-- 
[] J.P.M. van der Jagt [] Systems manager [] Delft University of Technology []
[] Email: jeanpaul@duteca.et.tudelft.nl [] Phone: 31-15-781366 [] unix unix []
[] - He sells C-shells by the seashore - Lauren Bacall - Key Largo - 1948 - []
From: hstroyan@hpfcso.FC.HP.COM (Howard Stroyan)
Newsgroups: comp.sys.hp
Subject: Re: 3D starbase graphics -> Postscript
Date: 19 Aug 92 01:28:33 GMT
Article-I.D.: hpfcso.7371235
Organization: Hewlett-Packard, Fort Collins, CO, USA

In comp.sys.hp, hebert@isvax.lmsc.lockheed.com (Rick Hebert, Lockheed-ESC, Houston, 713writes:

> If someone could point the way that I could go from 3D starbase to
> either PostScript, HPGL, or XWD then I would be happy. 

I have had success using xwd to create dumps of starbase windows.
The key word hear is "window".  If you have a display system which
supports multiple visuals (CRX24(Z), TVRX, PVRX,...) and associated
colormaps, xwd is not very good at understanding that some windows are
not made of the same stuff (visual and/or colormap) as the root window.

Read "not very good" as "No Way".

The only way around this is to dump just the window with the starbase
output (and the odd visual/colormap).  The easiest way to do this is to 
just invoke "xwd" and use the interactive point and click to select the 
window. The next interesting question will be if your xwd2ps can handle
24 bit DirectColor visuals :-(.

I haven't tried this, so good luck.

--
Howard Stroyan                                         
Hewlett-Packard                                        hstroyan@fc.hp.com
User Interface Technology Division                     
Newsgroups: comp.sys.hp
From: bt@irfu.se (Bo Thide')
Subject: Re: What are the internal names for the various HP computers?
Date: Fri, 21 Aug 1992 18:34:37 GMT
Organization: Swedish Institute of Space Physics, Uppsala, Sweden

In article <BtC9Mz.Hu4@waterloo.hp.com> hart@waterloo.hp.com (Tony Hart) writes:
>Mike O'Connor (mjo@ef2007.efhd.ford.com) wrote:
>: In article <123040009@hpcupt3.cup.hp.com> larryt@hpcupt3.cup.hp.com
>: (Larry Thompson) writes:
>: 
>: :In the Snakes family there are:
>: :	Coral
>: :	King Cobra
>: :	Bush Wacker
>: 
>: Which Snakes refer to which name?
>
>coral		9000/750	
>king cobra	9000/730
>cobra		9000/720
>bushmaster	9000/710
>
>I'm not sure about "coral" and "king cobra"; these two might be the other way
>around. I'm reasonably sure about "cobra" and "bushmaster" (not "bushwacker").
>
>BTW, isn't one of the DEC Alpha boxes code-named "cobra" (or some other 
>species of snake)?
>
>Tony Hart,
>Panacom Automation Division,
>Hewlett-Packard (Canada) Ltd.
>
>Standard Disclaimer:
>All opinions expressed are my own and do not represent an official statement of
>the Hewlett-Packard Company.

Scorpio = 9000/760??

-- 
   ^   Bo Thide'--------------------------------------------------------------
  |I|        Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden
  |R|      Phone: (+46) 18-303671.  Fax: (+46) 18-403100.  IP: 130.238.30.23
 /|F|\          INTERNET: bt@irfu.se      UUCP: ...!mcvax!sunic!irfu!bt  
 ~~U~~ ----------------------------------------------------------------sm5dfw-
From: ratzan@rwja.umdnj.edu (Lee Ratzan)
Newsgroups: comp.sys.hp
Subject: campus wide information systems on hp-ux
Summary: campus wide information systems on hp-ux
Keywords: hp-ux cwis
Date: 17 Aug 92 20:12:22 GMT
Distribution: comp
Organization: Robert Wood Johnson Medical School, Piscataway NJ

Is anyone aware of a campus wide information system (CWIS) which
runs under HP-UX? There are many Vax based systems, IBM based systems
and some Unix based systems but none that I can find that either
were developed for HP-UX or else successfully ported to HP-UX.

Can anyone advise?

Please respond directly to ratzan@umdnj.edu

Thank you.
Newsgroups: comp.sys.hp
From: jwoods@cmptrc.lonestar.org (Jeff Woods)
Subject: Re: Original (128Kb) Laserjet w/ Win 3.1...
Date: Fri, 14 Aug 1992 08:11:11 GMT
Distribution: usa
Organization: CompuTrac Inc., Richardson TX

In article <dn-yfv=@rpi.edu> cac@iear.arts.rpi.edu (Christopher A. Cox) writes:
>....
>3.1.  Win 3.1 has a setting specifically for the Laserjet with 128Kb but
>it still doesn't work.  The poor printer gets overloaded and decides to
>....

The LaserJet memory in the specs (128K in this case) isn't used for buffering
input and flow control.  That's handled by dedicated memory (I assume) on the
interface hardware.  The 128K is to layout the page image description so that
the printer knows what goes where on the page when it actually prints the 
finished page.  That memory is NOT sufficient, for example, to print an 8x10
inch graphics picture at 300 dpi.  That means that bit-mapped graphics in the
laserjet has to fit into that 128K.  You can print with lower resolution or
using less of the page at the higher resolutions.  I've found that using 75
dpi seems to always work for full page images and 150 dpi works quite often,
but not every time, depending I think on the coverage of the page with 
graphics.  

Newer laserjets also support soft fonts downloaded from the host (128K does NOT)and those are also stored in whatever memory is available in the laserjet too.
Font cartridges, however, do not use any of the memory in the printer.  They
have the font in ROM and the printer reads it directly from there.

I hope this explanation helps.  Good luck!
-- 
Jeff Woods    214/235-7161 x3180    jwoods@cmptrc.lonestar.org
CompuTrac, Inc.   222 Municipal Drive, Richardson, TX  75080-3539
stdinfo: "My opinions are my own."
From: jco@spchp12.BBN.COM (John C. Orthoefer)
Newsgroups: comp.sys.hp
Subject: Re: 9.0 is coming, are you ready?
Date: 17 Aug 92 21:38:53
Organization: Bolt Beranek and Newman Inc., 10 Molton Street, Cambridge, MA
	02138
	<JCO.92Aug17011728@spchp12.BBN.COM>
	<1992Aug17.164411.19904@gdwest.gd.com>
NNTP-Posting-Host: spchp12.bbn.com
In-reply-to: good@gdwest.gd.com's message of Mon, 17 Aug 1992 16:44:11 GMT


First, one thing I left off.  With out partitions you have to export
the WHOLE file system.  Yes, you can only mount a directory, but you
still have to export the whole thing.

Second, yes you can dd from one machine to the next.  IF you can keep
your machines close to the same.  In our local enviorment we can't.
So the clobber /tmp and save what you can is nice.

Third, a problem we just had could have been pervented or at least
discovered sooner.  And that is in a cluster the root disk which is
being shared.  Got filled up with log files from all the clients.  Had
the clients been in there own partition it would have been noticed
earlier.

Fourth, my experiance with /tmp filling up root is that not much takes
it well due to the fact that a lot of unix things run in user space.
And most of the time the user doesn't know what happend and things
start going south and you can't get mail and your editor can't
save....

Fifth, I know that partitions were never in HP-UX but they have been
in UNIX for a long time.  And when your hooking gigabyte disks to your
workstation, one can make use of them.

jco
--
John Orthoefer			"Generaly speaking, things have gone about as 
jco@bbn.com 			far as they can possibly go when things have
Bolt, Beranek And Newman Inc.   got about as bad as they reasonably get. "
                                -- Player "Rosencrantz & Guildenstern are Dead"

From: arnet@hpcupt1.cup.hp.com (Arne Thormodsen)
Date: Fri, 21 Aug 1992 21:09:15 GMT
Subject: Re: HP 9000/370, no root password!
Organization: Hewlett Packard, Cupertino
Newsgroups: comp.sys.hp

I worked in Customer Support for workstations a few years ago, and so
have some knowledge of how a major US defense contractor handled
security.  This information is offered for people's interest only AND
DOES NOT CONSTITUTE ADVICE FROM THE HEWLETT PACKARD COMPANY.

1. The discs and CPU's were contained within specially constructed
safes.  The users did not have the combinations.

2.  The power lines were wired in permanently, so power could not be
cycled by "pulling the plug".

3. Removable media were generally not available.  If needed the sys.
admin. would connect the device, supervise it's use and disconnect
it when it was no longer needed.  The media themselves were not allowed
off the site.

4. Decomissioned disks were physically destroyed by removing the
platters, which were either disolved in nitric acid or sandblasted
down to the substrate.

Conclusion:  Real security is an *ugly* process.

--arne

Disclaimer:  These views do not represent any advice or position of
the Hewlett-Packard Company or it's customers.

(P.S.  The SE's did not always enjoy working at this site:  "Well...  we
*could* give you root privs for our system Mr. HP SE, but then we would
have to kill you!"  :-)
From: hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy))
Subject: Re: good news : X11R5 servers for HP7xx available at mit.
In-reply-to: misch@rbhp90.rbg.informatik.th-darmstadt.de's message of Wed, 12 Aug 1992 09:46:05 GMT
Newsgroups: comp.sys.hp
Organization: Department of Physics, UC Irvine, CA 92717-4575, USA
Date: 12 Aug 92 14:29:19 GMT

In article <1992Aug12.094605.49020@news.th-darmstadt.de> misch@rbhp90.rbg.informatik.th-darmstadt.de (Clemens Misch) writes:

>
>  (sigh.) You guys with 700 are really fortunate. I'd like to see support
>  for our ol' 345'er and 400'er (i.e HP 98548 and HP A1096A momochrome).
You are not alone --- I hope someone takes pity on us!
--
Hardy 
-----
Meinhard E. Mayer,  Department of Physics, UC Irvine 
e-mail: hardy@golem.ps.uci.edu (preferred) or MMAYER@UCI.BITNET

From: burdick@hpspdla.spd.HP.COM (Matt Burdick)
Date: Fri, 14 Aug 1992 15:24:29 GMT
Subject: Re: Ghostscript, DOS, and an HP Laserjet
Organization: HP Stanford Park - Palo Alto, CA
Newsgroups: comp.sys.hp

> 	I am trying to get Ghostscript for DOS to work with my HP
> Laserjet.  It thinks it's printing, it puts on the formfeed light, but
> nothing comes out at all.

I saw this problem with a version of Ghostscript I used a year or two
ago.  Does the generated postscript file contain a "showpage" command
at the end?  If not, the entire file will be downloaded and ignored
'cause the printer wasn't told to print.  Add a single line:

showpage

at the end of the file if it's not already there.

						-Matt
-- 
Matt Burdick                |   Hewlett-Packard
burdick@hpcc05.corp.hp.com  |   Network Test Division
From: zrde05@trc.amoco.com (Robert D. Ess)
Newsgroups: comp.sys.hp
Subject: Perl
Date: 20 Aug 92 12:33:13 GMT
Reply-To: zrde05@trc.amoco.com
Organization: Amoco Production Company, Tulsa Research

I am havving problems putting up perl 4.035. I am running HP-UX B.08.00 on a 425t.
I get undefined externals with *_ndbm. Configure runs flawlessly and the executable
still get built but the "make test' fails one test that evidently uses the routine
that needs the *_ndbm defines. I undef'd dbm and nbdm in the config.h to no avail.
Any help appreciated.

                                  --- * ---
Robert Ess                                      voice   : 918-660-3638
Computing Research                              fax     : 918-660-4163
Amoco Production Research                       email   : ress@trc.amoco.com
                                  --- * ---

                 "Magic -- a science waiting on it's Newton"
From: paul@eye.com (Paul B. Booth)
Newsgroups: comp.sys.hp
Subject: Re: diff to return a value in a shell script?
Date: 18 Aug 92 14:30:14 GMT
Organization: 3D/EYE, Inc.  Ithaca, NY

In article <yy9mlkb.kc@netcom.com> kc@netcom.com (Dameon D. Welch) writes:
>I'm writing a shell script under HP/UX 8.07 that will preform its task
>if and only if any changes were made to the file. I need to have diff
>somehow return only an integer value or some other method of determining
>an error, no differences, or that there are diffs. I've read the man
>page on diff and it does not specify an option to get what I want.
>
>Any ideas?

Options, we don't need no stinkin' options....  The return codes from diff tell
you exactly what you need to know.  I believe they're listed in the man page.
Try something along these lines:

    diff file1 file2 >/dev/null 2>&1  # run diff and bit-bucket the output
    case $? in                        # diff's return code is in $?
	0)  echo "same"
	    ;;
	1)  echo "different"
	    ;;
	*)  echo "error"
	    ;;
    esac

Regards-
-- 
Paul B. Booth  (paul@eye.com)
-------------------------------------------------------------------------------
3D/EYE, Inc., 2359 N. Triphammer Rd., Ithaca, NY  14850    voice: (607)257-1381
                                                             fax: (607)257-7335
Newsgroups: comp.sys.hp
From: sheryl@seas.gwu.edu (Sheryl Coppenger)
Subject: Re: sudo on HP-UX
Organization: George Washington University
Date: Wed, 19 Aug 1992 20:40:10 GMT

In article <Bsz65I.1LC@netnews.jhuapl.edu> heeres@uars_mag.jhuapl.edu (Ken Heeres) writes:
>I am trying to compile the sudo command from "Unix System Administration
>Handbook" by Nemeth, Snyder, Seebass on an HP 9000/730 under HP-UX 8.07.
>I need to get around some BSDisms.  Has anyone already done this task?
>
>thanks
>
>ken

I did this several years back on an HP 9000/835 but don't offhand
remember what the changes were.  At any rate, there's a security
hole in the version in the book.  You're better off ftp'ing the
corrected code from ftp.uu.net (boks/sa-book.tar.Z).

The version I'm using now came from boulder.colorado.edu which no
longer seems to be in operation.  It should be the same version
as on uunet.  The only problem I had compiling it on the HP was
that a couple of strings in printf statements have garbage in
them.  Feel free to send me email if that doesn't seem to be the
case for you.

-- 

Sheryl Coppenger    SEAS Computing Facility Staff	sheryl@seas.gwu.edu
		    The George Washington University	(202) 994-6853          
Newsgroups: comp.sys.hp
From: pweber@ws21.mcs.loral.com (Paul Weber)
Subject: Re: Looking for some help from someone with The Source
Organization: /usr/local/etc/organization
Date: Fri, 14 Aug 1992 12:32:28 GMT

>I have a different perspective which is in conflict with your last statement.
>We asked the CHS (Common Hardware/Software) office their stance on using 8.0
>long ago. They indicated that an ECP was written and submitted in March. The
>people I talked to indicated that it was their intent to get 8.0 into the CHS-1
>inventory ASAP but realistically that it would probably not "officially" be
>under contract until April 1993. However, they fully expected the ECP to be
>approved by the September 1992 time frame. Note that the submitter of the ECP
>had already received the first round of questions back from the army in April.
>If I were in your shoes I would ask my customer what's wrong with upgrading to
>8.0 now since the Army is actively pursuing the upgrade also.
>
We here at MCS have virtually the same problem, but not the same story.  At
one time, via contract I believe, when HP upgraded the OS, so did we, then 
that was removed from the contract.  Evidently it was too costly to upgrade
the entire US Army (my guess, that's not official).  MCS is up for recompete
and if a different platform is used vice HP, say IBM or SUN [cough, cough,
gag, gag : ) ] Then the money spent on upgrading the OS was wasted since the
software is now being ported to a new platform.  HP has been extremely
helpful with any OS problems.  For how much longer, I don't know.  I am told
they will only support back two versions of OS.  For the 9000/300 series, 7.0
is it.



-- 
===========================================================================
"Go ahead, buy a SUN.  It's proabably made by HP anyway!"
===========================================================================
                    |
From: ghenniga@NMSU.Edu
Newsgroups: comp.sys.hp
Subject: ksh and HP Console?
Date: 18 Aug 92 19:51:55 GMT
Reply-To: ghenniga@NMSU.Edu
Organization: New Mexico State University - Electromagnetics Group


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

I appreciate any help!
Gary Hennigan
(ghenniga@NMSU.Edu)
From: ghenniga@NMSU.Edu
Newsgroups: comp.sys.hp
Subject: Is there debugger support for gcc 2.2?
Date: 18 Aug 92 22:15:23 GMT
Reply-To: ghenniga@NMSU.Edu
Organization: New Mexico State University - Electromagnetics Group


I just compiled gcc 2.2 on our 730 and it works great....BUT, all through
the compilation it states that the "-g" option is not supported in this
version of gcc. Does this mean that there is no debugger support, for
the HP730?
	Please forgive me if this has been covered. I went through the last
500 or so articles and didn't find much with gcc as the subject.

Thanks,
Gary Hennigan
(ghenniga@NMSU.Edu)
From: davep@hpwin052.uksr.hp.com (Dave Porter)
Date: Wed, 12 Aug 1992 16:03:14 GMT
Subject: Re: 8 letter hostname limit
Organization: HP Response Centre, Berkshire, England.
Newsgroups: comp.sys.hp

>   What are these two host name fields used for? I want a hostname of
> 10 characters, and I don't know if I can get away with it. I don't run
> UUCP or NS or anything weird like that, but I do have some licensed
> software that may use either one to get to the hostname. Could I just
> set the hostname to "california" and the uname to "californ" or
> something? Or can I safely disregard the uname limit?

I'd suggest you *don't* ignore the limit - on a short filename system, if
the hostname is greater than 8 characters the lp spooler won't purge its
temporary files from /usr/spool/lp/request/. I submitted a Service Request
on this, reference 1653-006668 and it should be corrected in a future
revision of HP-UX - but until then it's worth knowing about!

Regards,
DaveP
From: ratzan@rwja.umdnj.edu (Lee Ratzan)
Newsgroups: comp.sys.hp
Subject: gcc-2.2.2 assembly error when built on hp-ux hp9000
Summary: gcc-2.2.2 assembly error when built on hp-ux hp9000
Keywords: gcc hp-ux
Date: 13 Aug 92 19:21:34 GMT
Distribution: comp
Organization: Robert Wood Johnson Medical School, Piscataway NJ

Thank you to all the folks who sent me information on the proper
cpu type for the hp9000 machine. Unfortunately we still cannot
install gcc.

We obtained gcc-2.2.2 from the anonymous ftp site mentioned
in the responses based on the recommendations of readers who said
that this version of gcc supports hp-ux on a hp9000/835 machine.
Everything went fine until we got to step #5 of the INSTALL
program which said to type: make LANGUAGE=c . Several pages of
nice clean operational statements followed then a series of

'warning: -g1 not supported on this version of GCC' 

and then

          Argument 1 or 3 in FARG upper error # 1060
          Lookahead=RTNVAL=GR
          Error code 1
          STOP



Has anyone actually implemented gcc-2.2.2 on a HP9000/835 machine
and if so can they provide any assistance? Has anyone installed
ANY VERSION of gcc  on a HP 9000/835 machine?


Thank you all again. 

-------------------------------------------------------------------
Lee Ratzan                                  email: ratzan@umdnj.edu
Academic Computing Service                  
Rm S-B11                                    
University of Medicine and Dentistry of NJ  
675 Hoes Lane                               voice: 908-463-4171
Piscataway, New Jersey 08854                fax:   908-463-5252
-------------------------------------------------------------------
From: rja@vipunen.hut.fi (Reijo J{rnstedt)
Newsgroups: comp.sys.hp
Subject: Infotek AM320 & HP 9000/310
Date: 19 Aug 92 11:05:13 GMT
Reply-To: rja@vipunen.hut.fi (Reijo Jarnstedt)
Organization: Helsinki University of Technology


	Does anybody know contact data for Infotek Systems?
	I suppose it's (or was) located somewhere in Ca., USA.

	I have a 2 MB memory expansion card for HP 9000/310
	(with single-user BASIC) manufactured by them and now
	refusing to work. The card has the following texts:
	INFOTEK SYSTEMS AM320 Assy No. 900-14117 Rev. A1.

	Does the company still exist or should I buy another
	board (from HighPrices)?
From: atkinson@itd.nrl.navy.mil (Ran Atkinson)
Newsgroups: comp.sys.hp
Subject: HP Keyboard alternatives ??
Date: 22 Aug 92 12:03:51 GMT
Distribution: na
Organization: Naval Research Laboratory, DC

I have an HP 730 with the standard HP keyboard and it is driving me nuts,
particularly with the locations of CTRL and CAPS.

Are there any other keyboards (e.g. industry standard 101 key)
available from HP or any 3rd party vendor that are plug-compatible
with HPIL ??

Please email responses and I'll post a summary.

Thanks.
Newsgroups: comp.sys.hp