Line Break Handling Request

Hans Aberg haberg@matematik.su.se
Mon, 19 Feb 2001 12:26:00 +0100


At 02:17 -0800 2001/02/19, Ashley Yakeley wrote:
>Currently I'm using the MacOS version of Hugs. The Macintosh platform is
>undergoing a sort of evolution towards Unix, and text files may either
>have traditional MacOS linebreaks (CR) or Unix linebreaks (LF). MacOS
>Hugs only works with the former.
>
>I think all platform-versions of Hugs should accept all kinds of
>linebreaks:
>CR (as MacOS)
>LF (as Unix)
>CR LF (as Windows)

Actually this has already been fixed but not yet released in the form of a
binary. :-)

The reason this binary was not released is that it has some AppleEvent's
handling I felt was experimental, and I could not get the time to check it
out (and no one else it seems).

>If you ever get around to supporting Unicode, you should also handle
>\u2028 and \u2029, but that is a separate issue.

Yes, Unicode is supported by MacOS X, which will be released towards the
end of March. This MacOS X has BSD, so it should be easy to compile as a
command line program.

As for Hugs with GUI MacOS X: I do not know. Depends if people find it
exiting find the time to develop on that platform. (Lack of supercomputer
cycles is the usual human problem I think... :-))

As for Hugs support for Unicode (which may be 16 or 32 bit), I do not know:

Perhaps some of the Hugs developers can inform.

  Hans Aberg