HDTenEightyP/NetNews huggingface dataset:
From: mark@hpcpbla.bri.hp.com (Mark Simms)
Newsgroups: comp.sys.hp
Subject: Re: 35480 DAT and update
Date: 13 Nov 92 14:33:47 GMT
Organization: HP Computer Peripherals Bristol, UK

There is a known bug when using the HP35480 with update(1m).  The
defect is in the tape drive firmware and causes it to return invalid
data to the host.  This may be causing the problems you are seeing.  I
would suggest you ask your dealer to upgrade the drive firmware to the
latest revision.  This cures this defect.

The problem only occurs when you read a tape with update(1m).  It is
related to the exact sequence of commands sent by the update(1m)
program.  As a result, you can read the tape with dd(1) without any
problems.  If there is sufficient disc space available, you can dd(1)
the tape into a disc file and then update from the disc file.  This
may be an acceptable work around until you can get the drive firmware
updated.

Mark Simms

----------------------------------------------------------------------
Opinions expressed are my own and are not intended to be an official
statement by Hewlett-Packard Company
----------------------------------------------------------------------
Name:         Mark Simms
Profession:   Software Engineer
Organization: Hewlett-Packard Computer Peripherals Division
Unix-mail:    mark@hpcpbla.bri.hp.com
----------------------------------------------------------------------
From: hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy))
Newsgroups: comp.sys.hp
Subject: Re: Xtex on hp 700s: font problems
Date: 12 Nov 92 22:47:42 GMT
Organization: Department of Physics, UC Irvine, CA 92717-4575, USA
In-reply-to: lee@ceg.uiuc.edu's message of Wed, 11 Nov 1992 16:38:59 GMT

I have had similar problems with xtex (n my 345) -- one solution was to get the
screen fonts from someone else  n order to circumvent the TeXtoXfont
script altogether. 
I finally gave up on Xtex and switched to xdvi, which uses the 300dpi
fonts (thus saving about 10 MB of disk space). 
--
Hardy 
-----
Meinhard E. Mayer,  Department of Physics, UC Irvine 
e-mail: hardy@golem.ps.uci.edu (preferred) or MMAYER@UCI.BITNET
!!!! NO NEXTMAIL TO THESE ADDRESSES, PLEASE !!!!!
Newsgroups: comp.sys.hp
From: sam@ms.uky.edu (Mike Mills)
Subject: Tty monitoring?
Date: Thu, 12 Nov 1992 02:55:41 GMT
Organization: University of Kentucky

Is it possible to enable tty monitoring, via an ioctl() or somesuch, under
HP-UX 8.02?  This is on a 9000/827S.

For instance, (if compiled into the kernel) Dynix allows you to gather
the input and output of a tty and store the results into a file.  You
enable this with an ioctl() with an open file descriptor of the tty in
question plus the filename to store the output to.

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

Thanks,

-- 
--Mike Mills              E-Mail:  sam@ms.uky.edu, {rutgers, uunet}!ukma!sam
--UK Math Sciences Dept.                  mike@ukpr.uky.edu    
--(606) 257-1429 (work) 263-0721 (home)
From: kdesai@brtph490.NoSubdomain.NoDomain (Kalpit Desai P265)
Newsgroups: comp.sys.hp
Subject: CDROM connection to diskless node.
Date: 9 Nov 92 21:42:49 GMT
Reply-To: kdesai@bnr.ca
Distribution: usa
Organization: BNR Inc., RTP, NC 27709

I have a HP 9000/425t (HPUX 8.0) (diskless) connected on the local net 
to a file server. I attempted to connect a CDROM to my node. 
Unfortunately my machine barfs stating that it can only connect the CDROM
to a root server and not my diskless node.

Can someone help me and tell me what I am doing wrong. Is there any 
software that I can use to enable me to connect the CDROM to my
machine rather than the root server. (The root server is remotely located
in the Computer Room). I need to access the CDROM player quite frequently.

Thanks,

    Kalpit Desai   
    BNR Inc., R.T.P, U.S.A
    kdesai@bnr.ca
