Re: set the PS1 env with SGR cause cusor problem

2009-04-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to tianlijian on 4/17/2009 8:14 PM: > 1. add the "export PS1='[\[\e[1;34m\]\W\[\e[0m\]]\$ '" to /etc/profile > or ~/.bash_profile . >The statement mush be putted in the configuration file, can not > execute the bash command line, otherwis

Re: [ANNOUNCEMENT] [1.7] Updated: bash-completion-1.0-1

2009-04-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Yaakov (Cygwin/X) on 4/17/2009 5:20 PM: > Eric Blake wrote: >> A new release of bash-completion, 1.0-1, is now available for those >> testing cygwin 1.7, leaving 20060301-2 as the current version for cygwin 1.5. > > The previous release o

Re: set the PS1 env with SGR cause cusor problem

2009-04-17 Thread tianlijian
1. add the "export PS1='[\[\e[1;34m\]\W\[\e[0m\]]\$ '" to /etc/profile or ~/.bash_profile . The statement mush be putted in the configuration file, can not execute the bash command line, otherwise the problem will not occur. 2. type the command 'one two three four five six' in the command line.

new user with an installation question

2009-04-17 Thread avk800
hello all, this is my first attempt to get out of the user world. I am trying to install an open source GIS program called GRASS which requires Cygwin and i cannot figure out how to start from the command line as setup.exe -X really bad, i know, im sorry (http://cygwin.com/ml/cygwin-announce/20

Re: [ANNOUNCEMENT] [1.7] Updated: bash-completion-1.0-1

2009-04-17 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric Blake wrote: > A new release of bash-completion, 1.0-1, is now available for those > testing cygwin 1.7, leaving 20060301-2 as the current version for cygwin 1.5. The previous release of bash-completion contained a cygport completion helper whi

Re: gdb: minor packaging bug

2009-04-17 Thread Ken Brown
On 4/17/2009 6:31 PM, Christopher Faylor wrote: On Fri, Apr 17, 2009 at 06:29:37PM -0400, Ken Brown wrote: I installed gdb and noticed that the info directory didn't get updated. Probably _update-info-dir needs to be added to its "requires". No, that's not how _update-info-dir works. The _up

Re: GREP: Memory Exhausted

2009-04-17 Thread Yitzchak Scott-Thoennes
On Wed, April 15, 2009 12:46 pm, Dave Korn wrote: > Letters in an error message don't just randomly change between upper and > lower case for no reason. Either you two are using different versions of > grep, or Shailesh did not accurately report the *actual* error message > that he was *actually*

Re: gdb: minor packaging bug

2009-04-17 Thread Christopher Faylor
On Fri, Apr 17, 2009 at 06:29:37PM -0400, Ken Brown wrote: > I installed gdb and noticed that the info directory didn't get updated. > Probably _update-info-dir needs to be added to its "requires". No, that's not how _update-info-dir works. The _update-info-dir dependency is added automatically

gdb: minor packaging bug

2009-04-17 Thread Ken Brown
I installed gdb and noticed that the info directory didn't get updated. Probably _update-info-dir needs to be added to its "requires". -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.

Re: UTF-8 problem/bug with Cygwin 1.7

2009-04-17 Thread Corinna Vinschen
On Apr 16 20:37, Gunnar Degnbol wrote: > > David Korn skrev: >>> I have a strange problem with UTF-8 characters when running bash from >>> the Windows command line. I hoped it would go away with the new >>> Cygwin 1.7.0-46, but it is still there. Now I have simplified it down >>> to setting LAN

Re: 1.7: Problem with Vista64b ACLs and sockets

2009-04-17 Thread Corinna Vinschen
On Apr 17 10:46, Charles Wilson wrote: > Corinna Vinschen wrote: > > > Yes, sure, but in that case, why not use the native ping? AFAIK the > > ICMP API doesn't provide all the data you need to emulate the usual > > UNIX ping output anyway. > > AFAIK, the native (e.g. the shipped-with-windows) pi

Re: 1.7: Problem with Vista64b ACLs and sockets

2009-04-17 Thread Charles Wilson
Corinna Vinschen wrote: > Yes, sure, but in that case, why not use the native ping? AFAIK the > ICMP API doesn't provide all the data you need to emulate the usual > UNIX ping output anyway. AFAIK, the native (e.g. the shipped-with-windows) ping doesn't use the ICMP dll either. That's why I inst

Re: Accessing fifo pipes from windows programs

2009-04-17 Thread Christopher Faylor
On Fri, Apr 17, 2009 at 01:16:03PM +0200, Philipp wrote: >I have some problems accessing a fifo file from my Java program. Fifos >work correctly with cygwin tools, example: Right. fifos are Cygwin inventions. >How can I access the named pipe correctly from my Java program? >Correctly means, tha

Re: [1.7] flock change breaks autotools 'make -j2'

2009-04-17 Thread Corinna Vinschen
On Apr 17 06:58, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Corinna Vinschen on 4/17/2009 4:01 AM: > > Default question: Do you have a simple testcase to reproduce this > > problem? I'm going to play with the lock.pl perl script from > > http://lists.gnu

Re: [1.7] flock change breaks autotools 'make -j2'

2009-04-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 4/17/2009 4:01 AM: > Default question: Do you have a simple testcase to reproduce this > problem? I'm going to play with the lock.pl perl script from > http://lists.gnu.org/archive/html/bug-automake/2009-04/msg00053.h

Re: [1.7] flock change breaks autotools 'make -j2'

2009-04-17 Thread Corinna Vinschen
On Apr 17 12:01, Corinna Vinschen wrote: > On Apr 16 20:39, Eric Blake wrote: > > This change in cygwin 1.7: > > > > - File locking is now advisory, not mandatory anymore. The fcntl(2) and > > the new lockf(2) APIs create and maintain locks with POSIX semantics, > > the flock(2) API creates a

Re: 1.7: Problem with Vista64b ACLs and sockets

2009-04-17 Thread Dave Korn
Lee D. Rothstein wrote: > * I also continue to have problems installing 'gcc' and 'tetex', > both keep reinstalling. Could this be related to ACLs? No, this is a known issue (at least for GCC) and harmless. cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-

Accessing fifo pipes from windows programs

2009-04-17 Thread Philipp
Hello, I have some problems accessing a fifo file from my Java program. Fifos work correctly with cygwin tools, example: $ mkfifo fifo $ echo 'hello' >> fifo This blocks. In another shell, I do: $ cat fifo hello So this works fine. It unblocks the echo and writes the "hello". Now trying th

RE: [openssh] unnatended instalation + forcing service account

2009-04-17 Thread Phil Betts
Corinna Vinschen wrote: > On Apr 16 18:14, Julio Costa wrote: > > That's your call. For me it's fine either way. > > Thanks, I'll release a new openssh package shorty. ^^ shortly Fixed that for you (assu

Re: 1.7: Problem with Vista64b ACLs and sockets

2009-04-17 Thread Corinna Vinschen
On Apr 17 05:54, Charles Wilson wrote: > Corinna Vinschen wrote: > > > Cygwin's ping uses raw sockets. Using raw sockets is only allowed > > to administrative users since Windows XP or so. So Cygwin's ping > > is not very useful for a long time. When you're running under UAC, > > you don't have

Re: [1.7] flock change breaks autotools 'make -j2'

2009-04-17 Thread Corinna Vinschen
On Apr 16 20:39, Eric Blake wrote: > This change in cygwin 1.7: > > - File locking is now advisory, not mandatory anymore. The fcntl(2) and > the new lockf(2) APIs create and maintain locks with POSIX semantics, > the flock(2) API creates and maintains locks with BSD semantics. > POSIX and

Re: 1.7: Problem with Vista64b ACLs and sockets

2009-04-17 Thread Charles Wilson
Corinna Vinschen wrote: > Cygwin's ping uses raw sockets. Using raw sockets is only allowed > to administrative users since Windows XP or so. So Cygwin's ping > is not very useful for a long time. When you're running under UAC, > you don't have admin privs, unless you start the shell with "run

Re: 1.7: Problem with Vista64b ACLs and sockets

2009-04-17 Thread Corinna Vinschen
On Apr 16 14:17, Lee D. Rothstein wrote: > I do a 'ping' in my profile of an Internet server to see if the > network is up when I bring up the first terminal session/login. > > I'm getting the following error: > >ping: socket: Operation not permitted Cygwin's ping uses raw sockets. Using raw

Re: [1.7] cygpath broken?

2009-04-17 Thread Corinna Vinschen
On Apr 16 23:57, Greg Couch wrote: > Thank you Corinna for looking into this. > > So I tried rebuilding cygwin1.dll in 1.7 with gcc-4 from the > instructions in http://cygwin.com/cvs.html and > http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin, > and while the make didn't

Re: [openssh] unnatended instalation + forcing service account

2009-04-17 Thread Corinna Vinschen
On Apr 16 18:14, Julio Costa wrote: > On Thu, Apr 16, 2009 at 17:52, Corinna Vinschen wrote: > > > >          [ "${opt_force}" = "yes" ] && opt_f=-f > >          [ -n "${user_account}" ] && opt_u="-u ""${user_account}""" > >          csih_select_privileged_username ${opt_f} ${opt_u} > > > > Shouldn