Re: default tcedt.dst copie from home dir
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2005-07-11 17:45:13
|
m.v...@hc... wrote: >Hi SET, > >Just a small question. > >When you start setedit in a dir where no tcedit.dst file is located, the tcedit.dst file from your home dir is copied there as a template. > >How hard would it be to make it copy from homedir/.setedit instead? > > The current behavior should be: 15.1.2 Configuration directories for POSIX systems -------------------------------------------------- Here is the list of directories where the editor looks for a configuration file. Note it includes Cygwin binaries. One concept used during the search is the `home directory'. It is determined using the `HOME' environment variable. If this variable isn't defined the editor tries with `HOMEDIR'. We represent it using `~'. To represent the content of an environment variable the examples use `$VARIABLE'. In the examples we will represent the configuration file naming it `FILE'. In POSIX systems a hidden file is created using a dot a preffix. 1. `~/.setedit/FILE' (Note: this directory is created if it doesn't exist). 2. `~/.setedit/.FILE' 3. `~/FILE' 4. `~/.FILE' 5. `$SET_FILES/FILE' The `SET_FILES' environment variable should point to the directory where system wide configuration files are stored. Note that if the `SET_FILES' environment variable isn't defined the editor tries to figure out it using the following sequence: 1. The installation directory detected or specified at compilation time adding the `share/setedit' directory. 2. `/usr/share/setedit' 3. `/usr/local/share/setedit' SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |