Re: Amaya feature request

Irene Vatton <[email protected]>
Newsgroups gmane.comp.web.amaya.general,gmane.comp.web.amaya.devel
Organization INRIA
Message-ID <[email protected]>
On Fri, 15 Aug 2003 02:11:19 -0400 (EDT)
Markus Maier <[email protected]> wrote

> Hello,
> 
> This is a feature request. Perhaps somebody make the following work:
> 
> [1] Launch Amaya from an CD-ROM or read-only mounted Network device; the  
>     problems with Amaya 8.1a are related to my point [2] and the following 
>      observation:
>     If I start Amaya on Windows (98) from a writeable Samba Share the 
>     location bar shows
> E:\2N\2R1125\SYS\0\2N\2R1141\AMAYA\WINDOWS_I386.AMAYA_2003_04_23.NEZE.DE\INST\amaya\AmayaPage.html
>     from another read-only Samba share I get:
>            
> ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ......
> 
> [2] Amaya uses different locations for its user directory, and it is 
>     configurable in nearly all environments:
>         Unix: change HOME-Env-varaible
>         WinNT/2000/XP: change HOMEDRIVE- and HOMEPATH-env-variables
>    but on windows 98 it is hardcoded (as far as I understand the sources), now
>    my suggestion:
>         Check (in all environments) for an env-varaible AMAYA_USER_HOME,
>         and if it is set use it, if it is not set keep the default behaviours 
>         as it is implemented at the moment.
>    This makes it possible to launch amaya with a small script from a read-only
>    disk (in my case: a CD-ROM and read-only samba share ); the script has to
>    define AMAYA_USER_HOME with a temporary directory.
>    I think that are 3 lines of code in /thotlib/base/registry.c and 2 lines of
>    additional documentation.
> 
> Kind regards
> 
> mle

Okay. Now the global variable AMAYA_USER_HOME lets the user select the directory 
where user preferences are stored (the AmayaHome directory).
     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: [email protected]       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.