public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: dkarr@tcsi.com (David M. Karr)
To: cygwin@sourceware.cygnus.com
Subject: new install of cygwin with pdksh doesn't work
Date: Wed, 20 Dec 2000 14:41:00 -0000	[thread overview]
Message-ID: <uyu27ybtv7.fsf@tcsi.com> (raw)

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@tcsi.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

             reply	other threads:[~2000-12-20 14:41 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-20 14:41 David M. Karr [this message]
2000-12-20 15:36 ` Christopher Faylor
2000-12-20 15:51   ` David M. Karr
2000-12-20 16:19     ` Christopher Faylor
2000-12-20 16:59       ` David M. Karr
     [not found] <Earnie>
     [not found] ` <Boyd's>
     [not found]   ` <message>
     [not found]     ` <of>
     [not found]       ` <"Thu,>
     [not found]       ` <"Wed,>
     [not found]         ` <20>
     [not found]           ` <Dec>
     [not found]             ` <2000>
     [not found]               ` <16:39:43>
     [not found]                 ` <-0800>
     [not found]                   ` <(PST)>
2000-12-20 16:39                     ` Earnie Boyd
2000-12-20 17:36                       ` David M. Karr
2000-12-20 18:18                         ` Chris Abbey
2000-12-21  6:27                     ` Earnie Boyd
2000-12-21  8:33                       ` David M. Karr
2000-12-21 12:17                       ` David M. Karr
2000-12-21 12:48                         ` Larry Hall (RFK Partners, Inc)
2000-12-21 13:06                     ` Earnie Boyd
2001-01-03  9:56                       ` David M. Karr
2001-01-03 14:03                         ` Larry Hall (RFK Partners, Inc)
     [not found]               ` <14:50:18>
     [not found]                 ` <+0000>
     [not found]                   ` <(CT0)>
2000-12-20 19:38                     ` Earnie Boyd
2000-12-20 22:54                       ` David M. Karr
2000-12-21  6:40                         ` Markus Hoenicka
2000-12-21  8:48                           ` David M. Karr
2000-12-21 10:46                             ` Larry Hall (RFK Partners, Inc)
2000-12-21 16:10                           ` Jari Aalto+mail.emacs
2000-12-21 16:22                             ` Corinna Vinschen
2000-12-21 16:32                               ` Christopher Faylor
2000-12-21 16:31                             ` Christopher Faylor
2000-12-22  6:29                             ` Markus Hoenicka
2000-12-23  7:03                               ` Jari Aalto+mail.linux
  -- strict thread matches above, loose matches on Subject: below --
2000-12-20 14:48 Earnie Boyd
2000-12-20 14:59 ` David M. Karr
     [not found] <Markus>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uyu27ybtv7.fsf@tcsi.com \
    --to=dkarr@tcsi.com \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).