[NTG-context] permissions in texmf/scripts/context/*

Vit Zyka vit.zyka at seznam.cz
Tue Feb 8 15:51:35 CET 2005


Taco Hoekwater wrote:
> 
> Vit Zyka wrote:
> 
>> Hans Hagen wrote:
>>
>> Problem occures when I run perl via texmfstart. And since it is exe on 
>> win I do not known how and with which environment is the Perl called 
>> inside.
> 
> 
> Here is a very small script. Save to a file and run texmfstart on it.
> 
> # envtest.pl
> map { print "INC .= $_\n" } @INC;
> map { print "$_ = $ENV{$_}\n"; } keys %ENV;

Toco, my result is:

-------------------------
INC .= .
USERPROFILE = D:\Documents and Settings\vit
HOMEDRIVE = D:
TEMP = D:\DOCUME~1\vit\LOCALS~1\Temp
SYSTEMDRIVE = D:
PROCESSOR_REVISION = 060a
OS2LIBPATH = D:\WINNT\system32\os2\dll;
SYSTEMROOT = D:\WINNT
COMMONPROGRAMFILES = D:\Program Files\Common Files
COMSPEC = D:\WINNT\system32\cmd.exe
LOGONSERVER = \\SPEKOUN
APPDATA = D:\Documents and Settings\vit\Application Data
WINDIR = D:\WINNT
PROGRAMFILES = D:\Program Files
OS = Windows_NT
PROCESSOR_LEVEL = 6
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
MATLAB = D:\Program Files\matlab
USERNAME = vit
PROMPT = $P$G
NUMBER_OF_PROCESSORS = 1
HOMEPATH = \Documents and Settings\vit
PATH = 
C:\programs\ImageMagick-6.1.6\VisualMagick\bin;C:\programs\gs\gs8.14\bin;
D:\Perl\bin\;D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem;C:\TeXLive\bin\wi
n32;D:\Program Files\Common 
Files\GTK\2.0\bin;D:\bin;c:\programs\matlab\bin;d:\v
it\perl;C:\programs\libs\netcdf\bin;L:\bin
PROCESSOR_IDENTIFIER = x86 Family 6 Model 6 Stepping 10, GenuineIntel
USERDOMAIN = SPEKOUN
COMPUTERNAME = SPEKOUN
ALLUSERSPROFILE = D:\Documents and Settings\All Users.WINNT
PROCESSOR_ARCHITECTURE = x86
TMP = D:\DOCUME~1\vit\LOCALS~1\Temp
TEXMFSTART.ENVTEST = ./envtest.pl
----------------------

but running 'perl envtest.pl'

----------------------
INC .= D:/Perl/lib
INC .= D:/Perl/site/lib
INC .= .
...

texmfstart does not inherit @INC array?

Vit


More information about the ntg-context mailing list