Newsgroups: comp.sys.hp
From: melennec@stna.dgac.fr (Ronan Melennec STNA 7C p8240 BD22)
Subject: Echo control characters in ICANON mode
Organization: Service Technique de la Navigation Aerienne, France
Date: Thu, 12 Nov 1992 10:51:34 GMT

Hello,

I have the following problem when running /bin/sh on a HP710/HPUX8.07
with an xterm.

Even in `icanon iexten' mode, the control caracters are echoed as
themselves, not with a caret escape.

For instance, hitting the up-arrow key moves the cursor upwards, instead
of echoing `^[[A'.

I RTFMed the termio man page and couldn't find a clue.

Here is the corresponding stty -a output:
speed 9600 baud; line = 0; susp = ^Z; dsusp <undef>
rows = 24; columns = 80
intr = ^C; quit = ^\; erase = DEL; kill = ^U; swtch <undef>
eof = ^D; eol = ^J; min = 4; time = 10; stop = ^S; start = ^Q
parenb -parodd cs7 -cstopb -hupcl cread -clocal -loblk -crts 
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc 
ixon -ixany -ixoff -ienqak 
isig icanon iexten -xcase echo echoe echok -echonl -noflsh 
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop

Is it at all possible to get caret escapes ? If yes, how ?

E-mail answers prefered.
Best regards,
--
Ronan Melennec        | Service Technique de la Navigation Aerienne
+33 1 60 79 82 40     | Departement 7
melennec@stna.dgac.fr | 95, rue Henri Rochefort, 91025 EVRY CEDEX, FRANCE
Newsgroups: comp.sys.hp
From: sohrab@seas.gwu.edu (Sohrab Aidun)
Subject: tn3270 for 800 8.0
Organization: George Washington University
Date: Tue, 10 Nov 1992 16:52:26 GMT

	I am looking for the tn 3270 package for an HP 800
running HPUX 8.0.  I like to know which FTP site has this
package.  If you know of a site could you email its name
to me.      


			Thank you.



*****************************************************************************
*  Sohrab Aidun  George Washington University     SEAS Computing            *
*  sohrab@seas.gwu.edu				  (202) 994-6853	    *
*****************************************************************************

Newsgroups: comp.sys.hp
From: bpja@codex.com.au (Brett Adam)
Subject: Is it safe to free() mem alloc'd by xdr routines?
Keywords: free, malloc, xdr, rpc
Reply-To: bpja@codex.com.au
Organization: Codex Software Development Pty Ltd
Date: Thu, 5 Nov 92 08:10:38 GMT


I'm experiencing weird memory problems in a system I'm currently porting to the  
HP 700 series.

Normally, I'd be looking for bugs in my code, and wouldn't bother the Net  
community, but this software has already been successfully ported to 4 other  
platforms and is running at numerous sites ...

What I'm getting are frequent and repeatable crashes in _fcntl() and free().  
Looking at the call chain with xdb indicates that in both cases, the crash is  
the result of a call to either free() or realloc().

Looking further, what is actually happening is that an earlier call to free()  
is trashing neighboring memory, such that nearby pointers in a struct are being  
garbled. Hence, when the code gets to free'ing these other pointers, free()  
goes awol.

In examining the code, the only 'common factor' I can identify is that the  
memory involved was originally alloc'd by the XDR routines - the memory is the  
result structs of RPC calls.

Now under SunOS, and others, it's OK to free() memory returned by the XDR  
routines. However, this may not be the case under HP/UX. 

Does anyone know for sure?

Are there any other malloc() related issues I should be aware of under HP/UX?

(Like, when I did the RS/6000 port, the vendor supplied malloc was outright  
buggy. Some kind soul on the Net finally pointed this out which saved me hours  
of hair pulling. [the workarounds were NON obvious!])

Thanks in advance,



-- 
-------------------------------------------------------------------
Brett Adam                                      
Xedoc Software Development Pty. Ltd.           Melbourne, Australia
Phone    :                                           +61 3 696 2490
From: mark@roissy.umd.edu (Mark Sienkiewicz)
Newsgroups: comp.sys.hp
Subject: Re: Xaw include files for HP 425 w hpux 8.0
Date: 13 Nov 92 15:46:30 GMT
Organization: University of Maryland

In article <BxG7Mw.794@ra.nrl.navy.mil> atkinson@itd.nrl.navy.mil (Randall Atkinson) writes:
>In article <1dl8ulINNn1h@sbusol.rz.uni-sb.de> ph11mlar@sbusol.rz.uni-sb.de (Arthur Recktenwald) writes:
>
>>main.c: 43: Can't find include file X11/Xaw/Viewport.h
>....
>
>  Your problem is actually even worse than you think.  You are missing
>both Xaw header files and Xaw library files.  IFF you have ftp access,

... but you do have the shared libraries for Xaw and Xmu, so you can still
use them _after_you_get_the_include_files_.  You need to say -L/usr/lib/X11R4
when you compile things.

>you can get replacements from MIT's X11 site (export.lcs.mit.edu) via
>anonymous ftp.  You are also missing several other libraries that HP
>refuses to sell unbundled or include with the OS, for example Xmu.  If
>you don't have ftp access, you are shit out of luck (like most US Navy
>sites are).

There's also csc.liv.ac.uk which has anonymous ftp where you can get Xaw
include files and Imake, in addition to other stuff that has been ported to
HPUX.

>  Please also call up your HP sales rep and ask him point blank why HP
>sold you a system that is missing essential parts of the MIT Core X11
>distribution and make it clear that the only acceptable practice is
>for HP to include the ENTIRE MIT X11 Core distribution.

I agree with this.

Mark S.
Newsgroups: comp.sys.hp,comp.unix.programmer
From: dsiebert@icaen.uiowa.edu (Doug Siebert)
Subject: How does flow control work for pseudo ttys under HP-UX?
Organization: ISCA
Date: Mon, 9 Nov 1992 06:46:54 GMT

Sorry if this is posted twice -- my news server was having problems when I made
the first attempt and so far as I can tell it was never actually posted.

I can't seem to figure out how flow control is supposed to work for pseudo
ttys under HP-UX, which uses the termios struct to control pty/tty modes.
According to the man pages, setting IXOFF should turn on input flow control,
but this doesn't seem to work for me.  I wrote a short test program to try to
learn something, but it didn't help much.  Here it is, followed by a sample of
its output.  Can anyone explain to me what is missing to make flow control
work properly?
 
I should be able to select on the master and slave sides, and determine when
the input queue is full by the slave side no longer selecting for write.  This
condition nevers occurs though.  It is obvious characters are being lost,
however!


---cut here---

#include <sys/file.h>
#include <sys/ioctl.h>
#include <termios.h>
 
char    bufw[256];
char    bufr[128];
 
main()
{
  int     p,
          t;
  int     w,
          r;
  int     i;
  struct termios termbuf;
  fd_set  rf,
          wf;
 
  p = open("/dev/ptym/ptyo0", O_RDWR);
  if (p < 0)
    perror("pty");
  t = open("/dev/pty/ttyo2", O_RDWR);
  if (t < 0)
    perror("tty");
  i = 1;
  ioctl(p, FIOSNBIO, &i);
  i = 1;
  ioctl(t, FIOSNBIO, &i);
  tcgetattr(p, &termbuf);
  termbuf.c_iflag |= IXOFF;
  termbuf.c_lflag &= ~ICANON & ~ECHO;
  tcsetattr(p, &termbuf, TCSADRAIN);
  tcgetattr(t, &termbuf);
  termbuf.c_iflag |= IXOFF;
  termbuf.c_lflag &= ~ICANON & ~ECHO;
  tcsetattr(t, &termbuf, TCSADRAIN);
  for (;;)
  {
    FD_ZERO(&rf);
    FD_ZERO(&wf);
    FD_SET(p, &wf);
    FD_SET(t, &rf);
    i = select(10, &rf, &wf, 0, 0);
    if (i < 1)
      perror("select");
    w = r = -2;
    if (FD_ISSET(p, &wf))
      w = write(p, bufw, sizeof bufw);
    if (FD_ISSET(t, &rf))
      r = read(t, bufr, sizeof bufr);
    printf("wrote %d, read %d\n", w, r);
    sleep(1);
  }
}

---cut here---


Here is the output of a run of this program:

# ./test
wrote 256, read -2
wrote 256, read 128
wrote 256, read 128
wrote 256, read 128
wrote 256, read 126
wrote 256, read -2
wrote 256, read 128
wrote 256, read 128
wrote 256, read 128
wrote 256, read 126
wrote 256, read -2

[...and so on...]


Can anyone tell me what I am missing here?  It *should* work, according to TFM,
but it doesn't.  Any help out there?

-- 
/-----------------------------------------------------------------------------\
| 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: karen@hpfcbig.SDE.HP.COM (Karen Sturgeon)
Newsgroups: comp.sys.hp
Subject: SoftBench Users
Date: 11 Nov 92 21:59:38 GMT
Article-I.D.: hpfcbig.7540114
Organization: HP SESD, Fort Collins, CO


SoftBench Family Users:

If you are interested in receiving a copy of a new quarterly newsletter for
SoftBench users from HP called SoftBench Insights, please respond to:

    softbench_insights@fc.sde.hp.com

Sincerely,
Denise Scruggs
Hewlett-Packard
Managing Editor
(303) 229-6773
Newsgroups: comp.sys.hp
From: danielh@hpber010.swiss.hp.com (Daniel Huber)
Subject: Re: original version of sendmail.cf needed
Date: Tue, 10 Nov 1992 16:38:29 GMT
Organization: Hewlett-Packard Switzerland, RCO Niederwangen
X-Newsreader: TIN [version 1.1.4 PL6]

Jane Kramer (edsver4@cecil.lerc.nasa.gov) wrote:
: 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!

You should find it under /etc/newconfig

D.
--
#include std_disclaimer.h
Daniel Huber, RCO, HP Niederwangen (8700), Switzerland
SMTP: danielh@hpber010.swiss.hp.com (or Daniel_Huber@hp8700.hp.com)
X.400: /G=Daniel/S=Huber/OU=HP8700/O=HP/P=HP/A=ArCom/C=CH/
UNIX is the answer. What was the question?
From: ec@fc.hp.com (Edgar_Circenis)
Newsgroups: comp.sys.hp
Subject: Re: Still problems with regcomp() and regexec()
Date: 10 Nov 92 16:07:23 GMT
Article-I.D.: fc.BxICsC.I3F
Organization: Hewlett-Packard Fort Collins Site
X-Newsreader: TIN [version 1.1.4 PL6]


 (cpearce@nemesis.acs.unt.edu) wrote:
> Sorry, I made a mistake on the transcription of my code... though
> my initial example has
> 
>     if (regexec (...))
>         printf ("Matched.\n");
> 
> my actual code has
> 
>     if (!regexec (...))
>         printf ("Matched.\n");

OK, I actually looked at the code this time.  I do not understand why
your code doesn't match anything.  The code I have works fine for the
expressions you provided.  I assume you are trying to match strings
like "#keyword" and "#keyword token".

One problem I found in your code had to do with how you were processing
the subexpressions.  Regexec always places pointers to the matching text
for the whole pattern in rm[0].  rm[1] is the first subexpression match,
rm[2] is the second, and so on.  When you reference r1.re_nsub, it is zero
and r2.re_nsub is one.  So, in both cases, you were passing a value that
was too small.  Also, in the example you provided, you were printing
out rm[1].rm_sp and rm[2].rm_ep.  Try this:

#include <regex.h>

regex_t r1, r2;

void init()
{
    regcomp (&r1, "^ *#keyword *$", REG_EXTENDED);
    regcomp (&r2, "^ *#keyword +([^ ]+) *$", REG_EXTENDED);
}

void match()
{
	char		str[255];
	regmatch_t	rm[2];

    while(gets(str)) {
        if (!regexec (&r1, str, r1.re_nsub+1, rm, NULL))
            printf ("Matched.\n");
        if (!regexec (&r2, str, r2.re_nsub+1, rm, NULL))
            printf ("Matched. sp = %x; ep = %x\n", rm[1].rm_sp, rm[1].rm_ep);
    }
}

main ()
{
    init ();
    match ();
}

Edgar
Newsgroups: comp.sys.hp
From: xm9@sdcc12.ucsd.edu (richard g. adair)
Newsgroups: comp.sys.hp
Subject: Re: HP VUE backdrops -- colour ???
Summary: Bitmaps
Keywords: VUE backdrop colour
Date: 7 Nov 92 16:26:36 GMT
Organization: Arete Associates, San Diego

In article <1992Nov5.204454.11031@nb.rockwell.com> robbie@nb.rockwell.com (Edward MacRobbie) writes:
>Re-posting of unanswered questions:
>	(1) Does anybody know if a colour bitmap can be 
>	    placed as a backdrop on a HP730 running HP VUE ?
>                     ...if so how ?

Yes, but you don't want to.  Remember, VUE is enough of a pig with
memory as it stands, without letting the server store a full screen
color backing store bitmap.  :-)

