Re: [ITA] ccrypt-1.9-1

2012-04-11 Thread Andrew Schulman
 another one
 
 to download (remove the index.html's) :
 
 wget -r -np -nH --cut-dirs=2 \
 http://matzeri.altervista.org/cygwin-1.7/ccrypt/index.html
 
 rm  index.html md5.sum
 
 
 File list
 ccrypt-1.9-1.tar.bz2
 ccrypt-1.9-1-src.tar.bz2
 setup.hint

Auto gold star awarded:  http://cygwin.com/goldstars/#MA .


Re: [ITA] tcm: Toolkit for Conceptual Modeling (TCM)

2012-04-11 Thread Andrew Schulman
 On Apr  4 19:21, Dr. Volker Zell wrote:
  Hi
  
  I would like to adopt and maintain the 'tcm' package from Daniel Boesswetter
  which acoording to http://cygwin.com/ml/cygwin-apps/2012-03/msg00082.html
  is orphaned right now.
  
   o Maintainer change
   o Switched to cygport build framework
   o Finally switched from legacy /usr/X11R6 hierarchy to /usr
   o Build for cygwin 1.7.12 with gcc-4
  
  
  The packages can be found under 
  vzell-9JcytcrH/ba+ujob2ku...@public.gmane.org:/home/vzell/tcm
  and if the packaging is ok, they can be moved the release area.
 
 Thanks for taking over!
 
 Uploaded.

Auto gold star awarded:  http://cygwin.com/goldstars/#VZ .


Initial xemacs iconization (was Re: Taskbar appearance changes between xorg-server 11 series and 12.0 series)

2012-04-11 Thread Eliot Moss

In the end, I was able to address my xemacs initial window appearance
under cygwin xfree in this way:

1) First, xemacs does not handle -iconic or the iconized resource
   properly. I found it best not to set them.

2) The command line -name argument will override all the X resources,
   so if not really what I wanted (I'd have to create a whole new
   set of settings -- might be useful for some users or under other
   circumstances).

3) The window name / title argument was what I ended up using, thus:
   xemacs -T xemacs

Since the default class name for xemacs windows is emacs, I can match
all windows in .XWinrc using emacs, and thus minimize them all using:

STYLES { emacs MINIMIZE }

If I want to minimize just the one window created in (3) above, I can
write:

STYLES { xemacs MINIMIZE }

It's all logical in its own idiosyncratic way, I suppose ... Eliot

--
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/



Re: Taskbar appearance changes between xorg-server 11 series and 12.0 series (more)

2012-04-11 Thread Eliot Moss

Dear Jon (et al.):

Here's an interesting new bit of evidence.

When playing around with xlaunch configurations and such,
I ran startxwin several times this morning. ONCE, X came
up without the iconized StartXWin window (i.e., things
displayed as they used to before I upgraded xorg-server).

This makes me suspect that there may be some kind of
timing-related behavior. Perhaps the relevant code did
not change between releases, but other changes affected
relative timing of various actions, exposing a latent
bug or race condition.

I am happy to switch the xlaunch, though, if the separate
issue with XWin when started under xlaunch can be resolved.

Regards, and thanks again for your efforts in maintaining
this complex beast!

Eliot Moss

--
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/



src/winsup/cygwin ChangeLog syscalls.cc

2012-04-11 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2012-04-11 08:49:52

Modified files:
winsup/cygwin  : ChangeLog syscalls.cc 

Log message:
* syscalls.cc (fhandler_base::stat_fixup): Fix inode numbers of
non-device files in virtual fileysystems.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.5803r2=1.5804
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=srcr1=1.630r2=1.631



Re: [PATCH] Setting TZ may break time() in non-Cygwin programs

2012-04-11 Thread Christian Franke

On Mar 4, Corinna Vinschen wrote:

On Mar  4 19:42, Christian Franke wrote:

Corinna Vinschen wrote:

On Mar  2 22:35, Christian Franke wrote:

Corinna Vinschen wrote:

But, as usual, PTC.

OK, ...


Simple: Unset TZ for Win32 programs run from Cygwin.

More flexible: Set (unset) TZ=CYGWIN_WINENV_TZ if this variable is
set (to empty). Otherwise keep TZ as is.


would a patch for any of the above have a chance to get accepted?

If it's not getting too complicated, yes.  However, the second idea
I don't understand.  Can you explain this differently?


Let another variable change the value passed to Windows environment:

$ printenv TZ
Europe/Berlin

$ cmd /c echo %TZ%
Europe/Berlin

$ export CYGWIN_WINENV_TZ=CET-1CEST

$ printenv TZ
Europe/Berlin

$ cmd /c echo %TZ%
CET-1CEST

$ export CYGWIN_WINENV_TZ=

$ cmd /c echo %TZ%
%TZ% (which means TZ is not set)

Hmm.  I think just unsetting TZ should be sufficient.  MSVCRT uses the
current timezone as default anyway, doesn't it?




Yes. Patch is attached.

Christian

2012-04-11  Christian Franke  fra...@computer.org

	* environ.cc (build_env): Don't pass POSIX TZ variable to Win32.
	TZ may result in incorrect time zone conversions from MSVCRT time
	functions.

diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc
index 33289d2..01ef234 100644
--- a/winsup/cygwin/environ.cc
+++ b/winsup/cygwin/environ.cc
@@ -1074,6 +1074,11 @@ build_env (const char * const *envp, PWCHAR envblock, int envc,
 	  if (len == 1 || !*rest)
 	continue;
 
+	  /* Don't pass POSIX TZ variable to Win32.  TZ may result in
+	 incorrect time zone conversions from MSVCRT time functions.  */
+	  if (len == 3  (*srcp)[0] == 'T'  (*srcp)[1] == 'Z')
+	continue;
+
 	  /* See if this entry requires posix-win32 conversion. */
 	  conv = getwinenv (*srcp, rest, temp);
 	  if (conv)


Re: using a makefile to create an executable file

2012-04-11 Thread Eliot Moss

On 4/10/2012 8:36 PM, samuel.roy wrote:


Thanks for setting me in the right direction, I'll do as you suggest and no
longer pollute your message board with irrelevant material!


A quick look at the wikipedia page for cmake shows that cmake is
a tool that generates a Makefile suitable for the platform at
hand. So, I think you need at least these steps:

1) cmake
2) make

Regards -- Eliot Moss

--
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: Problem in searching /proc/registry.

2012-04-11 Thread Corinna Vinschen
On Apr 10 22:52, Christian Franke wrote:
 PRIKHODKO, GEORGE wrote:
 Hi,
 
 Since Cygwin 1.7.12 version find command run on /proc/registry started to 
 fail with massages 'find: File system loop detected...'.
 
 find /proc/registry -type f
 find: File system loop detected; `/proc/registry/HKEY_CLASSES_ROOT' is part 
 of the same file system loop as `/proc/registry'.
 find: File system loop detected; `/proc/registry/HKEY_CURRENT_CONFIG' is 
 part of the same file system loop as `/proc/registry'.
 find: File system loop detected; `/proc/registry/HKEY_CURRENT_USER' is part 
 of the same file system loop as `/proc/registry'.
 find: File system loop detected; `/proc/registry/HKEY_LOCAL_MACHINE' is part 
 of the same file system loop as `/proc/registry'.
 find: File system loop detected; `/proc/registry/HKEY_USERS' is part of the 
 same file system loop as `/proc/registry'.
 find: File system loop detected; `/proc/registry/HKEY_PERFORMANCE_DATA' is 
 part of the same file system loop as `/proc/registry'.
 
 Has something changed in a way Cygwin 1.7.12 and up handles Windows registry?
 
 
 This is likely a regression. Cygwin now returns same inode number
 253 for each entry below /proc/registry node:

Should be fixed in CVS.


Thank,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: using a makefile to create an executable file

2012-04-11 Thread Marc Girod


Eliot Moss wrote:
 
 A quick look at the wikipedia page for cmake shows that cmake is
 a tool that generates a Makefile suitable for the platform at
 hand. So, I think you need at least these steps:
 

I am quite sure it would be more beneficial to learn the syntax of makefiles
and to write simple ones by hand...
This is not hard, and might be helpful. Miracles (especially the ones you
don't understand) are dangerous.

Marc
-- 
View this message in context: 
http://old.nabble.com/using-a-makefile-to-create-an-executable-file-tp33664890p33667798.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



Re: using a makefile to create an executable file

2012-04-11 Thread Eliot Moss

On 4/11/2012 7:18 AM, Marc Girod wrote:



Eliot Moss wrote:


A quick look at the wikipedia page for cmake shows that cmake is
a tool that generates a Makefile suitable for the platform at
hand. So, I think you need at least these steps:



I am quite sure it would be more beneficial to learn the syntax of makefiles
and to write simple ones by hand...
This is not hard, and might be helpful. Miracles (especially the ones you
don't understand) are dangerous.


I don't disagree.  It just appears that the professor set up
the code to use cmake, whose purpose is to generate a makefile
suitable to the platform at hand.  It would be inappropriate
to tinker with the makefile since the intention is for it to
be generated automatically ...

Regards -- EM

--
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



Where are end user instructions to compile an updated package?

2012-04-11 Thread Keith Christian
I'm interested in compiling the latest Sqlite source into a Cygwin
package to updated the current version, for use on one machine.

Could someone point me to the instructions that are complete enough
for an end user to begin with source code, and produce an installable
Cygwin package?

Thanks.

===Keith

--
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



Package request: xml2

2012-04-11 Thread Alexander Kriegisch
There is a small Debian/Ubuntu package named xml2:
https://launchpad.net/ubuntu/+source/xml2

The current source code and usage description + examples are available at:
http://ofb.net/~egnor/xml2/
http://ofb.net/~egnor/xml2/ref
http://ofb.net/~egnor/xml2/examples

Probably is is a piece of cake to compile it for Cygwin, but I use it on
Linux. A few friends saw what I did with it (batch-edit HTML and XML
files in roundtrip fashion with sed/awk instead of having to learn XPath
and XSLT or XQuery or DOM) and asked if it was available for cygwin. So
I figured I could mention it here and ask if anyone is interested in
creating a package for xml2.

I hope this list is the right one for my inquiry. The package-announce
list seems to be wrong because I am not offering anything, but rather
requesting it.

Regards
--
Alexander Kriegisch

--
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: Problem in searching /proc/registry.

2012-04-11 Thread PRIKHODKO, GEORGE
Thank you for taking care of it.

Thanks,
George Prikhodko


On Apr 10 22:52, Christian Franke wrote:
 PRIKHODKO, GEORGE wrote:
 Hi,
 
 Since Cygwin 1.7.12 version find command run on /proc/registry started to 
 fail with massages 'find: File system loop detected...'.
 
 find /proc/registry -type f
 find: File system loop detected; `/proc/registry/HKEY_CLASSES_ROOT' is part 
 of the same file system loop as `/proc/registry'.
 find: File system loop detected; `/proc/registry/HKEY_CURRENT_CONFIG' is 
 part of the same file system loop as `/proc/registry'.
 find: File system loop detected; `/proc/registry/HKEY_CURRENT_USER' is part 
 of the same file system loop as `/proc/registry'.
 find: File system loop detected; `/proc/registry/HKEY_LOCAL_MACHINE' is part 
 of the same file system loop as `/proc/registry'.
 find: File system loop detected; `/proc/registry/HKEY_USERS' is part of the 
 same file system loop as `/proc/registry'.
 find: File system loop detected; `/proc/registry/HKEY_PERFORMANCE_DATA' is 
 part of the same file system loop as `/proc/registry'.
 
 Has something changed in a way Cygwin 1.7.12 and up handles Windows registry?
 
 
 This is likely a regression. Cygwin now returns same inode number
 253 for each entry below /proc/registry node:

Should be fixed in CVS.


Thank,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: Package request: xml2

2012-04-11 Thread Lemke, Michael SZ/HZA-ZSW
On April 11, 2012 4:07 PM Alexander Kriegisch wrote:

There is a small Debian/Ubuntu package named xml2:
https://launchpad.net/ubuntu/+source/xml2

The current source code and usage description + examples are available at:
http://ofb.net/~egnor/xml2/
http://ofb.net/~egnor/xml2/ref
http://ofb.net/~egnor/xml2/examples

Thanks for the pointer, Alex.  Seems like a useful little tool.


Probably is is a piece of cake to compile it for Cygwin, 

It is.  Compiled out of the box.  Unfortunately, it doesn't come
with a man page or any other offline documentation.

So I figured I could mention it here and ask if anyone is interested in
creating a package for xml2.

Sorry, I don't have time to maintain a package.  Any takers?

Michael


--
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: Where are end user instructions to compile an updated package?

2012-04-11 Thread Achim Gratz
Keith Christian writes:
 I'm interested in compiling the latest Sqlite source into a Cygwin
 package to updated the current version, for use on one machine.

Generally, use the source package as a starting point.  Specifically in
this instance, I've posted a cygport file that would do this in another
thread recently:

http://article.gmane.org/gmane.os.cygwin/132786

AFAIK, work is underway to release a new package with the latest
version.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Waldorf MIDI Implementation  additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs


--
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: Where are end user instructions to compile an updated package?

2012-04-11 Thread Keith Christian
On Wed, Apr 11, 2012 at 10:39 AM, Achim Gratz strom...@nexgo.de wrote:
 AFAIK, work is underway to release a new package with the latest
 version.

Achim, thanks for the info.  After re-reading
http://cygwin.com/setup.html, that page will probably suffice.


=Keith

--
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: Process Substitution / Named Pipes in cygwin 1.7.11-1

2012-04-11 Thread Gregory M. Turner
- Original Message (Corinna) -
 On Apr  3 10:32, Sven Severus wrote:
  On Apr 2 17:33, Corinna Vinschen wrote
Hello all,

I am running Cygwin DLL 1.7.11-1 and the bash command
cat  (echo 1234) (not very profound, ok) works fine
on my Win7-64 box.

[snip]
  Does /dev/fd exist and is it a symlink to /proc/self/fd?
  
  It does not exist.
  
[snip]
  Why not start with
 
   ln -s /proc/self/fd /dev/fd

Reely!  I assumed it was just me, as I have an old-ish
self-compiled bash in a highly nonstandard environment.

I have the symlink, but my process-substitution-happy shell scripts
started breaking this way, recently, as well.

Mine die, suggestively, at /dev/fd/63.  They don't /always/ all die; but
somehow, I crossed some kind of rubicon and now they do all die.  If
I carefully smell the air afterwards there is the faint odor of scarce
OS resources leaking.  (Just kidding about that last part :P)

Haven't been able to clear out the process table or generally to
get all diagnostic on it yet; it's on my list but I really
must finish some paperwork for a certain government agency.

I'll get back to the list with whatever I can figure out about
this sometime soon.

-gmt

--
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: Process Substitution / Named Pipes in cygwin 1.7.11-1

2012-04-11 Thread Gregory M. Turner
- Original Message (Me) -
 - Original Message (Corinna) -
  On Apr  3 10:32, Sven Severus wrote:
   On Apr 2 17:33, Corinna Vinschen wrote
 Hello all,
 
 I am running Cygwin DLL 1.7.11-1 and the bash command
 cat  (echo 1234) (not very profound, ok) works fine
 on my Win7-64 box.
 
 [snip]
   Does /dev/fd exist and is it a symlink to /proc/self/fd?
   
   It does not exist.
   
 [snip]
   Why not start with
  
ln -s /proc/self/fd /dev/fd
 
 Haven't been able to clear out the process table or generally to
 get all diagnostic on it yet; it's on my list but I really
 must finish some paperwork for a certain government agency.

I couldn't resist just one little experiment.  On my box:

  $ diff -u (echo foo) (echo bar)

is enough to establish that something ain't right.  Reproducible
for me using the latest setup.exe goodies as of last night.

But I really must resist delving into this further; I'm sure you know
how irritable some people can get when they don't get their
protection money on time ;)

-gmt

--
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: Process Substitution / Named Pipes in cygwin 1.7.11-1

2012-04-11 Thread Christopher Faylor
On Wed, Apr 11, 2012 at 06:17:40PM -, Gregory M. Turner wrote:
- Original Message (Me) -
 - Original Message (Corinna) -
  On Apr  3 10:32, Sven Severus wrote:
   On Apr 2 17:33, Corinna Vinschen wrote
 Hello all,
 
 I am running Cygwin DLL 1.7.11-1 and the bash command
 cat  (echo 1234) (not very profound, ok) works fine
 on my Win7-64 box.
 
 [snip]
   Does /dev/fd exist and is it a symlink to /proc/self/fd?
   
   It does not exist.
   
 [snip]
   Why not start with
  
ln -s /proc/self/fd /dev/fd
 
 Haven't been able to clear out the process table or generally to
 get all diagnostic on it yet; it's on my list but I really
 must finish some paperwork for a certain government agency.

I couldn't resist just one little experiment.  On my box:

  $ diff -u (echo foo) (echo bar)

is enough to establish that something ain't right.  Reproducible
for me using the latest setup.exe goodies as of last night.

But I really must resist delving into this further; I'm sure you know
how irritable some people can get when they don't get their
protection money on time ;)

