HDTenEightyP/NetNews huggingface dataset:
From: lmy@ncn.UUCP (Lars Myraas)
Subject: Re: coherent on second harddisk... possible???
Date: Wed, 14 Oct 1992 07:49:46 GMT
Organization: Siemens Nixdorf
X-Newsreader: Tin 1.1 PL4

raa@chinet.chi.il.us (Romel Aranas) writes:
: In article <1992Oct12.112509.12024@vms.eurokom.ie> mdewinter@vms.eurokom.ie writes:
: >Hi,
: >I would like to know if it is possible to set up coherent on a second harddisk
: >I'm having a 486, 8Mb RAM, 200 Mb harddisk (which is almost full), running
: >dr dos 6.0
: >I plan to buy a second harddisk, and install coherent there.
: >Does anyone has experience, advise, etc. about that?

Yes it is possible to install a Coherent filesystem on a second harddisk.
But you have to have the root-filesystem on the first harddisk. It is 
impossible to boot from the second harddisk. I've tried it, and it wouldn't 
work. At my system, i have 40mb root-fs on disk0 and 2*40mb u0 and u1 -fs on
disk1.

Hope this helps you.


-- 
+-------------------------------------------------+
|        Lars Myraas  uunet!nuug!ncn!lmy          |
|                 Oslo - Norway                   |
+-------------------------------------------------+
From: kestas@lith.UUCP (Kestutis Sliupas)
Subject: Sorting largefiles, need advice
Newsgroups: comp.os.coherent
Date: 12 Oct 92 03:08:30 GMT
Distribution: world
Organization: Vacaville, CA

Hi:
	I have to sort several 5.5M ASCII files, and sort
keeps bombing with the message "sort: Out of memory". I have
tried to use the -T option (pointing to a partition w/30 Mb
free) and this does not work. Any advice is welcome.
			Kestas
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 Kestutis Sliupas             x    ( Witty bon-mot goes here )
 uucp!..!infopro!lith!kestas  x  (510) 231-1540 (work) USA CA PST 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
From: patbob@sequent.com (Patrick White)
Newsgroups: comp.os.coherent
Subject: Re: nohup
Date: 12 Oct 92 19:25:00 GMT
Article-I.D.: sequent.1992Oct12.192500.9782
Organization: Sequent Computer Systems Inc.

In article <9210051735@umunk.GUN.de> udo@umunk.GUN.de (Udo Munk) writes:
>earthbound misfit, I (kilroy@acme.gen.nz) wrote:
>: jham@mcs213e.cs.umr.edu (John Gatewood Ham) writes:
>: > I can't get the following to work:
>: > nohup doscp <fileset> a:/ >rezz &
>: > <ctl-D to log out>
>Nohup is broken, until it's fixed use the following shell script:
>trap "" 1 15
>...

	Another way is to orphan the process such that init inherits it... then
it dosen't go away when the shell (sh/ksh) exits.

	For example:

		( sleep 300  & )

	The parentheses tell the shell to run the process in a subshell, the
"&" tells that subshell to run it in the background then return (which it exits
since there are no more commands).
	This action orphans the sleep, resulting in it's parent being init
rather than your shell.  So when you exit your shell and all your children get
killed, the sleep isn't one of them.

	This works real nicely for a single command, but I'm not too sure how
well it will work with multiple commands in the parentheses.
-- 
Pat White (patbob@sequent.com, work: (503) 578-3463)
Newsgroups: comp.os.coherent
From: jboggs@news.weeg.uiowa.edu (John D. Boggs)
Subject: 9 hours to decompress!!
Organization: University of Iowa, Iowa City, IA, USA
Date: Fri, 16 Oct 1992 12:36:29 GMT


I downloaded groff last night (hour and a half to do the download),
then at 10pm, when I went to bed, I set it to decompressing.  At 7
this morning it was still working!  I knew that this would take a 
bit longer than other things I'd decompressed, but 9 HOURS?!

This package had better work, or I'll be mighty upset...

-John      john-boggs@uiowa.edu

Newsgroups: comp.os.coherent
From: menkhus@tsc.csc.cxo.dec.com (Mark Menkhus)
Subject: Will a adaptec 1542 SCSI cntlr work?
Reply-To: menkhus@tsc.csc.cxo.dec.com (Mark Menkhus)
Organization: Digital Equipment Corporation
Date: Fri, 16 Oct 1992 16:55:34 GMT

