Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: cygwin AT sourceware DOT cygnus DOT com Subject: new install of cygwin with pdksh doesn't work From: dkarr AT tcsi DOT com (David M. Karr) Date: 20 Dec 2000 14:39:08 -0800 Message-ID: Lines: 60 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I have a relatively recent install of cygwin, along with pdksh-2.14. I have scripts that reference "/bin/ksh" that work fine. Today I've been setting up these tools on another PC, and now when I execute "ksh", I get the following: ksh: /cygdrive/d/dmk/.bashrc[1]: syntax error: `in^M' unexpected I'm sure this has something to do with line endings, but I don't understand what has to be done. In case it matters, here are my simple ".bashrc", ".bash_profile", and ".bashvars" files: ----------.bashrc: cut here------ case $- in *i*) if [ "$TERM" = "dumb" ] ; then alias ls="ls -aFC --color" else alias ls="ls -aFC"; fi PS1="[\H;] " . $HOME/.bash_profile ;; esac ----------.bashrc: cut here------ ----------.bash_profile: cut here------ umask 2 . $HOME/.bashvars ----------.bash_profile: cut here------ ----------.bashvars: cut here------ export HISTSIZE=64 unset HISTFILE export ENV=$HOME/.bashrc export PAGER=less export MPAGE="-4 -b Letter -H -X -c -f -z lp" export PATH="$PATH:.://d/dmk/lisp/jde-2.1.8/lisp" export PATH="$PATH:/usr/local/bin" export TP_OPTS="-m DRAFT -i --n -C --f --F -S 2 -4" function dospathinbash () { echo $(cygpath -w $1) | sed -e 's,\\,/,g' } export -f dospathinbash ----------.bashvars: cut here------ -- =============================================================================== David M. Karr ; dkarr AT tcsi DOT com ; w:(425)487-8312 ; TCSI & Best Consulting Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (#12004) -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple