My CGI process environment variables DOCUMENT_ROOT=/var/local/apache_1.3.29/htdocs GATEWAY_INTERFACE=CGI/1.1 HTTP_ACCEPT=text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING=gzip HTTP_ACCEPT_LANGUAGE=en-us,en;q=0.5 HTTP_CACHE_CONTROL=no-cache HTTP_CONNECTION=close HTTP_HOST=campuscgi.princeton.edu HTTP_PRAGMA=no-cache HTTP_USER_AGENT=CCBot/1.0 (+http://www.commoncrawl.org/bot.html) HTTP_X_CC_ID=ccc03-01 PATH=/usr/sbin:/usr/bin:/usr/princeton/bin:/usr/local/bin: QUERY_STRING= REMOTE_ADDR=38.107.179.226 REMOTE_PORT=47974 REQUEST_METHOD=GET REQUEST_URI=/~hammett/tstenv SCRIPT_FILENAME=/u/hammett/./tstenv SCRIPT_NAME=/~hammett/tstenv SERVER_ADDR=128.112.129.8 SERVER_ADMIN=cgiadmin@Princeton.EDU SERVER_NAME=campuscgi.princeton.edu SERVER_PORT=80 SERVER_PROTOCOL=HTTP/1.1 SERVER_SOFTWARE=Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.6m TZ=US/Eastern UNIQUE_ID=T7QLkYBwgcIAAF6K064 PWD=/home/hammett USER=hammett search for patch /usr/bin/patch ls /usr/psr/bin/patch /usr/psr/bin/patch /usr/psr/lib/openpkg/patch --version patch 2.5.9 Copyright (C) 1988 Larry Wall Copyright (C) 2003 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. written by Larry Wall and Paul Eggert search for dvipng no convert in /usr/sbin /usr/bin /usr/princeton/bin /usr/local/bin . files in my current working directory: /home/hammett total 424 drwx-----x 6 hammett pustaff 4096 Dec 29 13:22 . drwxr-xr-x 289 root root 45056 May 2 10:04 .. -rw------- 1 hammett pustaff 157 Dec 29 13:29 .bash_history drwxr-xr-x 2 hammett pustaff 4096 Aug 3 2006 .hidden -rw-r--r-- 1 hammett pustaff 263 Aug 4 2006 .htaccess-ignored -rw-r--r-- 1 hammett pustaff 446 Aug 3 2006 .htaccess.~1~ -rw-r--r-- 1 hammett pustaff 252 Aug 3 2006 .htaccess.~2~ -rw-r--r-- 1 hammett pustaff 251 Aug 4 2006 .htaccess.~3~ -rw-r--r-- 1 hammett pustaff 42535 Dec 16 2005 ASCIIMathML.js lrwxrwxrwx 1 hammett pustaff 9 Aug 3 2006 cgilab -> ../cgilab drwxr-xr-x 2 hammett pustaff 4096 Aug 5 2006 figs drwxr-xr-x 9 hammett pustaff 4096 Aug 6 2006 gyrokwiki -rwxr--r-x 1 hammett pustaff 241 Aug 4 2006 hello_bug.pl -rwx------ 1 hammett pustaff 221 Aug 4 2006 helloworld -rwx------ 1 hammett pustaff 182 Aug 5 1996 helloworld.~1~ drwxr-xr-x 6 hammett pustaff 4096 Aug 6 2006 jsMath -rwxr-xr-x 1 hammett pustaff 664 Aug 6 1997 logger -rw-r-xr-x 1 hammett pustaff 173 Aug 3 2006 main.log -rw------- 1 hammett pustaff 546 Aug 4 2006 texput.log -rwxr-xr-x 1 hammett pustaff 719 Aug 8 2006 tstenv lrwxrwxrwx 1 hammett pustaff 6 Aug 8 2006 tstenv.cgierr -> tstenv lrwxrwxrwx 1 hammett pustaff 6 Aug 8 2006 tstenv.cgitst -> tstenv -rwxr-xr-x 1 hammett pustaff 534 Aug 4 2006 tstenv.~10~ -rwxr-xr-x 1 hammett pustaff 591 Aug 8 2006 tstenv.~11~ -rwxr-xr-x 1 hammett pustaff 640 Aug 8 2006 tstenv.~12~ -rwxr-xr-x 1 hammett pustaff 114 Aug 6 1997 tstenv.~1~ -rwxr-xr-x 1 hammett pustaff 182 Aug 4 2006 tstenv.~2~ -rwxr-xr-x 1 hammett pustaff 314 Aug 4 2006 tstenv.~3~ -rwxr-xr-x 1 hammett pustaff 367 Aug 4 2006 tstenv.~4~ -rwxr-xr-x 1 hammett pustaff 412 Aug 4 2006 tstenv.~5~ -rwxr-xr-x 1 hammett pustaff 448 Aug 4 2006 tstenv.~6~ -rwxr-xr-x 1 hammett pustaff 506 Aug 4 2006 tstenv.~7~ -rwxr-xr-x 1 hammett pustaff 517 Aug 4 2006 tstenv.~8~ -rwxr-xr-x 1 hammett pustaff 513 Aug 4 2006 tstenv.~9~ which versions of perl are we using? std perl is: Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=solaris, osvers=2.9, archname=sun4-solaris-64int uname='sunos localhost 5.9 sun4u sparc sunw,ultra-1' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-xO3 -xdepend', cppflags='' ccversion='Sun WorkShop', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='' libpth=/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE' cccdlflags='-KPIC', lddlflags='-G' Characteristics of this binary (from libperl): Compile-time options: USE_64_BIT_INT USE_LARGE_FILES Locally applied patches: 9676 Port the OpenBSD glob() security patch 9678 Addendum to #9676: some missing changes from OpenBSD glob.c 9679 Up $File::Glob::VERSION, add OpenBSD glob version note 9693 $VERSION and Version() on same line provokes CPAN.pm warning 9706 #7210 broke .packlist generation 9707 ExtUtils::Installed doesn't quote regex metacharacters in paths 9775 Typo in utf8.h 9950 Revert integration of #8254,#8255 in #8620 (causes coredump) 10021 Insecure regexes 10091 $ref1 == $ref2 behaves unpredictably if not NV_PRESERVES_UV 10093 Incorrect line numbers in AutoSplit 10100 [20010514.027] PL_last_in_gv may not be GV if stale filehandle 10145 [20010515.004] Segfaults from premature GC 10203 Don't think about UTF8 10250 [20010422.005] perl -e '{s//${}/; //}' segfaults 10394 Leakage of file scope lexicals into predeclared subroutines 10404 eval.t was relying on pre-#10394 buggy behavior 10412 Rationalize locale handling to fix bugs uncovered by #10394 10422 Potential buffer overrun if the radix separator > 1 byte 10448 Lexicals outside eval weren't resolved correctly pre-#10394 10450 Optimize #10448 slightly 10543 Add LC_MESSAGES constant to POSIX module 10667 #10449 broke visibility of lexicals inside DB::DB() 10739 C fails to compile correctly 10939 Proposed fix for Pod::Man 11169 Doc patch for Tie::Hash 11374 Make h2ph grok ccsymbols fo the form 1234L, 1234ULL etc 11427 t/harness wasn't picking up all the tests 11428 run/runenv.t needs fflushNULL sanity 11431 pod/*.t tests not picked up by t/TEST either 11510 eval 'format foo=' would loop indefinitely 11713 UTF8 wasn't printing for PVMGs 11716 UTF8 flag should be meaningful only when POK 11808 [20010831.002] Bug in Term::Cap on Solaris ansi terminal 11847 Typo in perl_clone() code causes local(*foo) breakage 12005 [20010912.007] substr reference core dump 12024 Fix local() precedence bug in #8311 12303 Fix 'local $!=0;undef*STDOUT;' segfault 12304 Pod::Html makes a poor guess at author 12350 Typo in IO::Seekable doc 12496 Carp::shortmess_heavy() doesn't notice trailing newline 12549 readline() doesn't work with 'our' variables 12550 #12549 wasn't aware of strictures 12752 croak(Nullch) wasn't printing the contents of ERRSV 12811 [20011101.069] \stat('.') gives 'free unref scalar' error 12812 Slight modification of #12811 13149 Integrate #13147 from mainline (fixes nit in #10091) 13261 Integrate #8340,#13260 from mainline 7006357 CVE-2010-1168 - Safe.pm 2.24 and earlier (perl 5.6.1) Built under solaris Compiled at Mar 17 2011 03:54:24 @INC: /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl . /usr/psr/bin/perl is: Summary of my perl (revision 5 version 8 subversion 8) configuration: Platform: osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi uname='sunos verges.princeton.edu 5.9 generic_118558-39 sun4u sparc sunw,sun-blade-100 ' config_args='-d -e -s -Dprefix=/usr/psr.oit/solaris9/2006-2.0 -Dvendorprefix=/usr/psr.oit/solaris9/2006-2.0 -Dinstallprefix=/usr/psr.oit/solaris9/2006-2.0 -Dinstallstyle=lib/perl5 -Dman1dir=/usr/psr.oit/solaris9/2006-2.0/man/man1 -Dman3dir=/usr/psr.oit/solaris9/2006-2.0/man/man3 -Dcc=/usr/psr.oit/solaris9/2006-2.0/bin/cc -Doptimize=-O2 -pipe -Dlocincpth=/usr/psr.oit/solaris9/2006-2.0/include -Dloclibpth=/usr/psr.oit/solaris9/2006-2.0/lib -Dldflags=-L/usr/psr.oit/solaris9/2006-2.0/lib -Dlibpth=/usr/psr.oit/solaris9/2006-2.0/lib /lib /usr/lib /usr/ccs/lib -Dglibpth=/usr/psr.oit/solaris9/2006-2.0/lib /lib /usr/lib /usr/ccs/lib -Dscriptdir=/usr/psr.oit/solaris9/2006-2.0/bin -Dusethreads -Uinstallusrbinperl -Ui_malloc -Ui_iconv -Ui_db' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='/usr/psr.oit/solaris9/2006-2.0/bin/cc', ccflags ='-D_REENTRANT -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/psr.oit/solaris9/2006-2.0/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -pipe', cppflags='-D_REENTRANT -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/psr.oit/solaris9/2006-2.0/include' ccversion='', gccversion='4.1.1 (OpenPKG-2-STABLE)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='/usr/psr.oit/solaris9/2006-2.0/bin/cc', ldflags ='-L/usr/psr.oit/solaris9/2006-2.0/lib ' libpth=/usr/psr.oit/solaris9/2006-2.0/lib /lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -lndbm -ldl -lm -lpthread -lc perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E' cccdlflags='-fPIC', lddlflags=' -Wl,-E -G -L/usr/psr.oit/solaris9/2006-2.0/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under solaris Compiled at Mar 1 2007 14:26:24 @INC: /usr/psr.oit/solaris9/2006-2.0/lib/perl/site_perl/5.8.8/sun4-solaris-thread-multi /usr/psr.oit/solaris9/2006-2.0/lib/perl/site_perl/5.8.8 /usr/psr.oit/solaris9/2006-2.0/lib/perl/site_perl /usr/psr.oit/solaris9/2006-2.0/lib/perl/vendor_perl/5.8.8/sun4-solaris-thread-multi /usr/psr.oit/solaris9/2006-2.0/lib/perl/vendor_perl/5.8.8 /usr/psr.oit/solaris9/2006-2.0/lib/perl/vendor_perl /usr/psr.oit/solaris9/2006-2.0/lib/perl/5.8.8/sun4-solaris-thread-multi /usr/psr.oit/solaris9/2006-2.0/lib/perl/5.8.8 . look for /usr/psr: README RPM bin cgi cshrc.psr etc experimental include info lib libexec local man profile.psr pub sbin share var /usr/psr/bin/rcs -V reports: RCS version 5.7