Re: RFU: bmp2png-1.62-2 (64bit)
On 9/14/2013 6:50 AM, Jari Aalto wrote: wget --recursive --no-host-directories --cut-dirs=5 \ http://cante.net/~jaalto/tmp/cygwin/bmp2png/64/bmp2png/bmp2png-1.62-2-src.tar.bz2 \ http://cante.net/~jaalto/tmp/cygwin/bmp2png/64/bmp2png/bmp2png-1.62-2.tar.bz2 \ http://cante.net/~jaalto/tmp/cygwin/bmp2png/64/bmp2png/setup.hint Uploaded. Ken
Re: RFU: bool-0.2.1-1 (64bit)
On 9/14/2013 6:55 AM, Jari Aalto wrote: wget --recursive --no-host-directories --cut-dirs=5 \ http://cante.net/~jaalto/tmp/cygwin/bool/64/bool/bool-0.2.1-1-src.tar.bz2 \ http://cante.net/~jaalto/tmp/cygwin/bool/64/bool/bool-0.2.1-1.tar.bz2 \ http://cante.net/~jaalto/tmp/cygwin/bool/64/bool/setup.hint Uploaded. Ken
Re: RFU: boxes-1.0.1a-2 (64bit)
On 9/14/2013 6:59 AM, Jari Aalto wrote: wget --recursive --no-host-directories --cut-dirs=5 \ http://cante.net/~jaalto/tmp/cygwin/boxes/64/boxes/boxes-1.0.1a-2-src.tar.bz2 \ http://cante.net/~jaalto/tmp/cygwin/boxes/64/boxes/boxes-1.0.1a-2.tar.bz2 \ http://cante.net/~jaalto/tmp/cygwin/boxes/64/boxes/setup.hint Uploaded. Ken
Re: RFU: bvi-1.3.2-2 (64bit)
On 9/14/2013 10:35 AM, Jari Aalto wrote: wget --recursive --no-host-directories --cut-dirs=5 \ http://cante.net/~jaalto/tmp/cygwin/bvi/64/bvi/bvi-1.3.2-2-src.tar.bz2 \ http://cante.net/~jaalto/tmp/cygwin/bvi/64/bvi/bvi-1.3.2-2.tar.bz2 \ http://cante.net/~jaalto/tmp/cygwin/bvi/64/bvi/setup.hint Uploaded. Ken
Re: Clipboard periodically breaks
Jon, Thanks for looking into this. I can confirm that your changes correct the issue where highlighting next would cause arbitrary pastes to occur. Good work! I also concede that there does not seem to be a good solution to transparently fix the two-to-one clipboard issue; as XWin may indeed be able to interpret calls to X's two clipboards, there wouldn't be any reasonable way for it to identify which clipboard is actually being used. However, an environment variable that tells it which clipboard to use would provide an immediate solution and be used used on a per-application basis. For example, I can use aliases when launching programs: $ xclip=clipboard1 gedit $@ (monitor only clipboard 1) $ xclip=clipboard2 gedit $@ (monitor only clipboard 2) No option would indicate that both clipboard 1 and clipboard 2 would be handled as they are now. I'm not familiar with X programming but I'm assuming here that it would be possible for xclip to read from a particular process's own environment (rather than xclip's own) while processing a clipboard event to do this. What do you think? Matt D. On 9/26/2013 11:37 AM, Jon TURNEY wrote: In-Reply-To: 51c44820.4010...@dronecode.org.uk Please start a new thread for a new subject. On 22/09/2013 03:38, Matt D. wrote: I often keep gedit sessions open on remote servers for maintaining various scripts. The problem I've encountered is that after a while I can no longer copy/paste between X and Windows. For example, I'll copy in windows and attempt to paste in gedit but nothing will happen. However, if I then proceed to copy something in gedit it will immediate paste that in place of where I had previously tried to paste from Windows. Sometimes I can get it working again by bombarding the clipboard with copy/pastes from both X and Windows. But most of the time I have to exit the ssh session and reconnect. Is this a known problem? We know there are bugs, but we don't know what they all are :-) Here is an example screen capture and repeatable bug of the clipboard breaking. Synopsis: Copy from Windows, highlight text in gedit, clipboard breaks (paste doesn't work). Proceed to copy from gedit and suddenly that text gets pasted. Sometimes it will just start pasting while a selection is being made.. ?? Download the video here in Xvid format: http://codespunk.com/files/upload/cygwinx_clipboard_breaking_xvid.avi Thanks for this. There's definitely a bug here when stuff fails to paste. You are also having difficulties because of a limitation of the current clipboard implementation I'll try to explain: As [1] tries to explain, there are 2 X selections of interest, the PRIMARY selection (the highlighted text) and the CLIPBOARD selection (the cut/copied text) (and some X applications only use one or the other), but only 1 windows clipboard. When you update the PRIMARY selection, by highlighting that text, it is made available for pasting from the Windows clipboard, which means that the previous Windows clipboard contents are removed. When you then go to paste, since the Windows clipboard contents have changed to the selected text, that's what you get in the CLIPBOARD selection. This is far from idea, but the proposed solutions I've seen so far aren't any better: i) Don't monitor the PRIMARY selection. This breaks with any application which only uses the PRIMARY selection (e.g. xterm, emacs in default configurations) ii) Use some more complex heuristic than 'most recently changed owner' for choosing which selection to make available in the Windows clipboard. It's very hard to know if this will make things better on average. I've fixed something else that might be related to the paste failure, so please try the latest snapshot [2],[3]. If you can still reproduce your problem with that, can you please try: * run XWin with the -noclipboard flag added to your usual flags. * Then run xwinclip, which should produce some useful logs when you reproduce your problem. [1] http://x.cygwin.com/docs/ug/using-clipboard-integration.html [2] ftp://cygwin.com/pub/cygwinx/XWin.20130924-git-d5a9aea0e48a088b.exe.bz2 [3] ftp://cygwin.com/pub/cygwinx/xwinclip.20130924-git-d5a9aea0e48a088b.exe.bz2 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Intrusive tilde character in terminal
I upgraded to 2.829. Same behavior. This is a small gif about it (top: cygwin term, bottom: cmd): http://postimg.org/image/u4c0qyz8h/ On Wed, Sep 25, 2013 at 3:38 PM, bitozoid bitoz...@gmail.com wrote: When I open a cygwin terminal, a tilde (~) is written to the command line. Then, every 20 seconds (aprox) I get another tilde and so on, as the window keeps focused. So that I get wrong commands written. Anyone with this issue? [Setup.exe version 2.819 (32 bit)] Thanks -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
winbase.h issue
When I try the following: $ echo #include windows.h foo.cc c++ -c foo.cc I get tons of redefinition errors on Interlocked functions in winbase.h. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
i686-w64-mingw32-gcc of cygwin64 is broken
Compiled binary seems to crash here. I updated mingw64 runtime/headers yesterday. $ echo main(){} t.c i686-w64-mingw32-gcc t.c -o t $ ./t Segmentation fault -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: i686-w64-mingw32-gcc of cygwin64 is broken
Compiled binary seems to crash here. I updated mingw64 runtime/headers yesterday. $ echo main(){} t.c i686-w64-mingw32-gcc t.c -o t $ ./t Segmentation fault These have been updated: mingw64-*-headers-3.0.0-1 mingw64-*-runtime-3.0.0-1 w32api-{headers,runtime}-3.0. 0-1 I wonder if the cross-compiler it-self should not be rebuilt. Frédéric -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: i686-w64-mingw32-gcc of cygwin64 is broken
Hi, These have been updated: mingw64-*-headers-3.0.0-1 mingw64-*-runtime-3.0.0-1 w32api-{headers,runtime}-3.0.0-1 Thanks, but it seems I'm already using those version. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: GSSAPI authentication and OpenSSH on Windows
Hello Ghis, That might work but the user will not be logged on to the windows machine. I.E. sshd will not be able to get hold of a security token with the AD users context. Going for that solution will only authenticate the user but when the user gets the shell it will not be in the right context. I think one needs to replace Heimdal/MIT Kerberos with the Windows SSPI interface. /Alf Hi Alf, Seems we both are close to a solution, but I didn't do any progress on this issue on my side. Your statement regarding ktpass for the keytab generation confirms my initial fears... I searched a little more on this this morning and I stumble upon this: http://web.mit.edu/kerberos/krb5-devel/doc/admin/princ_dns.html. Basically, it says that setting GSSAPIStrictAcceptorCheck to no in sshd_config wil make sshd.exe use the first entry in the keytab, regardless of the principal name. So, theoretically, we could generate a keytab containing any principal name at sshd.exe would use this happily. Unfortunately, it seems this configuration directive is not supported by the offical OpenSSH release. This article mentions a certain patch that should do the trick: http://www.gossamer-threads.com/lists/openssh/dev/44429... The only thing left to do/try, is to get a hand on the OpenSSH sources, on the patch and try to rebuild OpenSSH. Anyone could help in doing this? Just provinding pointers on howtos would be great! ;o) Thank you! Ghis On Wed, Sep 18, 2013 at 3:55 PM, Alf Håkansson alf.hakans...@foxt.com wrote: Hello! I am trying to get Kerberos authentication to work with openssh on a Windows machine that is part of a windows domain. I have read all I could find on the internet about this issue but no one seems to have succeeded. OpenSSH is built with the Heimdal package. There is a post that pretty well describes all the steps to take to get it to work (but it does not) http://cygwin.org/ml/cygwin/2013-08/msg00386.html As I subscribed after that post I have no idea how to reply to it. The problem occurs when I am making the keytab file with help of ktpass.exe. I need the principal HOST/myhost.whatever.com Thing is that the machine itself is already registered with that principal and as the Domain Controler only can have one entry for that principal the machine will be deregistered and you can no longer logon with a domain user to the console. So please if anyone has any experience in this topic let me know! /Alf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: i686-w64-mingw32-gcc of cygwin64 is broken
On 9/26/2013 19:03, Frédéric Bron wrote: Compiled binary seems to crash here. I updated mingw64 runtime/headers yesterday. $ echo main(){} t.c i686-w64-mingw32-gcc t.c -o t $ ./t Segmentation fault These have been updated: mingw64-*-headers-3.0.0-1 mingw64-*-runtime-3.0.0-1 w32api-{headers,runtime}-3.0. 0-1 I wonder if the cross-compiler it-self should not be rebuilt. Normally no, as there aren't any major ABI changes. I need to investigate. signature.asc Description: OpenPGP digital signature
Re: winbase.h issue
On 9/26/2013 18:47, Noboru Uchida wrote: When I try the following: $ echo #include windows.h foo.cc c++ -c foo.cc I get tons of redefinition errors on Interlocked functions in winbase.h. Looks like it happens only in C++ mode. signature.asc Description: OpenPGP digital signature
Re: winbase.h issue
On 9/26/2013 21:07, JonY wrote: On 9/26/2013 18:47, Noboru Uchida wrote: When I try the following: $ echo #include windows.h foo.cc c++ -c foo.cc I get tons of redefinition errors on Interlocked functions in winbase.h. Looks like it happens only in C++ mode. Adding mingw-w64 list. Here are some of the errors: /usr/include/w32api/winbase.h: In function ‘unsigned int _InterlockedIncrement(volatile unsigned int*)’: /usr/include/w32api/winbase.h:2925:33: error: redefinition of ‘unsigned int _InterlockedIncrement(volatile unsigned int*)’ FORCEINLINE unsigned __LONG32 InterlockedIncrement (unsigned __LONG32 volatile *Addend) { return (unsigned __LONG32) InterlockedIncrement ((volatile __LONG32 *) Addend); } ^ /usr/include/w32api/winbase.h:2924:24: error: ‘unsigned int _InterlockedIncrement(volatile unsigned int*)’ previously defined here FORCEINLINE unsigned InterlockedIncrement (unsigned volatile *Addend) { return (unsigned) InterlockedIncrement ((volatile __LONG32 *) Addend); } ^ /usr/include/w32api/winbase.h: In function ‘unsigned int _InterlockedDecrement(volatile unsigned int*)’: /usr/include/w32api/winbase.h:2930:33: error: redefinition of ‘unsigned int _InterlockedDecrement(volatile unsigned int*)’ FORCEINLINE unsigned __LONG32 InterlockedDecrement (unsigned __LONG32 volatile *Addend) { return (unsigned __LONG32) InterlockedDecrement ((volatile __LONG32 *) Addend); } ^ /usr/include/w32api/winbase.h:2929:24: error: ‘unsigned int _InterlockedDecrement(volatile unsigned int*)’ previously defined here FORCEINLINE unsigned InterlockedDecrement (unsigned volatile *Addend) { return (unsigned __LONG32) InterlockedDecrement ((volatile __LONG32 *) Addend); } ^ So the declaration was: extern C++ { FORCEINLINE unsigned InterlockedIncrement (unsigned volatile *Addend) { return (unsigned) InterlockedIncrement ((volatile __LONG32 *) Addend); } FORCEINLINE unsigned __LONG32 InterlockedIncrement (unsigned __LONG32 volatile *Addend) { return (unsigned __LONG32) InterlockedIncrement ((volatile __LONG32 *) Addend); } Cygwin64 g++ wasn't happy with that. Cygwin 32bit mode is fine though. signature.asc Description: OpenPGP digital signature
Re: winbase.h issue
On 9/26/2013 21:16, JonY wrote: On 9/26/2013 21:07, JonY wrote: On 9/26/2013 18:47, Noboru Uchida wrote: When I try the following: $ echo #include windows.h foo.cc c++ -c foo.cc I get tons of redefinition errors on Interlocked functions in winbase.h. Looks like it happens only in C++ mode. Adding mingw-w64 list. A fix has been committed, will make a new release tomorrow. signature.asc Description: OpenPGP digital signature
mysql package
I jsut installed the mysql pacakge and tried to start the daemon. I got the follow error listing. It is late now and I plan to continue on the morrow, but if anyone can point out why the daemon wont start up, it would be very helpful. Thanks --- 130926 23:25:40 [Note] Plugin 'FEDERATED' is disabled. mysqld: Table 'mysql.plugin' doesn't exist 130926 23:25:40 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 130926 23:25:40 InnoDB: The InnoDB memory heap is disabled 130926 23:25:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins 130926 23:25:40 InnoDB: Compressed tables use zlib 1.2.8 130926 23:25:40 InnoDB: Initializing buffer pool, size = 128.0M 130926 23:25:41 InnoDB: Completed initialization of buffer pool 130926 23:25:41 InnoDB: highest supported file format is Barracuda. 130926 23:25:41 InnoDB: 5.5.31 started; log sequence number 1595675 130926 23:25:41 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306 130926 23:25:41 [Note] - '0.0.0.0' resolves to '0.0.0.0'; 130926 23:25:41 [Note] Server socket created on IP: '0.0.0.0'. 130926 23:25:41 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: cannot run setup64.exe without admin privileges (even if renamed foo.exe)
However, this should work (I haven't tried lately): .\setup-x86 --arch=x86_64 Assuming you aren't part of the .001% who can't run x86 executables. That works, as soon as I have renamed setup-x86.exe to foo.exe! That's an easy and simple solution. Thanks, Frédéric -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Run bash script in cmd with cygwin
On 9/25/2013 5:25 PM, Ulrich Pogson wrote: Thanks for your help I got it to work with this line. I: cd I:\Work\GitHub\responsive\languages c:\cygwin64\bin\bash -c \cygdrive\i\Work\GitHub\responsive\languages\potomo.sh ^^ Cygwin prefers POSIX paths and separators. You should prefer / over \ for this final path. -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: mysql package
Andrey Repin wrote: Greetings, I jsut installed the mysql pacakge and tried to start the daemon. I got the follow error listing. Why not use native mysql server?... Looking for troubles? No. I just prefer a posix environment and it makes it better for porting to production in a Linux environment. ... Thanks 130926 23:25:41 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist Check server configuration file, it should point to a proper directory for a database, and the user under which server is run should have write access to it. Also, -- Problem reports: http://cygwin.com/problems.html This ^^^ -- WBR, Andrey Repin Sorry for my terrible english... Your English is understandable and I appreciate the response. I have a problem. I can not find the MySQL configuration file, that I assume comes with the package. Documentation I read says that it would be /etc/my.cnf , but it's not there. I grep'd for anything sql in /etc and fouund nothing related to mysql or my* Does anyone know where it is or does it have to be made from scratch? If there any default or example MySQL configuration files in the package or installed, I'd appreciate it if someone would tell me where they are. Regards -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple