[ITP] tig 0.9.1 -- Curses based git repository browser

2007-10-18 Thread Jari Aalto

Included in Debian stable:

  http://packages.debian.org/tig

Jari

sdesc: Curses based git repository browser
ldesc: A command line repository browser capable of displaying a summerized
revision log and showing commit log messages, diffstats and diffs. Progam
may also be used as a pager. It reads input from stdin and colorizes it.
category: Utils
requires: cygwin git libiconv2 libncurses8

a) manual

  wget\
http://cygwin.cante.net/tig/tig-0.9.1-1-src.tar.bz2 \
http://cygwin.cante.net/tig/tig-0.9.1-1.tar.bz2 \
http://cygwin.cante.net/tig/setup.hint

b) automated

  gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8

  mkdir tig ; cd tig
  rm -f get.sh get.sh.sig
  wgethttp://cygwin.cante.net/tig/get.sh \
  http://cygwin.cante.net/tig/get.sh.sig 
  gpg --verify get.sh.sig get.sh 
  sh get.sh

-- 
Welcome to FOSS revolution: we fix and modify until it shines


src/winsup/cygwin ChangeLog include/sys/param.h

2007-10-18 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2007-10-18 10:42:43

Modified files:
winsup/cygwin  : ChangeLog 
winsup/cygwin/include/sys: param.h 

Log message:
* include/sys/param.h (MAXPATHLEN): Define as PATH_MAX.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3939r2=1.3940
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/param.h.diff?cvsroot=srcr1=1.6r2=1.7



src/winsup/cygwin ChangeLog fhandler.cc

2007-10-18 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2007-10-18 12:40:27

Modified files:
winsup/cygwin  : ChangeLog fhandler.cc 

Log message:
* fhandler.cc (fhandler_base::open): Open native symlinks with
FILE_OPEN_REPARSE_POINT flag.  Fix typo in comment.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3940r2=1.3941
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=srcr1=1.303r2=1.304



mysql shared libraries.

2007-10-18 Thread thefinn

Has anyone had any success compiling these on cygwin?

I'm just installing a project I worked on a few years back, however it 
requires a little known eggdrop module that allows tcl calls to mysql 
(yes that's right :)).


Compilation of the module however under cygwin could make for a lot of 
fun if I can get enough of the mysql libraries installed.


thanks
TF.


--
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 for windows issue

2007-10-18 Thread Corinna Vinschen
On Oct 17 19:14, Mick Ken wrote:
 Friends,
 I am trying to install SSH on a Windows 2003 server since last 3 days
 and still no luck.
 
 I have tried literally everything and searched 100s of google  pages
 but I am getting this error.I would greatly appreciate if someone can
 help me resolve this.
 
 Here's the trace from the server end:
 
 E:\Program Files\OpenSSH\usr\sbinsshd -d
 debug1: sshd version OpenSSH_3.8.1p1

This is a *very* old release of OpenSSH.  Given your response to my
previous reply to you, and given the subject of this mail, I assume
you're trying to run the 3rd-party OpenSSH for Windows product.

Given that, your question is off-topic here.  This mailing list does
not support 3PP software (see http://cygwin.com/acronyms/#3PP).
Please put this to the support channels  of OpenSSH for Windows.


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: Keyboard layout changed

2007-10-18 Thread Corinna Vinschen
On Oct 17 22:18, Eric Lilja wrote:
 Hi, I haven't used cygwin much the past month or so and I definetly haven't 
 tampered with its setting, but when I launched it today I was surprised to 
 find that my keyboard layout had changed from swedish to american. It had 
 only changed in bash not in any other program. I'm running an american 
 version of XP but I'm using a Swedish keyboard. The language bar or 
 whatever it's called (that allows toggling layouts, you might not have seen 
 this if you run american xp with american keyboard) that sits near the 
 clock was disabled soon after first installing XP on this computer. I'm 

This has nothing to do with Cygwin.  Did you never try to get the
language bar back after installing XP?  It's a setting in Start
Menu-Control Panel-Regional and Language Options-Tab Languages
-Button Details...-Tab Settings-Button Language Bar... Here's a
Checkbox Show the Language bar on the desktop.


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/



aspell installation problem

2007-10-18 Thread Michel Juillard
aspell depends on cygncurses7.dll, but the aspell package doesn't 
trigger installation of package

'libncurses7'

When one is running aspell without cygncurses7.dll under bash, the 
process dies without issuing any message. When running aspell under CMD, 
you get the message pointing to the problem.


Thank you for providing these wonderfull tools!

Michel

--
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: Keyboard layout changed

2007-10-18 Thread Eric Lilja

Corinna Vinschen wrote:

On Oct 17 22:18, Eric Lilja wrote:
Hi, I haven't used cygwin much the past month or so and I definetly haven't 
tampered with its setting, but when I launched it today I was surprised to 
find that my keyboard layout had changed from swedish to american. It had 
only changed in bash not in any other program. I'm running an american 
version of XP but I'm using a Swedish keyboard. The language bar or 
whatever it's called (that allows toggling layouts, you might not have seen 
this if you run american xp with american keyboard) that sits near the 
clock was disabled soon after first installing XP on this computer. I'm 


This has nothing to do with Cygwin.  Did you never try to get the
language bar back after installing XP?  It's a setting in Start
Menu-Control Panel-Regional and Language Options-Tab Languages
-Button Details...-Tab Settings-Button Language Bar... Here's a
Checkbox Show the Language bar on the desktop.



No, I didn't because I thought I had disabled the ability to change the 
language. Is changing it on a per-program basis because I only had the 
different layout under cygwin. Restarting cygwin didn't help. Was it 
some weird key sequence I happened to enter while working in bash? 
Anyway, when I rebooted today the problem was gone. Thanks for your reply.




Corinna




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



[ANNOUNCEMENT] Updated: brltty 3.9-1

2007-10-18 Thread Samuel Thibault
Version 3.9-1 of brltty has been uploaded.

It is a background process (daemon) providing access to the Windows
Console for a blind person using a refreshable braille display.

--  brltty-3.9-1 -- 2007-10-18 ---
Adds service support.

If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin@cygwin.com .

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

[EMAIL PROTECTED]

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

http://sources.redhat.com/lists.html#unsubscribe-simple

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

--
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: Problem with the dos2unix command

2007-10-18 Thread Dave Korn
On 18 October 2007 06:07, Charles Wilson wrote:

 Patrick Monnerat wrote:
 I'm trying to convert a \r\n line-ending file to unix style, but
 this file has some lines with their last character being \r (i.e.: the
 sequence of binary bytes is ...\r\r\n...)
 
 Using dos2unix to convert it strips both \r, resulting in a byte sequence
 ...\n... 
 
 This seems to me a bug. I need the trailing \r in the file as a normal
 character, not being part of the line ending.
 
 This behavior is by design.  What you ask doesn't make much sense for
 most text processing:

  But, since it's what Patrick wants:

sed -b -e 's/\r$//g'  infile  outfile

ought to do the trick:

/artimi/chips $ od -c foo
000   l  \r   i   n   e   1  \r  \n   l   i   n   e   s   2
020  \r  \r  \n   l   i   n   e   s   3  \r  \n
034
@___. .
(   /\
 ||--||(___)
 '  ''---'
/artimi/chips $ sed  foo -b -e 's/\r$//g' | od -c
000   l  \r   i   n   e   1  \n   l   i   n   e   s   2  \r
020  \n   l   i   n   e   s   3  \n
031
@___. .
(   /\
 ||--||(___)
 '  ''---'
/artimi/chips $

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: Keyboard layout changed

2007-10-18 Thread Corinna Vinschen
On Oct 18 11:51, Eric Lilja wrote:
 Corinna Vinschen wrote:
 On Oct 17 22:18, Eric Lilja wrote:
 today I was 
 surprised to find that my keyboard layout had changed from swedish to 
 american. It had only changed in bash not in any other program.
 [...]
 This has nothing to do with Cygwin.  Did you never try to get the
 language bar back after installing XP?  It's a setting in Start
 Menu-Control Panel-Regional and Language Options-Tab Languages
 -Button Details...-Tab Settings-Button Language Bar... Here's a
 Checkbox Show the Language bar on the desktop.

 No, I didn't because I thought I had disabled the ability to change the 
 language. Is changing it on a per-program basis because I only had the 
 different layout under cygwin.

AFAIK, yes.  By default you can switch between the installed layouts
with Alt+Shift.

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/



Once more: performance on Vista

2007-10-18 Thread david . gross
Hi

I'm running a current version of cygwin on my new Dual Core laptop under
Vista Business. Even though I've disabled UAC, Firewall, Defender and any
kind of virus/spyware software, the performance of some kinds of
operations is extremely poor.

In particular, shell scripts (e.g. configure scripts) are ridiculously
slow, as is make on large projects. I suspect that either file
operations or the invocation of programms take a long time, but I'm not
sure.

Any hints would be greatly appreciated.

David

--
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: Once more: performance on Vista

2007-10-18 Thread Sisyphus


- Original Message - 
From: [EMAIL PROTECTED]

.
.

In particular, shell scripts (e.g. configure scripts) are ridiculously
slow, as is make on large projects


I find Vista, XP and 2000 are all (roughly) equally slow. That is, I think 
it's a Windows thing rather than a Vista thing.


I can build ('./configure' and 'make') and test ('make check') *both* GMP 
and MPFR on my linux box in the time it takes to  run './configure' and 
'make' for GMP *alone* on Cygwin. And that's the case irrespective of 
whether the Windows box is 2k, XP, or Vista.


I have the impression that a build in the MSYS shell is slightly quicker 
than a build in Cygwin's bash shell - but I haven't timed a comparison and 
*could* be mistaken about that.


Cheers,
Rob 



--
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: is there a urlencode utility somewhere?

2007-10-18 Thread DePriest, Jason R.
On 10/17/07, Mike Marchywka  wrote:
 Hi,
 I found out that sometime during my reinstall process I lost something
 called
 urlencode Any idea where this is, or if it is even part of cygwin? I've
 been
 all through setup and google but no luck.

 This is supposed to read from stdin and output a urlencoded version
 but the only scripts I can find read from a file and don't take stdin
 by default.

 Thanks.


This is all I could find:
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=urlencode

--
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: Using a Cygwin-built DLL outside of Cygwin

2007-10-18 Thread Christian Kreibich
Hi Thorsten,

On Wed, 2007-10-17 at 23:53 +0100, Thorsten Kampe wrote:
  My questions:
  
  - Is there a Cygwin-only way to avoid the MSVC lib command detour, to
  avoid the multiple .text sections issue?
  
  - I have gleaned from related postings and FAQ 6.12 that the crashes are
  due to the use of cygwin1.dll and msvcrt.dll (and/or related Windows
  DLLs) in the same executable. Is this correct?
  
  - If so, is there a way to avoid the problem while still building the
  library in my cozy Cygwin/POSIX environment? My understanding is that
  -mno-cygwin doesn't help in that regard (per FAQ 6.10), and that I have
  to keep cygwin1.dll (per FAQ 6.11).
  
  - If getting rid of msvcrt.dll is the answer, what are the implications
  for building Windows-native applications? (And, assuming this is
  possible, if a kind soul could tell me how I'd go about doing this even
  though it's not a question at the heart of this list, that'd be much
  appreciated...)
 
 Aren't these FAQs?

I hope not. :) For starters, I don't think my first question has
anything to do with the FAQs you're pointing out.

 * Can I link with both MSVCRT*.DLL and cygwin1.dll?
 http://cygwin.com/faq/faq.programming.html#faq.programming.msvcrt-and-
 cygwin

Yes. As I mentioned above, I have actually read those. My second
question is whether the crashes I am seeing are likely to be a
consequence of this.

 * How do I use cygwin1.dll with Visual Studio or MinGW?
 http://cygwin.com/faq/faq.programming.html#faq.programming.msvs-mingw

Thanks for pointing this one out. This may answer my last two questions,
and I'd in fact seen the FAQ entry, but wrote it off to a serious case
of impedance mismatch. I found how-cygtls-works.txt at

http://cygwin.com/cgi-bin/cvsweb.cgi/~checkout~/src/winsup/cygwin/how-cygtls-works.txt?rev=1.1content-type=text/plaincvsroot=src

and read it. Unfortunately it is unclear how a discussion of the NT_TIB
structure from w32api/winnt.h relates to my question. The other
reference, winsuite/testsuite/cygload, appears to be emptry:

http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/testsuite/cygload/?cvsroot=src

I'll now try to get this snippet also mentioned in the FAQ to work:

  HMODULE h = LoadLibrary(cygwin1.dll);
  void (*init)() = GetProcAddress(h, cygwin_dll_init);
  init();

Cheers,
Christian
-- 

   http://www.icir.org/christian
http://www.whoop.org


--
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: [ANNOUNCEMENT] Updated: bash-3.2.25-17

2007-10-18 Thread Igor Peshansky
On Wed, 17 Oct 2007, Eric Blake wrote:

 [snip]
 Based on user response, I may be convinced to fold in the rest of Igor's
 create_devices.sh [see
 http://cygwin.com/cygwin-ug-net/using-specialnames.html] into the bash
 postinstall, as it admittedly looks a bit weird when 'ls /dev' shows
 /dev/stdin but not /dev/null (rest assured, all the devices still exist,
 even if a listing of /dev does not show them).

FYI, mknod works just fine on Cygwin, and I've been using a /ddev
directory populated with mknod for a while now (not in scripts, of course)
with no problems.

I have a preliminary version of a modified script that uses mknod to
populate a directory with devices.  Should we use that instead (and put
this in a postinstall script for the cygwin package)?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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: is there a urlencode utility somewhere?

2007-10-18 Thread Mike Marchywka

This is all I could find:


Thanks - I'm pretty sure if didn't come from there but it may be part of 
postfix.
I opened the google search to include linux and found the same script I had 
in a postfix zip file

It turns out, however, that these scripts check for a command line
parameter. When I removed the check, it ran just fine from stdiin.

Obviously, things that just start working like this are a little 
disconcerting

but I seem to be back up for now. I do have a lot of incomplete packages
according to cygcheck but that probably reflects the problem with /usr being
a link. I didn't want to do a complete reinstall and setup the links just 
for

one script.

Thanks.




Mike Marchywka
586 Saint James Walk
Marietta GA 30067-7165
404-788-1216 (C)- leave message
989-348-4796 (P)- emergency only
[EMAIL PROTECTED]
Note: Hotmail is blocking my mom's entire
ISP claiming it is to reduce spam but probably
to force users to use hotmail. Please DON'T
assume I am ignoring you and try
me on [EMAIL PROTECTED] if no reply
here. Thanks.






From: DePriest, Jason R. [EMAIL PROTECTED]
To: cygwin@cygwin.com
Subject: Re: is there a urlencode utility somewhere?
Date: Thu, 18 Oct 2007 11:30:35 -0500

On 10/17/07, Mike Marchywka  wrote:
 Hi,
 I found out that sometime during my reinstall process I lost something
 called
 urlencode Any idea where this is, or if it is even part of cygwin? 
I've

 been
 all through setup and google but no luck.

 This is supposed to read from stdin and output a urlencoded version
 but the only scripts I can find read from a file and don't take stdin
 by default.

 Thanks.


This is all I could find:
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=urlencode

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



_
Spiderman 3 Spin to Win! Your chance to win $50,000  many other great 
prizes! Play now! http://spiderman3.msn.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: is there a urlencode utility somewhere?

2007-10-18 Thread DePriest, Jason R.
On 10/18/07, Mike Marchywka  wrote:
 This is all I could find:

 Thanks - I'm pretty sure if didn't come from there but it may be part of
 postfix.
 I opened the google search to include linux and found the same script I had
 in a postfix zip file
 It turns out, however, that these scripts check for a command line
 parameter. When I removed the check, it ran just fine from stdiin.

 Obviously, things that just start working like this are a little
 disconcerting
 but I seem to be back up for now. I do have a lot of incomplete packages
 according to cygcheck but that probably reflects the problem with /usr being
 a link. I didn't want to do a complete reinstall and setup the links just
 for
 one script.

 Thanks.

 From: DePriest, Jason R. [EMAIL PROTECTED]
 To: cygwin@cygwin.com
 Subject: Re: is there a urlencode utility somewhere?
 Date: Thu, 18 Oct 2007 11:30:35 -0500
 
 On 10/17/07, Mike Marchywka  wrote:
   Hi,
   I found out that sometime during my reinstall process I lost something
   called
   urlencode Any idea where this is, or if it is even part of cygwin?
 I've
   been
   all through setup and google but no luck.
  
   This is supposed to read from stdin and output a urlencoded version
   but the only scripts I can find read from a file and don't take stdin
   by default.
  
   Thanks.
  
 
 This is all I could find:
 http://cygwin.com/cgi-bin2/package-grep.cgi?grep=urlencode
 
 

doing an apt-cache search urlencode on a Debian system throws these up:
$ apt-cache search urlencode
libapache-request-perl - Generic Apache Request Library
libapache2-mod-apreq2 - generic Apache request library - Apache module
libapache2-request-perl - generic Apache request library - Perl modules
libapreq2 - generic Apache request library
libapreq2-dev - generic Apache request library - development files
libapreq2-doc - generic Apache request library - documentation
so maybe you can get it from apache

-Jason

--
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 for windows issue

2007-10-18 Thread DePriest, Jason R.
On 10/17/07, Mick Ken  wrote:
 Friends,
 I am trying to install SSH on a Windows 2003 server since last 3 days
 and still no luck.

 I have tried literally everything and searched 100s of google  pages
 but I am getting this error.I would greatly appreciate if someone can
 help me resolve this.

 Here's the trace from the server end:

 E:\Program Files\OpenSSH\usr\sbinsshd -d
- - - - - cut lots of stuff - - - - -

Not the ssh server installed from http://cygwin.com/setup.exe is it?

Seriously, just run setup.exe and install the basics + the ssh server
(openssh in the Net category).

Run ssh-host-config, run ssh-user-config, it works.  Takes care of
creating a service account and giving the appropriate rights and
appropriate limitations.  Takes care of getting the permissions
correct.

Easy.

Leave OpenSSH for Windows out of this if you want to use cygwin
tools.  If all you want is an SSH server that runs on Windows and
gives you a cmd.exe prompt when you connect, then OpenSSH for
Windows is for you and, of course, this is not where you would get
support for it.

-Jason

--
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: cygrunsrv: Error stopping a service: OpenService: Win32 error 1060:

2007-10-18 Thread DePriest, Jason R.
On 10/18/07, Dao, Phuong  wrote:
 Hi,

 I get this error when trying to start the sshd service, does anyone has
 a clue of the problem?
 Thanks a lot

 C:\cygwin\bincygrunsrv -S sshd
 cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
 1062:
 The service has not been started.

 Phuong


Two things stand out from your cygcheck output.

The first:
DLL version: 1.5.19
My version is 1.5.24

The second thing is more important in this case:
No Cygwin services found.

Have you run ssh-host-config on this system?

-Jason

--
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: cygrunsrv: Error stopping a service: OpenService: Win32 error 1060:

2007-10-18 Thread Larry Hall (Cygwin)

Dao, Phuong wrote:

Hi,

I get this error when trying to start the sshd service, does anyone has
a clue of the problem?
Thanks a lot

C:\cygwin\bincygrunsrv -S sshd
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
1062:
The service has not been started.



According to your cygcheck output, you're running an old version of the
software, the installation didn't finish properly, and you haven't installed
sshd as a service.  All of these will likely cause some problems for you.
I would recommend running 'setup.exe' and letting it upgrade your system.
Once done, run 'ssh-host-config'.  Then try starting the service.  Don't
forget to run 'ssh-user-config' if you plan to ssh to other machines from
your Windows box.

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



cygrunsrv: Error stopping a service: OpenService: Win32 error 1060:

2007-10-18 Thread Dao, Phuong
Hi,

I get this error when trying to start the sshd service, does anyone has
a clue of the problem?
Thanks a lot

C:\cygwin\bincygrunsrv -S sshd
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
1062:
The service has not been started.

Phuong


cygcheck.out
Description: cygcheck.out
--
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: is there a urlencode utility somewhere?

2007-10-18 Thread Keith Christian
- Original Message 
From: DePriest, Jason R. [EMAIL PROTECTED]
To: cygwin@cygwin.com
Sent: Thursday, October 18, 2007 10:30:35 AM
Subject: Re: is there a urlencode utility somewhere?


Lots of hits on Google, if you want to use Perl:

http://www.google.com/search?hl=enlr=lang_ensa=Xoi=spellresnum=0ct=resultcd=1q=perl+urlencode+urldecodespell=1


Here is a pair of functions (urlencode and urldecode) in C (haven't tried to 
compile on Cygwin, though.)

http://csourcesearch.net/data/package/csync2/csync2-1.16/urlencode.c



===Keith

--
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: is there a urlencode utility somewhere?

2007-10-18 Thread Mike Marchywka


Here is a pair of functions (urlencode and urldecode) in C (haven't tried 
to compile on Cygwin, though.)


http://csourcesearch.net/data/package/csync2/csync2-1.16/urlencode.c



Thanks- I don't think it is tough to write a script ( I think the one I have 
now uses
awk ) but I was curious to know how messed up my install may be. I was 
hoping

this thing was in an obvious cygwin package somewhere- in any case I don't
remember that I ever had to fiddle with the script to make it
work and I am pretty sure if was c/c++.






From: Keith Christian [EMAIL PROTECTED]
To: cygwin@cygwin.com
Subject: Re: is there a urlencode utility somewhere?
Date: Thu, 18 Oct 2007 11:39:27 -0700 (PDT)

- Original Message 
From: DePriest, Jason R. [EMAIL PROTECTED]
To: cygwin@cygwin.com
Sent: Thursday, October 18, 2007 10:30:35 AM
Subject: Re: is there a urlencode utility somewhere?


Lots of hits on Google, if you want to use Perl:

http://www.google.com/search?hl=enlr=lang_ensa=Xoi=spellresnum=0ct=resultcd=1q=perl+urlencode+urldecodespell=1


Here is a pair of functions (urlencode and urldecode) in C (haven't tried 
to compile on Cygwin, though.)


http://csourcesearch.net/data/package/csync2/csync2-1.16/urlencode.c



===Keith

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



_
i'm making a difference. Make every IM count for the cause of your choice. 
Join Now. http://im.live.com/messenger/im/home/?source=TAGHM



--
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: Problem with cppunit: Segmentation Fault

2007-10-18 Thread René Berber
Heiko Selber wrote:

 I have a problem with cppunit and cygwin: Whenever I try to run a cppunit
 test, all I get is a core dump.
 
 Any help with this problem is greatly appreciated.
 
 For example, the cppunit home page 
 http://cppunit.sourceforge.net/cppunit-wiki/FrontPage points to a very small
 cppunit example at http://pantras.free.fr/articles/helloworld.html .
 
 I can compile and run it on Linux (e.g. SuSE 10): $ g++ Hello.cpp  -lcppunit
 -ldl $ ./a.out Test::testHelloWorldHello, world! : OK $
 
 When I try the same under cygwin, it compiles apparently well, but calling
 ./a.exe produces Segmentation fault (core dumped). The dump
[snip]

Can't reproduce the problem, look:

$ g++ Hello.cpp  -lcppunit
Info: resolving vtable for CppUnit::TestSuiteBuilderContextBaseby linking to
__imp___ZTVN7CppUnit27TestSuiteBuilderContextBaseE (auto-import)

$ ./a.exe
Test::testHelloWorldHello, world!
 : OK

I'm using cppunit 1.12.0 (latest release, it builds out of the box), did not
test with the version distributed as Cygwin package.
-- 
René Berber


--
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: cygrunsrv: Error stopping a service: OpenService: Win32 error 1060:

2007-10-18 Thread Dao, Phuong
Hi 

Thanks for your answer.
This is what I get when running ssh-host-config and trying to restart
the service:

$ ssh-host-config
Overwrite existing /etc/ssh_config file? (yes/no) yes Generating
/etc/ssh_config file Overwrite existing /etc/sshd_config file? (yes/no)
yes Privilege separation is set to yes by default since OpenSSH 3.3.
However, this requires a non-privileged account called 'sshd'.
For more info on privilege separation read
/usr/share/doc/openssh/README.privsep
.

Should privilege separation be used? (yes/no) yes Generating
/etc/sshd_config file

Host configuration finished. Have fun!

[EMAIL PROTECTED] ~
$ cygrunsrv -S sshd
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
1062:
The service has not been started.


Phuong

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Larry Hall (Cygwin)
Sent: October 18, 2007 2:41 PM
To: cygwin@cygwin.com
Subject: Re: cygrunsrv: Error stopping a service: OpenService: Win32
error 1060:

Dao, Phuong wrote:
 Hi,
 
 I get this error when trying to start the sshd service, does anyone
has
 a clue of the problem?
 Thanks a lot
 
 C:\cygwin\bincygrunsrv -S sshd
 cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
 1062:
 The service has not been started.


According to your cygcheck output, you're running an old version of the
software, the installation didn't finish properly, and you haven't
installed
sshd as a service.  All of these will likely cause some problems for
you.
I would recommend running 'setup.exe' and letting it upgrade your
system.
Once done, run 'ssh-host-config'.  Then try starting the service.  Don't
forget to run 'ssh-user-config' if you plan to ssh to other machines
from
your Windows box.

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

--
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: Problem with cppunit: Segmentation Fault

2007-10-18 Thread Dave Korn
On 18 October 2007 20:10, René Berber wrote:

 Heiko Selber wrote:
 
 I have a problem with cppunit and cygwin: Whenever I try to run a cppunit
 test, all I get is a core dump.

 For example, the cppunit home page
 http://cppunit.sourceforge.net/cppunit-wiki/FrontPage points to a very
 small cppunit example at http://pantras.free.fr/articles/helloworld.html .

 When I try the same under cygwin, it compiles apparently well, but calling
 ./a.exe produces Segmentation fault (core dumped). The dump [snip]
 
 Can't reproduce the problem, look:
 
 $ g++ Hello.cpp  -lcppunit
 Info: resolving vtable for CppUnit::TestSuiteBuilderContextBaseby linking to
 __imp___ZTVN7CppUnit27TestSuiteBuilderContextBaseE (auto-import)
 
 $ ./a.exe
 Test::testHelloWorldHello, world!
  : OK
 
 I'm using cppunit 1.12.0 (latest release, it builds out of the box), did not
 test with the version distributed as Cygwin package.

  I did and it reproduces.

  I wonder if the distro version of cppunit was built with the older version
of gcc that had problems with strings and dlls, because I got as far as some
kind of std::string c-tor before it blew up on me.


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: ZSH completion problem

2007-10-18 Thread Václav Haisman


Peter A. Castro wrote, On 15.10.2007 23:30:
 On Sun, 14 Oct 2007, Václav Haisman wrote:
 
 I have a problem with ZSH completion after updating from 4.3.2-1 to
 4.3.4-1.

 amber2::WilX:~ zsh --version
 zsh 4.3.4 (i686-pc-cygwin)

 amber2::WilX:~ cd tmp_path_files:695: command not found: _list_files

 In this example I have hit TAB after writing cd tmp. The rest of the
 line
 is error message I got.
 
 Hmm... I'll see if I can reproduce this (I'm not at my machine right
 now).  If you had compinit set before the upgrade you may need to remove
 your .zcompcache and reinitialize it.  There have been a few bugs with