If you insist, and can afford a memory upgrade, you can turn off the
VUE background in a room, then use a PD program like xgifroot to
display a background image.

Remember, the picture will allocate color table entries in the
server.  If you let it run in the background, applications
requesting more than the available number of colors will cause
the colormap to switch (technicolor effect).  

>                   good enough ..... just isn't

True, but sometimes it's ok.  My $12K Chevy has to be replaced every
5 years or so, but I can't afford a $150K Rolls...

Tony Burzio
Arete Associates
San Diego, CA
From: gjb@fig.citib.com (Greg Brail)
Subject: Re: Summary: My first root filesystem corruption.  :-(
Keywords: pathetic unix integrity unsuitable mission-critical
Organization: Citibank IBISM
Date: Thu, 5 Nov 1992 20:10:18 GMT

In article <Bx42wH.Aw8@spock.dis.cccd.edu> markb@spock.dis.cccd.edu (Mark Bixby) writes:
>Many respondents felt I was whining unjustifiably at having a single case of
>corruption in a year.  I still think it's a high frequency, based on my
>personal experience.  In 10 years of IBM VSAM administration, I had 1 case of
>corruption.  In 10 years of MPE/V administration, I had 1 case of corruption.
>In 3 years of MPE/XL administration, I've had _no_ cases of corruption.  And in
>just 1 year of HPUX administration, I've had 1 case of corruption.  Based on
>this personal experience, I still feel that 1 per year is high, IMHO.  

Of course this is high, which is why many database systems use a raw
disk partition on which to store their data rather than a file in the
UNIX filesystem. Others, like Ingres, can use a raw partition for the
log. Writes to raw partitions bypass the buffer cache, so the database can
pretty much guarantee that something is written to the disk when write()
completes. A database can also gain in performance this way by managing
its cache more efficiently than the kernel would. A raw partition may
also give the database better control over where blocks are actually
allocated on the disk.

IMHO (I always wanted to use that acronym), you should put any mission-
critical, recoverable data on a raw partition if your database or whatever
supports that. Of course, "partitions" are a recent discovery at HP, but
the SDS (for software disk striping) system will let you divide one disk
into multiple partitions if necessary.

Sadly, this doesn't do you any good for the non-database stuff on your
machine. If this is a problem, consider some of the alternatives discussed
earlier, like a UPS.

				greg
-- 
Greg Brail ------------------ Citibank -------------------- gjb@fig.citib.com
lose (lOOz) v. 1. a. To be unable to find; mislay. b. To incur the 
deprivation of, as by negligence or accident. 2. To be unable to maintain,
sustain, or keep. 3. The most commonly misspelled word on Usenet.
Newsgroups: comp.sys.hp
From: mcsavaney_d@apollo.hp.com (#David McSavaney)
Subject: Re: New HP Workstations
Date: Fri, 13 Nov 1992 18:19:20 GMT
Organization: Hewlett-Packard Corporation, Chelmsford, MA

In article <Bxnt4H.94B@watserv1.uwaterloo.ca> gordon@madmax.uwaterloo.ca (Gordon R. Strachan) writes:
>In article <BxM20p.EA8@apollo.hp.com> mcsavaney_d@apollo.hp.com (#David McSavaney) writes:
>>In article <HARDY.92Nov10204059@golem.ps.uci.edu> hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy)) writes:
>>
>>The Model 735 is the ideal building block for the cluster computing 
>>solution recently introduced by HP and Convex Computer Corp.   For example, a 
>>rack of eight Model 735 workstations running Convex cluster software delivers 
>>more than 1,500 peak Mflops and nearly 1 billion instructions per second 
>>providing supercomputer performance at a small fraction of the cost.  
>>
>
>Hold the phone!  What is this?  This seems to suggest there is a way of
>constructing a multiprocessor 735, is this correct?  I would dearly love more
>information on this.  Sigh... Why does HP always announce their products a
>month after the grant proposals are due? :-)
>
>Gordon
>
>
>
Sorry Gordon,

The HP/Convex cluster program was announced on October 13 this year.
In outline the cluster program enables you to buy either:
 
1) regular workstations (build your own "user defined" cluster)
2) "cut-down a la carte" workstations (take out the bits you don't need
   like monitors and multiple tape drives, but you still build your own cluster)
3) buy a prepackaged cluster from us in a rack that is fully configured
   (net IP addresses, choice of FDDI or enet, net monitoring sw etc)

All the above give you the option of purchasing the most appropriate 
"cluster type" of software for your application.

Current software partners are:
           
Company               SW
-------             ----- 
HP                   Task Broker
SCA                  Network LINDA
Sterling             NQS
Convex               ConvexNQS
                     ConvexPVM
                     ConvexMLIB
Parasoft             Express
ISIS                 ISIS
Freedman Sharp       Load Balancer
Oak Ridge Nat. Lab.  PVM/HeNCE (public domain)


Option 4) Talk to Convex about the Meta computer, which integrates a 
          Convex C series with an HP cluster for fast vector and scalar
          processing.

Hope this helps,
Your local sales or support rep should be able to fill in any details for you.

Best wishes

Dave McSavaney
Hewlett-Packard Company

PS - I do apologise for posting the long Empowered Computing announcement.
     I did receive a complaint and I promise not to do anything similar again.


