Re: Problem with menus in nedit-5.5-5 - cygcheck.out (1/1)

2013-01-03 Thread Cygwin/X
On Sat, 22 Dec 2012 11:43:43 + David Monksfield wrote:
 Just installed this, and the NEdit background (right-click) menu no
 longer appears.

I'll have to look into that.

 Also, the menu-bar menus are behaving oddly: clicking on the bar
 displays the corresponding menu as normal, but if I then click on
 another menu without selecting anything from the first menu (e.g.
 click on 'File' and then 'Edit') the second menu does not appear.

WFM.


Yaakov
Cygwin/X

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



ls | xargs

2013-01-03 Thread Denis Excoffier

Hello,

Starting with the 2013 snapshots, the following no longer work:

% /usr/bin/ls | /usr/bin/xargs /usr/bin/echo

Instead of giving basically the same output as plain ls, the
command does not finish and xargs remains in defunct state.

The snapshot 20121231 was ok.

Regards,

Denis Excoffier.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Conflated ping issues

2013-01-03 Thread Aaron Schneider

On 03/01/2013 18:07, David McAllister wrote:

Hi. I have three machines that all run Win 7 x64 and all have updated
Cygwin installs. I thought I installed them all the same, but I'm
getting two differences, both centered around the ping command.

Machine 1 doesn't have /usr/bin/ping.exe, so it uses Windows PING.EXE:

which ping

/cygdrive/c/Windows/system32/ping
I type ping and it runs PING.EXE and succeeds.
Machine 2 had /usr/bin/ping.exe, but when I run it I get
ping: socket: operation not permitted.
So I found a thread about that not working unless you have admin
priviliges, so I deleted /usr/bin/ping.exe in favor of Windows
PING.EXE and rehashed.
However, on this machine it doesn't map ping to PING, like it does
on the other machine. If I type PING it successfully runs Windows
PING.
Machine 3 has /usr/bin/ping.exe and when I type ping it runs it
successfully. I didn't do anything special when launching mintty or
tcsh to put it in administrator mode.

I am an administrator on all three machines.
a) What makes one machine case insensitive to DOS commands and the
other sensitive?
b) What makes one machine succeed with Cygwin ping and the other not,
when I'm an admin on both?


Do you have the package ping on any of the machines?
http://cygwin.com/cgi-bin2/package-cat.cgi?file=ping%2Fping-1.0-1grep=ping.exe

If you see your $PATH, you will see that /usr/bin and /usr/local/bin go 
first, so if you have ping or ping.exe in there that will be executed. 
If don't, it will go down dir by dir until found (if).


So if you install ping from cygwin package you are giving preference to it.

Since in windows executables can be called 'yourbin' or 'yourbin.exe' 
both work, and the same for upper/lowercase. If you run MOUNT or Mount 
it will run the cygwin version as well.


About the socket problem, no idea.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



cygwin make fails when calling mkdir in Windows 7

2013-01-03 Thread cpow
I'm using make package version 3.82.90-1.  cygwin1.dll version is 1.7.13.

Occasionally make will fail with the error:

make[1]: *** No rule to make target `path`, needed by `rule`.  Stop.

path and rule are not terribly relevant but path is under
/cygdrive/c/...

I started having this problem on upgrading to Windows 7.  I've tried the
solutions I've found elsewhere such as running Cygwin as administrator
and making sure I have local administrator rights on my laptop--which I do. 
However, I still have this problem.

Executing:

mkdir -pv path

after the make failure and re-issuing the make command causes the build to
progress past the point of this fault, as expected.  Soon, though, it
stumbles when trying to create another path.

Interestingly make doesn't seem to fail when creating the first level of a
path hierarchy.  For example, if the makefile were trying to create:

folder1
folder1/subfolder1
folder1/subfolder2

folder1 is created but the errors occur when it hits the rule trying to
create the subfolderN's.

ls -al shows the permissions for folder1 and subfolder1 are identical even
though one was created by make and one was created by me with mkdir:

drwxr-xr-x+ 1 e198614Domain Users  0 Jan  3 15:45 

I'd really like to know if there's a solution to this problem other than
having to manually mkdir the paths that make seems to fail to be able to
make.  It slows down my automated build quite dramatically!



--
View this message in context: 
http://cygwin.1069669.n5.nabble.com/cygwin-make-fails-when-calling-mkdir-in-Windows-7-tp95185.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Backspace in shell doesn't backspace after Cygwin update

2013-01-03 Thread KARR, DAVID
My hard drive on my Win7 laptop crashed last week, and I'm now trying to get 
everything I had reinstalled.  After I reinstalled Cygwin (now at 1.7.17), I'm 
seeing some problems starting up Cygwin tools. I don't see anything 
specifically about this in the FAQ.