I removed ~/.zcompdump and ~/.zshrc.zwc and it fixed the problem, thanks for
the hint.

 some of the completion items, but that seems like something that would
 have been caught before the release.  I'll check it tonight.
 
 Also, Cygwin's ZSH package seems to have the
 /usr/share/zsh/4.3.4/functions
 directory flattened compared to what I can see
 /usr/local/share/zsh/4.3.4/functions on FreeBSD. Is that ok?
 
 Yes.  It's flat for Linux too (and for the previous releases as well, I
Ok.

 believe).  Or are you refering to the sample Doc instead (which is in
 /usr/share/doc/zsh-4.3.4/Functions/) ?
 
 -- 
 VH
 

--
VH



signature.asc
Description: OpenPGP digital signature


Re: mysql shared libraries.

2007-10-18 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

thefinn wrote:
 Has anyone had any success compiling these on cygwin?

http://cygwin-ports.cvs.sourceforge.net/cygwin-ports/ports/db/mysql/


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

iD8DBQFHGANSpiWmPGlmQSMRCLC9AJ9GTp1DSwBFtRC/R136XRo7CYlxhgCfeWqJ
97TPULPWa3WEzGf+BkaxzNQ=
=hL43
-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: Using a Cygwin-built DLL outside of Cygwin

2007-10-18 Thread Christian Kreibich
On Thu, 2007-10-18 at 09:42 -0700, Christian Kreibich wrote:
 I'll now try to get this snippet also mentioned in the FAQ to work:
 
   HMODULE h = LoadLibrary(cygwin1.dll);
   void (*init)() = GetProcAddress(h, cygwin_dll_init);
   init();

