HDTenEightyP/NetNews huggingface dataset:
From: tml@tik.vtt.fi (Tor Lillqvist)
Newsgroups: comp.sys.hp
Subject: Re: /usr/adm/LOG* files (??)
Date: 2 Oct 92 10:36:01 GMT
Organization: Technical Research Centre of Finland, Laboratory for Information
	Processing (VTT/TIK)

In article <1992Oct1.151144.49726@ccvax.ucd.ie> njconway@ccvax.ucd.ie writes:
   The fix is to put the drivers dmem, diag1 and dconfig back into your kernel.

For me, what worked to stop these files growing was to execute the
/usr/diag/bin/devfile.sh script on each s700 cnode.
--
Tor Lillqvist,
working, but not speaking, for the Technical Research Centre of Finland
From: sjp@hpuerca.atl.hp.com (Steve Phillips)
Date: Thu, 24 Sep 1992 20:48:45 GMT
Subject: Re: stranded, take pity on user of s300 with 8.00 (new to hpux admin)
Organization: the HP Response Center, Atlanta
Newsgroups: comp.sys.hp

/ hpuerca:comp.sys.hp / thayer@cs.columbia.edu (Charles Thayer) /  2:43 pm  Sep 23, 1992 /
>I haven't been able to get amd
>to run for more that about 20hr without having the kernel mount tables
>go haywire (eg. df gives garbage characters.)  Is there a public spot
>for getting updates?  Will the HPUX 08.07 help me get amd running?  Is
>there even an HPUX 08.07 for the s300?

>
>PS. Our amd release and hpux uname:

>B.08.00 A 9000/370
>amd 5.2.2.2 of 1992/05/31 16:53:21 bsd44-alpha #0: Sun Sep 13 22:46:06 EDT 1992
Just a couple of guesses: try patch PHCO_0679 (latest mount patch
for 300/400 on 8.0) and try adding a minimum time delay
between each new umount() call, which seems to work ok..
Newsgroups: comp.sys.hp
From: trw@unixland.natick.ma.us (Tim Weil)
Subject: Tin newsreader - HPUX port?
Organization: Unixland Public Access Unix  (508) 655-3848
X-Newsreader: Tin 1.1 PL3
Date: Tue, 6 Oct 1992 21:53:24 GMT

As the Subject suggests, I'm looking for a 'tin' port to HPUX <8.0+>.
The copy I'm currently using has only a 'sysvr4' make option which fails
on the 'inews.c' module with some obscure 'undefined union' error (or
something).
From: allyn@sdd.hp.com (Allyn Fratkin)
Newsgroups: comp.sys.hp
Subject: Re: colormap
Date: 6 Oct 1992 16:35:27 -0700
Organization: Hewlett Packard, San Diego Division
NNTP-Posting-Host: hpsdlx.sdd.hp.com

In article <1992Oct6.204258.2828@mcc.com>, unni@mcc.com writes:
> it seems like the hp's (750) colormap has the red and blue
> swapped.

you might try checking the rgb cables on your monitor.  you
probably have r and b swapped.

(by the way, this is a good practical joke to play on someone).

not an official response.  :-)
-- 
 From the virtual mind of Allyn Fratkin            allyn@sdd.hp.com
                          San Diego Division       - or -
                          Hewlett-Packard Company  uunet!ucsd!hp-sdd!allyn
Newsgroups: comp.sys.hp,comp.lang.postscript,ctp.it
From: snichols@adobe.com (Sherri Nichols)
Subject: Re: Laserjet IIIsi Postscript eats long lines
Organization: Adobe Systems Incorporated
Date: Fri, 2 Oct 1992 16:26:56 GMT

In article <1992Oct1.181552.20768@ctp.com> jmay@ctp.com (Jason May) writes:
>the public-domain 'enscript' function (which is very nice, and allows for
     ^^^^^^^^^^^^^^^^^^^^^^^

As an aside, enscript is *not* public domain, but is part of the Adobe
TranScript package.

Sherri Nichols
snichols@adobe.com


From: mike@hpwin052.uksr.hp.com (Mike Croom)
Date: Thu, 24 Sep 1992 12:57:34 GMT
Subject: Re: Odd behavior of bourne shell argument variables.
Organization: HP PSO - London, England
Newsgroups: comp.sys.hp

Use ksh

#!/bin/ksh
etc etc

of course this is not the only difference between the 2!
roll on posix shell

-------------------------------------------------------------------------------
| Mike Croom                       mike@hpwin052.uksr.hp.com                  -
| Financial Services PSO                                                      -
| London UK                        --------------------------------------------
| +44-71-583-6565  TELNET-31 57772 From the country that brought you cricket  -
| VoiceMail +44-344-367538  ---------------------------------------------------
From: seymour@milton.u.washington.edu (Richard Seymour)
Newsgroups: comp.sys.hp
Subject: Re: "Stereo" socket in HP9000/720 (was Re: HP9000/720 and audio/sound)
Date: 1 Oct 92 19:35:11 GMT
Article-I.D.: u.1992Oct1.193511.15625
Organization: University of Washington, Seattle

for the truly enterprising...
Sega sells (sold?) a set of LCD goggles for use with their video games.
They could interrupt alternate-eye vision at up to 40Hz.
All they required for input was power and a square-wave TTL signal
 ("off" got one eye, "on" got the other)
The Audio or parallel port could be used to provide the sync signal.
  (if HP detailed how to drive them on a bit-twiddle program level)
Since i have a 710 (not a 720), i don't have a "Stereo" jack to play with...

If you alternated the image on the screen between two frame buffers
 in sync with the goggles, you would get a fair 3D image.
For less than $100...

The goggles don't occlude as well as some (such as Tektronix),
 but for just playing around or medium-duty use, they're a reasonable
  compromise...
--dick (blink blink blink...)
Newsgroups: comp.sys.hp
From: urle@rz.uni-karlsruhe.de (Uli Betzler (urle))
Subject: Re: pcnfsd version 2 for HP-UX
Keywords: pcnfs
Organization: University of Karlsruhe, Germany
Date: Wed, 30 Sep 1992 07:39:12 GMT

In article <1992Sep29.143559.13068@uceng.UC.EDU>, larry@gauss.mie.uc.edu (Larry Schartman) writes:
|> Does anyone know where I can find  pcnfsd version 2 that will compile
|> under HP-UX 8.0. All the ones archie finds for me seem to be SUN
|> specific and won't compile on my HP. 
|> 

You find it at ftp.rz.uni-karlsruhe.de (129.13.96.2)
/pub/hp-ux/pcnfsd.v2.tar.Z
 
-- 
Ulrich Betzler                             smtp:   urle@rz.uni-karlsruhe.de
Universitaet Karlsruhe                     bitnet: rz83 at DKAUNI2
Rechenzentrum
Zirkel 2                                   X.500:  cn=Ulrich Betzler
7500 Karlsruhe 1                                   ou=Rechenzentrum
FRG                                                o=Uni-Karlsruhe
                                                   c=DE
phone: +49 721 608-4039                                       
Newsgroups: comp.sys.hp
From: willr@.wedge.nt.com (Will Raymond)
Subject: HP7xx to HP3000 Connection - PD HP2392/2397 Emulators??
Keywords: HP3000 block mode emulators
Organization: Northern Telecom Inc., RTP, NC
Date: Tue, 6 Oct 1992 18:48:10 GMT

Hello,

I'm looking for either a PD or commercial
piece of software that will allow me to run a
HP3000 blockmode session on a HP700 series
computer. Preferably something that emulates
a HP2392/2397 terminal.

 Something equivalent to x3270
for IBM sessions.  Any ideas?

Thanks,

Will.



Newsgroups: comp.sys.hp
From: tml@tik.vtt.fi (Tor Lillqvist)
Subject: Re: Does HP support POSIX.1 ?
Organization: Technical Research Centre of Finland, Laboratory for Information
	Processing (VTT/TIK)
Date: Mon, 28 Sep 1992 18:53:43 GMT

In article <laubner.717686365@kreta> laubner@ipk.fhg.de (Guido Laubner) writes:
   1. Does HP support POSIX.1 ?

Yes.

      I have to use the following system calls ( as specified in POSIX.1 ) :
	 - creat     ( Creates a new file or rewrites an existing one )
	...

It seems you are a UN*X novice. These system calls have been supported
in every UN*X, POSIX compliant or not, since the beginning of time :-)

   4. Is HP' os like sys5-style or bsd-style unix ?

Yes.

That is, if you are only going to use the POSIX interface, why do you
need to ask this question? The question is not well defined, and
anybody knowing about UN*X software portability knows that the
question isn't that simple. Die-hard BSD/VAX people (or Sun bigots)
seem to think "All the world should be a VAX (Sun), but there is also
System V, which is *baaad* and includes everything else :-)".
Fortunately, times are changing.
--
Tor Lillqvist,
working, but not speaking, for the Technical Research Centre of Finland
Newsgroups: comp.sys.hp
Subject: Unwinding over fault frames on a 700
From: bernard@sdl.mdcbbs.com (Bernie Solomon)
Date: 6 Oct 92 02:21:57 PDT
X-Newsreader: Tin 1.1 PL4

We have some diagnostic tools that need to unwind the stack on HP700s and now 
I have the procedure calling manual I seem to be fairly reliable at walking 
down the stack for normal calls and calls through shared library stubs. What I 
am not sure about is how to unwind over a fault frame correctly. I have found 
the sigcontext by detecting that the ERP points to _sigreturn and hence seem to 
get reasonable values for all the registers. What I am not sure (since the 
particular document we have doesn't say anything about it) is how I get the PC 
at the time of the fault. I assume gr30 in the save_state stuff is the stack 
pointer at fault time but I am not sure what the PC was. The value pcoq_head 
seems to be vaguely useful for some signals but interrupted system calls seem 
to have garbage there. Should I look at the flags field to decide I have an 
interrupted system and then just somehow know how much to unwind?

Any help or pointers to documentation would be much appreciated.

--
Bernie Solomon (bernard@sdl.mdcbbs.com), Shape Data, A Division of EDS Ltd.

Newsgroups: comp.sys.hp
From: snow@netcom.com (Tim Szeliga)
Subject: FTPD - customized anon ftp sites
Date: Mon, 28 Sep 92 13:32:10 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 

I got ftpd from wuarchive.wustl.edu, their custom script that allows
messages displayed in each directory .  When I tried to compile, it 
couldn't find a definition for LOCK_UN LOCK_EX or SIGCONT.  This is part of
the flock system call.  A quick check of the manpage on a Sun gave me
the values necessary.  Has anyone successfully  ported this to the 9000?

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Tim Szeliga	 Org: National Weather Service / Hydrologic Remote Sensing
UUCP:	apple!netcomsv!frost!tim		Internet: snow@netcom.com
From: aaronf@hpfcbig.SDE.HP.COM (Aaron Friesen)
Newsgroups: comp.sys.hp
Subject: Re: Problems with lrom
Date: 6 Oct 92 14:52:24 GMT
Organization: HP SESD, Fort Collins, CO

In comp.sys.hp, hb@woody.csd.uu.se (Henrik B}kman  CSD) writes:

>I'am trying to use lrom, the new laserrom reader, against a sun
>running xnews, OW3, but it doesn't work :-( lrom just hangs and
>I have to kill it. When I run an MIT X11R5 server on the sun
>everything works fine.

>Do I do something wrong or is there a bug somewhere? I haven't
>run xscope or anything like that yet. I thought I should ask the
>net before I dig to deep in it.

Don't know for sure, but it sounds like a known problem with the OW3
server.  You might try setting the *useColorObj resource to False.  If
this solves the problem, try getting patch 100444 from Sun.  That should
solve the problem without having to set the resource.

And by the way, if this IS the problem, lrom is not actually hung, but
merely taking a VERY long time to start.  Various applications that hit
this OW3 server problem have been known to take over 20 minutes to
start.

Aaron

-- Standard Disclaimer:  This response does not represent the official
position of, or statement by, the Hewlett-Packard Company.  This
response is provided for informational purposes only and is supplied
without warranty of any kind.  --
From: kinsell@hpfcso.FC.HP.COM (Dave Kinsell)
Newsgroups: comp.sys.hp
Subject: Re: hp-ux reinstallation on hp 9000/800 series (827s)
Date: 6 Oct 92 14:30:40 GMT
Organization: Hewlett-Packard, Fort Collins, CO, USA

In comp.sys.hp, davidb@hpuadla.aus.hp.com (David Booth) writes:

> Beware! mkrs(1m) is for s[34]00 workstation products only!. The s800 is

Actually, it's s[347]00.  Just remember you have to make the tape before
the system crashes, not after!
Xref: sparky comp.sys.hp:11105 news.software.b:3061
From: neal@ctd.comsat.com (Neal Becker)
Newsgroups: comp.sys.hp,news.software.b
Subject: Re: C News on HP9000/270 HP-UX 8.07
Date: 30 Sep 92 12:59:15 GMT
Distribution: na
Organization: COMSAT Labs
NNTP-Posting-Host: neal.ctd.comsat.com
In-reply-to: aem@news.miami.edu's message of 29 Sep 92 18:17:40 GMT
X-Md4-Signature: c4fc4d52b485ee164b4bcbcc65367da3

You can just substitute gnu awk for awk.  But I've been using inn here
with fine results.
Newsgroups: comp.sys.hp
From: paul@hasler.ascom.ch (Paul Breslaw)
Subject: Lif for Non-HP machines
Organization: Ascom Hasler AG, Berne, Switzerland
X-Newsreader: Tin 1.1 PL3
Date: Sun, 27 Sep 1992 19:38:35 GMT

Does anyone know if sources for LIF utilities are available
outside the HP world. We have an HP protocol analyser and want to
read the output files without having to buy an HP workstation. 


Any help or suggestions greatly appreciated.

Regards

Paul Breslaw (paul@hasler.ascom.ch or paul.breslaw@alcatel.ch)
From: rkl@csc.liv.ac.uk (Richard Lloyd)
Newsgroups: comp.sys.hp
Subject: September changes to the Liverpool HP-UX Archive
Date: 29 Sep 92 11:32:10 GMT
Organization: Computer Science, Liverpool University


New Software On The Software Porting And Archive Centre In The Last Month
-------------------------------------------------------------------------

The files below are available via anonymous FTP from the site ftp.csc.liv.ac.uk
(138.253.42.172) and are compressed archives with a .tar.Z suffix. Date & size
information on the files can be obtained by transferring and uncompressing the
file /ls-lR.Z from the same FTP site. Enquiries about the software should be
e-mailed to ftp@csc.liv.ac.uk. This file is available for transfer from the
archive as the compressed file /TextDoc/Summary.month.txt.Z. The software below
has been tested on Series 700 machines running HP-UX 8.07, but most of it
should also work on Series 300, 400 and 800 machines running HP-UX 8.0.

Archive Librarian,        E-mail: ftp@csc.liv.ac.uk
Computer Science Dept.,
Liverpool University, 
Merseyside, England,
Great Britain.

Directory /hpux/Gnu:
tar-1.111           GNU version of tar, a tape file archiver

Directory /hpux/Languages:
icon-8.0            A programming language used for non-numerical computation
perl-4.035          Practical Extraction and Report Language

Directory /hpux/Networking:
tin-1.16            Threaded Netnews reader, usually run via an NNTP connection
traceroute-1.17     Trace route IP packets follow to reach a particular host
tricklet-1.4        Simple SNMP commands, suitable for use in shell scripts
xmib-1.0b           X based MIB display tool

Directory /hpux/Recreation:
pang-2.0            X Windows video game based on Buster Brothers
scrabble-1.21       A computer implementation of the Scrabble(tm) board game
xblackjack-2.1      Game of blackjack for X Windows, with Motif interface
xmc-1.00            An X Windows implementation of the Missile Command game
xpilot-1.3b         A multi-player X Windows implementation of the Thrust game
xspringies-1.00     A mass and spring simulation system for X windows
xticktalk-3.1       Tell the time in one of 15 languages in an X window

Directory /hpux/Sysadmin:
renice-1.00         Alter the nice value of running processes

Directory /hpux/Text:
nenscript-1.12      Converts text files to PostScript format for printing

Directory /hpux/X11:
iv-3.0              InterViews - a C++-based toolkit for X11
ivbin-3.0           Example client Series 700 binaries for InterViews
xdvi-1.16           Previews DVI files, such as those produced by TeX
xfig-2.14           Facility for Interactive Generation of figures
xmailtool-2.0       X front-end for the mailx program
xv-2.21             A multi-format image displayer for X Windows
Newsgroups: comp.sys.hp
From: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
Subject: Re: Flush FORTRAN output?
Organization: University of Toronto Chemistry Department
Date: Thu, 1 Oct 1992 16:58:06 GMT

