- Aug
- 64
- 2
Using TCC 13. My tcstart.btm from earlier versions (4DOS, 4NT) set the prompt colour based on the shell nesting level %_shell. This has not worked in quite some time, because now %_shell is always zero, and now I'm wondering how to work around this. Any ideas would be appreciated.
I tried setting an environment variable %SHELL_LEVEL, and then incrementing it in tcstart.btm, but it seems that any environment variable I set in one TCC session, whether at the prompt or in a batch file, is not inherited by another TCC session. Is this intended? Workaround?
I tried setting an environment variable %SHELL_LEVEL, and then incrementing it in tcstart.btm, but it seems that any environment variable I set in one TCC session, whether at the prompt or in a batch file, is not inherited by another TCC session. Is this intended? Workaround?