Re: Please upload: mathomatic-12.8.0-1

2007-11-21 Thread Corinna Vinschen
On Nov 19 18:12, Reini Urban wrote:
 Please upload:

   http://rurban.xarch.at/cygr/mathomatic/mathomatic-12.8.0-1.tar.bz2
   http://rurban.xarch.at/cygr/mathomatic/mathomatic-12.8.0-1-src.tar.bz2

 setup.hint unchanged
 mathomatic-12.7.3-1 can be deleted (if wanted)

Uploaded and 12.7.3-1 deleted.


Thanks,
Corinna

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


Re: sshd display

2007-11-21 Thread Corinna Vinschen
On Nov 20 08:52, Roger Wells wrote:
 I have a need to use a ssh client on a Linux machine to run a console 
 application on a windows machine via cygwin sshd.  How does one cause the 
 display to remain on the server machine?

Wrong mailing list.  Use cygwin AT cygwin DOT com for questions like this.


Corinna

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


[RFU] orpie-1.5.1-1

2007-11-21 Thread Schulman . Andrew

I've uploaded a new version of orpie.  This is a new upstream release,
with bug fixes and a few new features.  I also changed to a cygport
build method.

Please upload.  Thanks, Andrew.

wget \
  http://home.comcast.net/~aschulman2/orpie/orpie-1.5.1-1.tar.bz2 \
  http://home.comcast.net/~aschulman2/orpie/orpie-1.5.1-1-src.tar.bz2



src/winsup/w32api ChangeLog include/wincrypt.h

2007-11-21 Thread ironhead
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2007-11-22 03:07:09

Modified files:
winsup/w32api  : ChangeLog 
winsup/w32api/include: wincrypt.h 

Log message:
2007-11-21  elsapo  [EMAIL PROTECTED]

* include/wincrypt.h (CERT_NAME_STR_COMMA_FLAG,
CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG, 
CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG,
CMC_ADD_ATTRIBUTES, CMC_ADD_EXTENSIONS, X509_CERT_PAIR,
X509_CERTIFICATE_TEMPLATE, X509_CROSS_CERT_DIST_POINTS, CMC_DATA,
X509_NAME_CONSTRAINTS, X509_POLICY_CONSTRAINTS, X509_POLICY_MAPPINGS,
CMC_RESPONSE, CMC_STATUS, X509_ALGORITHM_IDENTIFIER, 
X509_ALTERNATE_NAME,
PKCS_ATTRIBUTE, X509_AUTHORITY_INFO_ACCESS, X509_AUTHORITY_KEY_ID,
X509_AUTHORITY_KEY_ID2, szOID_BASIC_CONSTRAINTS, 
X509_BASIC_CONSTRAINTS2,
X509_BIOMETRIC_EXT, X509_BITS, X509_CERT, X509_CERT_CRL_TO_BE_SIGNED,
X509_CERT_POLICIES, X509_CERT_REQUEST_TO_BE_SIGNED, 
X509_CERT_TO_BE_SIGNED,
X509_CHOICE_OF_TIME, PKCS_CONTENT_INFO, 
PKCS_CONTENT_INFO_SEQUENCE_OF_ANY,
X509_CRL_DIST_POINTS, RSA_CSP_PUBLICKEYBLOB, PKCS_CTL, 
X509_DSS_PARAMETERS,
X509_DSS_SIGNATURE, X509_ECC_SIGNATURE, X509_ENHANCED_KEY_USAGE,
X509_ENUMERATED, X509_EXTENSIONS, X509_INTEGER, X509_ISSUING_DIST_POINT,
X509_KEY_ATTRIBUTES, X509_KEY_USAGE, X509_KEY_USAGE_RESTRICTION,
X509_KEYGEN_REQUEST_TO_BE_SIGNED, X509_LOGOTYPE_EXT,
X509_MULTI_BYTE_INTEGER, X509_MULTI_BYTE_UINT, X509_NAME, 
X509_NAME_VALUE,
X509_OBJECT_IDENTIFIER, X509_OCTET_STRING, X509_PUBLIC_KEY_INFO,
PKCS_RC2_CBC_PARAMETERS, CNG_RSA_PUBLIC_KEY_BLOB,
PKCS_RSA_SSA_PSS_PARAMETERS, PKCS_RSAES_OAEP_PARAMETERS,
ECC_CMS_SHARED_INFO, X509_SEQUENCE_OF_ANY, PKCS7_SIGNER_INFO,
CMS_SIGNER_INFO, PKCS_SMIME_CAPABILITIES, PKCS_TIME_REQUEST,
X509_UNICODE_NAME, X509_UNICODE_NAME_VALUE, PKCS_UTC_TIME,
OCSP_SIGNED_REQUEST, OCSP_REQUEST, OCSP_RESPONSE,
OCSP_BASIC_SIGNED_RESPONSE, OCSP_BASIC_RESPONSE, CRL_REASON_UNSPECIFIED,
CRL_REASON_KEY_COMPROMISE, CRL_REASON_CA_COMPROMISE,
CRL_REASON_AFFILIATION_CHANGED, CRL_REASON_SUPERSEDED,
CRL_REASON_CESSATION_OF_OPERATION, CRL_REASON_CERTIFICATE_HOLD,
CRL_REASON_REMOVE_FROM_CRL, CRYPT_ENCODE_ALLOC_FLAG,
CRYPT_UNICODE_NAME_ENCODE_DISABLE_CHECK_TYPE_FLAG,
CRYPT_UNICODE_NAME_ENCODE_ENABLE_T61_UNICODE_FLAG,
CRYPT_UNICODE_NAME_ENCODE_ENABLE_UTF8_UNICODE_FLAG,
CRYPT_UNICODE_NAME_ENCODE_FORCE_UTF8_UNICODE_FLAG,
szOID_APPLICATION_CERT_POLICIES, szOID_APPLICATION_POLICY_CONSTRAINTS,
szOID_APPLICATION_POLICY_MAPPINGS, szOID_AUTHORITY_INFO_ACCESS,
szOID_AUTHORITY_KEY_IDENTIFIER, szOID_AUTHORITY_KEY_IDENTIFIER2,
X509_BASIC_CONSTRAINTS, szOID_BIOMETRIC_EXT, szOID_CERT_EXTENSIONS,
szOID_CERT_POLICIES, szOID_CERTIFICATE_TEMPLATE, szOID_CRL_NUMBER,
szOID_CROSS_CERT_DIST_POINTS, szOID_DELTA_CRL_INDICATOR,
szOID_ENROLLMENT_NAME_VALUE_PAIR, szOID_FRESHEST_CRL,
szOID_ISSUING_DIST_POINT, szOID_NAME_CONSTRAINTS, szOID_CRL_DIST_POINTS,
szOID_CRL_REASON_CODE, szOID_CRL_VIRTUAL_BASE, szOID_ECC_PUBLIC_KEY,
szOID_ECDSA_SPECIFIED, szOID_ENHANCED_KEY_USAGE, szOID_ISSUER_ALT_NAME,
szOID_ISSUER_ALT_NAME2, szOID_KEY_ATTRIBUTES, szOID_KEY_USAGE,
szOID_KEY_USAGE_RESTRICTION, szOID_LOGOTYPE_EXT, 
szOID_POLICY_CONSTRAINTS,
szOID_POLICY_MAPPINGS, szOID_RSA_SSA_PSS, szOID_RSAES_OAEP,
szOID_SUBJECT_ALT_NAME, szOID_SUBJECT_ALT_NAME2,
szOID_SUBJECT_KEY_IDENTIFIER, CMC_ADD_ATTRIBUTES_INFO,
PCMC_ADD_ATTRIBUTES_INFO, CMC_ADD_EXTENSIONS_INFO, 
PCMC_ADD_EXTENSIONS_INFO,
CERT_ALT_NAME_ENTRY, PCERT_ALT_NAME_ENTRY, CERT_ALT_NAME_INFO,
PCERT_ALT_NAME_INFO, CERT_NAME_VALUE, PCERT_NAME_VALUE,
CERT_POLICY_QUALIFIER_INFO, PCERT_POLICY_QUALIFIER_INFO,
CERT_POLICY_CONSTRAINTS_INFO, PCERT_POLICY_CONSTRAINTS_INFO,
CERT_POLICY_MAPPINGS_INFO, PCERT_POLICY_MAPPINGS_INFO, 
CERT_POLICY_MAPPING,
PCERT_POLICY_MAPPING, CryptDecodeObjectEx, CryptEncodeObject,
CryptEncodeObjectEx): define.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.918r2=1.919
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/wincrypt.h.diff?cvsroot=srcr1=1.20r2=1.21



