Updated on 9 Dec 2003
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export SHELL=/bin/bash
export PATH=/usr/X11R6/bin:$PATH
export PS1="$HOSTNAME:\w$ "
if [ -n ${DISPLAY} ]; then
export DISPLAY=localhost:0.0
fi
if [ ! -n "${TERM}" ]; then
TERM=cygwin
fi
alias ls="ls -F --color=auto"
alias la="ls -aF"
alias ll="ls -l"
$ grep "profile.d" /etc/profileIf you see [for i in /etc/profile.d/*.sh ; do],
for i in /etc/profile.d/*.sh ; do
$ ln -s /opt/kde2/bin/kde_setenv /etc/profile.d/kde2.shOtherwise
$ echo ". /opt/kde2/bin/kde_setenv" >>/etc/profileCreate
$ echo "exec X -screen 0 1024x768x16 -engine 4 -ac -nowinkill -noreset -emulate3buttons 100" > ~/.xserverrc
$ echo "/opt/kde2/bin/startkde" > ~/.xinitrc
$ startx &
set bash=%CYGWIN_ROOT%\bashto
set bash=%CYGWIN_ROOT%\bin\bash
$ chmod +x /startgnome.bat
$ bzip2 -d gimp-x.x.x-x.tar.bz2
$ ls gimp*
gimp-x.x.x-x.tar
$ tar Cxf / gimp-x.x.x-x.tar