In article <NEAL.92Oct1101735@neal.ctd.comsat.com> neal@ctd.comsat.com (Neal Becker) writes:
>I was trying to show a FORTRAN guy how he can run his simulation in
>the background so it keeps going when he logs off.  So we did:
>
>Prog > file &
>
>Then we tried:
>
>tail file
>
>but file was empty.  Does FORTRAN have huge buffering when output is
>not a tty?  How can the FORTRAN guy flush the output?

This buffering is not just in f77, the whole OS works that way; some
BSD-based OSs look through the system I/O buffers, but not HP-UX (or
many SYSVs).

You need the 'flush' call from the BSD F77/I77/U77 library, which might
be in f77 9.0. The 'flush' from the BSD f77 library works fine, but I can't
send it to you, sorry. You might try calling a C routine that does
a 'fflush' on 'stdout' (which is what 'flush' does anyways).
-- 
What are the chances that any HP computer system will ever "work" properly?
... and Slim just left town. -*- Mike Peterson, SysAdmin, U/Toronto Chemistry
From: steve-t@hpfcso.FC.HP.COM (Steve Taylor)
Date: Tue, 6 Oct 1992 17:07:59 GMT
Subject: Re: Unwinding over fault frames on a 700
Organization: Hewlett-Packard, Fort Collins, CO, USA
Newsgroups: comp.sys.hp

In comp.sys.hp, bernard@sdl.mdcbbs.com (Bernie Solomon) writes:
| ... how to unwind over a fault frame correctly. 
| ... ERP points to _sigreturn 
| ... how I get the PC at the time of the fault.

Here's an obscure case that _might_ be part of your problem:
	With the shared library version of _sigreturn, both pc and rp
	are pointing at the BL instruction at the beginnning of the 
	hpux_export stub which calls the _sigreturn dummy function.
	The unwind descriptor for _sigreturn contains the interrupt
	marker flag necessary to unwind back into the user program.
	So, verify this situation, decompile the address from the
	BL instruction, set PC to this value, and continue to unwind.

						Regards, Steve taylor

NOT A STATEMENT, OFFICIAL OR OTHERWISE, OF THE HEWLETT-PACKARD COMPANY.
From: chuckm@hpunsca.canada.hp.com (Chuck Munro)
Date: Wed, 30 Sep 1992 20:26:50 GMT
Subject: Re: HP1000, HP9000 Model 720, and HPGL->PS conversion
Organization: H-P Canada Ltd., Dartmouth, N.S.
Newsgroups: comp.sys.hp

>
>  . . . . . . . . . . . . . . . . . . . . . . . . . . . All I had was
> FORTRAN, and FMGR.

Gee, this must have been a long time ago!   CI has been around for about
10 years.  Remember when 20Mbytes of disc was considered big?

>
> . . . . . . . . . . . . . . . . .  The system insisted on taking any amount
> of typeahead as a request to suspend the currently-executing program and
> prompt you for some debugging action.

Yup, that's a feature -  the secondary prompt.  Type-ahead behaviour is
configurable if you are using the 8-channel MUX.  The MUX has two type-
ahead buffers per port.  The single-port async card has no such feature.

>
> I wonder how the networking implementations work, in the face of this
> (at least, on the surface) awkwardness.

I've often thought that the RTE lab folks must be magicians, because they
have been able to code around the half-duplex nature of RTE for lots of
applications (often by using two Lu Numbers and Device Table entries).

> The version of the HP1000 that I used had the Writeable Control Store
> option which was typically used to build custom instructions for
> scientific applications.

The WCS card was my first exposure to dual-port RAM.  It was fun to use.
I once heard that a user had actually microcoded the entire PDP-11 base
instruction set, and proceeded to port a DEC O/S to it!

Chuck.

+-------------------------------------------+
| The above is a personal statement, not an |
| official statement of Hewlett-Packard.    |
+------------------------------- ve1ajz ----+

Newsgroups: comp.sys.hp
From: edmoore@vcd.hp.com (Ed Moore)
Subject: Re: Lif for Non-HP machines
Date: Tue, 29 Sep 1992 17:31:27 GMT
Organization: Hewlett-Packard VCD
X-Newsreader: Tin 1.1 PL5

