public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Error 0 in Bash 2.01 despite my attempts
@ 1998-01-14  0:15 Kang Su Gatlin
  1998-01-18 16:07 ` Michael Hirmke
  0 siblings, 1 reply; 4+ messages in thread
From: Kang Su Gatlin @ 1998-01-14  0:15 UTC (permalink / raw)
  To: gnu-win32

So I have just installed bash with the latest coolview stuff from
Sergey's site.  I got the error 0 probelm with my .bashrc script so I
went back and did the following:
I remounted '/' as a binary mount (mount -b d:/ /).
I tried creating new .bashrc while in bash via: 
bash2.01% echo "HOME=/" > .bashrc

Then I 'source .bashrc', but I still got error 0.
Then I make an empty .bashrc file while in BASH, but I still get the
same error.

Am I doing something wrong?  Am I still introducing DOS linebreaks
and not realizing it.

I know this question has been asked several times, but it seems I've
done all of the suggested things to no avail thus far.

thanks,

KSG
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error 0 in Bash 2.01 despite my attempts
  1998-01-14  0:15 Error 0 in Bash 2.01 despite my attempts Kang Su Gatlin
@ 1998-01-18 16:07 ` Michael Hirmke
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Hirmke @ 1998-01-18 16:07 UTC (permalink / raw)
  To: gnu-win32

Hi Kang,

[...]
>Am I doing something wrong?  Am I still introducing DOS linebreaks
>and not realizing it.

This indeed seems to be the problem.
Try to use vim for editing your files. If it says [textmode], when
you edit a file, you clearly have DOS style line breaks in you file.

>
>I know this question has been asked several times, but it seems I've
>done all of the suggested things to no avail thus far.
>
>thanks,
>
>KSG

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error 0 in Bash 2.01 despite my attempts
@ 1998-01-17  0:28 ads
  0 siblings, 0 replies; 4+ messages in thread
From: ads @ 1998-01-17  0:28 UTC (permalink / raw)
  To: gnu-win32, Kang Su Gatlin

The problem is that the .bashrc script must be unix style.

Use "vim -b" to create it.

Here are my start up scripts:

----------------GNUSTART.BAT-------------------------------
@echo off
echo Starting gnuwin32
TITLE gnuwin32

IF NOT "%GCC_EXEC_PREFIX%" == "" GOTO DONE

SET GCC_EXEC_PREFIX=C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
SET PATH=C:\gnuwin32\b18\H-i386-cygwin32\bin;%PATH%
SET HOME=/gnuwin32
SET LOGNAME=%USERNAME%

SET VIM=C:\vim4-6\doc

mkdir \bin \d >nul 2>nul
mount C:\gnuwin32\b18\H-i386-cygwin32\bin /bin
del .bash_history .sh_history >nul 2>nul
:DONE
bash -login


----------------.bash_login created with vim -b-------------------
alias echo='builtin echo -e'
alias cls='cmd /c cls'
alias clear='cls'
alias more='more.com /e'
alias df='cmd /c dir /w | tail -1'
alias vi='/vim-4.6/vim -b'
alias ls='/bin/ls --color=auto'
alias vdir='ls -l'
#alias dir='ls -C'
alias dir='cmd /c dir'
PS1='ADSLAP:$PWD $ '
MAN_PATH=/gnuwin32/man
export PS1 MAN_PATH
echo "bash_login"
___________________ Reply Separator_____________________________
Subject: Error 0 in Bash 2.01 despite my attempts
Author:  Kang Su Gatlin <kgatlin@cs.ucsd.edu> at Internet
Date:    15/01/98 11:35 PM


So I have just installed bash with the latest coolview stuff from 
Sergey's site.  I got the error 0 probelm with my .bashrc script so I 
went back and did the following:
I remounted '/' as a binary mount (mount -b d:/ /). 
I tried creating new .bashrc while in bash via: 
bash2.01% echo "HOME=/" > .bashrc

Then I 'source .bashrc', but I still got error 0.
Then I make an empty .bashrc file while in BASH, but I still get the 
same error.

Am I doing something wrong?  Am I still introducing DOS linebreaks 
and not realizing it.

I know this question has been asked several times, but it seems I've 
done all of the suggested things to no avail thus far.

thanks,

KSG
-
For help on using this list (especially unsubscribing), send a message to 
"gnu-win32-request@cygnus.com" with one line of text: "help".

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error 0 in Bash 2.01 despite my attempts
@ 1998-01-15  7:26 Earnie Boyd
  0 siblings, 0 replies; 4+ messages in thread
From: Earnie Boyd @ 1998-01-15  7:26 UTC (permalink / raw)
  To: kgatlin; +Cc: gnu-win32

What does your mount table look like?

To find out execute mount with no parameters.  This will give you a 
listing of all the mounts in your mount table.

>From: Kang Su Gatlin <kgatlin@cs.ucsd.edu>
>Subject: Error 0 in Bash 2.01 despite my attempts
>To: gnu-win32@cygnus.com
>Date: Wed, 14 Jan 1998 00:15:01 -0800 (PST)
>
>So I have just installed bash with the latest coolview stuff from
>Sergey's site.  I got the error 0 probelm with my .bashrc script so I
>went back and did the following:
>I remounted '/' as a binary mount (mount -b d:/ /).
>I tried creating new .bashrc while in bash via: 
>bash2.01% echo "HOME=/" > .bashrc
>
>Then I 'source .bashrc', but I still got error 0.
>Then I make an empty .bashrc file while in BASH, but I still get the
>same error.
>
>Am I doing something wrong?  Am I still introducing DOS linebreaks
>and not realizing it.
>
>I know this question has been asked several times, but it seems I've
>done all of the suggested things to no avail thus far.
>
>thanks,
>
>KSG
>-
>For help on using this list (especially unsubscribing), send a message 
to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>


-        \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------

Check out these great gnu-win32 related sites:
ftp://ftp.cygnus.com/pub/gnu-win32/latest/           (ftp site)
http://www.cygnus.com/pubs/gnupro/                   (Comercial Page)
http://www.cygnus.com/misc/gnu-win32/                (Project Page)
http://www.cygnus.com/ml/gnu-win32                   (Mail Archives)
http://www.itribe.net/virtunix/winhelp-man-pages/    (HTML Man Pages)
http://www.lexa.ru/sos                               (Sergey Okhapkin)
ftp://www.lexa.ru/pub/domestic/sos/                (Sergey's ftp site)
http://www.fu.is.saga-u.ac.jp/~colin/gcc.html        (Colin Peters)
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ (Mumit Khan)
http://gnu-win32.paranoia.ru                   (Chuck Bogorad's ports)
ftp://ftp.deninc.com/pub (Den Internet Services - US mirror and ports)


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-01-18 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-14  0:15 Error 0 in Bash 2.01 despite my attempts Kang Su Gatlin
1998-01-18 16:07 ` Michael Hirmke
1998-01-15  7:26 Earnie Boyd
1998-01-17  0:28 ads

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