src/winsup/w32api ChangeLog include/wincrypt.h

2007-11-21 Thread ironhead
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2007-11-22 03:16:15

Modified files:
winsup/w32api  : ChangeLog 
winsup/w32api/include: wincrypt.h 

Log message:
2007-11-21  Kevin Conaway  [EMAIL PROTECTED]

* include/wincrypt.h (CryptProtectData, CryptUnprotectData): define.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.919r2=1.920
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/wincrypt.h.diff?cvsroot=srcr1=1.21r2=1.22



rsync command

2007-11-21 Thread Abdul Hakeem
 
Hello,

Can anyone spare the rsync command which removes files older than (i.e. 8
days) from the SOURCE  while leaving the DESTINATION intact ?
Also, I am searching for the command for rsync  to exclude *tmp or locked
files from the SOURCE.
Many thanks,
Abdul Hakeem
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Mike Richards
Sent: 21 November 2007 01:57
To: cygwin@cygwin.com
Subject: Weird error from rsync

I'm trying to run the following command

rsync -rtzmv $HOME/My Documents/
[EMAIL PROTECTED]:/cygdrive/e/rsync/$USER/

but keep getting this strange error:

building file list ... done
rsync: mkdir /cygdrive/c/Documents and Settings/miker/Desktop/\#015
failed: No such file or directory (2)
rsync error: error in file IO (code 11) at
/home/lapo/packaging/tmp/rsync-2.6.9/main.c(529) [receiver= 2.6.9]
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at
/home/lapo/packaging/tmp/rsync-2.6.9/io.c(453) [sender=2.6.9]
./rsync_win: line 5: [EMAIL PROTECTED]:/cygdrive/e/rsync/miker
/
: No such file or directory

Does anyone understand what is causing the \#015?

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


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



RE: Intermittent 'make' segfaults in Cygwin

2007-11-21 Thread Stephen Bennett
   Try using %CYGWIN%=error_start to get either gdb or dumper.exe 
attached at
 the exact moment of failure.  Check the user guide
 http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
 for full usage information.

Thanks for the tip. That was enough to get a stack trace with no symbol 
information -- not too helpful on its own. When I rebuilt make with debug 
information from the Cygwin source package, I was completely unable to 
reproduce the segfaults -- four complete builds have now succeeded in a 
row, compared with previously when each build would show between 1 and 
about 7 segfaults.

I'd say this is beginning to look like a weird compiler and/or 
optimisation bug, given that it happens frequently with the Cygwin package 
and not at all with an almost un-optimised build (CFLAGS=-O1 
-fno-inline-functions -ggdb3). Unfortunately I don't have any sort of 
reduced test case demonstrating it, but if I get a chance I'll try to 
narrow down what specifically is triggering it. Is there an easy way to 
find which compiler and optimisation settings were used to build the 
current Cygwin make package?


