Re: Modifying Amaya to behave as a Web browser only

In-reply-to: Your message of Tue, 27 Jan 1998 12:25:07 +0100."
             <199801271125.MAA20756@ldiua.unige.ch> 

> I successfully changed the following things in Amaya so that it behaves more as a common browser:
> 

Great !

> There's output too from Thot/thotlib/base/thotmsg.c, in the first function.
> Same thing to do, disable the "*printf()".
> NOTE: I didn't tried to change this file yet but it prints the same message I see in the output so it's surely this one :)

This file prints toolkit error messages. you can change it if you want.

> 
> NOTE 2: I haven't yet tried to remove the editor code, although I plan to do it in the next few weeks, but I'm a little bit afraid of cross references between the browser part and the editor part of Amaya, so any information on the imbrications of these two parts would be nice.

From time to time we move functions from one module to another to avoid these 
imbrications.
Normally all modules "edit" (like EDITimage.c or HTMLedit.c) must containt 
only edit functions and
should be removed for a browser.


> NOTE 5: I still have some problems to resolve:
> 1) It is still possible to write in the TITLE field.

I don't know how to avoid that with Motif and Windows. But Amaya refuses to 
change
the document title when it receives the callback from Motif (on Return key).

> 2) The search function in the menus can still modify the text, even with 
> TtaSetDocumentAccessMode(Doc,0).

It's a bug.

> 3)When in Read-Only, the default text color is Green and I didn't find where to
> change it.

In files $HOME/.thotrc
ReadOnlyColor=Black

> 4)Any info on cross references between the editor part and the browser part of Amaya would be nice.

See NOTE 2

> 
> 5)(optional) Showing in the bottom of the window the target of the link under the mouse pointer would be nice but I really don't have a clue how to do it...

We need to add a Thot event to do that. It'll be available in a future 
version; not the next one
because it's too late (we plan to do the public release next week).

Regards
  Irene.

Received on Thursday, 29 January 1998 03:07:04 UTC