public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* new install of cygwin with pdksh doesn't work
@ 2000-12-20 14:41 David M. Karr
  2000-12-20 15:36 ` Christopher Faylor
  0 siblings, 1 reply; 28+ messages in thread
From: David M. Karr @ 2000-12-20 14:41 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 28+ messages in thread
[parent not found: <Earnie>]
* Re: new install of cygwin with pdksh doesn't work
@ 2000-12-20 14:48 Earnie Boyd
  2000-12-20 14:59 ` David M. Karr
  0 siblings, 1 reply; 28+ messages in thread
From: Earnie Boyd @ 2000-12-20 14:48 UTC (permalink / raw)
  To: David M. Karr, cygwin

--- "David M. Karr" <dkarr@tcsi.com> wrote:
> 
> I'm sure this has something to do with line endings, but I don't
> understand what has to be done.
> 

Then use setup to install Cygwin on the other machine.  It does all that needs
to be done for those who don't know what to do.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         < http://earniesystems.safeshopper.com >         ---
--- Cygwin: POSIX on Windows < http://gw32.freeyellow.com/ > ---
---   Minimalist GNU for Windows < http://www.mingw.org/ >   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 28+ messages in thread
[parent not found: <Markus>]

end of thread, other threads:[~2001-01-03 14:03 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 14:41 new install of cygwin with pdksh doesn't work David M. Karr
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>

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).