Accelrys Limited (http://www.accelrys.com)
Registered office: 334 Cambridge Science Park, Cambridge, CB4 0WN, UK
Registered in England: 2326316


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



diff command missing in cygwin distribution ?

2007-11-21 Thread Finof

Hi,

I just installed cygwin 2.573.2.2 directly from internet. 
Trying to get my linux-scripts working I repeated the installation a few
times (only changing text-mode to binary-mode and back). Now I'm using
test-mode.

Now my script fails on a diff command. And to my surprise I can't find
diff in my cygwin-folder.
Shouldn't it be there ??
-- 
View this message in context: 
http://www.nabble.com/%22diff%22-command-missing-in-cygwin-distribution---tf4849350.html#a13874870
Sent from the Cygwin list mailing list archive at Nabble.com.


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



RE: Weird error from rsync

2007-11-21 Thread Dave Korn
On 21 November 2007 01:57, Mike Richards wrote:

 I'm trying to run the following command
 
 rsync -rtzmv $HOME/My Documents/
 [EMAIL PROTECTED]:/cygdrive/e/rsync/$USER/
 
 but keep getting this strange error:
 
 building file list ... done
 rsync: mkdir /cygdrive/c/Documents and Settings/miker/Desktop/\#015

  That's a CR.

 failed: No such file or directory (2)
 rsync error: error in file IO (code 11) at
 /home/lapo/packaging/tmp/rsync-2.6.9/main.c(529) [receiver= 2.6.9]
 rsync: connection unexpectedly closed (8 bytes received so far) [sender]
 rsync error: error in rsync protocol data stream (code 12) at
 /home/lapo/packaging/tmp/rsync-2.6.9/io.c(453) [sender=2.6.9]
 ./rsync_win: line 5: [EMAIL PROTECTED]:/cygdrive/e/rsync/miker
 /
 No such file or directory
 
 Does anyone understand what is causing the \#015?

  Text-mode mount point?

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Undefined reference to _regcmp and _regex

2007-11-21 Thread Anik Pal
Hello All,
I was porting my application code to windows from solaris  environment using
cygwin, while compiling goes ok at linking phase I get the following error. 

 

/home/Administrator/glds/build/Sgl/tables.c:1744: undefined reference to
`_regcmp'

/home/Administrator/glds/build/Sgl/tables.c:1757: undefined reference to
`_regex'

 

Where to get related libraries  for _regcmp and _regex can anyone tell
me?

 

Thanks in advance!

Regards

Anik Pal

Vadodara, India



Anik Pal
Schlumberger, Vadodara, India



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



Re: diff command missing in cygwin distribution ?

2007-11-21 Thread Václav Haisman


Finof wrote, On 21.11.2007 11:57:
 Hi,
 
 I just installed cygwin 2.573.2.2 directly from internet. 
 Trying to get my linux-scripts working I repeated the installation a few
 times (only changing text-mode to binary-mode and back). Now I'm using
 test-mode.
 
 Now my script fails on a diff command. And to my surprise I can't find
 diff in my cygwin-folder.
 Shouldn't it be there ??
Cygwin setup.exe installs only very few packages by default.

Please, use http://cygwin.com/packages/ to find the package that you seek.

--
wilx



signature.asc
Description: OpenPGP digital signature


Re: diff command missing in cygwin distribution ?

2007-11-21 Thread Larry Hall (Cygwin)

On 11/21/2007, Finof wrote:
Hi, I just installed cygwin 2.573.2.2 directly from internet. Trying to get 
my linux-scripts working I repeated the installation a few times (only 
changing text-mode to binary-mode and back). Now I'm using test-mode.


2.573.2.2 is the version of 'setup.exe', not any of Cygwin's packages.  Each
package has their own version.  This is why we recommend *attaching* the
output of 'cygcehck -s -r -v' to problem reports, so we know what versions
of which packages you have installed.  See:

http://cygwin.com/problems.html

We highly recommend working with binary mounts as well.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



[Fwd: sshd display]

2007-11-21 Thread Roger Wells



 Original Message 
Subject:sshd display
Date:   Tue, 20 Nov 2007 08:52:55 -0500
From:   Roger Wells [EMAIL PROTECTED]
Reply-To:   [EMAIL PROTECTED]
Organization:   SAIC
To: [EMAIL PROTECTED]



I have a need to use a ssh client on a Linux machine to run a console 
application on a windows machine via cygwin sshd.  How does one cause 
the display to remain on the server machine?


--
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
[EMAIL PROTECTED]




--
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
[EMAIL PROTECTED]


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



Re: [Fwd: sshd display]

2007-11-21 Thread Larry Hall (Cygwin)

Roger Wells wrote:



 Original Message 
Subject: sshd display
Date: Tue, 20 Nov 2007 08:52:55 -0500
From: ...
Reply-To: ...
Organization: SAIC
To: ...



Please don't quote mail headers of previous messages.  Doing so just
provides spam fodder.






I have a need to use a ssh client on a Linux machine to run a console 
application on a windows machine via cygwin sshd.  How does one cause 
the display to remain on the server machine?





Why is this Cygwin-specific?  Does what you're trying to do work
Linux-Linux?  What are you trying to do specifically?  Unless you're
running a console app that doesn't understand PTYs (i.e. non-Cygwin
apps), you should see the output of any utility you run in the client
on Linux.  You'll need to be more specific about what you're trying to
do if this doesn't help you resolve your problem.  See:

http://cygwin.com/problems.html

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



Re: Cygwin ssh and MS AD

2007-11-21 Thread Corinna Vinschen
On Nov 18 23:08, pat wrote:
 Hello,
 
 I need to access from MS Windows to UNIX system using OpenSSH (from Cygwin).
 Both will be authenticated against MS Active Directory. But problem is if the
 OpenSSH from Cygwin using Kerberos ticket from Windows workstation or not?

If you use password authentication you're authenticated against AD.
This is essentially using Kerberos under the hood, AFAIK.  OpenSSH does
not use Kerberos directly since Kerberos support is not linked into
OpenSSH, basically because nobody is maintaining a working kerberos
implementation as part of the Cygwin distribution.


Corinna

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

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



Re: diff command missing in cygwin distribution ?

2007-11-21 Thread Finof

Thanks, I installed diffutils and now have many diff-commands available.



Finof wrote:
 
 Hi,
 
 I just installed cygwin 2.573.2.2 directly from internet. 
 Trying to get my linux-scripts working I repeated the installation a few
 times (only changing text-mode to binary-mode and back). Now I'm using
 test-mode.
 
 Now my script fails on a diff command. And to my surprise I can't find
 diff in my cygwin-folder.
 Shouldn't it be there ??
 

-- 
View this message in context: 
http://www.nabble.com/%22diff%22-command-missing-in-cygwin-distribution---tf4849350.html#a13877660
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: NSS and PAM

2007-11-21 Thread Corinna Vinschen
On Nov 19 10:18, Jerome Haltom wrote:
 I was wondering what the potential for providing a NSS and PAM
 implementation which used the built in Windows account base by default
 would be.
 
 Basically it would remove manual generation of /etc/passwd
 and /etc/group. Apps which queryed for these values would just get the
 right things made up on the fly. In my case, this means domain users.
 
 I'd imagine you would map local users to 'username' and domain users to
 'DOM\username' or some such, which is basically what Winbind ends up
 doing on Linux.
 
 Authentication using PAM would simply remove a lot of issues.

And it would generate new issues.  You would never be able to use a
simple user name for a domain user because there's no mapping from a
Cygwin user name to a Windows domain user name.  There would be no place
to store a Cygwin home directory and the user's shell, except you
generate a new file for these mappings.  But then, why not just use
/etc/passwd.  Apart from other problems like having to teach ls to show
more than 8 characters of the user name, there's also the problem of
porting pam to Cygwin.  http://cygwin.com/acronyms/#SHTDI


Corinna

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

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



Re: OpenSSH with Corkscrew. Cannot install Corkscrew

