Re: mintty: Doesn't know about CTRL key

2010-04-16 Thread Andy Koppe
Corinna Vinschen wrote: > Consider you have more than one mintty window open.  A typical use case > for me is to have one shell open under UAC and the other one with admin > rights to test to test something.  Then I want to close both ttys and > test again with another Cygwin DLL. > > So I press Ct

Re: Installing a "copy" of an installation on a new computer

2010-04-16 Thread Tom Hall
On Wed, Mar 10, 2010 at 08:38:56AM +0100, Olle Olsson wrote: > Hi, > > I found the following >   http://www.cygwin.com/ml/cygwin/2006-05/msg00753.html > which might provide one practical solution. Will try this. > /olle I was having trouble coming up with a sed command to convert all the version

Re: Cygwin does not have unicode support however FileZilla displays unicode

2010-04-16 Thread Eric
Andy wrote: > Actually there is a way to change to a font not normally available in > the console properties without changing the "Language for non-Unicode > programs". It requires registry hacking though. See > http://smallvoid.com/article/winnt-cmd-add-font.html > > Andy > I really appreciate e

Re: gcc: building gcc-4.5.0 for Cygwin

2010-04-16 Thread Jerry DeLisle
Paul Bibbings wrote: Whilst I do use the versions of gcc available as Cygwin packages, I have also successfully built from source and used other versions. Most recently I have added gcc-4.4.1, 4.4.3 and a 4.5.0 snapshot (end of Feb 2010). I configure them to build and install in /opt/gcc-{versi

Re: cron error can't switch user context

2010-04-16 Thread Tom Schutter
On Fri 2010-04-16 17:06, Cyrille Lefevre wrote: > > Le 16/04/2010 20:42, Tom Schutter a écrit : > > > > I have number of machines running Windows2003 and Cygwin 1.7.5. On most > > cron works. But on one (lemon) it does not. It appears that on lemon cron > > cannot switch the user context. > >

Re: cron error can't switch user context

2010-04-16 Thread Cyrille Lefevre
Le 17/04/2010 00:06, Cyrille Lefevre a écrit : cygserver is not running on any machine. 2K3 may need cygserver as well as passwd -D? s/-D/-R/ sorry Cordialement, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: cron error can't switch user context

2010-04-16 Thread Cyrille Lefevre
Le 16/04/2010 20:42, Tom Schutter a écrit : I have number of machines running Windows2003 and Cygwin 1.7.5. On most cron works. But on one (lemon) it does not. It appears that on lemon cron cannot switch the user context. Cronevents on lemon shows: 2010/04/15 17:19:01 [SYSTEM] /usr/sbin/

Re: group membership problems with ssh PubKey

2010-04-16 Thread Larry Hall (Cygwin)
On 4/16/2010 4:43 PM, Tom Schutter wrote: That is why I indicated that sshd was running as the domain user fdsv-sa-prx-sshdsrvr. So you did. Shame on me for responding when I can get interrupted while reading. ;-) Never mind. -- Larry Hall http://www.rfk.com RFK

Re: cron error can't switch user context

2010-04-16 Thread Pierre A. Humblet
- Original Message - From: "Tom Schutter" To: cygwin Sent: Friday, April 16, 2010 15:29 |I have attached cronbug.txt as per the cron-config instructions. | | Note that the original cronbug.txt was over 5MB. I edited cronbug.txt and removed 46000 lines of cronevents output. Is there a

Re: group membership problems with ssh PubKey

2010-04-16 Thread Tom Schutter
On Fri 2010-04-16 15:29, Larry Hall (Cygwin) wrote: > On 4/16/2010 4:14 PM, Tom Schutter wrote: > > It looks to me like this is an issue of being an "indirect" member of the > > Administrators group via the domain FDSV-GG-PrxBLD group. > > Which makes me think you're suffering from this FAQ: > >

Re: group membership problems with ssh PubKey

2010-04-16 Thread Larry Hall (Cygwin)
On 4/16/2010 4:14 PM, Tom Schutter wrote: It looks to me like this is an issue of being an "indirect" member of the Administrators group via the domain FDSV-GG-PrxBLD group. Which makes me think you're suffering from this FAQ:

group membership problems with ssh PubKey

2010-04-16 Thread Tom Schutter
This is a problem that I am having with all of my 1.7 installations. If I bring up a local shell and list my group memberships: lemon:~$ groups Domain Users Administrators Users FDSV-DL-FASS FDSV-DL-Proxix FDSV-GG-Bugzilla FDSV-GG-FASS FDSV-GG-Jabber FDSV-GG-Nagios FDSV-GG-PrxAAPCAdmins FDSV-GG-

Re: cron error can't switch user context

2010-04-16 Thread Tom Schutter
I have attached cronbug.txt as per the cron-config instructions. Note that the original cronbug.txt was over 5MB. I edited cronbug.txt and removed 46000 lines of cronevents output. Is there any way of cleaning out old cron entries from the event log? On Fri 2010-04-16 13:42, Tom Schutter wrot

Re: mintty: Doesn't know about CTRL key

2010-04-16 Thread Corinna Vinschen
On Apr 16 19:15, Andy Koppe wrote: > > Corinna Vinschen: > >> I'm more and more using mintty for everything (shell, admin shell, > >> heating my food, you name it). > > > > Food as well? It was only meant to make mint tea. Thanks for the > > endorsement. :) Oh, hey, I didn't see the mint tea exte

cron error can't switch user context

2010-04-16 Thread Tom Schutter
I have number of machines running Windows2003 and Cygwin 1.7.5. On most cron works. But on one (lemon) it does not. It appears that on lemon cron cannot switch the user context. Cronevents on lemon shows: 2010/04/15 17:19:01 [SYSTEM] /usr/sbin/cron: PID 656: (tschutter) CMD (/usr/bin/python

Re: Cygwin does not have unicode support however FileZilla displays unicode

2010-04-16 Thread Andy Koppe
me scribbled: > Eric wrote: >>> What exactly is coming out as rectangles, i.e. which letters do you >>> expect instead? Are any particular programs affected? >> >> Instead of Chinese characters I get the rectangle box that looks like [] but >> without the gaps. >> >> Programs affected so far are t

Re: Cygwin does not have unicode support however FileZilla displays unicode

2010-04-16 Thread Andy Koppe
Eric wrote: >> What exactly is coming out as rectangles, i.e. which letters do you >> expect instead? Are any particular programs affected? > > Instead of Chinese characters I get the rectangle box that looks like [] but > without the gaps. > > Programs affected so far are the command prompt and f

Re: mintty: Doesn't know about CTRL key

2010-04-16 Thread Andy Koppe
> Corinna Vinschen: >> I'm more and more using mintty for everything (shell, admin shell, >> heating my food, you name it). > > Food as well? It was only meant to make mint tea. Thanks for the endorsement. > :) > > >> Consider you have more than one mintty window open.  A typical use case >> for m

Re: mintty: Doesn't know about CTRL key

2010-04-16 Thread Andy Koppe
Corinna Vinschen: > I'm more and more using mintty for everything (shell, admin shell, > heating my food, you name it). Food as well? It was only meant to make mint tea. Thanks for the endorsement. :) > Consider you have more than one mintty window open.  A typical use case > for me is to have o

[ANNOUNCEMENT] Updated: parrot-2.2.0-1 New: rakudo-201003-1 (aka perl6)

2010-04-16 Thread Reini Urban
I updated the parrot and rakudo packages from 0.8.2 to 2.2.0-1 in the Cygwin distribution. rakudo switched to date versioning for the monthly releases, so that's 201003 now, the april release on the horizon. This is not from any branch of mine anymore, with only minimal patches. Canonical home

Updated: ImageMagick-6.4.0.6-2 + libMagick10, libMagick-devel, perl-Image-Magick

2010-04-16 Thread Reini Urban
The following packages have been updated in the Cygwin distribution: * ImageMagick-6.4.0.6-2 * libMagick10-6.4.0.6-2 * libMagick-devel-6.4.0.6-2 * perl-Image-Magick-6.4.0.6-2 This was made by me with permission by the original maintainer in january. I just forgot to upload it until now. http:/

Re: scripting elevated privilege on Windows 7

2010-04-16 Thread Eric Blake
On 04/16/2010 11:37 AM, Eric Blake wrote: > You are missing some quotes, and might as well use nicer quoting styles: ^^^ command substitution styles > > exec cygstart --action=runas "$(which "$prog") "$@" And I'm missing quotes, too.

Re: scripting elevated privilege on Windows 7

2010-04-16 Thread Eric Blake
On 04/16/2010 10:33 AM, davidarnst...@panix.com wrote: > Thank you Robert Pendell! I wrote this shell script. Any suggestions > for optimization? > > #!/bin/bash > if [ $# -eq 1 ] > then > echo "Usage: elev program arg1 arg2 ..." > exit 1 > fi > prog="$1" In assignment, there is n

Re: 64 bit applications

2010-04-16 Thread Christopher Faylor
On Fri, Apr 16, 2010 at 07:24:58PM +0400, Andrew P. wrote: > Thanks, Christopher Faylor ! > >But do You know, this mingw64 only can compile for x86_64 or run such >compiled application too? >And does mingw64 work under win32? > >Thanks in advance. Please just go to the mingw64 forums and ask your

Re: ./ns command not WORKING AT ALL!!!

2010-04-16 Thread Christopher Faylor
On Fri, Apr 16, 2010 at 05:35:32PM +0200, d.sastre.med...@gmail.com wrote: >Hello, > >A quick google search points to this: Yes. I was actually attempting a "teach someone to fish" exercise here. But I should know that that trick never works here. cgf -- Problem reports: http://cygwin.com

Re: scripting elevated privilege on Windows 7

2010-04-16 Thread DavidArnstein
Thank you Robert Pendell! I wrote this shell script. Any suggestions for optimization? #!/bin/bash if [ $# -eq 1 ] then echo "Usage: elev program arg1 arg2 ..." exit 1 fi prog="$1" shift exec cygstart --action=runas `which "$prog"` "$@" -- Problem reports: http://cygwin.com

Re: List Of Oficially Orphaned Packages

2010-04-16 Thread Corinna Vinschen
On Apr 16 17:52, d.sastre.med...@gmail.com wrote: > Hello, > > I've looking for it, but it looks like it doesn't exist. > Is there a LOOOP anywhere? http://cygwin.com/cygwin-pkg-maint Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader

List Of Oficially Orphaned Packages

2010-04-16 Thread d . sastre . medina
Hello, I've looking for it, but it looks like it doesn't exist. Is there a LOOOP anywhere? Regards. -- Huella de clave = 943C D77F 0CB0 02FE 166E E06F D13A A2E1 98A5 C953 pgpbB51O9vG9f.pgp Description: PGP signature

Re: ./ns command not WORKING AT ALL!!!

2010-04-16 Thread d . sastre . medina
Hello, A quick google search points to this: http://ce.sharif.edu/~m_amiri/project/networksimulator1/index.htm http://www.isi.edu/nsnam/ns/ The former lists cygwin as a requirement to install NS. IMHO, the OP should email his/her problems to the account refered in the latter: ns-us...@isi.edu Th

Re: 64 bit applications

2010-04-16 Thread Andrew P.
Thanks, Christopher Faylor ! But do You know, this mingw64 only can compile for x86_64 or run such compiled application too? And does mingw64 work under win32? Thanks in advance. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentat

mintty: Doesn't know about CTRL key

2010-04-16 Thread Corinna Vinschen
Hi Andy, I'm more and more using mintty for everything (shell, admin shell, heating my food, you name it). However, there's one thing which constantly is in the way. Consider you have more than one mintty window open. A typical use case for me is to have one shell open under UAC and the other o

Re: 64 bit applications

2010-04-16 Thread Christopher Faylor
On Fri, Apr 16, 2010 at 03:57:58PM +0400, Andrew P. wrote: > > Dear Sir! > >I didn't find on FAQ and mailing list the answer on question: >Is it possible to compile from sources for x86_64 architecture (and will >it be the default architecture) and then run this application via cygwin >installati

Re: ./ns command not WORKING AT ALL!!!

2010-04-16 Thread Christopher Faylor
On Fri, Apr 16, 2010 at 04:32:33AM -0700, novice_246 wrote: > >hey good morning im doing a project for college and we have to be using >cygwin Network Simulator. Now First of all we i installed in and ran the >command ./ns example1b.tcl and the window come up with the copyright info >blocking the s

Re: 64 bit applications

2010-04-16 Thread Larry Hall (Cygwin)
On 4/16/2010 7:57 AM, Andrew P. wrote: Dear Sir! I didn't find on FAQ and mailing list the answer on question: Is it possible to compile from sources for x86_64 architecture Cygwin has not been ported to x64. You can install the x86 version that's available on x64 of course. -- Larry Hall

Re: Problem with 'find'

2010-04-16 Thread Corinna Vinschen
On Apr 16 12:58, Gary . wrote: > $ find / -name pg_hba.conf -print > find: > `/proc/registry/HKEY_CLASSES_ROOT/*/shellex/PropertySheetHandlers/CryptoSignMenu': > Bad address > assertion "ent->fts_info == FTS_NSOK || state.type != 0" failed: file > "/usr/src/findutils-4.5.5-1/src/findutils-4.5.5/fi

RE: Cygwin does not have unicode support however FileZilla displays unicode

2010-04-16 Thread Eric
Andy wrote: > What exactly is coming out as rectangles, i.e. which letters do you > expect instead? Are any particular programs affected? Instead of Chinese characters I get the rectangle box that looks like [] but without the gaps. Programs affected so far are the command prompt and filenames.

64 bit applications

2010-04-16 Thread Andrew P.
Dear Sir! I didn't find on FAQ and mailing list the answer on question: Is it possible to compile from sources for x86_64 architecture (and will it be the default architecture) and then run this application via cygwin installation from cygwin.lilengine.com with all products selected under Win

Re: rsync: rename .file.JVPk8f -> file: Device or resource busy (16)

2010-04-16 Thread Frédéric Bron
> I actually meant the output of cacls for the file on your local disk :) D:\Documents\Fred\bin\pdfbook.exe BUILTIN\Administrators:C ALCAN\Domain Users:R ALCAN\BronF:F AUTORITE NT\SYSTEM:F

Re: Cygwin does not have unicode support however FileZilla displays unicode

2010-04-16 Thread Andy Koppe
Eric wrote: >> Bash does support Unicode, but when running it in a console window you >> need to select an appropriate font in the console window defaults to >> be able to display codepoints outside your language's codepage. Lucida >> Console or Consolas, for example. > > In cygwin's console window

./ns command not WORKING AT ALL!!!

2010-04-16 Thread novice_246
hey good morning im doing a project for college and we have to be using cygwin Network Simulator. Now First of all we i installed in and ran the command ./ns example1b.tcl and the window come up with the copyright info blocking the simulator. Finally firgured out how to exit that but the window ca

Re: Setup, update thyself

2010-04-16 Thread Alexander Groß
I invoke setup through a little helper script that updates setup.exe in case there is a new version on the server. wget.exe --timestamping http://cygwin.com/setup.exe runas.exe /user:%USERDOMAIN%\Administrator setup.exe Auto-update would have a nice touch to it, though. Alex -- Alexander Groß ht

Problem with 'find'

2010-04-16 Thread Gary .
$ find / -name pg_hba.conf -print find: `/proc/registry/HKEY_CLASSES_ROOT/*/shellex/PropertySheetHandlers/CryptoSignMenu': Bad address assertion "ent->fts_info == FTS_NSOK || state.type != 0" failed: file "/usr/src/findutils-4.5.5-1/src/findutils-4.5.5/find/ftsfind.c", line 477, function: consider

Re: rsync: rename .file.JVPk8f -> file: Device or resource busy (16)

2010-04-16 Thread Corinna Vinschen
On Apr 16 12:33, Fr?d?ric Bron wrote: > > Ok, so you're admin.  I assume that `id' lists the administrators > > group in your supplementary group list? > > true > > > Not really.  So, with the above permissions, rsync fails but mv works, > > right?  What's important when using mv is to mv the fil

Re: rsync: rename .file.JVPk8f -> file: Device or resource busy (16)

2010-04-16 Thread Corinna Vinschen
On Apr 16 11:45, Corinna Vinschen wrote: > On Apr 16 11:13, Fr?d?ric Bron wrote: > > >  Is UAC enabled?  Elevated or non-elevated shell? > > Access control via Active Directory. No idea about elevation (do not > > know that). I am listed in the administrator group of the main machine > > I use (cor

Re: rsync: rename .file.JVPk8f -> file: Device or resource busy (16)

2010-04-16 Thread Corinna Vinschen
On Apr 16 11:45, Corinna Vinschen wrote: > On Apr 16 11:13, Fr?d?ric Bron wrote: > > >  Is UAC enabled?  Elevated or non-elevated shell? > > Access control via Active Directory. No idea about elevation (do not > > know that). I am listed in the administrator group of the main machine > > I use (cor

Re: rsync: rename .file.JVPk8f -> file: Device or resource busy (16)

2010-04-16 Thread Corinna Vinschen
On Apr 16 11:13, Fr?d?ric Bron wrote: > >  Is UAC enabled?  Elevated or non-elevated shell? > Access control via Active Directory. No idea about elevation (do not > know that). I am listed in the administrator group of the main machine > I use (corporate PC). Ok, so you're admin. I assume that `i

[ANNOUNCEMENT] Updated: OpenSSH-5.5p1-1

2010-04-16 Thread Corinna Vinschen
I've just updated the Cygwin version of OpenSSH to 5.5p1-1. This is a new major upstream release. The Cygwin release is created from the vanilla sources. It contains one Cygwin-specific change which hasen't been mentioned in the official release message: * The ssh-host-config script usually wri

Re: rsync: rename .file.JVPk8f -> file: Device or resource busy (16)

2010-04-16 Thread Frédéric Bron
> What you need to find out is what the files for which this happens have > in common, plus a couple of extra conditions. They are all .exe files! most of them were created from cygwin using g++. >  Is UAC enabled?  Elevated or non-elevated shell? Access control via Active Directory. No idea about

RE: Cygwin does not have unicode support however FileZilla displays unicode

2010-04-16 Thread Eric
Andy wrote: > Bash does support Unicode, but when running it in a console window you > need to select an appropriate font in the console window defaults to > be able to display codepoints outside your language's codepage. Lucida > Console or Consolas, for example. In cygwin's console window I swit