grub install with cygwin

2011-06-29 Thread J.V.
I have two disks in my box that are non linux. On one disk is found Windows 7 and am having issues installing grub that comes with cygwin. How can I contact the person that compiled / packaged grub for cygwin for a fix for this? It does not create the default /etc/defaults/grub file and ther

Re: Vim segv'ing

2011-06-29 Thread Jeremy Hetzler
In addition, the segfault only occurs if /etc/hosts is specified on the command line. This works: vi :e /etc/hosts :w :q -- Jeremy Hetzler On Wed, Jun 29, 2011 at 6:27 PM, Jeremy Hetzler wrote: > I have noticed this problem as well. > > - "vi /etc/hosts": segfaults > - "vi /c/Windows/system32/d

Re: Vim segv'ing

2011-06-29 Thread Jeremy Hetzler
I have noticed this problem as well. - "vi /etc/hosts": segfaults - "vi /c/Windows/system32/drivers/etc/hosts": works - "cd $HOME; ln -s /c/Windows/system32/drivers/etc/hosts foo; vi foo": works I get similar behavior with the other symlinks in /etc. CYGWIN_NT-6.1-WOW64 box 1.7.9(0.237/5/3) 2011

bug in pipe() and pipe2()

2011-06-29 Thread Eric Blake
I was testing the behavior when pipe() fails, in order to propose an update to POSIX wording: http://austingroupbugs.net/view.php?id=467 However, cygwin's pipe implementation dumps core when it runs out of fds, so I could not definitively state whether cygwin properly leaves the fd array unchanged

Re: .bashrc and.bash_profile missing

2011-06-29 Thread Weiqi Gao
On Wed, Jun 29, 2011 at 9:42 AM, Ballaw wrote: > > I have used cygwin for Netbeans for about 6 months and today when I open the > shell I get: > bash: $'\r': command not found In the past, when I get the error "'\r': command not found" from bash in Cygwin, the cause has always been that the shell

.bashrc and.bash_profile missing

2011-06-29 Thread Ballaw
I have used cygwin for Netbeans for about 6 months and today when I open the shell I get: bash: $'\r': command not found after which the usual promt was missing and -> appeared instead. I opened up cygwin.bat in notpad++ and changed the path to home/user/cygdrive and it said it couldn't find the f