2007-11-21 Thread [EMAIL PROTECTED]
Dave Korn wrote:

 On 19 November 2007 10:18, jameshanley39 wrote:
 
  I tried these instructions.  Involve downloading a corkscrew.tar.gz
  file using gunzip and then tar. to decompress it.
  Hopelessly editting a script file called configure .
 
   There was no need to do that, the supplied configure script is fine.
 
  Then running that file.
  
  I get these errors.
  
  
  Current [EMAIL PROTECTED] ~/corkscrew/corkscrew-2.0
  $ ./configure
  creating cache ./config.cache
  checking for a BSD compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking whether make sets ${MAKE}... yes
  checking for working aclocal... missing
  checking for working autoconf... missing
  checking for working automake... missing
  checking for working autoheader... missing
  checking for working makeinfo... found
  checking for gcc... no
  checking for cc... no
  configure: error: no acceptable cc found in $PATH
 
   The problem is you don't have any compiler installed; a basic
 cygwin doesn't include it by default.  Re-run setup.exe and select
 the gcc- packages under the Devel category.
 
 
 cheers,
   DaveK

thanks,  that works.
also, a more obvious prerequisite for cygwin with corkscrew, is to
download make.   `cos make is mentioned next in Corkscrew`s INSTALL
and README file, and not installed by default by cygwin.




-- 



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



Re: [Fwd: sshd display]

2007-11-21 Thread Uber Zooka
  I have a need to use a ssh client on a Linux machine to run a console
  application on a windows machine via cygwin sshd.  How does one cause
  the display to remain on the server machine?
 


 Why is this Cygwin-specific?  Does what you're trying to do work
 Linux-Linux?  What are you trying to do specifically?  Unless you're
 running a console app that doesn't understand PTYs (i.e. non-Cygwin
 apps), you should see the output of any utility you run in the client
 on Linux.  You'll need to be more specific about what you're trying to
 do if this doesn't help you resolve your problem.  See:

Because he's trying to go from a linux machine to a machine running Cygwin

He's trying to run an app on a windows machine and wants to know how
to make the console on the windows machine stay there.

--
Jerome Wallace
Sr Systems Engineer
Alethian Systems
Whatever you do will be insignificant, but it is very important that
you do it.
 -=: Mahatma Ghandi :=-

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



Re: Undefined reference to _regcmp and _regex

2007-11-21 Thread Corinna Vinschen
On Nov 21 17:42, Anik Pal wrote:
 Hello All,
 I was porting my application code to windows from solaris  environment using
 cygwin, while compiling goes ok at linking phase I get the following error. 
 
 /home/Administrator/glds/build/Sgl/tables.c:1744: undefined reference to
 `_regcmp'
 
 /home/Administrator/glds/build/Sgl/tables.c:1757: undefined reference to
 `_regex'
 
 Where to get related libraries  for _regcmp and _regex can anyone tell
 me?

I have no idea.  regcmp/regex are very old functions for regular
expression handling, back from the System III days.  These functions
have been superseded at least three times.  The current implementation
is the POSIX functionality as described on

  http://www.opengroup.org/onlinepubs/009695399/functions/regcomp.html

This is also implemented in Cygwin.  If you need portable regexp
handling, consider to port your application to the POSIX variant.


Corinna

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

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



Re: Cygwin ssh and MS AD

2007-11-21 Thread pat
On Wed, 21 Nov 2007 14:58:39 +0100, Corinna Vinschen wrote
 On Nov 18 23:08, pat wrote:
  Hello,
  
  I need to access from MS Windows to UNIX system using OpenSSH (from Cygwin).
  Both will be authenticated against MS Active Directory. But problem is if 
  the
  OpenSSH from Cygwin using Kerberos ticket from Windows workstation or not?
 
 If you use password authentication you're authenticated against AD.
 This is essentially using Kerberos under the hood, AFAIK.  OpenSSH does
 not use Kerberos directly since Kerberos support is not linked into
 OpenSSH, basically because nobody is maintaining a working kerberos
 implementation as part of the Cygwin distribution.
 
 Corinna
 
 -- 
 Corinna Vinschen  Please, send mails regarding 
 Cygwin to Cygwin Project Co-Leader  cygwin AT cygwin DOT com 
 Red Hat
 

Thanks a lot. So the result is that Cygwin OpenSSH cannot be used with
Kerberos without OpenSSH update (and probably manual build).

 Pat

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



gcc bug

2007-11-21 Thread Samuel Thibault
Can someone test http://dept-info.labri.fr/~thibault/tmp/test.c ?

Samuel

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



RE: gcc bug

2007-11-21 Thread Dave Korn
On 21 November 2007 15:02, Samuel Thibault wrote:

 Can someone test http://dept-info.labri.fr/~thibault/tmp/test.c ?


/win/t/artimi/chips $ wget 'http://dept-info.labri.fr/~thi
bault/tmp/test.c'
--15:20:18--  http://dept-info.labri.fr/~thibault/tmp/test.c
   = `test.c'
Resolving dept-info.labri.fr... 147.210.9.83
Connecting to dept-info.labri.fr|147.210.9.83|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 204 [text/plain]

100%[] 204   --.--K/s

15:20:18 (2.18 MB/s) - `test.c' saved [204/204]