SCSI Controllers?

Hi,

I read the Coh faq, it mentioned 8bit scsi controllers, I have a adaptec 1542
which I think is a 16 bit controller, will this definitely not work?  

Also, will a Colorado Memory Systems (Floppy controller) tape driver work 
with coherent?

Please excuse any inlcudes that may show up in this posting, I am usually a 
read only kinda guy and have not configured my news reader, as best I can 
remember.

The opinions expressed are mine, I am not in any way speaking for my employer

		-Mark@tsc.csc.cxo.dec.com
From: ron@bwunltd.wciu.edu (Ronald Becker Williams)
Newsgroups: comp.os.coherent
Subject: I've Lost my Locking Login!
Organization: Becker Williams UnLTD
Date: Tue, 13 Oct 92 08:27:50 +0100

	Due to a crash I've lost my "Locking" Login and init from
the last Coherent Update for uucp on version 3.2.
	If any kind soul would uuencode the tar'd and compressed
file containing the Locking login, init, and uucico from that update,
and email it to me, I'll be eternally grateful.
	I got to mwcbbs 3 days after they removed
it from the updates directory.

	Thanks MUCHO!
From: patbob@sequent.com (Patrick White)
Newsgroups: comp.os.coherent
Subject: Re: ELM on raven.alaska.edu
Date: 14 Oct 92 22:17:55 GMT
Article-I.D.: sequent.1992Oct14.221755.28516
Organization: Sequent Computer Systems Inc.

In article <1992Oct14.201221.1328@morrow.stanford.edu> ayub@krypton.Stanford.EDU (Ayub Butt) writes:
>I was able to ftp all these files to one of my system, however, the file
>elm.zipaf is not getting transfered completely, i.e my ftp session hangs
>...

	This is the second time I've seen somone post about this.. I had the
same problem.. the simple answer is to keep trying to ftp the file.
Eventually, it will succeed.
	I don't know the exact cause, but it does seem to be load dependent --
you might try it late at night or early in the morning when network load is
low.  Anyone out there able to shed some light on why this particular file
tends to fail?

>The second question is assuming that eventually, I can get all the files
>in their entirety, what utility can I use to 'reconstruct' ELM.

	Cat the files together (eg "cat elm.zipa? > elm.zip") and then use
unzip to extract the contents.  Unzip, is also available somewhere on raven
(although you might have to get the source and compile it.. but that's a
pretty smooth operation).

-- 
Pat White (patbob@sequent.com, work: (503) 578-3463)
Newsgroups: comp.os.coherent
From: buchanan@rintintin.Colorado.EDU (BUCHANAN TIMOTHY E)
Subject: fsck problem
Organization: University of Colorado, Boulder
Date: Thu, 8 Oct 1992 00:21:29 GMT

I have a problem with fsck running at boot. It gets to checking free list,
then says Excessive dup blocks, continue? I answer y, and it says 11 dup
blocks in free list 116932 blocks missing Bad free list, Salvage? Again, I
answer y, and it says /dev/root modified, then it reboots and repeats this
process.

It will do this over and over until I abort fsck. The system is running.
It does not seem to fix the free list. What is the problem and how do I
fix it?

thanx,

Timothy.
Newsgroups: comp.os.coherent
Subject: Re: unzip50.tar.Z HELP
From: kilroy@acme.gen.nz (earthbound misfit, I)
Date: Sun, 11 Oct 92 19:41:31 GMT
Reply-To: kilroy@acme.gen.nz (earthbound misfit)
Organization: ACME BBS - Public Access Usenet, Palmerston North, New Zealand

sidney@picard.med.ge.com (W. T. Sidney Mfg Proj. Eng. X46324) writes:

> Terry Bell N8HSP (tbell@n8hsp.ncoast.org) wrote:
> 
> : Can anyone tell me what I need to do to get unzip50 to compile?
>
> Try adding the flag -DUNIX.  I ended up compiling it by hand with
> cc -c -O -DUNIX *.c, then using make to do the linking.  
> 
> Has anyone got the gnu make working???

I found a fairly trivial change to the Makefile meant you could just use
"make coherent" to build the whole thing. There is already an action for
this in the unzip50 makefile, but again it seems to have been written by
someone using gnu make or something.

I commented out the existing coherent: action in the makefile and added:

coherent:
	make CFLAGS="$(CF) -DUNIX" unzip

