Re: SECURITY: gnutls
On Oct 17 20:45, Chris Sutcliffe wrote: On 16 October 2011 14:49, Yaakov (Cygwin/X) wrote: Dr. Volker Zell, gnutls 2.8.6 is susceptible to CVE-2009-3555. This has been fixed since 2.10.0, but the current stable releases are 2.12.11 (ABI-compatible with 2.8.6) and 3.0.4 (which breaks ABI compatibility). For now, please release 2.12.11 ASAP for all the apps currently dependent on libgnutls26. Is Dr. Volker Zell still active? The last post I can find from him was from June of last year: http://sourceware.org/ml/cygwin/2010-06/msg9.html I had a short mail exchange with Volker in August. He had some private problems to deal with. He wrote he would catch up at one point. Volker, I CCed you so you can chime in, ok? Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
Re: [ITP] astrometry.net-0.38-1
Bump, if only to show that I'm serious about maintaining the package. On Tue, Oct 11, 2011 at 1:19 PM, Marco Atzeri wrote: +1 . Same comment about missing package procedure Thanks for the vote. I'm sorry but if there's still an issue about packaging, or procedure, I need it pointed out. AFAIK the package is OK now. This upstream package is not really thought for easy porting, it inglobes a lot of library including gsl-1.14 while should be better to link with cygwin gsl. Agreed. If this is a showstopper, I can check out if it works OK with the stock GSL. To the best of my knowledge astrometry.net doesn't actually change anything in GSL, they just omit what's not required. +3 at the moment ... -- jussi
Re: [ITP] astrometry.net-0.38-1
On 18 October 2011 07:21, Jussi Kantola wrote: +3 at the moment ... +1 Chris -- Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d
Re: SECURITY: gnutls
Chris Sutcliffe writes: On 16 October 2011 14:49, Yaakov (Cygwin/X) wrote: Dr. Volker Zell, gnutls 2.8.6 is susceptible to CVE-2009-3555. This has been fixed since 2.10.0, but the current stable releases are 2.12.11 (ABI-compatible with 2.8.6) and 3.0.4 (which breaks ABI compatibility). For now, please release 2.12.11 ASAP for all the apps currently dependent on libgnutls26. Is Dr. Volker Zell still active? The last post I can find from him was from June of last year: http://sourceware.org/ml/cygwin/2010-06/msg9.html I'm about to upload...but libtasn1 first. Chris Ciao Volker
problem: using putty/brutus and x server
Dear Admin, After looking around at the web and in your faq I was not able to solve my problem. Problem: cannot connect x server to the gaussian gview function on putty/brutus I am trying to use X server 1.11 these are the command lines and answers I get in putty/brutus. * module load gaussian (input) * gview (then the file) (input) * gview: exe cannot connect to X server (answer) I get the same message when Xwin.exe is or is not running. when starting xwin with the cygwin bash shell startxwin.exe startxwin: XFree86_VT property unexpectedly has 0 items instead of 1 For me as a beginner with this program I am not sure what is going on. Im running the program on Win Vista x32 please advice how to solve this problem. Kind Regards Italo Sanhueza ETH Zurich -- 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/
[ANNOUNCEMENT] Updated: xterm-276-1
The following package has been updated for the Cygwin distribution: *** xterm-276-1 This is an update to the latest upstream release. -- Yaakov Cygwin/X CYGWIN-XFREE-ANNOUNCE UNSUBSCRIBE INFO == If you want to unsubscribe from the cygwin-xfree-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then 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: cygwin-xfree-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/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://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
[ANNOUNCEMENT] Updated: freetype2-2.4.6-1
The following packages have been updated in the Cygwin distribution: *** freetype2-demos-2.4.6-1 *** libfreetype6-2.4.6-1 *** libfreetype-devel-2.4.6-1 FreeType 2 is a software font engine that is designed to be small, efficient, highly customizable and portable while capable of producing high-quality output (glyph images). This release includes several bugfixes, including one for CVE-2011-0226. -- Yaakov Cygwin/X CYGWIN-XFREE-ANNOUNCE UNSUBSCRIBE INFO == If you want to unsubscribe from the cygwin-xfree-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then 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: cygwin-xfree-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/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://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
[ANNOUNCEMENT] Updated: xkeyboard-config-2.4.1-1
The following package has been updated for the Cygwin distribution: *** xkeyboard-config-2.4.1-1 xkeyboard-config provides the keyboard configuration database for the X server. This is an update to the latest upstream version. -- Yaakov Cygwin/X CYGWIN-XFREE-ANNOUNCE UNSUBSCRIBE INFO == If you want to unsubscribe from the cygwin-xfree-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If this does not work, then 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: cygwin-xfree-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/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://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
src/winsup/cygwin ChangeLog path.cc
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2011-10-18 08:47:09 Modified files: winsup/cygwin : ChangeLog path.cc Log message: * path.cc: Extend two comments. Mention the name RtlpCurDirRef for reference. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.5524r2=1.5525 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=srcr1=1.636r2=1.637
many fork failed errors after doing rebaseall amd peflagsall
Hello all, we've many problems i.e. using make, perl. We often will get errors like the following: 1) abnormal program termination C:\TEMP\make7078823.sh: fork failed: no child processes [1] 2)0 [main] sh 71664 child_info_fork::abort: address space needed by 'cyggccs- 1.dll' (6913) is already occupied c:/programme/cygwin/bin/sh: fork: Resource temporarily unavailable 3) child_info_fork::abort: address space needed by 'DBI.dll' (00CF) is already occupied We use cygwin 1.7.9 with snapshot cygwin-inst-20110829.tar.bz2. I did a complete rebaseall and peflagsall. rebaseall was patched to ignore files in /usr/x86_64-w64-mingw32/sys- root/mingw/bin. But it seems something is still wrong. All other found postings concerning this problem described that doing a rebaseall/peflagsall will solve thies problems. Perhaps other user can give me some more hints. best regards Heiko Elger -- 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: OverflowError with bzr 2.4.0-1 [attn: bzr maintainer]
On Tue, 20 Sep 2011 10:50:39 -0400, Ken Brown wrote: On 9/5/2011 7:43 AM, Ronald Blaschke wrote: I recently upgraded the bzr package to this version: Bazaar (bzr) 2.4.0 Python interpreter: /usr/bin/python 2.6.5 Python standard library: /usr/lib/python2.6 Platform: CYGWIN_NT-6.1-WOW64-1.7.9-0.237-5-3-i686-32bit Now I receive the following error message during bzr status on a branch. bzr: ERROR: exceptions.OverflowError: can't convert negative value to unsigned long Traceback (most recent call last): [snip] File /usr/lib/python2.6/site-packages/bzrlib/delta.py, line 127, in _compare_trees want_unversioned=want_unversioned): File _dirstate_helpers_pyx.pyx, line 1459, in bzrlib._dirstate_helpers_pyx.ProcessEntryC.__next__ (bzrlib/_dirstate_helpers_pyx.c:12147) File _dirstate_helpers_pyx.pyx, line 1732, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._iter_next (bzrlib/_dirstate_helpers_pyx.c:14909) File _dirstate_helpers_pyx.pyx, line 1831, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._loop_one_block (bzrlib/_dirstate_helpers_pyx.c:15778) File _dirstate_helpers_pyx.pyx, line 1156, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._process_entry (bzrlib/_dirstate_helpers_pyx.c:8261) File _dirstate_helpers_pyx.pyx, line 873, in bzrlib._dirstate_helpers_pyx._update_entry (bzrlib/_dirstate_helpers_pyx.c:5835) File _dirstate_helpers_pyx.pyx, line 827, in bzrlib._dirstate_helpers_pyx._pack_stat (bzrlib/_dirstate_helpers_pyx.c:5547) OverflowError: can't convert negative value to unsigned long There is no issue with bzr 2.3.1-1. Also, I have checked out the bzr 2.4.0 source and built it myself (make extensions), and this works just fine as well. I'm seeing the same error in my bzr repositories (I have several). Jari? Ping? Ping. I am seeing the same thing, it is rather crippling: `-- bzr status bzr: ERROR: exceptions.OverflowError: can't convert negative value to unsigned long Traceback (most recent call last): File /usr/lib/python2.6/site-packages/bzrlib/commands.py, line 946, in exception_to_return_code return the_callable(*args, **kwargs) File /usr/lib/python2.6/site-packages/bzrlib/commands.py, line 1150, in run_bzr ret = run(*run_argv) File /usr/lib/python2.6/site-packages/bzrlib/commands.py, line 699, in run_argv_aliases return self.run(**all_cmd_args) File /usr/lib/python2.6/site-packages/bzrlib/commands.py, line 721, in run return self._operation.run_simple(*args, **kwargs) File /usr/lib/python2.6/site-packages/bzrlib/cleanup.py, line 135, in run_simple self.cleanups, self.func, *args, **kwargs) File /usr/lib/python2.6/site-packages/bzrlib/cleanup.py, line 165, in _do_with_cleanups result = func(*args, **kwargs) File /usr/lib/python2.6/site-packages/bzrlib/commands.py, line 1165, in ignore_pipe result = func(*args, **kwargs) File /usr/lib/python2.6/site-packages/bzrlib/builtins.py, line 308, in run classify=not no_classify) File /usr/lib/python2.6/site-packages/bzrlib/status.py, line 173, in show_tree_status classify=classify) File /usr/lib/python2.6/site-packages/bzrlib/status.py, line 73, in report_changes want_unversioned=want_unversioned) File /usr/lib/python2.6/site-packages/bzrlib/tree.py, line 92, in changes_from want_unversioned=want_unversioned, File /usr/lib/python2.6/site-packages/bzrlib/decorators.py, line 154, in read_locked result = unbound(self, *args, **kwargs) File /usr/lib/python2.6/site-packages/bzrlib/tree.py, line 1020, in compare want_unversioned=want_unversioned) File /usr/lib/python2.6/site-packages/bzrlib/delta.py, line 127, in _compare_trees want_unversioned=want_unversioned): File _dirstate_helpers_pyx.pyx, line 1459, in bzrlib._dirstate_helpers_pyx.ProcessEntryC.__next__ (bzrlib/_dirstate_helpers_pyx.c:12147) File _dirstate_helpers_pyx.pyx, line 1732, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._iter_next (bzrlib/_dirstate_helpers_pyx.c:14909) File _dirstate_helpers_pyx.pyx, line 1831, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._loop_one_block (bzrlib/_dirstate_helpers_pyx.c:15778) File _dirstate_helpers_pyx.pyx, line 1156, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._process_entry (bzrlib/_dirstate_helpers_pyx.c:8261) File _dirstate_helpers_pyx.pyx, line 873, in bzrlib._dirstate_helpers_pyx._update_entry (bzrlib/_dirstate_helpers_pyx.c:5835) File _dirstate_helpers_pyx.pyx, line 827, in bzrlib._dirstate_helpers_pyx._pack_stat (bzrlib/_dirstate_helpers_pyx.c:5547) OverflowError: can't convert negative value to unsigned long bzr 2.4.0 on python 2.6.5 (CYGWIN_NT-5.1-1.7.10s-0.251-5-3-i686-32bit) arguments: ['/usr/bin/bzr', 'status'] plugins: bash_completion[2.4.0], changelog_merge[2.4.0], launchpad[2.4.0], netrc_credential_store[2.4.0], news_merge[2.4.0], weave_fmt[2.4.0] encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8' *** Bazaar has encountered an internal error. This
Remove cygwin
I have received a computer with some software already installed and I have to clean it up. One of those software is cygwin, I tried to follow the instructions but without success. 1. I can't locate the cygrunsrv: there is no file with this name and there is no command in the bash shell with this name! I have also checked the windows services but I can't find any of the mentioned services: sshd, cron, cygserver, inetd, apache, postgresql, etc 2. I can't delete the cygwin folder because I receive the Permission Denied error, although I have marked all the files as not read only and changed the ownership to my account. Can somebody help me out? 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
Re: cygwin permissions problem on a network drive
On Jul 5 10:59, Corinna Vinschen wrote: On Jul 5 12:21, Bill Metzenthen wrote: I have problems with permissions on a network drive. The drive is maintained by others and I have no control over the Windows permissions of the drive. [...] If I now try to use cygwin to create anything then it fails (despite it reporting that I have rwx permissions for the directory): For now, set the mount point for this drive to noacl. If you're accessing the share via /cygdrive, create a distinct mount point for it. I know what change in Cygwin is causing that problem, but unfortunately I could never reproduce the server share settings myself which result in the permission denied. I know this an old thread but I am in exactly the same situation as the OP. Access with 1.7.7 and before worked fine, 1.7.9 has this problem. The workaround with explicit noacl option works for me but it is rather awkward as I have to work with a lot of servers. So... ... If you want to discuss this with your admin, the problem is this: When Cygwin 1.7.9 tries to create a file on a filesystem which supports ACLs, it requests WRITE_DAC permissions in the open call. WRITE_DAC is the access right you need to create the permission bits in the file's ACL, what you see in Explorer under the Security tab. Now, in some environments, the settings of the shares are so, that this right is apparently not granted, even for the creator of the file. But, as far as earlier reports go, there seem to be no indication of this in the ACL. As I mentioned above, I experimented with this myself, but I have never managed to reproduce this setting on the server. So I neither know how this setting looks like, nor if there's a way to recognize such a share. So, for the time being, I will change this in Cygwin for the next version so that it doesn't request WRITE_DAC permissions when trying to create a file or directory on a network share. ...has this happened now? In a snapshot? I couldn't find any further information. Thanks, Michael -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Remove cygwin
18.10.2011 15:11, Casual Trash пишет: I have received a computer with some software already installed and I have to clean it up. One of those software is cygwin, I tried to follow the instructions but without success. 1. I can't locate the cygrunsrv: there is no file with this name and there is no command in the bash shell with this name! I have also checked the windows services but I can't find any of the mentioned services: sshd, cron, cygserver, inetd, apache, postgresql, etc To remove services that installed by cygrunsrv install it again: cmd# setup.exe -p cygrunsrv locate it and run shell prompt: cmd# cygrunsrv -L # to list installed services ... cmd# cygrunsrv -R sshd # to individually remove each installed service Next you can remove whole cygwin installation directory... That is. 2. I can't delete the cygwin folder because I receive the Permission Denied error, although I have marked all the files as not read only and changed the ownership to my account. Can somebody help me out? This can happen because some process have open handles to this directory. Try run procexp.exe Ctrl+F and type path to find and kill such processes... -- 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: Remove cygwin
On 10/18/2011 9:03 AM, Oleksandr Gavenko wrote: 18.10.2011 15:11, Casual Trash пишет: I have received a computer with some software already installed and I have to clean it up. One of those software is cygwin, I tried to follow the instructions but without success. 1. I can't locate the cygrunsrv: there is no file with this name and there is no command in the bash shell with this name! I have also checked the windows services but I can't find any of the mentioned services: sshd, cron, cygserver, inetd, apache, postgresql, etc To remove services that installed by cygrunsrv install it again: cmd# setup.exe -p cygrunsrv locate it and run shell prompt: cmd# cygrunsrv -L # to list installed services ... cmd# cygrunsrv -R sshd # to individually remove each installed service Next you can remove whole cygwin installation directory... That is. 2. I can't delete the cygwin folder because I receive the Permission Denied error, although I have marked all the files as not read only and changed the ownership to my account. Can somebody help me out? This can happen because some process have open handles to this directory. Try run procexp.exe Ctrl+F and type path to find and kill such processes... I would add: cygwin is not a monolithic thing. I have a number of cygwin packages installed, but do not run any servers. So an installation does not necessarily have any servers for you to worry about. On the other hand, the permission-denied issue suggests that there *may* be a running server with files open (e.g., dll's), and that can prevent deletion. procexp is a tool that you can find and install from the web. It's pretty useful, so you may as well leave it installed. Regards -- Eliot Moss -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Remove cygwin
Thanks to everybody for the replies. I have tried to install again the cygrunsrv, setup.exe doesn't return any error but I can't find the cygrunsrv anywhere. And procexp.exe has found any process in the cygwin folder. So I can suppose that there is no service running and no process is blocking the cygwin folder, but why I can't delete it? Somebody has an idea? Thanks On 10/18/2011 9:03 AM, Oleksandr Gavenko wrote: 18.10.2011 15:11, Casual Trash ÐÐÑÐÑ: I have received a computer with some software already installed and I have to clean it up. One of those software is cygwin, I tried to follow the instructions but without success. 1. I can't locate the cygrunsrv: there is no file with this name and there is no command in the bash shell with this name! I have also checked the windows services but I can't find any of the mentioned services: sshd, cron, cygserver, inetd, apache, postgresql, etc To remove services that installed by cygrunsrv install it again: cmd# setup.exe -p cygrunsrv locate it and run shell prompt: cmd# cygrunsrv -L # to list installed services ... cmd# cygrunsrv -R sshd # to individually remove each installed service Next you can remove whole cygwin installation directory... That is. 2. I can't delete the cygwin folder because I receive the Permission Denied error, although I have marked all the files as not read only and changed the ownership to my account. Can somebody help me out? This can happen because some process have open handles to this directory. Try run procexp.exe Ctrl+F and type path to find and kill such processes... I would add: cygwin is not a monolithic thing. I have a number of cygwin packages installed, but do not run any servers. So an installation does not necessarily have any servers for you to worry about. On the other hand, the permission-denied issue suggests that there *may* be a running server with files open (e.g., dll's), and that can prevent deletion. procexp is a tool that you can find and install from the web. It's pretty useful, so you may as well leave it installed. Regards -- Eliot Moss -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
RE: Remove cygwin
Casual Trash sent the following at Tuesday, October 18, 2011 11:42 AM Thanks to everybody for the replies. I have tried to install again the cygrunsrv, setup.exe doesn't return any error but I can't find the cygrunsrv anywhere. And procexp.exe has found any process in the cygwin folder. So I can suppose that there is no service running and no process is blocking the cygwin folder, but why I can't delete it? Somebody has an idea? How are you trying to delete C:\cygwin? Windows won't let one remove a folder if it is the current working directory of any process. An easy mistake in Windows Explorer is to have C:\cygwin as the working directory when trying to delete it from the left panel directory tree. I'd try using Windows Explorer, going to C:\, and deleting from there. Another approach would be re-booting (a) into safe mode or (b)at least keeping things from automatically loading. (I forget exactly how to do the latter so I just hold down shift, alt, and control when booting - one of them works.) If the person is available, you might ask whoever gave you the computer (and presumably installed cygwin) for help or advice. Please excuse me if you've already tried any of the above. The email string suggests that you might have tried some, but it is not clear to me. Good luck, - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] Updated: binutils-2.22.51-1
I've made a new version of binutils available for installation. This is a refresh against CVS. The contents of the NEWS file for this snapshot are in /usr/share/doc/Cygwin/binutils-2.22.51-1.README . The main reason for the release is to pull in Dave Korn's changes as discussed here: http://cygwin.com/ml/cygwin/2011-09/msg00386.html *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this web address. -- 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
[Packaging bug] Re: [ANNOUNCEMENT] Updated: botan-1.8.13
Lapo Luchini writes: Version 1.8.13-1 of botan has been uploaded. Documentation is in the wrong directory /usr/docs/Botan-1.8.13 should be /usr/share/doc/botan Ciao Volker -- 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: Mapping underline to colour - how is the colour determined?
On Oct 15, 2011, at 4:19 AM, Andy Koppe wrote: On 14 October 2011 14:18, Ronald Fischer wrote: When I (to give an example) execute a man command within a mintty window, and do the same within a normal Windows console window, I see that those words represented as underlined words in the mintty window, are represented by a different colour in the Windows console windows. I guess this different has nothing to do with the man command, but by the way the terminal definition says how render emphasized words. Since the Windows console (likely) can't underline, colouring is used. It's kind of a terminal property. Do I understand this correctly? Yep. I would like to understand, where this mapping to a certain colour is done. Reason is that the colour used for my Windows console window, is a bit hard to read and I would like to change it. It's hardcoded in the Cygwin DLL (in winsup/cygwin/fhandler_console.cc), so you'd have to build that yourself to change it. Getting man/groff to use something other than the underline attribute might be the better approach, but I don't know how to do that. Andy The Graphic Rendition of the text is controlled by a facility called Terminfo. Here's how you can change it. First, do: printenv TERM This should display cygwin as the terminal type. If not, replace cygwin in the following instructions with whatever terminal type you are using. The terminfo files are stored under /usr/share/terminfo. If you look there you will see several subdirectories with one and two-character names. Each terminfo entry is stored in a subdirectory which corresponds to the ASCII value of its first character in hex, so the cygwin file is in the 63 directory. You will also find a copy under the c directory, but that's not the one the system uses. I presume that the one-character directories are for backwards compatibility. Make a backup copy of the cygwin file so you can restore the original functionality in case you mess things up. Now go create a new working directory somewhere, perhaps under your home directory. In there, type: infocmp cygwin cygwin.txt This will convert the binary terminfo file from /usr/share/terminfo/63 into a text file you can examine and edit. Edit the file with the text editor of your choice and locate the capabilities smul and rmul. smul specifies the escape sequence that will be used to introduce underlined characters, and rmul is the sequence that turns this mode off. Set these values to whatever produces the effect you desire. (More on this below.) After editing the source file, type: tic cygwin.txt This compiles the source file back into the binary format and overwrites the original binary file in /usr/share/terminfo/63. There are ways to redirect it to another directory, but I'll leave you to figure that out for yourself. (man tic) Now run the man command and see if it produces the effect you want. As for how to figure out what escape sequence to use, unpack the attached file sgr_options,txt and cat it in the desired terminal window. Use cat rather than less or any other program that will filter the file contents. This will show you the effects of the different options to the SGR (Set Graphic Rendition) escape sequence. For rmul just use \E[0m which turns off all modes. \E[1m [1mThe quick brown fox...[0m \E[2m [2mThe quick brown fox...[0m \E[3m [3mThe quick brown fox...[0m \E[4m [4mThe quick brown fox...[0m \E[5m [5mThe quick brown fox...[0m \E[6m [6mThe quick brown fox...[0m \E[7m [7mThe quick brown fox...[0m \E[8m [8mThe quick brown fox...[0m \E[9m [9mThe quick brown fox...[0m \E[10m [10mThe quick brown fox...[0m \E[11m [11mThe quick brown fox...[0m \E[12m [12mThe quick brown fox...[0m \E[13m [13mThe quick brown fox...[0m \E[14m [14mThe quick brown fox...[0m \E[15m [15mThe quick brown fox...[0m \E[16m [16mThe quick brown fox...[0m \E[17m [17mThe quick brown fox...[0m \E[18m [18mThe quick brown fox...[0m \E[19m [19mThe quick brown fox...[0m \E[20m [20mThe quick brown fox...[0m \E[21m [21mThe quick brown fox...[0m \E[22m [22mThe quick brown fox...[0m \E[23m [23mThe quick brown fox...[0m \E[24m [24mThe quick brown fox...[0m \E[25m [25mThe quick brown fox...[0m \E[26m [26mThe quick brown fox...[0m \E[27m [27mThe quick brown fox...[0m \E[28m [28mThe quick brown fox...[0m \E[29m [29mThe quick brown fox...[0m \E[30m [30mThe quick brown fox...[0m \E[31m [31mThe quick brown fox...[0m \E[32m [32mThe quick brown fox...[0m \E[33m [33mThe quick brown fox...[0m \E[34m [34mThe quick brown fox...[0m \E[35m [35mThe quick brown fox...[0m \E[36m [36mThe quick brown fox...[0m \E[37m [37mThe quick brown fox...[0m \E[38m [38mThe quick brown fox...[0m \E[39m [39mThe quick brown fox...[0m \E[40m [40mThe quick brown fox...[0m \E[41m [41mThe quick brown
Re: Invoking GUI programs over SSH
On 10/14/2011 7:43 PM, Quang Ong wrote: I found this previous discussion about this issue, but it doesn't appear to work or maybe someone can elaborate on this issue. http://cygwin.com/ml/cygwin/2011-01/msg00211.html I'm trying to do the same thing, launch a GUI app over SSH on the server, not sending the display back to the ssh client. I originally had openssh 5.8 and recently updated to 5.9. SSH to the windows machine works fine for the most part, except for the fact when I try to launch our build tool, which pops up a GUI, it doesn't work anymore. We have a much older XP machine running Cygwin 1.5 which works, but this new machine is running Win7 64-bit w/ Cygwin 1.7 openssh 5.9. The quick test is to ssh into the cygwin machine and run notepad. Like the previous poster, I can see the process running, but nothing on the console. I tried the recommended step of adding Interactive Logon rights using the editrights tool, but I didn't see how the poster was able to use the Services GUI to add Allow service to interact with desktop for a regular user. Only the LOCAL SERVICE user has that option in the GUI. 1) Is the editrights -a SeInteractiveLogonRight -u ssh-admin command the same as checking the Allow service to interact with desktop? 2) The poster also didn't seem to indicate which version of openssh. I found another discussion that mentioned that this capability worked with openssh 5.1: http://lists.mindrot.org/pipermail/openssh-unix-dev/2011-April/029490.html Is this capability no longer possible/suported? MS has changed it support for this functionality. They feel this is a security hole (and it is not completely improper to view it this way) so they've changed how this works. In its current incarnation, it's much harder to get this to work the way it used to. There's an entire KB article that someday I'm going to look up and bookmark so that I have it available when these kinds of inquiries come up on the list. ;-) So if you really want to dive into the guts of the new implementation with all its new restrictions, I'd recommend looking for that KB article. Given the current support for this feature from MS, I think it's fair to say that making this work the way it used to for the limited cases where it may still be useful, even if it's possible, isn't a priority for Cygwin right now. I'd summarize the state of affairs this way - if you're looking for a simple recipe that will make this magically work the way that it used to, you're not going to find it here. If that's not entirely discouraging for you, then I'd say take a look around at what's in the mail archives and the details of how MS says this can work now. If you're willing to accept the new restrictions and if you're a bit savvy, you may find a way to make your situation work for you. If so, we'd be interested in hearing what you found. :-) As for your first question, editrights != Allow service to interact with the desktop. cygrunsrv's -i flag would be the closest matching control in the Cygwin world, with the same caveats as I mentioned above. -- 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: Remove cygwin
On 2011-10-18 14:11, Casual Trash wrote: I have received a computer with some software already installed and I have to clean it up. One of those software is cygwin, I tried to follow the instructions but without success. 1. I can't locate the cygrunsrv: there is no file with this name and there is no command in the bash shell with this name! I have also checked the windows services but I can't find any of the mentioned services: sshd, cron, cygserver, inetd, apache, postgresql, etc 2. I can't delete the cygwin folder because I receive the Permission Denied error, although I have marked all the files as not read only and changed the ownership to my account. Can somebody help me out? Thanks I'm not sure it applies in your case, but sometimes (and this happened to me under Windows 7), when you have folders or files, or maybe a whole disk, that are from an older installation so to speak, it can be hard to remove such files. I had that happen to me when I took a disk from an another computer that wasn't formatted and had cygwin on it among other things. I could not delete the cygwin folder even though I was running as admin. I solved it by running two commands (and here the old cygwin folder I wanted to delete was located on e:\cygwin): First, take ownership of all files (recursively): $ takeown /F E:\cygwin /R Then, change permissions recursively: $ icacls E:\cygwin /grant Administrators:F /t after that I could remove those files and folders from that secondary disk. Maybe it doesn't apply for you, I'm not sure about that, and use with care, but I hope it helps. - EL -- 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
Updated: binutils-2.22.51-1
I've made a new version of binutils available for installation. This is a refresh against CVS. The contents of the NEWS file for this snapshot are in /usr/share/doc/Cygwin/binutils-2.22.51-1.README . The main reason for the release is to pull in Dave Korn's changes as discussed here: http://cygwin.com/ml/cygwin/2011-09/msg00386.html *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, please use the automated form at: http://cygwin.com/lists.html#subscribe-unsubscribe If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this web address.