TIP: Click on subject to list as thread! ANSI
echo: qedit
to: JOAQUIM HOMRIGHAUSEN
from: LOUIS VONDERSCHEER
date: 1995-10-25 02:34:00
subject: TSE 2.5, TSEjr/2 4.0

JH>7. I'd like TSE (and TSEjr/2) to support something like $[envvar] in any
JH>field, any string, any .CFG setting, etc. to mean "replace with value of
JH>environment variable [envvar]". I often disconnect my machine from the L
JH>here, in which case I want my swap disk to be C:\TMP, when OS/2 is loade
JH>want it to be H:\TMP, and when Novell is loaded, I want it to be X:\TMP.
JH>set TMP to this externally, so if I could tell TSE that my swap path is
JH>it'd "auto configure" itself depending on where I am. This obviously has
JH>uses too.
    You  can do this now, though maybe not in the foorm you desire.  The
WhenLoaded() in my tse.ui contains the following:
    Set(SwapPath,(GetEnvStr('TEMP')))
    Set(TSEPath,(GetEnvStr('TSEPATH')))
This gets the config info I want set according to an existing envar. For
me it makes a single configuration work for both home and work systems.
L.
--- FidoPCB v1.4 [ff151/a]
---------------
* Origin: SemWare Support BBS * 404-641-8968 * (1:133/314)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.