@___. .
(   /\
 ||--||(___)
 '  ''---'
/win/t/artimi/chips $


  Yep, the URL works fine.



  Perhaps you'd like to expand on that request?

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: gcc bug

2007-11-21 Thread Samuel Thibault
Dave Korn, le Wed 21 Nov 2007 15:22:15 -, a écrit :
 On 21 November 2007 15:02, Samuel Thibault wrote:
 
  Can someone test http://dept-info.labri.fr/~thibault/tmp/test.c ?
   Yep, the URL works fine.
   Perhaps you'd like to expand on that request?

Yes: please run make test and ./test

Samuel

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



RE: gcc bug

2007-11-21 Thread Dave Korn
On 21 November 2007 15:30, Samuel Thibault wrote:

 Dave Korn, le Wed 21 Nov 2007 15:22:15 -, a écrit :
 On 21 November 2007 15:02, Samuel Thibault wrote:
 
 Can someone test http://dept-info.labri.fr/~thibault/tmp/test.c ?
   Yep, the URL works fine.
   Perhaps you'd like to expand on that request?
 
 Yes: please run make test and ./test


  Yeh, I knew you meant that really.  Odd.  Is there something we're
forgetting about size-vs-sign preservation in size extension going on here?


/win/t/artimi/chips/earn/block/rom/.save $ cat test.c
#include stdlib.h
#include stdio.h
int main( void )
{
  int i=2;
  int x, y;
  if( (-10*abs (i-1)) == (10*abs(i-1)) )
printf (OMG,-10==10! %d  %d\n, (-10*abs (i-1)), (10*abs(i-1)));
  else
printf (nothing special here\n) ;

  printf (%d * %d = %d\n, (-10), (abs (i-1)), (-10*abs (i-1)));
  printf (%d * %d = %d\n, (-10), ((int)abs (i-1)), (-10*(int)abs (i-1)));
  printf (%d * %d = %d\n, (-10), (1), (-10*(int)1));

  printf (??? %d == %d ? %d\n, (-10*(int)abs (i-1)), (-10*(int)1),
(-10*(int)a
bs (i-1)) == (-10*(int)1));

  x = (-10);
  y = (abs (i-1));
  printf (x, y = %d, %d - prod %d\n, x, y, x * y);

  return 0 ;
}
@___. .
(   /\
 ||--||(___)
 '  ''---'
/win/t/artimi/chips/earn/block/rom/.save $ gcc -g -O0 test.c -o test
--save-tem
ps
@___. .
(   /\
 ||--||(___)
 '  ''---'
/win/t/artimi/chips/earn/block/rom/.save $ ./test.exe
OMG,-10==10! 10  10
-10 * 1 = 10
-10 * 1 = 10
-10 * 1 = -10
??? 10 == -10 ? 0
x, y = -10, 1 - prod -10
@___. .
(   /\
 ||--||(___)
 '  ''---'
/win/t/artimi/chips/earn/block/rom/.save $


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: unison-2.27.exe silently exits

2007-11-21 Thread Andrew Schulman
 I've installed 2.27 and and 2.13 on 3 different machines (XP, Vista, 
 2003 server), but on all of them, unison-2.27.exe simply exits (error 
 code 1) with no output, regardless of anything written on the command 
 line (-version, -help).

Robert, I have an updated version of unison2.27.  Can you please test it to see
if it works on your hosts?

wget http://home.comcast.net/~aschulman2/unison2.27/unison2.27-2.27.48-3.tar.bz2
tar -C/ unison2.27-2.27.48-3.tar.bz2
unison-2.27 -version

Thanks,
Andrew.


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



Re: gcc bug

2007-11-21 Thread Samuel Thibault
Dave Korn, le Wed 21 Nov 2007 15:38:55 -, a écrit :
 On 21 November 2007 15:30, Samuel Thibault wrote:
 
  Dave Korn, le Wed 21 Nov 2007 15:22:15 -, a écrit :
  On 21 November 2007 15:02, Samuel Thibault wrote:
  
  Can someone test http://dept-info.labri.fr/~thibault/tmp/test.c ?
Yep, the URL works fine.
Perhaps you'd like to expand on that request?
  
  Yes: please run make test and ./test
 
 
   Yeh, I knew you meant that really.  Odd.

Ok, so cygwin has it too. It's fixed in HEAD, see 
http://www.nabble.com/-Bug-c-34130---New%3A-the-builtin-abs%28%29-gives-wrong-result-when-used-in-some-expression-tf4824981.html#a13808833

Samuel

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



RE: gcc bug

2007-11-21 Thread Dave Korn
On 21 November 2007 15:43, Samuel Thibault wrote:

 Ok, so cygwin has it too. It's fixed in HEAD, see

http://www.nabble.com/-Bug-c-34130---New%3A-the-builtin-abs%28%29-gives-wrong-
result-when-used-in-some-expression-tf4824981.html#a13808833

  Now why didn't you just say PR34130 in the first place?  Yep, fixed on
HEAD certainly wouldn't mean fixed in a couple of years' old release
version!

  Interesting:

http://gcc.gnu.org/viewcvs/trunk/gcc/fold-const.c?view=logpathrev=130258

Revision 91373 - (view) (download) - [select for diffs]
Modified Sat Nov 27 10:13:56 2004 UTC (2 years, 11 months ago) by jakub
File length: 352911 byte(s)
Diff to previous 91170 (colored)

* fold-const.c (extract_muldiv_1) case ABS_EXPR: If ctype is
unsigned and type signed, build ABS_EXPR with signed_type (ctype)
and only afterwards convert to ctype.


  That's probably where it got introduced.  I could always backport the fix to
3.4.4 and spin a fresh release, and to be fair, I wasn't planning to, but
that's a scary enough bug that I feel like I want to.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: gcc bug

2007-11-21 Thread Samuel Thibault
Dave Korn, le Wed 21 Nov 2007 15:57:15 -, a écrit :
 On 21 November 2007 15:43, Samuel Thibault wrote:
 
  Ok, so cygwin has it too. It's fixed in HEAD, see
 
 http://www.nabble.com/-Bug-c-34130---New%3A-the-builtin-abs%28%29-gives-wrong-
 result-when-used-in-some-expression-tf4824981.html#a13808833
 
   Now why didn't you just say PR34130 in the first place?

Simply because I didn't know that URL in that first place :)

Samuel

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



Re: Announce: FlexDLL, flexible DLLs under Windows

2007-11-21 Thread Alain Frisch

Dave Korn wrote:

  This looks very interesting indeed.


Thanks! It's great to see some interest from people on this list.

Of course, implementing a similar feature directly in the linker and in 
the runtime library makes sense, and I'll be happy to see some of the 
ideas developed in FlexDLL appear in Cygwin. (Altough at this point, one 
could also imagine that Cygwin supports another binary format for 
dynamic libraries, e.g. ELF, which can deal with unresolved symbols 
natively.)


-- Alain




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



RE: Announce: FlexDLL, flexible DLLs under Windows

2007-11-21 Thread Dave Korn
On 21 November 2007 16:07, Alain Frisch wrote:

   (Altough at this point, one
 could also imagine that Cygwin supports another binary format for
 dynamic libraries, e.g. ELF, which can deal with unresolved symbols
 natively.)


  Not an unreasonable idea, but very hard to make work when we really want
cygwin apps to basically be windows apps; I can't see how cygwin could support
e.g. an ELF loader and yet still be able to launch cygwin apps from cmd.exe
rather than having to fire up bash or whatever.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



RE: Cygwin Bash Exception

2007-11-21 Thread Dave Korn
On 21 November 2007 16:51, Cook, Anthony D - Wilkes Barre, PA - Contractor
wrote:

 Every time I run a command I get these exceptions in the strace of the
 command. 
 
 Exception E06D7363 at 7C812A5B
 
 I get thousands of these and then the command finally runs.  Consequently,
 all commands run slow, very slow. 

  Well, then again, if you're running a command under strace, it's effectively
being debugged; you would expect it to be many times slower than usual.

 I am running the following version of
 Cygwin:  
 
 CYGWIN_NT-5.1 X224KGLZA451 1.5.23(0.156/4/2) 2006-12-19 10:52 i686 Cygwin
 
 Also, I am logged on to a 2003 domain.  Every single command run so bad you
 can forget about running scripts.  Startup of bash takes about 5 minutes
 because every command it tries to run at startup is so slow.  

  Ok, so why are you running your entire startup scripts under strace?  Heh,
only kidding, I guess you can't be doing that all the time.  It would be
useful if you'd sent your cygcheck output, we'd see if you have any network
drives in your path.

 What may be causing this problem?  Is there a way to fix this?

  I would guess it's interference from a http://cygwin.com/acronyms#BLODA
application.  The 7C812A5B address you quote is well outside the ranges where
the application and the cygwin dll get loaded, so I think it's coming from a
windows dll.

  If you wanted to get elaborate about it, you could run gdb, use it to debug
bash, and then use the 'info files' command when it hits the exception to see
what is occupying that area of memory.

  Also, there may be other problems that we aren't seeing.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: Announce: FlexDLL, flexible DLLs under Windows

2007-11-21 Thread Christopher Faylor
On Wed, Nov 21, 2007 at 04:25:31PM -, Dave Korn wrote:
On 21 November 2007 16:07, Alain Frisch wrote:

   (Altough at this point, one
 could also imagine that Cygwin supports another binary format for
 dynamic libraries, e.g. ELF, which can deal with unresolved symbols
 natively.)


  Not an unreasonable idea, but very hard to make work when we really want
cygwin apps to basically be windows apps; I can't see how cygwin could support
e.g. an ELF loader and yet still be able to launch cygwin apps from cmd.exe
rather than having to fire up bash or whatever.

It could theoretically do that if it had it's own loader for ELF binaries.

cgf

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



Cygwin Bash Exception

2007-11-21 Thread Cook, Anthony D - Wilkes Barre, PA - Contractor
Every time I run a command I get these exceptions in the strace of the command.
 
Exception E06D7363 at 7C812A5B
 
I get thousands of these and then the command finally runs.  Consequently, all 
commands run slow, very slow.  I am running the following version of Cygwin:
 
CYGWIN_NT-5.1 X224KGLZA451 1.5.23(0.156/4/2) 2006-12-19 10:52 i686 Cygwin
 
Also, I am logged on to a 2003 domain.  Every single command run so bad you can 
forget about running scripts.  Startup of bash takes about 5 minutes because 
every command it tries to run at startup is so slow.  
 
What may be causing this problem?  Is there a way to fix this?
 


Anthony D. Cook
Sr. Developer (Unix)
Northrop Grumman
Wilkes Barre, PA
(570)830-5916
 
Control your own destiny, or someone else will...
 


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



Re: unison-2.27.exe silently exits

2007-11-21 Thread Andrew Schulman
 tar -C/ unison2.27-2.27.48-3.tar.bz2

Sorry, should be

tar -C/ -jxf unison2.27-2.27.48-3.tar.bz2



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



Re: [Fwd: sshd display]

2007-11-21 Thread Larry Hall (Cygwin)

On 11/21/2007, Uber Zooka wrote:
Because he's trying to go from a linux machine to a machine running 
Cygwin 


I think you're missing my point.  If there's an answer to this question
in the Linux-Linux case (or on any other UNIXy platforms that don't include
Cygwin) then that same approach should work on Cygwin.  If it doesn't, then
that's a Cygwin issue and on-topic.  If it does work, then that's the answer
to the question and Cygwin has no bearing, thus the original inquiry is
off-topic.

He's trying to run an app on a windows machine and wants to know 
how to make the console on the windows machine stay there.


Since 'ssh' is a client program on the client machine that's logging in
remotely to the server machine, there's nothing visible on the server.
Output goes to the client terminal.  There's no visible mechanism on the
server for this output to stay on.  There may be other ways to achieve
something that would be a reasonable alternative in this case but that
would presuppose that we understand what actual problem the OP was trying
to solve.  That's why I suggested he provide more info if he has a Cygwin-
specific issue.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



Re: unison-2.27.exe silently exits

2007-11-21 Thread Robert Schmidt

Andrew Schulman wrote:

Robert, I have an updated version of unison2.27.  Can you please test it to see
if it works on your hosts?


Thanks, Andrew - that works!

Robert


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



Re: [Fwd: sshd display]

2007-11-21 Thread Robert Kiesling
[ Charset UTF-8 unsupported, converting... ]
 On 11/21/2007, Uber Zooka wrote:
  Because he's trying to go from a linux machine to a machine running 
  Cygwin 
 
 I think you're missing my point.  If there's an answer to this question
 in the Linux-Linux case (or on any other UNIXy platforms that don't include
 Cygwin) then that same approach should work on Cygwin.  If it doesn't, then
 that's a Cygwin issue and on-topic.  If it does work, then that's the answer
 to the question and Cygwin has no bearing, thus the original inquiry is
 off-topic.
 
  He's trying to run an app on a windows machine and wants to know 
  how to make the console on the windows machine stay there.
 
 Since 'ssh' is a client program on the client machine that's logging in
 remotely to the server machine, there's nothing visible on the server.
 Output goes to the client terminal.  There's no visible mechanism on the
 server for this output to stay on.  There may be other ways to achieve
 something that would be a reasonable alternative in this case but that
 would presuppose that we understand what actual problem the OP was trying
 to solve.  That's why I suggested he provide more info if he has a Cygwin-
 specific issue.

An off-topic answer would be xon(1).

-- 
Ctalk Home Page: http://ctalk-lang.sourceforge.net


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



Re: [Fwd: sshd display]

2007-11-21 Thread Brian Mathis
On Nov 21, 2007 3:58 PM, Robert Kiesling [EMAIL PROTECTED] wrote:
 [ Charset UTF-8 unsupported, converting... ]
  On 11/21/2007, Uber Zooka wrote:
   Because he's trying to go from a linux machine to a machine running
   Cygwin
 
  I think you're missing my point.  If there's an answer to this question
  in the Linux-Linux case (or on any other UNIXy platforms that don't include
  Cygwin) then that same approach should work on Cygwin.  If it doesn't, then
  that's a Cygwin issue and on-topic.  If it does work, then that's the answer
  to the question and Cygwin has no bearing, thus the original inquiry is
  off-topic.
 
   He's trying to run an app on a windows machine and wants to know
   how to make the console on the windows machine stay there.
 
  Since 'ssh' is a client program on the client machine that's logging in
  remotely to the server machine, there's nothing visible on the server.
  Output goes to the client terminal.  There's no visible mechanism on the
  server for this output to stay on.  There may be other ways to achieve
  something that would be a reasonable alternative in this case but that
  would presuppose that we understand what actual problem the OP was trying
  to solve.  That's why I suggested he provide more info if he has a Cygwin-
  specific issue.

 An off-topic answer would be xon(1).


You're both missing the point.  Throwing in your two cents without
providing any help is just as bad, if not worse, than someone who's
asking a *possibly* off-topic question, which, since this involves
cygwin, is not likely.  If such a marginally off-topic message on this
incredibly high volume mailing list bothers you, there's a delete
button in your email client.


To help the OP:
An ssh connection typically does not create any sort of console window
on the system that is being connected to (this is the same on Linux or
Windows/Cygwin).  Depending on your needs, you may be able to emulate
something like this using 'screen'.

You can open screen in the local terminal (rxvt is recommended), and
start a screen session inside of it.  Then when you ssh in, you can
attach to that screen session using screen -x and both parties will
be able to see what's going on.  There's a little more to it than
that, and will probably need some experimentation, but that's
something that can get you started.

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



Re: [Fwd: sshd display]

2007-11-21 Thread Robert Kiesling
[ Charset ISO-8859-1 unsupported, converting... ]
 On Nov 21, 2007 3:58 PM, Robert Kiesling [EMAIL PROTECTED] wrote:
  [ Charset UTF-8 unsupported, converting... ]
   On 11/21/2007, Uber Zooka wrote:
Because he's trying to go from a linux machine to a machine running
Cygwin
  
   I think you're missing my point.  If there's an answer to this question
   in the Linux-Linux case (or on any other UNIXy platforms that don't 
   include
   Cygwin) then that same approach should work on Cygwin.  If it doesn't, 
   then
   that's a Cygwin issue and on-topic.  If it does work, then that's the 
   answer
   to the question and Cygwin has no bearing, thus the original inquiry is
   off-topic.
  
He's trying to run an app on a windows machine and wants to know
how to make the console on the windows machine stay there.
  
   Since 'ssh' is a client program on the client machine that's logging in
   remotely to the server machine, there's nothing visible on the server.
   Output goes to the client terminal.  There's no visible mechanism on the
   server for this output to stay on.  There may be other ways to achieve
   something that would be a reasonable alternative in this case but that
   would presuppose that we understand what actual problem the OP was trying
   to solve.  That's why I suggested he provide more info if he has a Cygwin-
   specific issue.
 
  An off-topic answer would be xon(1).
 
 
 You're both missing the point.  Throwing in your two cents without
 providing any help is just as bad, if not worse, than someone who's
 asking a *possibly* off-topic question, which, since this involves
 cygwin, is not likely.  If such a marginally off-topic message on this
 incredibly high volume mailing list bothers you, there's a delete
 button in your email client.
 
 
 To help the OP:
 An ssh connection typically does not create any sort of console window
 on the system that is being connected to (this is the same on Linux or
 Windows/Cygwin).  Depending on your needs, you may be able to emulate
 something like this using 'screen'.
 
 You can open screen in the local terminal (rxvt is recommended), and
 start a screen session inside of it.  Then when you ssh in, you can
 attach to that screen session using screen -x and both parties will
 be able to see what's going on.  There's a little more to it than
 that, and will probably need some experimentation, but that's
 something that can get you started.

I consider myself scolded.  I probably shouldn't try to go any further
without actually trying to do accomplish it.  But here goes The
OP could simply replace the remote shell with the app that is to do
the display (which in the case you suggested would be something like
bash -c screen), and let screen virtualize the connection.
Warning - technically OT again, I know, like all Cygwin/X topics here:
Also connecting Unix-Unix or Unix-Cygwin with SSL requires accepting
connections via the X server, which in the case of Cygwin can be coaxed 
into accepting connections via SSL, and then the app would have some degree 
of compatibility cross-platform.  Then the remote command might be something
like xterm -e screen  I don't see much point in arguing about etiquette 
(Where is the cygwin-etiquette list, anyway?), but the vagueness of the original
posting causes me to suggest that there is no, one way, to go about 
accomplishing this task.  (You didn't get the Window client-server thing 
backward, 
did you?).  Anyway, this remote display implementating would require a lot of 
RTFM'ing.

HTH

-- 
Ctalk Home Page: http://ctalk-lang.sourceforge.net


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



rehash= command not found

2007-11-21 Thread Lixia Jin
I think I installed the full version of cygwin. But when I type
'rehash', it tells me command not found
Where is wrong?
Thank you for help!

Lixia

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



Re: rehash= command not found

2007-11-21 Thread Larry Hall (Cygwin)

Lixia Jin wrote:

I think I installed the full version of cygwin. But when I type
'rehash', it tells me command not found
Where is wrong?
Thank you for help!


You're looking for 'hash -r' in 'bash'.  'rehash' is a C-shell syntax.
Run 'tcsh' if you prefer C-shell.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



gcj segmentation fault on commons-codec

2007-11-21 Thread James Hunsaker IV
I am trying to compile a java program which uses Apache commons-codec
library.  gcj is crashing with a segmentation fault.  Any clues?
Thanks.

$ gcj -v /cygdrive/c/Docume~1/hunsaker/Workspace/S3MD5/src/S3MD5.java
/cygdrive/c/Docume~1/hunsaker/Workspace/S3MD5/lib/*.jar -o s3md5sum
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libgcj.spec
rename spec lib to liborig
Configured with: /usr/build/package/orig/test.respin/gcc-
3.4.4-3/configure --verbose --prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls
--without-included-gettext --enable-version-specific-runtime-libs
--without-x --enable-libgcj --disable-java-awt --with-system-zlib
--enable-interpreter --disable-libgcj-debug --enable-threads=posix
--enable-java-gc=boehm --disable-win32-registry
--enable-sjlj-exceptions --enable-hash-synchronization
--enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/jc1.exe
/cygdrive/c/DOCUME~1/hunsaker/LOCALS~1/Temp/ccepmNBGjx
-fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc
-fnon-call-exceptions -fno-omit-frame-pointer -fkeep-inline-functions
-quiet -dumpbase ccepmNBGjx -mtune=pentiumpro -auxbase ccepmNBGjx -g1
-version -ffilelist-file -o
/cygdrive/c/DOCUME~1/hunsaker/LOCALS~1/Temp/cc8yYdmb.s
GNU Java version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
(i686-pc-cygwin)
compiled by GNU C version 3.4.4 (cygming special, gdc 0.12,
using dmd 0.125).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Class path starts here:
.;C/
\Program Files\Java\jre1.6.0_02\lib\ext\QTJava.zip/ (zip)
/usr/share/java/libgcj-3.4.4.jar/ (system) (zip)
org/apache/commons/codec/BinaryDecoder.class:0: internal compiler
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://cygwin.com/problems.html for instructions.

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



in /bin after installation

2007-11-21 Thread C. Blue
I installed to c:\cygin, but it always places me in c:\cygwin\bin when
I click the cygwin icon. I thought I was supposed to be in my home
folder, ie c:\cygwin\home\myname
Also, the bash prompt looks very sparse, I thought something looked
different when I last saw a cygwin system.
Also, many files and stuff that various googling told me about are not
there (for example any /etc/passwd, or any /etc/postsetup or some such
things).
It seems that this installation just somehow failed. I tried it 3
times now, always the same.
My system is windows 2003 sp 2.

regards
CB



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



Problem with win32 GUI application using console

2007-11-21 Thread Slava Pestov

Hi everybody,

I'm building a native Win32 GUI application which should be able to 
display a console on demand for debugging purposes. I found that my 
program was crashing when compiled with Cygwin, however it worked fine 
with Visual Studio.


Here is the output of gcc --version:

gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I narrowed the problem down to a short test case. Here goes:

-

/* Compile with -mno-cygwin -mwindows */

#include windows.h
#include stdio.h
#include fcntl.h
#include io.h

int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
if(!AllocConsole())
exit(1);
HANDLE h = GetStdHandle((intptr_t)STD_OUTPUT_HANDLE);
if(h == INVALID_HANDLE_VALUE)
exit(2);
int fd = _open_osfhandle(h,_O_TEXT);
if(fd == -1)
exit(3);
FILE *fp = _fdopen(fd,w);
if(!fp)
exit(4);
fprintf(fp,Hello world\n);
fflush(fp);
exit(0);
}

-

Let me know if you need any additional information.

Cheers

Slava

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



Re: in /bin after installation

2007-11-21 Thread Larry Hall (Cygwin)

C. Blue wrote:

I installed to c:\cygin, but it always places me in c:\cygwin\bin when
I click the cygwin icon. I thought I was supposed to be in my home
folder, ie c:\cygwin\home\myname
Also, the bash prompt looks very sparse, I thought something looked
different when I last saw a cygwin system.
Also, many files and stuff that various googling told me about are not
there (for example any /etc/passwd, or any /etc/postsetup or some such
things).
It seems that this installation just somehow failed. I tried it 3
times now, always the same.
My system is windows 2003 sp 2.



Seems like your postinstall scripts are not running for some reason.
My WAG would be that you have some http://cygwin.com/acronyms/#BLODA
that's interfering.  That may be the best place to start looking for a
fix.  Otherwise, you can certainly check the '/etc/postinstall' directory
for scripts that don't have a .done suffix and run them manually.
Assuming they run well that way, that should fix you up.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



Re: Announce: FlexDLL, flexible DLLs under Windows

2007-11-21 Thread Brian Dessent
Christopher Faylor wrote:

   Not an unreasonable idea, but very hard to make work when we really want
 cygwin apps to basically be windows apps; I can't see how cygwin could 
 support
 e.g. an ELF loader and yet still be able to launch cygwin apps from cmd.exe
 rather than having to fire up bash or whatever.
 
 It could theoretically do that if it had it's own loader for ELF binaries.

Yes, probably.  But then you run into the situation where you're doing
things behind the back of Windows, so to speak.  The first thing that
comes to mind is the prefetching that is present in XP and later, which
reduces process startup time by recording the disk extents of all images
involved in startup so that they can be loaded all at once sequentially
the next time the process starts.   The next thing is the memory
manager, which I think treats DLLs differently than generic file
mappings for the purpose of maintaining and trimming the working set. 
And I wonder if there are further things that would not be possible
without specific kernel support -- unless maybe you had a real win32
stub image for each exe/dll.

Anyway, I don't mean to discourage anyone from trying this crazy idea,
but just pointing out why staying with PE-compliant DLLs and EXEs under
the hood has its advantages.

Brian

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



Re: (non-)updates for upx and lighttpd

2007-11-21 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

(Having problems posting to cygwin-apps at the moment.)

Lapo Luchini wrote:
 I'm having some problems updating both upx and lighttpd to their latest
 upstream release: they've changed the build script enough to break the
 existing GBS and  I haven't found the time to adapt the GBS to them, yet.

Try this:

http://cygwin-ports.cvs.sourceforge.net/*checkout*/cygwin-ports/ports/net/lighttpd/lighttpd-1.4.18-1.cygport
http://cygwin-ports.cvs.sourceforge.net/*checkout*/cygwin-ports/ports/net/lighttpd/lighttpd-1.4.18-1.src.patch

You will need to change the CYGCONF_ARGS based on what's actually
available in the distro instead of all the additional stuff in Ports
(i.e. no fam [gamin], lua, mysql).


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHRRc9piWmPGlmQSMRCAeNAKCCt+XHSwRl8M6YK9q42PY56dj3OwCgtMtw
FjEUaJpXgfHmDT78cdDgSg8=
=xwC4
-END PGP SIGNATURE-

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



Re: Announce: FlexDLL, flexible DLLs under Windows

2007-11-21 Thread Christopher Faylor
On Wed, Nov 21, 2007 at 06:30:06PM -0800, Brian Dessent wrote:
Christopher Faylor wrote:
somebody else wrote:
Not an unreasonable idea, but very hard to make work when we really
want cygwin apps to basically be windows apps; I can't see how cygwin
could support e.g.  an ELF loader and yet still be able to launch
cygwin apps from cmd.exe rather than having to fire up bash or
whatever.

It could theoretically do that if it had it's own loader for ELF
binaries.

Yes, probably.  But then you run into the situation where you're doing
things behind the back of Windows, so to speak.  The first thing that
comes to mind is the prefetching that is present in XP and later, which
reduces process startup time by recording the disk extents of all
images involved in startup so that they can be loaded all at once
sequentially the next time the process starts.

That wouldn't be a terrifically big problem for things like, e.g.,
libncurses.so and the majority of the shared libraries used by cygwin.

The next thing is the memory manager, which I think treats DLLs
differently than generic file mappings for the purpose of maintaining
and trimming the working set.  And I wonder if there are further things
that would not be possible without specific kernel support -- unless
maybe you had a real win32 stub image for each exe/dll.

Of course you'd have a real win32 stub for the exe.  I'm not talking
about writing a kernel driver or a new subsystem and I'm not talking
about an all-or-nothing scenario.

cgf

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