sh.exe: modified to allow command line length up to 1000 kB,
        and to find and allow 64bit executable.
--------------------------------------------

icon:
c:\bin\sh.exe -0
where the option is minus zero

--------------------------------------------
Example of $HOME/profile
--------------------------------------------
#
# c:\bin\sh.exe -0
#
# aliases
alias which='whence -p' # `which xxx' will tell you if executable xxx
                        # exists and if so give its full path name
alias sl='ls -F'	# short list
alias l='ls -anF'	# long list (by number)
alias ll=l		# the same as l
alias del='rm -i'	# interactive remove
alias h=history		# list history
alias r='fc -e -'	# run history number
alias rd=rmdir		# remove directory
alias md=mkdir		# make directory
alias cd=chd		# change directory and print cwd
alias b='cmd /c'	# for ordinary batch file execution
alias clear='cmd /c cls'
#
# simple prompt
PS1="(SUSY)# "
#
export TERM='pcbios' # may be needed for Congruent's version of vi  
export SHELL=sh
export TEMP=c:/usr/tmp
export TMP=$TEMP
export TMPDIR=$TEMP
export HISTSIZE=300
export SH_PATH=c:/bin/sh.exe
export COMSPEC=cmd.exe
export TZ=JST-9
#
export ENV=c:/usr/kakuto/DEFAULT
#
# function name cd cannot be used ( A. K. ).
#
chd ()
{
  builtin cd ${1+"$@"} && echo $PWD
}
rcd ()
{
chd $OLDPWD
}
set -o emacs
set -o ignoreeof

