At 15:14 -0500 1999/07/29, Hamilton Richards Jr. wrote:
To begin with, it is great to include the version number of the port you
are using. This is the date shown in the Apple menu. Latest version is June
20 1999.
Many problems cannot be easily fixed, as I and Pablo just made a series of
fixes built on the original Hugs code and the Metrowerks SIOUX terminal
window. Some things can only be fixed by extensive rewriting of the code,
like developing an entirely new GUI.
>These are a few small flaws I've observed in the otherwise magnificent 20
>June 99 version of Mac Hugs.
>
>1. Monadic input is echoed, and should not be.
>
> Unix Hugs:
>
> Hugs session for:
> /u/ham/share/hugs/lib/Prelude.hs
> Type :? for help
> Prelude> getChar
> 1
> Prelude> getLine
> 12345
>
> Mac Hugs:
>
> Hugs session for:
> Prelude.hs
> Prelude> getChar
> 123
> 1
> Prelude> 23
> Prelude> getLine
> 123456
> 123456
>
> Prelude>
>
> Prelude>
I might guess this depends on the fact that C does not specify how
characters should be read interactively, so UNIX has special extensions
that the Metrowerks C compiler SIOUX terminal package that we use does not
support.
>2. Ctrl-D kills Hugs, even when it's running an interactive program.
> What is the end-of-input signal for an interactive program?
<Command-.> is the interrupt. It has a funny behavior when done at the
prompt, but we have been unable to determine what the bug depends on (in
the C compiler or the interaction of Hugs with it).
>3. Small font sizes' descenders are amputated.
Can't do much about this. The windows package that came with the compiler
uses a formula to compute font sizes in order to display a certain number
of rows, instead of in pixels. This formula does not then correspond to
what some fonts actually use.
>4. Options are off by one from T on, and +W has no effect.
I don't know what you mean here. Need more specs.
>5. The effect of :cd is lost after one :load.
Curious; perhaps Pablo Azero knows more about this.
>6. With setting -E"Liberty HR:[APPLICATIONS]:BBEdit Lite 4.1:BBEdit Lite 4.1",
> :e <filename> evokes "Warning: Editor terminated abnormally".
I think that the only thing that works is -E"". The file is then launched
to its creator. So just don't try to reset it, and it should work. Instead
change the file creator.
I think that in a variation of the source code, one can make the editor and
the file launched as separate objects, but making a file launch to and
editor without first changing its creator information would require Apple
Events extensions. This might be done via an AEGizmo package, if there is
an volunteer out there willing to try implement it.
Hans Aberg
* Email: Hans Aberg <mailto:[EMAIL PROTECTED]>
* Home Page: <http://www.matematik.su.se/~haberg/>
* AMS member listing: <http://www.ams.org/cml/>