Add auto-load directives to tcmd.ini

rps

Jul 6, 2008
300
4
#1
Add several new directives to tcmd.ini and the TCC OPTIONS configuration dialog. These would be loaded before running tcstart identical to the OPtions->TCC->Command line->Command History/Directory History.
  1. LoadAlias=ON/off -- Load aliases from alias.sav list as defined by Shralias_save_path or tcc.exe folder. Default ON.
  2. LoadFunctions=ON/off -- Load user-defined variable functions from functions.sav list as defined by Function_Save_Path (new) or Shralias_save_path or tcc.exe folder. Default ON.
  3. LoadLibraries=ON/off -- Load user-defined library functions from Library.sav list as defined by Function_Save_Path (new) or Shralias_save_path or tcc.exe folder. Default ON.
  4. LoadHistory=ON/off -- Load command history from history.sav file as defined by Shralias_save_path or tcc.exe folder. Default ON.
  5. LoadPlugins=ON/off -- Load plugins from the default (the subdirectory PLUGINS\ in the TCC installation directory). Default ON.
Perhaps these could also be TCC startup switches similar to /L for local lists.
My vote, obviously, is for tcmd.ini directives, allowing additional easy customization of TCC instances.

Additions, modifications, revisions, comments please.
 
#2
Add several new directives to tcmd.ini and the TCC OPTIONS configuration dialog. These would be loaded before running tcstart identical to the OPtions->TCC->Command line->Command History/Directory History.
  1. LoadAlias=ON/off -- Load aliases from alias.sav list as defined by Shralias_save_path or tcc.exe folder. Default ON.
  2. LoadFunctions=ON/off -- Load user-defined variable functions from functions.sav list as defined by Function_Save_Path (new) or Shralias_save_path or tcc.exe folder. Default ON.
  3. LoadLibraries=ON/off -- Load user-defined library functions from Library.sav list as defined by Function_Save_Path (new) or Shralias_save_path or tcc.exe folder. Default ON.
  4. LoadHistory=ON/off -- Load command history from history.sav file as defined by Shralias_save_path or tcc.exe folder. Default ON.
  5. LoadPlugins=ON/off -- Load plugins from the default (the subdirectory PLUGINS\ in the TCC installation directory). Default ON.
Perhaps these could also be TCC startup switches similar to /L for local lists.
My vote, obviously, is for tcmd.ini directives, allowing additional easy customization of TCC instances.

Additions, modifications, revisions, comments please.
How do all those Load* directives get along with global lists and SHRALIAS? I load all those once (in a logon script), start SHRALIAS, and never think about them again
 
Oct 18, 2009
177
7
#4
Add several new directives to tcmd.ini and the TCC OPTIONS configuration dialog. These would be loaded before running tcstart identical to the OPtions->TCC->Command line->Command History/Directory History.
  1. ..
  2. LoadFunctions=ON/off -- Load user-defined variable functions from functions.sav list as defined by Function_Save_Path (new) or Shralias_save_path or tcc.exe folder. Default ON.
  3. LoadLibraries=ON/off -- Load user-defined library functions from Library.sav list as defined by Function_Save_Path (new) or Shralias_save_path or tcc.exe folder. Default ON.
  4. ..
  5. ..
Perhaps these could also be TCC startup switches similar to /L for local lists.
My vote, obviously, is for tcmd.ini directives, allowing additional easy customization of TCC instances.

Additions, modifications, revisions, comments please.
If you're going to have two paths where functions might be or two where libraries might be, why not have 2 separate directives for Functions and 2 for Libraries--one for Function_Save_Path and one for Shralias_Save_path?