--------------------------------------------
A file  $HOME/DEFAULT
--------------------------------------------
#
# DEFAULT
#
# command path
export ENV=c:/usr/kakuto/DEFAULT
#
# c:/usr/txinfonew/bin contains texinfo 6.0 binaries
#
#PATH="c:/usr/txinfonew/bin;c:/usr/local/bin;c:/usr/perl/bin;c:/usr/bin"
#PATH="c:/usr/local/bin;c:/usr/perl/bin;c:/usr/bin"
#
PATH="c:/usr/local/bin;c:/usr/strawberry/perl/bin;c:/usr/bin"
PATH=${PATH}";c:/usr/apps/gnuplot/bin"
PATH=${PATH}";c:/bin;c:/usr/apps/imagemgk;c:/windows/system32;c:/windows"
PATH=${PATH}";c:/usr/ruby/bin;c:/usr/mingw/bin;c:/usr/apps/nasm"
PATH=${PATH}";c:/usr/tcl/bin"
PATH=${PATH}";c:/usr/apps/emeditor"
PATH=${PATH}";c:/usr/gs/gs9.22/bin"
PATH=${PATH}";c:/usr/gs/gs9.22/lib"
PATH=${PATH}";c:/usr/local/bin/groff"
PATH=${PATH}";c:/usr/ghostgum/gsview"
PATH=${PATH}";c:/usr/cmake/bin;c:/usr/ilmerge"
PATH=${PATH}";c:/usr/apps/pspad"
PATH=${PATH}";c:/usr/apps/acro11/acrobat"
PATH=${PATH}";c:/usr/bin/netpbm"
#
# Visual Studio 2010 (x86)
#
export Framework35Version=v3.5
export FrameworkDir=C:/Windows/Microsoft.NET/Framework/
export FrameworkDIR32=C:/Windows/Microsoft.NET/Framework/
export FrameworkVersion=v4.0.30319
export FrameworkVersion32=v4.0.30319
export VCINSTALLDIR=C:/usr/studio10/VC/
export VS100COMNTOOLS=C:/usr/studio10/Common7/Tools/
export VSINSTALLDIR=C:/usr/studio10/
#
PATH=${PATH}";C:/Program Files/Microsoft F#/v4.0"
PATH=${PATH}";C:/usr/studio10/VSTSDB/Deploy"
PATH=${PATH}";C:/usr/studio10/Common7/IDE"
PATH=${PATH}";C:/usr/studio10/VC/BIN"
PATH=${PATH}";C:/usr/studio10/Common7/Tools"
PATH=${PATH}";C:/Windows/Microsoft.NET/Framework/v4.0.30319"
PATH=${PATH}";C:/Windows/Microsoft.NET/Framework/v3.5"
PATH=${PATH}";C:/usr/studio10/VC/VCPackages"
PATH=${PATH}";C:/Program Files/HTML Help Workshop"
PATH=${PATH}";C:/Program Files/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools"
PATH=${PATH}";C:/Program Files/Microsoft SDKs/Windows/v7.0A/bin"
PATH=${PATH}";C:/Program Files/Common Files/Microsoft Shared/Windows Live"
PATH=${PATH}";C:/Program Files/HTML Help Workshop"
#
# additional commands
#
PATH=${PATH}";c:/usr/apps/7za"
PATH=${PATH}";c:/usr/apps/7zip"
PATH=${PATH}";c:/usr/apps/rsync"
PATH=${PATH}";c:/usr/apps/ghostapp"
PATH=${PATH}";c:/usr/apps/mupdf"
PATH=${PATH}";c:/usr/tcc"
PATH=${PATH}";c:/usr/python;c:/usr/python/scripts"
PATH=${PATH}";c:/usr/apps/tex2img"
PATH=${PATH}";c:/usr/apps/texstudio"
PATH=${PATH}";c:/usr/apps/winflexbison"
PATH=${PATH}";c:/usr/apps/aspell/bin"
PATH=${PATH}";c:/usr/apps/hgbed"
PATH=${PATH}";c:/usr/apps/fontforge/bin"
PATH=${PATH}";c:/usr/apps/wscite"
PATH=${PATH}";c:/usr/apps/fciv"
PATH=${PATH}";c:/usr/java/bin"
PATH=${PATH}";c:/usr/apps/dot/bin"
PATH=${PATH}";c:/usr/apps/pdf2svg"
PATH=${PATH}";c:/usr/apps/pdftk/bin"
PATH=${PATH}";c:/usr/apps/ipe-graphic-editor/bin"
PATH=${PATH}";c:/windows/system32/windowspowershell/v1.0"
PATH=${PATH}";c:/usr/apps/pandoc"
PATH=${PATH}";c:/usr/apps/vscode/bin"
#
# git
#
PATH=${PATH}";c:/usr/apps/MSYSGIT/Git"
PATH=${PATH}";c:/usr/apps/MSYSGIT/Git/cmd"
PATH=${PATH}";c:/usr/apps/MSYSGIT/Git/bin"
#
# fontforge
#
PATH=${PATH}";c:/usr/apps/fontforge"
PATH=${PATH}";c:/usr/apps/fontforge/bin"
#
PATH=${PATH}";c:/Program Files/Windows NT/Accessories"
#
INCLUDE="c:/usr/studio10/VC/ATLMFC/INCLUDE;c:/usr/studio10/VC/INCLUDE"
INCLUDE=${INCLUDE}";c:/Program Files/Microsoft SDKs/Windows/v7.0A/include"
INCLUDE=${INCLUDE}";c:/usr/local/include"
#
LIB="c:/usr/studio10/VC/ATLMFC/LIB;c:/usr/studio10/VC/LIB"
LIB=${LIB}";c:/Program Files/Microsoft SDKs/Windows/v7.0A/lib"
LIB=${LIB}";c:/usr/local/lib"
#
LIBPATH="c:/Windows/Microsoft.NET/Framework/v4.0.30319"
LIBPATH=${LIBPATH}";c:/Windows/Microsoft.NET/Framework/v3.5"
LIBPATH=${LIBPATH}";c:/usr/studio10/VC/LIB;C:/usr/studio10/VC/ATLMFC/LIB"
#
export PATH
export INCLUDE
export LIB
export LIBPATH
#
export TX=c:/usr/local/share/texmf-dist
export WEB=c:/usr/work/hdrive/WEBHOME
export ED=c:/usr/work/edrive
export FD=c:/usr/work/fdrive
export GD=c:/usr/work/gdrive
export HD=c:/usr/work/hdrive
export SVN=c:/usr/SVN
#
export TMPDIR=c:/usr/tmp
export TMP=c:/usr/tmp
export TEMP=c:/usr/tmp
export ZSH_DONTSETCP=1
#
export TEXMFCNF="c:/usr/local/share/texmf-dist/web2c;"
#
export TB_PATHSUB="/var/tmp,c:/temp;/usr/tmp,c:/temp;/tmp,c:/temp;/dev/null,nul;/bin,c:/bin;/bin/sh,c:/bin/sh;/usr,c:/usr;/usr/bin,c:/usr/local/bin;/usr/local/bin,c:/usr/local/bin"