I suspect that it probably about as irritable as certain people get when
bug reports are couched in colorful adjective-laden language without
any actual concrete details.

cgf

--
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



Build problem with most current cygwin?

2012-04-11 Thread michael_moore
Several folk here use Cygwin with windows 7 enterprise as a tool to access 
linux servers.  They have Cygwin with X installed and use a combination of 
terminal windows and X exports from the RH servers to manage items.

The most recent version of Cygwin, when upgraded, breaks in these uses.  I have 
spent a little time isolating causes.

Ssh(1) on  normal install does not get any config files.  When config files are 
placed at the usual suspect locations, ssh(1) ignores them.

cygrun-host-config -y 

does build the config files, but it cannot complete because the required 
accounts cannot be created , not even by someone with admin access.  It fails 
on permisssions.

alias ssh=ssh -2 -I ~/.ssh/id-rsa

in .bashrc
does allow ssh to do password-less access to the servers but it breaks on

hg clone ssh://...

which is now totally non-functional.

The two offered downloads of Cygwin are now of greatly reduced utility because 
the way duties are arranged doesn't allow functioning of the agent or the id 
mechanism.

Everyone has been advised to hold without updating on Cygwin, and new machines 
are now being equipped with VMware player and RHEL6.

Michael



--
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



Interesting gotcha: http + vim-common + maybe Symantec Endpoint Protection