Okay, I tweaked this slightly to get it to build:

  typedef int (__cdecl *MYPROC)();

  int _tmain(int argc, _TCHAR* argv[])
  {
  HMODULE h = LoadLibrary(TEXT(cygwin1.dll));
  MYPROC init = (MYPROC) GetProcAddress(h, cygwin_dll_init);
  init();

This delays the problem -- I now see C005 exceptions triggered
inside my library when writing to stderr later, after it has worked for
a while. The only difference between the working and crashing fprintf()s
is that before the second call, a different function inside my library
has been entered and a few variables declared (I'm happy to provide
details on request). The tail part of the strace looks as follows:

  461   34209 [main] foo 2020 build_argv: argv[0] = 'foo.exe'
   89   34298 [main] foo 2020 build_argv: argc 1
  412   34710 [main] foo 2020 build_fh_pc: fh 0x61167878
  187   34897 [main] foo 2020 open_shared: name (null), n 0, shared 0x6002 
(wanted 0x6002), h 0x7F4
  140   35037 [main] foo 2020 _pinfo::set_ctty: old no ctty
  103   35140 [main] foo 2020 _pinfo::set_ctty: attaching ctty /dev/console sid 
2020, pid 2020, pgid 2020, tty-pgid 0, tty-sid 2020
 2487   37627 [main] foo 2020 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
  135   37762 [main] foo 2020 fhandler_base::set_flags: O_TEXT/O_BINARY set in 
flags 0x1
   91   37853 [main] foo 2020 fhandler_base::set_flags: filemode set to binary
  457   38310 [main] foo 2020 init_cygheap::manage_console_count: 
fhandler_console::open: console_count 1, amount 1, ctty /dev/console, 
avoid_freeing_console 0
  132   38442 [main] foo 2020 fhandler_console::open: opened conin$ 0xF, 
conout$ 0x13
  224   38666 [main] foo 2020 fhandler_console::output_tcsetattr: 0 = tcsetattr 
(,6002001C) (ENABLE FLAGS 3) (lflag 107 oflag 9)
  407   39073 [main] foo 2020 build_fh_pc: fh 0x61167A80
  125   39198 [main] foo 2020 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
   91   39289 [main] foo 2020 fhandler_base::set_flags: O_TEXT/O_BINARY set in 
flags 0x1
   90   39379 [main] foo 2020 fhandler_base::set_flags: filemode set to binary
  370   39749 [main] foo 2020 init_cygheap::manage_console_count: 
fhandler_console::open: console_count 2, amount 1, ctty /dev/console, 
avoid_freeing_console 0
  337   40086 [main] foo 2020 fhandler_console::open: opened conin$ 0x3, 
conout$ 0x17
  224   40310 [main] foo 2020 fhandler_console::output_tcsetattr: 0 = tcsetattr 
(,6002001C) (ENABLE FLAGS 3) (lflag 107 oflag 9)
  416   40726 [main] foo 2020 build_fh_pc: fh 0x61167C88
  126   40852 [main] foo 2020 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
   92   40944 [main] foo 2020 fhandler_base::set_flags: O_TEXT/O_BINARY set in 
flags 0x1
   88   41032 [main] foo 2020 fhandler_base::set_flags: filemode set to binary
  368   41400 [main] foo 2020 init_cygheap::manage_console_count: 
fhandler_console::open: console_count 3, amount 1, ctty /dev/console, 
avoid_freeing_console 0
  128   41528 [main] foo 2020 fhandler_console::open: opened conin$ 0x7, 
conout$ 0x1B
  205   41733 [main] foo 2020 fhandler_console::output_tcsetattr: 0 = tcsetattr 
(,6002001C) (ENABLE FLAGS 3) (lflag 107 oflag 9)
  355   42088 [main] foo 2020 fhandler_console::need_invisible: 
invisible_console 0
  168   42256 [main] foo 2020 dll_crt0_1: user_data-main 0x0
   92   42348 [main] foo 2020 __set_errno: void dll_crt0_1(void*):948 val 0
   89   42437 [main] foo 2020 _cygtls::remove: wait 0x
   85   42522 [main] foo 2020 _cygtls::remove: removed 0x12CE64 element 0
  569   43091 [main] foo 2020 sig_send: sendsig 0x704, pid 2020, signal -34, 
its_me 1
  109   43200 [main] foo 2020 sig_send: Not waiting for sigcomplete.  its_me 1 
signal -34
   96   43296 [main] foo 2020 sig_send: returning 0x0 from sending signal -34
  192   43488 [main] foo 2020 fhandler_console::write: 12E2E0, 5
   90   43578 [main] foo 2020 fhandler_console::write: at 50(2) state is 0
  332   43910 [main] foo 2020 fhandler_console::write: 5 = write_console (,..5)
  580   44490 [main] foo 2020 sig_send: sendsig 0x704, pid 2020, signal -34, 
its_me 1
   99   44589 [main] foo 2020 sig_send: Not waiting for sigcomplete.  its_me 1 
signal -34
   99   44688 [main] foo 2020 sig_send: returning 0x0 from sending signal -34
  168   44856 [main] foo 2020 fhandler_console::write: 61101197, 1
   83   44939 [main] foo 2020 fhandler_console::write: at 45(-) state is 0
  263   45202 [main] foo 2020 fhandler_console::write: 1 = write_console (,..1)
--- Process 2020, exception C005 at 610EEABC
--- Process 2020, exception C005 at 00010007
--- Process 2020, exception C005 at 00010007
--- Process 2020, exception C005 at 00010007
--- Process 2020, exception C005 at 00010007

Updated: brltty 3.9-1

2007-10-18 Thread Samuel Thibault
Version 3.9-1 of brltty has been uploaded.

It is a background process (daemon) providing access to the Windows
Console for a blind person using a refreshable braille display.

--  brltty-3.9-1 -- 2007-10-18 ---
Adds service support.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .

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

[EMAIL PROTECTED]

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

http://sources.redhat.com/lists.html#unsubscribe-simple

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