Cygwin StartXwin cursor

2012-02-16 Thread Dion Chen
Hi, all:   I use 'C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe' to start the X Server without problem on the Windows Vista Business OS.  When the X window starts, there are two cursors on the X window, the “X” in the center of the screen and an arrow cursor on the X

Re: XWin.exe: _XSERVTransSocketUNIXAccept: accept() failed

2012-02-16 Thread cygwin at sipxx.com
Just a brief comment: I have observed the same problem after an update within the last week or so, but the previously running version was several months old, so I don't know which release caused this originally. In my case, the X server simply dies after perhaps a minute. I was able to start

Re: Cygwin StartXwin cursor

2012-02-16 Thread Yaakov (Cygwin/X)
http://cygwin.com/acronyms/#PCYMTWLL !! On Thu, 2012-02-16 at 15:01 -0800, Dion Chen wrote: I use 'C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe' to start the X Server without problem on the Windows Vista Business OS. When the X window starts, What X window? If you

src/winsup/cygwin ChangeLog autoload.cc fhandl ...

2012-02-16 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2012-02-16 11:02:06 Modified files: winsup/cygwin : ChangeLog autoload.cc fhandler_disk_file.cc mount.cc mount.h path.h Log message: * autoload.cc (NetUseGetInfo):

src/winsup/cygwin/release 1.7.11

2012-02-16 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2012-02-16 11:12:01 Modified files: winsup/cygwin/release: 1.7.11 Log message: Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/release/1.7.11.diff?cvsroot=srcr1=1.1r2=1.2

Re: base-files 4.0-9: LANG is set to the system default, why not the user selection?

2012-02-16 Thread Peter Rosin
Peter Rosin skrev 2012-02-16 06:52: David Sastre Medina skrev 2012-02-15 23:14: The files under /etc/profile.d are sourced by /etc/profile, which sets system wide settings. For user-defined values, the place to override a system-wide setting depends on the shell you're using. E.g., for bash,

Re: File operations really slow in emacs

2012-02-16 Thread Corinna Vinschen
On Feb 15 10:24, Corinna Vinschen wrote: On Feb 14 14:50, Ryan Johnson wrote: Heisenburg? Impossible to know both what SMB share a mount points to and whether it's currently connected? Almost. You have to access the share to find out if it is really connected because the information

Re: base-files 4.0-9: LANG is set to the system default, why not the user selection?

2012-02-16 Thread Mike Kaganski
16.02.2012 21:11, Peter Rosin пишет: Peter Rosin skrev 2012-02-16 06:52: David Sastre Medina skrev 2012-02-15 23:14: The files under /etc/profile.d are sourced by /etc/profile, which sets system wide settings. For user-defined values, the place to override a system-wide setting depends on the

Can't edit crontab

2012-02-16 Thread Emlio
Hi all I'm using cygwin in order to use cron under an XP machine. When I run the command $ crontab -e I get a vi (vim?) editor, but I'm not able to use it propertly. After pressing insert the keyboard doesn't work properly. For example, if I press the arrows I get characters such as A, B, C...

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 12:40 PM, Emlio wrote: Hi all I'm using cygwin in order to use cron under an XP machine. When I run the command $ crontab -e I get a vi (vim?) editor, but I'm not able to use it propertly. After pressing insert the keyboard doesn't work properly. For example, if I press the

RE: Can't edit crontab

2012-02-16 Thread Adam Dinwoodie
On 16 February 2012 at 11:40, Emlio wrote: I've tried to set the env variable EDITOR as nano, in order to use this editor instead, but the trick doesn't seem to work in cygwin. This works fine for me. Are you sure you have nano installed? What's the result of running `which nano`? -- Adam

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 01:14 PM, Adam Dinwoodie wrote: On 16 February 2012 at 11:40, Emlio wrote: I've tried to set the env variable EDITOR as nano, in order to use this editor instead, but the trick doesn't seem to work in cygwin. This works fine for me. Are you sure you have nano installed? What's

Re: base-files 4.0-9: LANG is set to the system default, why not the user selection?