I normally run C:\Cygwin\bin\rxvt.exe -display :0 -fn Lucida Console-14 -tn 
rxvt-cygwin-native -e /bin/bash --login from a shortcut for a shell outside of 
Emacs.  When I do this now, it looks ok, but I'm now finding that the Backspace 
key just moves the cursor forward one character, not deleting the previous 
character.

I have another shortcut for C:\Cygwin\bin\run.exe /usr/bin/rxvt.exe -display 
127.0.0.1:0 -tn rxvt-cygwin -e /bin/bash --login.  This behaves the same as 
the previous with respect to Backspace. mintty does the same.

The Emacs shell is fine.

My CYGWIN variable is just set to nodosfilewarning.

Pressing Ctl-v followed by backspace gets ^H.

This is the output of stty:
speed 38400 baud; line = 0;
erase = ^H; swtch = undef;

I compared my ~/.inputrc with /etc/defaults/etc/skel/.inputrc and there were 
only differences in comments.

What other information would be relevant?

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: cygwin make fails when calling mkdir in Windows 7

2013-01-03 Thread Warren Young

On 1/3/2013 14:50, cpow wrote:

cygwin1.dll version is 1.7.13.


Is there a particularly good reason you haven't tried upgrading yet?

Not that I have any specific reason to believe there is a fix in the 
past three versions you have skipped, but it shows a willingness to help 
diagnose it on your part, and ensures those who might help are on the 
same page with you.  You can't expect people to downgrade just to help 
you, if it turns out to be an old bug.


The other standard bit of advice, at the bottom of every post to this 
list, is Problem reports: http://cygwin.com/problems.html;



path and rule are not terribly relevant but path is under
/cygdrive/c/...


What happens if you move the build tree under ~cpow?  Does it always 
succeed, or does the problem remain?



I've found elsewhere such as running Cygwin as administrator
and making sure I have local administrator rights on my laptop--which I do.


This suggests BLODA.  Nothing other than some bit of quasi-malware 
should have the ability to deny Administrator the right to do anything.



Executing:

mkdir -pv path

after the make failure and re-issuing the make command causes the build to
progress past the point of this fault, as expected.


What happens if you just re-start the make operation?  Does it persist 
in failing to get past that point, or does re-starting it sometimes get 
you past the problem?


I'm basing this question on the assumption that the Makefile is 
well-written, such that if the directory creation fails, re-starting the 
make operation will retry the mkdir operation.  That requires that 
someone has set up the necessary dependency rules, though.



Soon, though, it
stumbles when trying to create another path.


Is it always the same paths, or is it random?


I'd really like to know if there's a solution to this problem other than
having to manually mkdir the paths that make seems to fail to be able to
make.  It slows down my automated build quite dramatically!


If this were affecting everyone, you'd be seeing a lot of yelling on 
this list.  (More than normal I mean. :) )  Those of us who maintain 
Cygwin packages would all be affected, for instance.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] New: python-fastimport-0.9.2-1

2013-01-03 Thread Ken Brown

python-fastimport-0.9.2-1 has been added to the Cygwin distribution.

python-fastimport is the Python parser that was originally developed for 
bzr-fastimport but was extracted so that it can be used by other 
projects.  It is currently used by bzr-fastimport and dulwich. 
hg-fastimport and git-remote-hg use a slightly modified version of it.


Ken Brown

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look 
at the List-Unsubscribe:  tag in the email header of this message. 
Send email to the address specified there.  It will be in the format:


  cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

  http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available 
starting at the above URL.




--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] New: bzr-fastimport-0.13.0-1

2013-01-03 Thread Ken Brown

bzr-fastimport-0.13.0-1 has been added to the Cygwin distribution.

Bazaar Fast Import is a plugin providing fast loading of revision 
control data into Bazaar.  It is designed to be used in combination with 
front-end programs that generate a command/data stream for it to 
process.  Front-ends are available for a wide range of foreign VCS tools 
including Subversion, CVS, Git, Mercurial, Darcs, and Perforce.  New 
front-ends are easy to develop in whatever programming language you 
prefer, making Bazaar Fast Import useful for teams needing a custom 
migration solution.


bzr-fastimport includes, among other things, a fast-export command that 
can be used for migrating from Bazaar to a different version-control 
system.  See


  http://doc.bazaar.canonical.com/plugins/en/fastimport-plugin.html

for more information.  And see

http://blog.timmattison.com/archives/2011/06/13/how-to-convert-from-bzr-to-git-on-debianubuntu