I think this was the only change I made to the entire source to get it to
compile. It works great.

						- k
-- 
Craig Harding            kilroy@acme.gen.nz             ACME BBS +64 6 3551342
"Jub'er lbh pnyyvat n obmb?"
Newsgroups: comp.os.coherent
From: hcp@csx.cciw.ca (H.C. Pulley)
Subject: preliminary tcsh port available (was Re: Binding more than two...)
Organization: Canada Centre for Inland Waters
Date: Wed, 7 Oct 1992 13:47:51 GMT
Summary: tcsh ported to Coherent 4.0
Keywords: tcsh port Coherent 4.0

In article <1992Oct7.080206.244@glas.rtsg.mot.com> stephen@glas.rtsg.mot.com (Stephen Shortland) writes:
>In article <lentz.718032296@charm.gandalf.ca> lentz@gandalf.ca (Jim Lentz (Wheeling Tech Support)) writes:
>
>> 
>>  I had hoped with Coherent 4.0.1 that I would be able to bind three characters
>> to up-history and down-history. I wanted to use the up arrow and down arrow
>> keys respectively. Bind only seems to bind the first two of three characters
>> that i define. I want to have the same functionality that I do here at work
>> with tcsh. If someone has gotten that working well with Coherent please let
>> me know. Thanks!
>>  
>
>Another tcsh fan!
[way of binding up and down arrows for history in ksh deleted]

Well, I still have a couple of minor bugs in it, but I have decided to upload a
preliminary tcsh port to raven.

I will only post a binary since the source needs to be cleaned up a bit.  If
someone wants the source, as is, (so that they can help find bugs?) then they 
can mail me at the address given above and in the .sig below.

Bugs:
1) the shell sometimes (don't know why yet, if I knew I'd have it fixed) starts
up with flag 2000 set.  This means it won't dump core or something like that.
Not a big problem but I am working on it.
2) children of the shell have SIGTERM set to SIG_IGN.  This means that you
can't just type 'kill 305'; you need to type 'kill -9 305' instead.  Again, not
a big problem.  I have a cheap workaround but I don't have it in the interim
binary since it breaks other things.  I am working on this problem, should have
it fixed real soon.
3) similar to 1).  Some children are started up with flag 2000 set, so they 
won't dump core.  When 1) is fixed this one should also be fixed.

Other than that, it seems to run just fine.  I love the history (up and down
arrows, !number, !pattern, ^pattern^replace, !s/pat/sel/, etc.).

If you find other bugs, let me know as soon as possible.

I've been porting so much I haven't had time to upload much.  I'll be uploading
hack, ckermit 1.82 and some other stuff soon too.

If you can't use ftp, then mail me.  We'll work something out! (mail, uucp, 
etc.)

Oh, and sorry Coherent 3.x people.  Both tcsh and hack are much too big to run 
under small model.  You need Coherent 4.0 to run them.  I have no plans to try
and break them up into smaller pieces since I no longer have a machine running
version 3.x.

Harry
-- 
          hcp@csx.cciw.ca           | This message    | It takes all kinds,
    hcpiv@grumpy.cis.uoguelph.ca    | released to the | and to each his own.
------------------------------------| PUBLIC DOMAIN.  | This thought in mind,
 Stay away from the DOS side, Luke! |                 | I walk alone.
From: rst@maz.sma.ch ("", Ralph Steigrad)
Newsgroups: comp.os.coherent
Subject: Re: Is coherent available in the UK?
Date: 16 Oct 92 16:49:49 GMT
Reply-To: "Coherent operating system" <COHERENT@indycms.bitnet>

> >
> > Is coherent directly available in the UK or do we need to buy from an
> > american supplier?  If it is then where can I get it?  Many Thanks.
>
> I also believe that you can buy from the German distributors for the
> same price as MWC charge. However I do not have any details of
> numbers, prices etc. Hopefully somebody from Germany will post a
> follow up.
>
In Germany you pay 249.-- DM. Thats about 170 $. Why ??

Ralph
//////   /////          Ralph Steigrad
/     / /     /
/     / /               email: rst@sma.ch
//////   /////
/   /         /         Swiss-Meteorological-Institute
/    /  /     /
/     /  /////          Tel: 41 1 256 9301   Fax: 41 1 256 9278
Newsgroups: comp.os.coherent
From: alex@meadow.uucp (Alex Dumitru)
Subject: elm problems
Reply-To: alex@meadow.UUCP (Alex Dumitru)
Organization: Amdahl Canada Ltd., Software Development Center
Date: Thu, 8 Oct 92 14:52:39 GMT

just wondering if anybody else has run into this problem...

	after creating the elm binary running the damn thing produces 
	a core dump with a user trap - segment violation. it seems
	that the ClearScreen() call does it. more specifically
	the tputs(_clearscreen,1 .... ) seems to be the culprit.
	i am linking both the -lcurses and -lterm libs

thanx in advance 
alex
-- 

Only a surfer knows the feeling... [ alex@meadow.uucp alex@bedrock.guild.org ]

Newsgroups: comp.os.coherent
From: d10590@tanus.oz.au (Robert Chalmers)
Subject: error messages
Organization: Pro-Net Australia
Date: Fri, 16 Oct 92 21:45:10 GMT

Can someone tell me what the error message 'Not a typewriter' is trying to
tell me please?. I get it when trying to index the newsgroup ed/response from
the KIDSPROJECT news group. I have also had it from vi a couple of times when
running with 5 users loffed on?
_________________________________________________________________________
|Robert Chalmers. d10590@tanus.oz.au       Mackay, Queensland. Australia|
|APCUG nanguo!root   (AUS)               UUCP mwcbbs!nanguo!earth  (USA)|
|---------------------* ao zhong youyi wan sui *------------------------|
|  UUCP nanguo!root  +61  79-521070 AEST:24 Hours. in:nuucp rd:uupublic |
|  MYNAME=bbsuser   ~/INFO   Australian-Pacific Coherent User Group     |
|-----------------------------------------------------------------------|
Newsgroups: comp.os.coherent
From: buchanan@rintintin.Colorado.EDU (BUCHANAN TIMOTHY E)
Subject: Re: doscp problem
Organization: University of Colorado, Boulder
Date: Thu, 15 Oct 1992 15:08:49 GMT

In article <25791288@bailey.UUCP> ben@bailey.UUCP (Ben Bailey) writes:
>I had to resort to Norton Utilities to delete bogus files that Dos would'nt
>let me remove.

I tried NDD, which reported the invalid dir and asked if I wanted to convert
to a valid dir. It then said the problem was fixed, but it isn't. Still 
there, impossible to remove, looks like format c:/s is the only solution.

Be careful w/ doscp. I will copy to floppy in the future; they're less 
trouble to re-format.
From: ralf@ark.abg.sub.org (Ralf Stephan)
Newsgroups: comp.os.coherent
Subject: Re: ECSBBS will be closed soon
Date: 11 Oct 92 09:53
Organization: Magick Shoppe, Gurth City

joachim@jr.rhein-main.de (Joachim Riedel) writes:
> 
> Therefore ECSBBS will be closed end of 1992.

What a pity, now, could you make it possible to move the Coherent files
to another German archive?  I guess, gandre@informatik.hu-berlin.de
could be willing to make them available at least by FTP, won't he?

We must have an archive site in Germany  (I know, Udo, you give public
access, but with 2400 bps...), and if I would be able to connect to ECSBBS
I could put the most important files in the Augsburger Music Box, where
there are already some ports of mine.

Suggestions?

--ralf
Newsgroups: comp.os.coherent
From: rszeto@wc.novell.com (Ron Szeto)
Subject: Why Coherent 4.0 does not work on a MCA PS/2?
Followup-To: comp.os.coherent 
Keywords: PS/2, Coherent 
Organization: Novell, Inc. - Walnut Creek
Date: Wed, 14 Oct 1992 00:35:20 GMT

I have been reading this group and the FAQ for sometime now.  
I did not find any answer
as to why Coherent does not work on a MCA PS/2.  If the problem is with the
device drivers, I wonder how difficult it is to write my own drivers 
to support PS/2?  Since I bought the PS/2 before I bought Coherent 4.0, 
I would hate to buy another machine just to run Coherent.  Any information
or suggestion is appreciated.  --Ron  
  
Newsgroups: comp.os.coherent
From: cht@panix.com (Chris Taylor)
Subject: Coho 4.0.1 on a Toshiba Laptop...But, TERM problems
Date: Mon, 12 Oct 1992 13:40:22 GMT
Organization: PANIX Public Access Unix, NYC