2012-04-11 Thread Tim McDaniel

I had something interesting happen to me and wanted to mention it,
though perhaps it's in the FAQ and I've just not noticed it.

Short form: if downloading a file freezes or fails, switching your
setup server from http: to ftp: (or perhaps vice versa) may help.

The symptom was that, for a few months, I was unable to download the
latest version of vim-common -- it would hang, either partway thru or
at the start.  The mirror was http://mirrors.xmission.com/..., so

Downloading...
vim-common-7.3.447-1.tar.bz2 from http://mirrors.xmission.com/...

0 % (0k/1k) 0.0 kB/s

Download Incomplete. Try again?

Before, I thought that maybe just xmission was hosed.  I tried another
host: same result.  I got tired of it and just uninstalled vim and
vim-common just so I didn't have to re-deselect them on each update.

Today, I wondered whether it was a file permission problem, so I
renamed http%3a%2f%2fmirrors.xmission.com%2fcygwin%2f/release -- same
problem.

I then suddenly thought to try the ftp: version of the same mirror, as
I had been using the http: version.  Success!

My system has, as its antivirus, Symantec Endpoint Protection.
I checked the logs and found nothing.  However, I might not be looking
in the right place, or for all I know, maybe there is scanning further
up like on the $ORKPLACE Internet gateway and thus I can't possibly
see it or control it.  The FAQ suggests turning off anti-virus (2.8 My
computer hangs when I run Cygwin Setup!), but that is NOT permitted
(or even possible) for a user at $ORKPLACE.