2012-02-16 Thread Peter Rosin
Mike Kaganski skrev 2012-02-16 12:14: 16.02.2012 21:11, Peter Rosin пишет: Peter Rosin skrev 2012-02-16 06:52: David Sastre Medina skrev 2012-02-15 23:14: The files under /etc/profile.d are sourced by /etc/profile, which sets system wide settings. For user-defined values, the place to

Re: File operations really slow in emacs

2012-02-16 Thread Ryan Johnson
Hi Corinna, On 16/02/2012 6:09 AM, Corinna Vinschen wrote: On Feb 15 10:24, Corinna Vinschen wrote: On Feb 14 14:50, Ryan Johnson wrote: Heisenburg? Impossible to know both what SMB share a mount points to and whether it's currently connected? Almost. You have to access the share to find

Re: base-files 4.0-9: LANG is set to the system default, why not the user selection?

2012-02-16 Thread Mike Kaganski
17.02.2012 0:03, Peter Rosin пишет: Mike Kaganski skrev 2012-02-16 12:14: 16.02.2012 21:11, Peter Rosin пишет: Peter Rosin skrev 2012-02-16 06:52: David Sastre Medina skrev 2012-02-15 23:14: The files under /etc/profile.d are sourced by /etc/profile, which sets system wide settings. For

Re: Can't edit crontab

2012-02-16 Thread Earnie Boyd
On Thu, Feb 16, 2012 at 7:24 AM, Emlio wrote: The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type EDITOR nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. set | grep -i vi Does the output of the above command give a clue? --

Re: File operations really slow in emacs

2012-02-16 Thread Corinna Vinschen
On Feb 16 08:17, Ryan Johnson wrote: On 16/02/2012 6:09 AM, Corinna Vinschen wrote: I just applied a patch which calls NetUseGetInfo on SMB drives in the cygdrive::readdir call. As I mentioned above, if the function returns OK, we fetch the inode number. If the function returns

Re: Can't edit crontab

2012-02-16 Thread Andrey Repin
Greetings, Emlio! The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type EDITOR nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. $ EDITOR=nano crontab -e ? -- WBR, Andrey Repin (anrdae...@freemail.ru) 16.02.2012, 17:54 Sorry for

Re: STC for libapr1 failure

2012-02-16 Thread Corinna Vinschen
On Feb 15 14:14, David Rothenberger wrote: On 2/15/2012 1:20 PM, Corinna Vinschen wrote: On Feb 15 13:15, David Rothenberger wrote: On 2/15/2012 12:45 PM, Corinna Vinschen wrote: On Feb 15 11:39, David Rothenberger wrote: But... now one of the flock tests is failing. It takes a while to

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 02:58 PM, Andrey Repin wrote: Greetings, Emlio! The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type EDITOR nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. $ EDITOR=nano crontab -e ? -- WBR, Andrey Repin

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 02:41 PM, Earnie Boyd wrote: On Thu, Feb 16, 2012 at 7:24 AM, Emlio wrote: The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type EDITOR nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. set | grep -i vi Does the output of

Re: File permissions problems with cp in Windows 7

2012-02-16 Thread Larry Hall (Cygwin)
On 2/16/2012 5:50 AM, Tom Quarendon wrote: I am a member of the local administrators. It actually sounds like noacl is what we would want here. We are just using Cygwin shell as a basis for our build environment for ease of portability, but we're using Visual Studio etc, not building Cygwin

Re: base-files 4.0-9: LANG is set to the system default, why not the user selection?

2012-02-16 Thread Peter Rosin
Mike Kaganski skrev 2012-02-16 14:37: Then you seem to just mock at the maintainer. It's not too polite. Yes, it would be desirable if this effect (and the proposed steps to fix it for those who already use this package) would be noted in the release advertisement. Yes, sometimes even a

Re: 1.7.10 cygrunsrv.exe fails with fork: 11, Resource temporarily unavailable