Coherent 4.0.1 installs and runs great on a Toshiba T1800 Satellite laptop!

But...
When I set my TERM environment variable to vt100, and log into a Unix system,
everything is peachy until I try to use vi. I make sure that the host I log
into has its' TERM set to vt100, too, of course. So I log in, start vi (on
the remote host) and the screen goes blank! Ugh! This happens with ckermit 
and mcu (that I got off raven.alaska.edu). I have tried this on two Unices,

The funny thing is, the systems accept keyboard input- I just can't see what
is going on. I can quit the editor, logout of the remote, and return to
Coho on my local machine- all blind. (I can hear the console bell beeping at
all the right places.) Once back at my local machine, I have to reset to
get my screen back.

So has anybody else observed similar problems? Should I get the systems
to use some other TERM setup? Hopefully you Coho gurus can have a hint
or two to shed light on this problem.

Thanks!

Chris Taylor
cht@panix.com
-- 
Chris Taylor
cht@panix.com
71201.3537@compuserve.com
From: michael@mkrbram.UUCP (Michael Kreutzmann)
Newsgroups: comp.os.coherent
Distribution: world
Subject: What is i-node busy
Organization: Private
Date: 10 Oct 92 21:40:45 GMT

Hi,

in the last time, I sometimes get a message >>i-node busy<< on the console.
I take a look in the manual and there is no exact description what this error-
message means. This only happens, if the machine has to do big work.

I use Coh4, a 386/16 with 2MB and two SCSI hard-disks on a Seagate ST02.

Is there a problem with my file-system or my disk-controller ? 
What can I do ? 

Regards Michael

-------------------------------------------------------------------------------
| ***  Michael Kreutzmann  *  Elbestr. 22  *  4550 Bramsche 1 *  Germany  *** |
| ******      Phone: +49 5461 5631  *  Mail: michael@mkrbram.UUCP      ****** |
-------------------------------------------------------------------------------


Newsgroups: comp.os.coherent
From: eschw@intacc.uucp (Elliot Schwartz)
Subject: 4.0 and a 286 AT
Summary: Will 4.0 work on a 286 AT?
Date: Tue, 6 Oct 1992 00:17:48 GMT
Organization: Inter/Access' Matrix BBS
Keywords: coherent 4.0 286 at work

Will Coherent 4.0.? function on a 286 AT?  If not, what is the most current
version which will work, and are there any plans to update it?  Thanks.

Elliot!



----


#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#
*    ..uunet!intacc!eschw     * Elliot Schwartz   *                       *
* intacc!eschw@cs.toronto.edu # Unix Co-ordinator #  This space for rent  #
*      eschw@intacc.uucp      * Earl Haig S. S.   *                       *
From: mfaurot@phzzzt.uucp (Michael Faurot)
Newsgroups: comp.os.coherent
Subject: Re: Some Questions about coh.
Keywords: the cock crows at noon.
Date: 7 Oct 92 22:49:52 GMT
Distribution: comp.os.coherent
Organization: A.T.W.W.