Paul Breslaw (paul@hasler.ascom.ch) wrote:
: Does anyone know if sources for LIF utilities are available
: outside the HP world. We have an HP protocol analyser and want to
: read the output files without having to buy an HP workstation. 

Would it help to be able to read LIF on a DOS PC?  If so, there are multiple
solutions.  One is the E2080A LIF Utilities from HP.  Another is the Oswego
Utilities from:
Oswego Software
P.O. Box 310
Oswego, IL 60543 USA
(708)554-3567 voice
(708)554-3573 fax

Another method is HP's 3563A Opt. 921, PC File Utilities for HP 3563A.

-----------
Disclaimers: I speak for myself, not for HP.
             I've never tried the Oswego software.
From: paul@eye.com (Paul B. Booth)
Newsgroups: comp.sys.hp
Subject: Re: HP9000/720 and audio/sound
Date: Tue, 29 Sep 92 16:59:01 GMT
Distribution: comp
Organization: 3D/EYE, Inc.  Ithaca, NY

In article <JTO.92Sep27195800@rieska.oulu.fi> jto@rieska.oulu.fi (Jarkko Oikarinen) writes:
>This may be a stupid question, but...
>
>I have temporarily a HP9000/720 on my desk. Behind it is a socket
>which says "Stereo". I assumed that it's there for sound, right?
>Or is it there just to fool the fools?
Don't know about fooling the fools, but it's there (right next to the R, G, and
B jacks) to provide timing info for steroscopic _video_.
>
>How do I get something sensible out of it? I went to /usr/audio/bin
>and tried Aserver, audio_demo and also the stuff in /usr/audio/examples.
>
You'll need a 3rd party stereo display unit and some Starbase savvy to get
anything out of this.  The audio demos included with 8.07 don't work on your
720 because it hasn't got the necessary audio hardware.  You'll need a 705 or
710 for that.

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: mjs@fc.hp.com (Marc Sabatella)
Subject: Re: Problem using dld - How to load twice?
Date: Tue, 6 Oct 1992 23:29:55 GMT
Distribution: comp
Reply-To: marc@hpmonk.fc.hp.com
Organization: Hewlett-Packard Fort Collins Site
X-Newsreader: TIN [version 1.1.2 PL6]

: int dyn ()
: {
:   static int a;
: 
:   return a++;
: }

One important thing note is that "a", being static, has no real name.  So in
theory, two distinct instantiations of this function will have distinct static
variables, which is apparently what you want.

: I've compiled this routine and put it into a shared library dld.sl.
: Is it possible to load this routine dynamically twice, i.e. if
: it is attached to the local variables func1 and func2, the following
: statements
: 
: printf ("%d %d %d %d\n", func1(), func2(), func1(), func2());
: 
: should result in:
: 
: 0 0 1 1

You mean, you've loaded dld.sl (bad name, BTW, it conflicts with /lib/dld.sl)
with shl_load, then done an shl_findsym() to find the address of "dyn", and
assigned that address to a function pointer variable func1 - which is really
called with (*func1)().  Then you load the library again, do another
shl_findsym() on the new library, and assign this address to func2.

This should indeed do what you say, *if you get distinct handles back from the
two loads*.  However, I suspect the second load may fail, or you may get the
same handle back, or your program may crash and burn, depending on what version
of HP-UX you are using, and what architecture you are on.  To avoid this,
create two distinct copies of the library (ie, with different filenames, or in
different directories) and load each copy once, rather than load the same
library twice.

If you get two different handles for the loads, though (as you will for sure if
you load different copies of the library) and are careful when doing the
shl_findsym to specify the correct library, then this should work - func1 will
point to a different function, with different statics, than func2, so a call to
(*func1)() will not affect "a" in (*func2).

Note however the order of evaluation of the arguments to printf() is
unspecified by the language, so you may really get 0 1 0 1 if the compiler
elects to do the two func1 calls before the two func2 calls, or vice versa.
The sequence

	v1 = (*func1)();
	v2 = (*func2)();
	v3 = (*func1)();
	v4 = (*func2)();
	printf("%d %d %d %d\n",v1,v2,v3,v4);

should work as expected.

--
Marc Sabatella
marc@hpmonk.fc.hp.com
Newsgroups: comp.sys.hp