--
Tim McDaniel, t...@panix.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



Re: Build problem with most current cygwin?

2012-04-11 Thread marco atzeri

On 4/11/2012 9:14 PM, michael_mo...@non.agilent.com wrote:

Several folk here use Cygwin with windows 7 enterprise as a tool to access 
linux servers.  They have Cygwin with X installed and use a combination of 
terminal windows and X exports from the RH servers to manage items.

The most recent version of Cygwin, when upgraded, breaks in these uses.  I have 
spent a little time isolating causes.


most recent is not a version number.
Could you at least clarify from which version to which version
did you upgrade  ?



Ssh(1) on  normal install does not get any config files.


$ cygcheck -l openssh |grep bin
/usr/bin/slogin
/usr/bin/ssh-keyscan.exe
/usr/bin/ssh-user-config
/usr/bin/sftp.exe
/usr/bin/ssh-host-config
/usr/bin/ssh-copy-id
/usr/bin/ssh.exe
/usr/bin/ssh-keygen.exe
/usr/bin/ssh-add.exe
/usr/bin/scp.exe
/usr/bin/ssh-agent.exe
/usr/sbin/sshd.exe
/usr/sbin/sftp-server.exe
/usr/sbin/ssh-keysign.exe
/usr/sbin/ssh-pkcs11-helper.exe




When config files are placed at the usual suspect locations, ssh(1) ignores 
them.

cygrun-host-config -y


this file is not from cygwin
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=cygrun-host-config



does build the config files, but it cannot complete because the required 
accounts cannot be created , not even by someone with admin access.  It fails 
on permisssions.

alias ssh=ssh -2 -I ~/.ssh/id-rsa

in .bashrc
does allow ssh to do password-less access to the servers but it breaks on

hg clone ssh://...

which is now totally non-functional.

The two offered downloads of Cygwin are now of greatly reduced utility because 
the way duties are arranged doesn't allow functioning of the agent or the id 
mechanism.

Everyone has been advised to hold without updating on Cygwin, and new machines 
are now being equipped with VMware player and RHEL6.

Michael


what about providing same data like
Problem reports:   http://cygwin.com/problems.html

Usually the file in ~/.ssh should have a 600 permission,
otherwise ssh refuse to use them.
Wich permission do you see ?

Regards
Marco


--
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: Process Substitution / Named Pipes in cygwin 1.7.11-1

2012-04-11 Thread Gregory M. Turner
- Original Message (cgf) -
 On Wed, Apr 11, 2012 at 06:17:40PM -, Gregory M. Turner wrote:
 - Original Message (Me) -


   $ diff -u (echo foo) (echo bar)
 ^ concrete detail


 I suspect that it probably about as irritable as certain people get when
 bug reports are couched in colorful adjective-laden language without
 any actual concrete details.