Not an official statement of Hewlett-Packard Company
From: whiles@nswc.navy.mil (William Scott Hiles x1568)
Newsgroups: comp.sys.hp
Subject: HP750 and FDDI
Keywords: HP750, FDDI, TCP/IP
Date: 9 Nov 92 15:37:43 GMT
Reply-To: whiles@nswc.navy.mil
Organization: Naval Surface Warfare Center, Dahlgren Division

I am trying to write a quick demonstration program for a HP750 with a FDDI
card and am trying to understand how to access the MIB of the FDDI and how
to insert packets directly at the LLC level (i.e. bypassing the upper
layers) for timing testing.

No luck so far.  If anyone has had any experience in reading such things
as the LER and TTRT from the MIB I need some help on this.  

---
Scott Hiles
whiles@relay.nswc.navy.mil

Standard disclaimer:
  The opinions expressed are those of my own and do not necessarily 
  reflect those of the DOD or the Navy.  I accept full responsibility.
Newsgroups: comp.sys.hp
From: andreas@vlsivie.tuwien.ac.at (Andreas Haumer)
Subject: disktab entry for HP C2247C needed
Keywords: disktab
Organization: Technical University of Vienna
Date: Fri, 6 Nov 1992 12:52:11 GMT

Hi!

As the subject says:
We want to use one of the new HP C2247C 1.05GB hard-disk drives
in our HP 9000/425s, but there's no entry in /etc/disktab for
this disk.
Does anybody out there know the correct values (without and with
120 MB swap) ?

Any help is appreciated!

Thanks in advance

-- Andreas

PS: Please send e-mail to andreas@vlsivie.tuwien.ac.at or post the
    answer to comp.sys.hp; I'll try to read this newsgroup as often
    as I can.
Newsgroups: comp.sys.hp