In article <Bvnrqv.Jp0@usenet.ucs.indiana.edu> sl313028@silver.ucs.indiana.edu (O.K. I'm Jon) writes:

>Oh yeah...is anyone running coherent with Stacker on their drive?  i've a 386sx16 w/105MB Quantum
>Drive & stacker...i was wondering if it [Stac] would give it any
>problems. 

I have my machine's two drives set-up where each has a MS-DOS 5.0 partition
that has been "stac'd" and a Coherent partition.  No problems with DOS/Stacker
interfering with Coherent or vice-versa.  Be aware, however, that Stac
Electronics does not have a version of Stacker designed to compress Coherent
filesystems/partitions (at least not to my knowledge).
-- 
+--------------------+-------------------------------------------------------+
|   Michael Faurot   | Domain: mfaurot@phzzzt.UUCP		             |
|   ------- ------   | UUCP: uunet!media!irscscm!bogart!phzzzt!mfaurot       |
+--------------------+-------------------------------------------------------+
Newsgroups: comp.os.coherent
Subject: Re: ports to 4.0
From: root@duncan (David John Murdoch at duncan)
Organization: Duncan Computer Centre and Home Brewery
Date: Sun, 11 Oct 1992 02:30:59 GMT
Reply-To: djm@duncan.alt.ns.ca (David John Murdoch at duncan)

In article <920927253@umunk.GUN.de> udo@umunk.GUN.de (Udo Munk) writes:
>
>Yes, elm is worth only the half without manuals. In the meantime
>you should find them on raven (elmman.tar.Z).

Where on raven is elmman.tar.Z?

>--
>Udo Munk     | voice:      +49 2131 275348             | uucp: +49 2131 278869
>Oberstr. 21  | mail :      udo@umunk.GUN.de            |     2400/1200/300 8N1
>4040 Neuss 1 | ...!{mcshh,smurf,unido}!easix!umunk!udo | MYNAME=bbsuser
>Fed. Rep. of | CompuServe: 100021,2515                 | login: uucp
>Germany      | first get /usr/spool/uucppublic/info    | pwd:   public


-- 
 __________________________________________________________________________
 David Murdoch   *  djm@duncan.alt.ns.ca  *   Halifax, Nova Scotia, Canada  
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.os.coherent
From: hcp@csx.cciw.ca (H.C. Pulley)
Subject: Re: Bootable floppy
Organization: Canada Centre for Inland Waters
Date: Wed, 14 Oct 1992 13:37:50 GMT

I tried to reply through email, but it bounced so I am posting this.

In article <13@colorne.UUCP> :
>I need something explained to me :
>
>I am attempting to build a stand-alone boot floppy, so that if my hard disk
>crashes or is replaced, I will have something to boot from.
>
>I have performed the following steps :
>
>1. fdformat /dev/fha0
>2. mkfs -b /conf/boot.fha /dev/fha0 2400
>3. mount /dev/fha0 /f0
>4. (copy a bunch of files, including tboot, coherent, bin/sh, bin/sync,
>   etc/init, etc/brc, etc/drvld.all, and conf/kbd/*)
>5. umount /dev/fha0
>6. Reboot
>
>Although when I reboot I am booting off of the floppy, the system executes off
>of the hard disk and goes into multi-user mode (/etc/brc is executed off
>of the hard disk, and the one of the floppy is ignored).

The trouble is that the /coherent file you copied has variables for the root
device, etc. inside it.  The version you copied still has those variables set
as your bootable hard drive partition.

You must set those variables to the floppy device you want.  See the lexicon
article on booting.

Under Coherent 4.0 with 1.2MB 5.25" floppies, you want to execute the following 
commands, where $MOUNTPOINT= the directory where you have mounted the bootable 
floppy.

/conf/patch $MOUNTPOINT/coherent rootdev=makedev\(4,14\)
/conf/patch $MOUNTPOINT/coherent pipedev=makedev\(4,14\)

Please note that under 3.x the variable names are different.  Also note that 
1.44MB 3.5" floppies have a different device number.  Consult the lexicon 
before proceeding.

>Thanks,

You are welcome.  Ask me if you have any questions.  I have written a script to 
make a bootable floppy.  It isn't quite done yet (I am also working on other
projects; only so many hours between work and sleep I am afraid!) but you can 
test what I've got if you want.

Harry

-- 
          hcp@csx.cciw.ca           | This message    | It takes all kinds,
    hcpiv@grumpy.cis.uoguelph.ca    | released to the | and to each his own.
------------------------------------| PUBLIC DOMAIN.  | This thought in mind,
 Stay away from the DOS side, Luke! |                 | I walk alone.

-- 
          hcp@csx.cciw.ca           | This message    | It takes all kinds,
    hcpiv@grumpy.cis.uoguelph.ca    | released to the | and to each his own.
------------------------------------| PUBLIC DOMAIN.  | This thought in mind,
 Stay away from the DOS side, Luke! |                 | I walk alone.
Newsgroups: comp.os.coherent
From: mcampbel@cs.ucf.edu (Mike Campbell )
Subject: How to redefine YYSTYPE in yacc?
Organization: University of Central Florida
Distribution: comp
Date: Thu, 8 Oct 1992 12:22:25 GMT

I'm taking a class in basic compiler construction, and was given a project
to type in in yacc/lex.  Everything goes OK, except in my yacc.h, I'm supposed
to redefine YYSTYPE as a union of int and char *, and when I compile y.tab.c,
it gives a re-defined error.  I see that it's typdef'ing YYSTYPE as an int.

How do I alleviate this?  I don't want YYSTYPE to be an int.  So far, I've just
taken out the offending typdef, and everything is ok.

Thanks.

Newsgroups: comp.os.coherent