From: aph@oclc.org (Andrew P. Houghton)
Subject: Re: anybody care to share thier opinions on the new 32bit release?
Organization: OCLC Online Computer Library Center, Inc.
X-Newsreader: Tin 1.1 PL4
Date: Sat, 15 Aug 1992 14:11:13 GMT

udo@umunk.GUN.de (Udo Munk) writes:
: aph@oclc.org (Andrew P. Houghton) writes:
: : I have been running 4.0 for about a week.  I think they rushed it too
: : soon.  I crashed it several times.  Once I booted my machine cold it
: : got thru "loading Coherent" and the file system check then /bin/sh
: : died and trashed my file system.  Reinstall from scratch.  The uucp
: : directions in the book for uuinstall don't work.  I followed them to a
: : tee, no go.  However the ones for manual install only have a few
: : gotchas in them.  So I was able to get uucp up and connect to mwcbbs.
: : Now I am trying send mail and its keeps getting rejected with an error
: : 68 or something.  I tried to look it up in the manual but of course
: : its not there.  I the course of testing mail I got some message "bad
: : arenea" and could not execute any other program.  Tried to look that
: : up and nothing doing.  I happened to be logged in as root at the time,
: : so rather that trash the file system I tried to execute shutdown.
: : Same message.  For shits and grins I tried exec shutdown and that
: : worked.  So I concluded it could not fork.  Tried to use Lex.  I typed
: : a program right out of the book in the tutorial, I think page 220, and
: : it did not produce the same results... Life goes on and I suspect that
: : I will encounter more... Andy.
: 
: Hm, I haven't crash the system either with 4.0-beta nor with 4.0.
: How much memory has your system? How many virtual consoles are
: installed? How many virtual terminals are you running with the
: screen package? The shell can't fork another proccess, if there
: isn't enough memory for that, but this hasn't crashed anything
: so far here. Forget about the error numbers in the uucico logfile,
: run uucico with -x9 and tell us what it does.
: What did not produce the same results, lex or the compiled program
: created by lex?

I am running a 386DX 33mhz ISA system with 4mb ram. and an AMI BIOS.
My disk controller is a WD1006V-MM1 with a 80mb Micropolis and a
40mb Segate MFM drives attached.

During the install process, when it said to reboot your computer and
Coherent will prompt you for the other disks, it hung my computer.
To be more precise, when it said to reboot I took the first disk out
and hit reset.  Coherent booted up to the point where it printed half
a screen of port numbers, etc. and ended with what my serial number
was, and then it hung.  I redid the install several times, but it
would not work.  After reading the install notes and the manual
several times, I decided that since I have a clone keyboard that I
should try to install without virtual consoles.  When I did Coherent
booted ok and I was able to install the whole package.  So I am
currently running without virtual consoles.

On page 220 of the "lex Lexical Analyzer" tutorial the section which
deals with ECHO.  It has the following lex program:

    %%
    [0-9]+    {ECHO; ECHO;}
    [^0-9]+   ECHO;

Then it says to compile it and run it with the input:

    abcdef 123 1234
    <ctrl-D>

The output, according to the manual should be:

    abcdef 123123 12341234

So I did the following:

    $ lex
    %%
    [0-9]+    {ECHO; ECHO;}
    [^0-9]+   ECHO;
    <ctrl-D>
    $ cc lex.yy.c -ll -o foo
    $ foo
    abcdef 123 1234

At this point it just echoed "abcdef 123 1234" so I typed
<ctrl-D> and it just exited back to the shell.  Granted I
did not follow the manual exactly but whether I edit a file
and run lex or type the program in via stdin and run lex,
there should be no difference in the generated code in
lex.yy.c.  I will put it in a file and run lex and diff the
output but I suspect that thats not the problem.  It appears
to me that the generated parser did not recognize the space
between the words and since the input started with the rule
[^0-9]+ it took the whole line for that rule and thus echoed
the whole line back to me.  I have brought over several lex
programs I did from the Sun Galaxy here at work and they do
not run under Coherent but work fine under the Sun.

-- 
Andrew P. Houghton, MC 465                     Internet:  aph@oclc.org
OCLC Online Computer Library Center, Inc.      UUCP:      colnet!sppy00!aph
6565 Franz Road                                Voice:     (614) 764-6003
Dublin, Ohio  43017-0702                       Fax:       (614) 764-6096
Newsgroups: comp.os.coherent