Eh?  There's been no bug report.  I was just sharing some casual
observations in response to another post.

To be clear:

The above diff command has no output.  The output is supposed to be along the 
lines of:

--- /dev/fd/63  2012-04-11 11:44:02.283689675 -0700
+++ /dev/fd/62  2012-04-11 11:44:02.283689675 -0700
@@ -1 +1 @@
-foo
+bar

The failure is reproducible on the latest mainline distribution running
on my workstation.  It also occurs exactly the same way in a very different
roll-your-own environment I have immediate access to, also on my workstation.

I suppose I could have mentioned that my box is:

CYGWIN_NT-6.1-WOW64 1.7.13(0.260/5/3) 2012-04-05 12:43 i686 unknown unknown 
Cygwin

That's all I know.  I'm well aware that more effort will probably be required on
my part if I'm to meaningfully contribute to solving the problem.  As I
stated: I don't have time to debug it any further.  If you don't like that 
fact, I
invite you to ignore me and wait a day or two, after which I've already 
promised to
make some time to look into it further.

Sheesh, you win I guess: I'm now as frustrated as you apparently are.
Shall we move on or just have a big stupid flame-war?  I'm game either way.

-gmt

--
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: Process Substitution / Named Pipes in cygwin 1.7.11-1

2012-04-11 Thread marco atzeri

On 4/11/2012 9:48 PM, Gregory M. Turner wrote:

- Original Message (cgf) -

On Wed, Apr 11, 2012 at 06:17:40PM -, Gregory M. Turner wrote:

- Original Message (Me) -




  $ diff -u(echo foo)(echo bar)

  ^ concrete detail



I suspect that it probably about as irritable as certain people get when
bug reports are couched in colorful adjective-laden language without
any actual concrete details.


Eh?  There's been no bug report.  I was just sharing some casual
observations in response to another post.

To be clear:

The above diff command has no output.  The output is supposed to be along the 
lines of:

--- /dev/fd/63  2012-04-11 11:44:02.283689675 -0700
+++ /dev/fd/62  2012-04-11 11:44:02.283689675 -0700
@@ -1 +1 @@
-foo
+bar

The failure is reproducible on the latest mainline distribution running
on my workstation.  It also occurs exactly the same way in a very different
roll-your-own environment I have immediate access to, also on my workstation.

I suppose I could have mentioned that my box is:

CYGWIN_NT-6.1-WOW64 1.7.13(0.260/5/3) 2012-04-05 12:43 i686 unknown unknown 
Cygwin



solved on latest snapshot 20120411

$ diff -u (echo bar) (echo foo)
--- /dev/fd/63  2012-04-11 22:02:17.0 +0200
+++ /dev/fd/62  2012-04-11 22:02:17.0 +0200
@@ -1 +1 @@
-bar
+foo

marco@MARCOATZERI ~
$ uname -a
CYGWIN_NT-6.1-WOW64 MARCOATZERI 1.7.14s(0.260/5/3) 20120411 13:57:42 
i686 Cygwin



Regards
Marco

--
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: Where are end user instructions to compile an updated package?

2012-04-11 Thread Buchbinder, Barry (NIH/NIAID) [E]
Keith Christian sent the following at Wednesday, April 11, 2012 9:41 AM
I'm interested in compiling the latest Sqlite source into a Cygwin
package to updated the current version, for use on one machine.

Could someone point me to the instructions that are complete enough for
an end user to begin with source code, and produce an installable Cygwin
package?

Not to contradict the other respondents (and it is not exactly what you
asked), but you do not need to create a cygwin package for one machine.
You can just configure, compile, etc.  However, you might want to check at
each step, singe the default prefix is probably /usr/local, which may not
be in your path.

(If that is wrong, I'm sure someone will correct it soon.)

Good luck,

- Barry
  Disclaimer:  Statements made herein are not made on behalf of NIAID.


--
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