for step-by-step instructions for converting a repository from Bazaar to 
Git.


Ken Brown

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look 
at the List-Unsubscribe:  tag in the email header of this message. 
Send email to the address specified there.  It will be in the format:


  cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

  http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available 
starting at the above URL.




--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: adding a folder to my path

2013-01-03 Thread Andrey Repin
Greetings, LMH!

 I think this is a cygwin question, though it is certainly a general 
 linux question as well. I would like to divide up and organize some of 
 the apps and links in my path directories (such as /usr/local/bin) into 
 sub directories. If I add a folder to /usr/local/bin, that folder is not 
 in my path. Can someone give me the instructions for adding a folder 
 such as /usr/local/bin/ruby_viewer/ to my path?

Answers already given aside, you shouldn't do that.


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 04.01.2013, 07:17

Sorry for my terrible english...


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: How to make persistent changes to PATH in cygwin?

2013-01-03 Thread Andrey Repin
Greetings, Aaron Schneider!

 I've tried this:

 export PATH=`echo $PATH`:/newdir/

PATH=$PATH:/newdir
export PATH

 And PATH contains the new dir, but after closing and reopening mintty 
 (with cygserver stopped) changes are lost.

 How to solve that?

Either, change windows environment, from which Cygwin $PATH inherited, or make
adjustments to Cygwin startup scripts.


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 04.01.2013, 07:18

Sorry for my terrible english...


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: How to make persistent changes to PATH in cygwin?

2013-01-03 Thread Wynfield Henman
Why are invoking 'echo' and not just simply
PATH=$PATH:/newdir  ? Which is faster  take less resources..I

On Wed, Jan 2, 2013 at 10:32 AM, Aaron Schneider
notst...@users.sourceforge.net wrote:
 I've tried this:

 export PATH=`echo $PATH`:/newdir/

 And PATH contains the new dir, but after closing and reopening mintty (with
 cygserver stopped) changes are lost.

 How to solve that?

 --
 Problem reports:   http://cygwin.com/problems.html
 FAQ:   http://cygwin.com/faq/
 Documentation: http://cygwin.com/docs.html
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: ls | xargs

2013-01-03 Thread Denis Excoffier
On Thu, Jan 03, 2013 at 11:39:22AM +0100, Denis Excoffier wrote:
 
 Hello,
 
 Starting with the 2013 snapshots, the following no longer work:
 
 % /usr/bin/ls | /usr/bin/xargs /usr/bin/echo
 
 Instead of giving basically the same output as plain ls, the
 command does not finish and xargs remains in defunct state.
 
 The snapshot 20121231 was ok.

The snapshot 20130104 dated 02:26:59 UTC is also ok. Thanks.

Denis Excoffier.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



New: python-fastimport-0.9.2-1

2013-01-03 Thread Ken Brown

python-fastimport-0.9.2-1 has been added to the Cygwin distribution.

python-fastimport is the Python parser that was originally developed for 
bzr-fastimport but was extracted so that it can be used by other 
projects.  It is currently used by bzr-fastimport and dulwich. 
hg-fastimport and git-remote-hg use a slightly modified version of it.


Ken Brown

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look 
at the List-Unsubscribe:  tag in the email header of this message. 
Send email to the address specified there.  It will be in the format:


  cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

  http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available 
starting at the above URL.





New: bzr-fastimport-0.13.0-1

2013-01-03 Thread Ken Brown

bzr-fastimport-0.13.0-1 has been added to the Cygwin distribution.

Bazaar Fast Import is a plugin providing fast loading of revision 
control data into Bazaar.  It is designed to be used in combination with 
front-end programs that generate a command/data stream for it to 
process.  Front-ends are available for a wide range of foreign VCS tools 
including Subversion, CVS, Git, Mercurial, Darcs, and Perforce.  New 
front-ends are easy to develop in whatever programming language you 
prefer, making Bazaar Fast Import useful for teams needing a custom 
migration solution.


bzr-fastimport includes, among other things, a fast-export command that 
can be used for migrating from Bazaar to a different version-control 
system.  See


  http://doc.bazaar.canonical.com/plugins/en/fastimport-plugin.html

for more information.  And see

http://blog.timmattison.com/archives/2011/06/13/how-to-convert-from-bzr-to-git-on-debianubuntu

for step-by-step instructions for converting a repository from Bazaar to 
Git.


Ken Brown

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look 
at the List-Unsubscribe:  tag in the email header of this message. 
Send email to the address specified there.  It will be in the format:


  cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

  http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available 
starting at the above URL.