2012-02-16 Thread Carl Soderstrom
I want to make sure my solution ends up in the archives for the benefit of other people. From: Corinna Vinschen snip On Feb 9 15:39, Carl Soderstrom wrote: Changing the stack size using regtool (regtool.exe -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 2048) has not fixed the problem.

Re: Can't edit crontab

2012-02-16 Thread Gary Johnson
On 2012-02-16, Emlio wrote: On 02/16/2012 02:58 PM, Andrey Repin wrote: Greetings, Emlio! The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type EDITOR nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. You may need to export EDITOR as

Re: Can't edit crontab

2012-02-16 Thread Gary Johnson
On 2012-02-16, Emlio wrote: Hi all I'm using cygwin in order to use cron under an XP machine. When I run the command $ crontab -e I get a vi (vim?) editor, but I'm not able to use it propertly. After pressing insert the keyboard doesn't work properly. For example, if I press the

Re: STC for libapr1 failure

2012-02-16 Thread David Rothenberger
On 2/16/2012 6:09 AM, Corinna Vinschen wrote: On Feb 15 14:14, David Rothenberger wrote: On 2/15/2012 1:20 PM, Corinna Vinschen wrote: On Feb 15 13:15, David Rothenberger wrote: On 2/15/2012 12:45 PM, Corinna Vinschen wrote: On Feb 15 11:39, David Rothenberger wrote: But... now one of the

Re: STC for libapr1 failure

2012-02-16 Thread Corinna Vinschen
On Feb 16 07:56, David Rothenberger wrote: On 2/16/2012 6:09 AM, Corinna Vinschen wrote: I read the Linux man page again (http://linux.die.net/man/2/flock) and I just hacked the following testcase, based on your flock STC. That sounds pretty close to what the APR test case is doing, as far

base-files problem

2012-02-16 Thread René Berber
Hi, The changes in base-files deleted everything from /etc/skel, I re-installed 4.0-9 and still nothing. I can see in the package list that there should be the usual files there, did some post-install script deleted those files? Anyone seen the same problem? (i.e. your bash prompt changed, no

Re: Snapshot 20120214: fork: can't reserve memory for stack

2012-02-16 Thread Jehan Bing
to revert that, so that pthread_create always uses a self-created stack again. Oh well. So much for good ideas... Just reverted in CVS. Will show up in the next snapshot. Snapshot 20120216 works. Thanks, Jehan -- Problem reports: http://cygwin.com/problems.html FAQ

Re: base-files 4.0-9: LANG is set to the system default, why not the user selection?

2012-02-16 Thread David Sastre Medina
On Thu, Feb 16, 2012 at 03:24:47PM +0100, Peter Rosin wrote: Mike Kaganski skrev 2012-02-16 14:37: Then you seem to just mock at the maintainer. It's not too polite. Yes, it would be desirable if this effect (and the proposed steps to fix it for those who already use this package) would

Re: base-files problem

2012-02-16 Thread David Sastre Medina
On Thu, Feb 16, 2012 at 12:22:25PM -0600, René Berber wrote: Hi, The changes in base-files deleted everything from /etc/skel, I re-installed 4.0-9 and still nothing. I can see in the package list that there should be the usual files there, did some post-install script deleted those files?

Re: base-files 4.0-9: LANG is set to the system default, why not the user selection?

2012-02-16 Thread Peter Rosin
David Sastre Medina skrev 2012-02-16 21:05: No need. It looks like I haven't properly understood your complain. Also it looks like I haven't explain properly what was the thing with setting 'locale' both system-wide and user-defined. For the first, I apologize. WRT the second, here's a new

Re: base-files problem

2012-02-16 Thread René Berber
On 2/16/2012 2:41 PM, David Sastre Medina wrote: I have just updated a box from base-files-4.0-6 to 4.0-9 and everything worked as expected. I tried both with locally modified and unmodified skel files. $ grep base-files /etc/defaults/etc/skel/.* /etc/defaults/etc/skel/.bash_profile:#

Re: base-files problem

2012-02-16 Thread Angelo Graziosi
After the upgrade to 4.0-9, I have $ ls -lrt /etc/skel/ totale 0 $ ls -lrt /etc/ [...] -rw-r--r-- 1 root root 6994 16 feb 20.07 profile -rw-r--r-- 1 root root 1116 16 feb 20.07 bash.bashrc -rw-r--r-- 1 root root 856 16 feb 20.07 bash.bash_logout drwxr-xr-x 1 root Nessuno

Re: Can't edit crontab

2012-02-16 Thread Andrey Repin
Greetings, Emlio! The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type EDITOR nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. $ EDITOR=nano crontab -e ? Yep, this worked! I had tried similar stuff with pipelines (yes, it's

Re: base-files problem

2012-02-16 Thread Angelo Graziosi
Il 16/02/2012 22.24, Angelo Graziosi ha scritto: After the upgrade to 4.0-9, I have $ ls -lrt /etc/skel/ totale 0 $ ls -lrt /etc/ [...] -rw-r--r-- 1 root root 6994 16 feb 20.07 profile -rw-r--r-- 1 root root 1116 16 feb 20.07 bash.bashrc -rw-r--r-- 1 root root 856 16 feb 20.07 bash.bash_logout

Re: base-files problem

2012-02-16 Thread Ken Brown
On 2/16/2012 4:24 PM, Angelo Graziosi wrote: As normal user (not root) $ ls -lrt /etc/defaults/etc/skel/ ls: impossibile aprire la directory /etc/defaults/etc/skel/: Permission denied As root $ ls -lrt /etc/defaults/etc/skel/ totale 0 and $ ls -lrt /etc/defaults/etc/ [...] drwxrws---+ 1

Re: base-files problem

2012-02-16 Thread David Sastre Medina
On Thu, Feb 16, 2012 at 03:02:16PM -0600, René Berber wrote: On 2/16/2012 2:41 PM, David Sastre Medina wrote: and the files where not deleted, just changed in a way I no longer had a PS1. PS1 is set and exported in /etc/profile I also lost PROMPT_COMMAND which also showed the current

Re: base-files 4.0-9: LANG is set to the system default, why not the user selection?

2012-02-16 Thread David Sastre Medina
On Thu, Feb 16, 2012 at 09:46:46PM +0100, Peter Rosin wrote: David Sastre Medina skrev 2012-02-16 21:05: As I understand it, base-files contains the file /etc/defaults/etc/skel/.bash_profile. At installation, /etc/postinstall/base-files.sh copies that to /etc/skel/.bash_profile, if it that

Re: base-files problem

2012-02-16 Thread David Sastre Medina
On Thu, Feb 16, 2012 at 05:07:40PM -0500, Ken Brown wrote: On 2/16/2012 4:24 PM, Angelo Graziosi wrote: As normal user (not root) $ ls -lrt /etc/defaults/etc/skel/ ls: impossibile aprire la directory /etc/defaults/etc/skel/: Permission denied As root $ ls -lrt /etc/defaults/etc/skel/

Re: base-files problem

2012-02-16 Thread René Berber
On 2/16/2012 4:14 PM, David Sastre Medina wrote: PS1 is set and exported in /etc/profile Which was also replaced. I also lost PROMPT_COMMAND which also showed the current directory. The default PROMPT_COMMAND is set (commented) in skeletal .bash_profile to 'history -a', which has nothing

Re: TTY and sshpass

2012-02-16 Thread jalbr74
Thank you so much for this temporary workaround. I tried setting up cygwin and sshpass on a coworker's machine, and we spent half the day getting frustrated with it. I finally updated it on my machine, and realized something must have broke between when I installed mine, and when we installed

Re: porting problem triggered by gcc include search order

2012-02-16 Thread KIMURA Masaru
Hi, 2012/2/16 marco atzeri marco.atz...@gmail.com: rename local signal.h is effective. I guess that -I. is influencing the inclusion order with unexpected results. thanks. and I checked gcc include order on my linux env. renaming works fine but it's awkward to me. after more investigation,

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 10:26 PM, Andrey Repin wrote: Greetings, Emlio! The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type EDITOR nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. $ EDITOR=nano crontab -e ? Yep, this worked! I had tried