Mail Archives: cygwin/1999/07/19/18:25:49
This problem is related to the text vs binary issue. The user has the files
mounted in binary mode. The .bashrc has \r\n (or text mode) line endings. The
\r is being input into the buffer instead of removed causing the problems you
are seeing.
This is the reason I preach leaving the default text mounts and properly
porting the code specifying the processing mode.
Earnie.
--- Kevin Plyler <plylerk AT agcs DOT com> wrote:
> I hope this is a simple one, I could not find anything related in the mail
> archive.
>
> We have several PC here running NT4.0SP4
> with Cygwin32 B20.1
>
> one person's $HOME/.bashrc behaves rather strangely
> (blank lines are given :command not found, aliases get garbled,
> 'type' does not work ...)
>
> Here is the begining of some testing I was doing in his .bashrc:
>
> bash-2.02$ cat .bashrc
> #alias ll='ls -la'
> echo 1
> alias r='c -e -'
> echo 2
>
> echo 3
> type ls
> type alias
> bash-2.02$ . .bashrc
> 1
> 2
> : command not found
> 3
> : not found ls
> : not found alias
> bash-2.02$ alias
> 'lias r='c -e -
>
> I have set:
> CYGWIN='binmode tty'
>
> any suggestions?
>
> Thanks
>
> --
> "You have just won an all expenses paid vacation to Hawaii for 2 weeks!"
> I got that call! Except it's a place infinitely better than Hawaii, and
> infinitely longer than two weeks. -- II Corinthians 5:1
>
> Kevin Plyler, AG Communication Systems Phoenix AZ. 85027
> Phone: 1 (623) 582-7670; FAX: 581-4884 / E-mail: plylerk AT agcs DOT com
>
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -