New Cygwin 1.7.0-18 in release-2
Hi, again I would like to encourage the Cygwin maintainers, to try the new Cygwin 1.7.0 release and to look for problems in their packages which might be a result of the fairly massive changes in Cygwin 1.7. I attached a list of the changes below. The latest changes are: - Changes in mkpasswd/mkgroup and in seteuid() should result in more correct user tokens in AD domains. Try the LSA module. - Case-sensitivity on NTFS and NFS and mount option posix=[0|1]. - Remove CYGWIN=ntsec and CYGWIN=smbntsec options in favor of a mount option acl/noacl. Download a 1.7 distro using http://cygwin.com/setup-1.7.exe Cygwin 1.7 and 1.5 can run in parallel sessions on the same machine, but the installation in parallel needs some manual intervention. Setup.exe is not yet using the new registry location and will happily install into your 1.5 installation dir... Brian, any timeframe for a new setup for 1.7? I made new documentation available, which just isn't yet finished. Have a look into http://cygwin.com/1.7/cygwin-ug-net.html. The missing pieces are changes to the utilities, half of the NT Security chapter is still old, and some bits of information on NFS access. A new FAQ is also not available yet. However, the docs already explain how to use the new /etc/fstab and /etc/fstab.d/${USER} files, the available mount options, how to tweak the system to get case-sensitivity, etc. Please test and please create new packages for 1.7 as far as necessary. I really think we should prepare to push out an official 1.7 release in 2008. Corinna --- List of changes: OS releated changes: - Windows 95, 98 and Me are not supported anymore. The new DLL will not run on any of these systems. File Access related changes: - Mount points are no longer stored in the registry. Use /etc/fstab and /etc/fstab.d/$USER instead. Mount points created with mount(1) are only local to the current session and disappear when the last Cygwin process in the session exits. - PATH_MAX is now 4096. Internally, path names can be as long as the underlying OS can handle (32K). - UTF-8 filenames are supported now. So far, this requires to set the environment variable CYGWIN to contain codepage:utf8, but this will likely disappear in a few weeks time. The setting of $LANG or $LC_CTYPE will be used instead. - The CYGWIN environment variable options ntsec and smbntsec have been replaced by the per-mount option acl/noacl. - The CYGWIN environment variable option check_case has been removed. - Creating filenames with special DOS characters '', '*', ':', '', '', '|' is supported. - Creating files with special DOS device filename components (aux, nul, prn) is supported. - File name are case sensitive if the OS and the underlying file system supports it. Works on NTFS and NFS. Does not work on FAT and Samba shares. Requires to change a registry key (see the user's guide). Can be switched off on a per-mount base. - unlink(2) and rmdir(2) try very hard to remove files/directories even if they are currently accessed or locked. This is done by utilizing the hidden recycle bin directories and marking the files for deletion. - rename(2) rewritten to be more POSIX conformant. - Add st_birthtim member to struct stat. - File locking is now advisory, not mandatory anymore. The fcntl(2) and the new lockf(2) APIs create and maintain locks with POSIX semantics, the flock(2) API creates and maintains locks with BSD semantics. POSIX and BSD locks are independent of each other. - Implement atomic O_APPEND mode. - Handle NTFS native symlinks available since Vista/2008 as symlinks. - Recognize NFS shares and handle them using native mechanisms. Recognize and create real symlinks on NFS shares. Get correct stat(2) information and set real mode bits on open(2), mkdir(2) and chmod(2). - Recognize Netapp DataOnTap drives and fix inode number handling. - Recognize Samba version beginning with Samba 3.0.28a using the new extended version information negotiated with the Samba developers. - Support Linux-like extended attributes ([fl]getxattr, [fl]listxattr, [fl]setxattr, [fl]removexattr). - New file conversion API for conversion from Win32 to POSIX path and vice versa (cygwin_conv_path, cygwin_create_path, cygwin_conv_path_list). - New openat family of functions: openat, faccessat, fchmodat, fchownat, fstatat, futimesat, linkat, mkdirat, mkfifoat, mknodat, readlinkat, renameat, symlinkat, unlinkat. - Other new APIs: posix_fadvise, posix_fallocate, funopen, fopencookie, open_memstream, fmemopen, fdopendir. Network related changes: - New implementation for blocking sockets and select on sockets which is supposed to allow POSIX-compatible sharing of sockets between threads and processes. - Restrict send/sendto/sendmsg to send never more than 64K to circumvent internal buffer problem in WinSock. (May need
Re: make-3.81-3 (ITA??)
I didn't mean for anyone (especially the package maintainer) to infer that make wasn't being actively supported. My apologies for any misunderstanding. I'm very interested in your opinions on colons in paths. I'd prefer to hear directly what they are, to avoid any misunderstanding that might arise from me trying to glean them from the archives. Questions I have in particular: 1. what are your thoughts on POSIX support for colons in paths? 2. what are your thoughts on Cygwin's existing support for DOS paths? Thanks in advance. -Rob Christopher Faylor wrote: On Wed, Jul 16, 2008 at 04:51:02PM -0700, Rob Walker wrote: I'd like to get make updated to accept paths with colons on Cygwin. The patch that enables this behavior has been available and in fairly wide use for almost 2 years. I've read http://cygwin.com/setup.html. I've followed the instructions up to Updating a Package, which seems to imply that only package owners can update a package. How does a non-package owner go about updating a package? Who's the current make package owner? Is make available for adoption? The last update to make was in January of this year so it is obviously being actively supported. Make is supported by me and I've made my opinions on the matter of colons clear. When there is a new release of make, I'll make a new cygwin release available. If the new release handles colons transparently I won't actively break the patch but it won't be actively supported either, i.e., I won't respond to bug reports on it. This isn't really open for discussion so please don't send an impassioned plea. It isn't appropriate for this list and it has been discussed to death on the Cygwin list. cgf
Re: make-3.81-3 (ITA??)
On Thu, Jul 17, 2008 at 12:03:40PM -0700, Rob Walker wrote: I didn't mean for anyone (especially the package maintainer) to infer that make wasn't being actively supported. My apologies for any misunderstanding. I'm very interested in your opinions on colons in paths. I'd prefer to hear directly what they are, to avoid any misunderstanding that might arise from me trying to glean them from the archives. Questions I have in particular: 1. what are your thoughts on POSIX support for colons in paths? 2. what are your thoughts on Cygwin's existing support for DOS paths? This discussion is also not appropriate for this list. Please do not continue it here. If you really must discuss this then use the main cygwin list. However, FYI, I am not interested in spending more of my time reiterating previous thoughts on MS-DOS paths. cgf
Re: New Cygwin 1.7.0-18 in release-2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 7/17/2008 9:55 AM: | Hi, | | again I would like to encourage the Cygwin maintainers, to try the new | Cygwin 1.7.0 release and to look for problems in their packages which | might be a result of the fairly massive changes in Cygwin 1.7. I | attached a list of the changes below. The latest changes are: | | - Changes in mkpasswd/mkgroup and in seteuid() should result in more | correct user tokens in AD domains. Try the LSA module. | - Case-sensitivity on NTFS and NFS and mount option posix=[0|1]. | - Remove CYGWIN=ntsec and CYGWIN=smbntsec options in favor of a mount | option acl/noacl. Somewhere between setting obcaseinsensitive to 0 yesterday and upgrading to the new cygwin1.dll today, I'm now suffering from an inability to modify files on a shared drive on my work machine. I can create empty files and remove existing files just fine, but get access denied on any attempt to change contents. The -1 for owner and group looks fishy as well. $ touch /cygdrive/u/file $ echo hi /cygdrive/u/file bash: /cygdrive/u/file: Permission denied $ ls -lF /cygdrive/u/file - -rwxrw-r-- 1 0 Jul 17 18:08 /cygdrive/u/file* $ rm /cygdrive/u/file $ echo hi /cygdrive/u/file bash: /cygdrive/u/file: Permission denied $ ls -lF /cygdrive/u/file - -rwxrw-r-- 1 0 Jul 17 18:08 /cygdrive/u/file* $ ls -niF /cygdrive/u/file 7573255750942747 -rwxrw-r-- 1 4294967295 4294967295 0 Jul 17 18:08 /cygdrive/u/file* $ od -tx1 /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session\ Manager/kernel/obcaseinsensitive 000 00 00 00 00 004 $ mount C:\cygwin-2\bin on /usr/bin type ntfs (binmode,system) C:\cygwin-2\lib on /usr/lib type ntfs (binmode,system) C:\cygwin\home on /home type ntfs (binmode,system) C:\cygwin-2 on / type ntfs (binmode,system) c: on /cygdrive/c type ntfs (binmode,posix=0,noumount,user) u: on /cygdrive/u type smbfs (binmode,posix=0,noumount,user) $ volinfo /cygdrive/u Device Type: 7 Characteristics: 10 Volume Name: eblake Serial Number : 316278793 Max Filenamelength : 255 Filesystemname : NTFS Flags : b ~ FILE_CASE_SENSITIVE_SEARCH : TRUE ~ FILE_CASE_PRESERVED_NAMES : TRUE ~ FILE_UNICODE_ON_DISK: FALSE ~ FILE_PERSISTENT_ACLS: TRUE ~ FILE_FILE_COMPRESSION : FALSE ~ FILE_VOLUME_QUOTAS : FALSE ~ FILE_SUPPORTS_SPARSE_FILES : FALSE ~ FILE_SUPPORTS_REPARSE_POINTS: FALSE ~ FILE_SUPPORTS_REMOTE_STORAGE: FALSE ~ FILE_VOLUME_IS_COMPRESSED : FALSE ~ FILE_SUPPORTS_OBJECT_IDS: FALSE ~ FILE_SUPPORTS_ENCRYPTION: FALSE ~ FILE_NAMED_STREAMS : FALSE ~ FILE_READ_ONLY_VOLUME : FALSE ~ FILE_SEQUENTIAL_WRITE_ONCE : FALSE ~ FILE_SUPPORTS_TRANSACTIONS : FALSE Need an strace? - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkh/4TwACgkQ84KuGfSFAYBMbQCgoOcoxxLn2BfjBotyh92EOf6t C1YAoLsSga/e6271Tfe1Aal4XyHh3C3i =jDOI -END PGP SIGNATURE-
Updated package: brltty 3.10-1
Hi, There is a new version 3.10-1 of brltty, please upload http://brl.thefreecat.org/brltty/cygwin/brltty-3.10-1-src.tar.bz2 http://brl.thefreecat.org/brltty/cygwin/brltty-3.10-1.tar.bz2 http://brl.thefreecat.org/brltty/cygwin/setup.hint http://brl.thefreecat.org/brltty/cygwin/libbrlapi-devel/libbrlapi-devel-3.10-1.tar.bz2 http://brl.thefreecat.org/brltty/cygwin/libbrlapi-devel/setup.hint http://brl.thefreecat.org/brltty/cygwin/libbrlapi/libbrlapi-3.10-1.tar.bz2 http://brl.thefreecat.org/brltty/cygwin/libbrlapi/setup.hint http://brl.thefreecat.org/brltty/cygwin/python-brlapi/python-brlapi-3.10-1.tar.bz2 http://brl.thefreecat.org/brltty/cygwin/python-brlapi/setup.hint http://brl.thefreecat.org/brltty/cygwin/tcl-brlapi/tcl-brlapi-3.10-1.tar.bz2 http://brl.thefreecat.org/brltty/cygwin/tcl-brlapi/setup.hint http://brl.thefreecat.org/brltty/cygwin/xbrlapi/xbrlapi-3.10-1.tar.bz2 http://brl.thefreecat.org/brltty/cygwin/xbrlapi/setup.hint and only keep version 3.9-1 as old. Thanks, Samuel
src/winsup/utils ChangeLog utils.sgml
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2008-07-17 10:32:04 Modified files: winsup/utils : ChangeLog utils.sgml Log message: * utils.sgml: Add id's to all examples. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.404r2=1.405 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.62r2=1.63
src/winsup/utils ChangeLog mount.cc path.cc
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2008-07-17 15:07:48 Modified files: winsup/utils : ChangeLog mount.cc path.cc Log message: * mount.cc (do_mount): Remove MOUNT_ENC code. (oopts): Remove managed option. (mount_commands): Drop managed handling. * path.cc (oopts): Remove managed option. (getmntent): Remove MOUNT_ENC code. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.405r2=1.406 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/mount.cc.diff?cvsroot=srcr1=1.40r2=1.41 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/path.cc.diff?cvsroot=srcr1=1.16r2=1.17
Re: Terminal copy-paste
Christopher Faylor cgf-use-the-mailinglist-please at cygwin.com writes: There are freely available terminals out there that work better that the Windows cmd: http://sourceforge.net/projects/console/ http://en.poderosa.org/ I've used poderosa and it seems pretty nice. It even claims to support Cygwin. cgf I saw console , really great, that's what I was looking for. Do you know how can I let cygwin start directly in console instead of Windows cmd ? -- 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: un-indenting doesn't work with vim
On Thu, Jul 17, 2008 at 1:45 AM, Andrew DeFaria wrote: Corinna Vinschen wrote: WFM, but the behaviour is not identical to Ctrl-D. It doesn't use the shiftwidth for one thing. English woman! English! Respectful. Stated differently, on some versions of vim on some OSes, after hitting return while in insert mode with autoindent on I am indented. Now I know of Ctl-d. Still on some machines backspace backspaces and goes backward and on other machines, OSes, etc. while in vim and after hitting return in input mode after indenting by a tab, backspace does nothing but beep at me! This is yet another reason why I prefer Emacs over vi or vim. Stated differently, if you didn't understand what Corinna said, you should have looked it up. I must say, Unix/Linux or other such OSes, I have experienced the most times when hitting the frigging backspace space rarely goes backward by one character! Solaris/Sun's OSes are the worse culprit. Most Linux'es and Cygwin seem to Do the right thing most of the times. Rarely does backspace not perform a backspace on Windows. You dudes/dudettes need to get your S together WRT the frigging backspace key! How frigging hard is it? Not very hard if you take the time to learn a bit about terminals. BS on a UNIX keyboard either sends ^? or ^H. If you have set backspace=indent,eol,start (or, equivalently, set backspace=2) in your ~/.vimrc, vim will correctly delete over automatically inserted indentation when it recognizes that you've pressed the backspace key. This option wasn't in the original vi, which can't be made to delete over indentation. It's not turned on by default in vim, either, because vim aims for vi compatibility out of the box, and assumes that if you want vim behaviors rather than vi behaviors, then you know what those behaviors are and can take the time to figure out how to turn them on. OTOH, if vim isn't recognizing your piece-of-plastic backspace key as sending the backspace code it expects, be it ^? or ^H, then your terminfo on the server is wrong for the terminal you connect to it with, and one needs to be reconfigured for the correct backspace info. Either way, the problem is with your setup, not a fundamental flaw with the way the developers have designed things. It's no one's problem but your own if you won't take the time to learn about things you don't understand. ~Matt -- 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: Terminal copy-paste
r r.trev_ at inwind.it writes: I saw console , really great, that's what I was looking for. Do you know how can I let cygwin start directly in console instead of Windows cmd ? I solved changing cygwin link to C:\Console\console.exe -c /k C:\cygwin\Cygwin.bat great terminal console -- 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: un-indenting doesn't work with vim
On Thu, 17 Jul 2008, Matt Wozniski wrote: Not very hard if you take the time to learn a bit about terminals. BS on a UNIX keyboard either sends ^? or ^H. If you have set backspace=indent,eol,start (or, equivalently, set backspace=2) in your ~/.vimrc, vim will correctly delete over automatically inserted And if it isn't only Vim that's bonkers, then you need to mess with stty. Also you may find other terminal names on the terminfo database that are similar but behave better. People expect these things to just work, and it can be very frustrating when they don't, but there is a frightening variety of terminal types available, and lots of parameters to change. I've yet to see a terminfo entry that matches the PuTTY program properly and would be interested if anyone has, but that's way off topic. xterm-color is close enough for now. The other thing that may help with this kind of frustration is using gvim instead of vim. But if you prefer emacs, then that's OK, too. There are enough weird terminals to make ed still useful! Hugh -- 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: GDB build cannot find tkWinInt.h
Brian Dessent wrote: (Insight is an overlay on top of the gdb tree.) If you don't want to build insight (which is what --disable-gdbtk means) then you shouldn't I'm not currently planning on using insight, but it would be nice to have it available. have those directories in your source tree. You didn't state what method you used to get the source, but I suggest using a gdb release I downloaded the latest version of gdb provided through cygwin's setup executable. I can download the source tarball from gdb's website, but I'm confused as to why this didn't build. Obviously, someone was able to build these sources, as the binary can be downloaded for the cygwin target and host. Anyway, thanks for the suggestion. I'll try downloading the gdb tarball, but I'd really like to understand what I am doing wrong here - this seems like it should be simple enough (just need to have the proper include path or header files). --Sam -- 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: GDB build cannot find tkWinInt.h
Samuel Sparks wrote: Anyway, thanks for the suggestion. I'll try downloading the gdb tarball, but I'd really like to understand what I am doing wrong here - this seems like it should be simple enough (just need to have the proper include path or header files). Probably because you have a mutant configuration: a source tree with the insight dirs present, but insight disabled. That or you are also missing the in-tree tcltk. I think using the source package from setup is what's confusing you, because the source packages mirror the layout of the binary packages which are split into gdb+insight and tcltk, however the source tree is actually represented by (and must be built as) gdb and insight+tcltk. If you want to build insight then you must have everything combined into the same tree, and that is what you will get if you check out the insight cvs module, or grab an insight source tarball, but apparently not what you get if you use the source packages. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Build DLLs for windows
Hello, I'm using cygwin for compiling projects and it just works fine, i have a project that i use openssl and generate an executable and it's everything working. What i need to do now is to understand how can I generate an DLL and a .LIB with the links for using them at Borland Builder 4 so I can make a visual interface for my application. I know that there are other options, but I want to be able to run my code without the need of cygwin on the target machine. I read that i would need to use the cygwin1.dll, but I don't understand how. I hope I can find some guidance here! Thanks! []s Douglas -- 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: GDB build cannot find tkWinInt.h
Brian Dessent wrote: Probably because you have a mutant configuration: a source tree with the insight dirs present, but insight disabled. That or you are also missing the in-tree tcltk. I think using the source package from setup I'm certainly missing the in-tree tcltk, so that could be the problem, but I haven't been able to build with or without insight disabled. Is this a Cygwin bug? Should the source provided by the setup executable be buildable, or are they just for reference? Obviously, the cvs source is necessary for development and source control, but downloadable snapshots should build as well, right? Sam -- 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: stunnel-4.25-1
A new version of the stunnel package is available in the Cygwin distribution. This is a minor bug fix release from upstream. stunnel is a program that allows you to encrypt arbitrary TCP connections inside SSL (Secure Sockets Layer). stunnel can allow you to secure non-SSL aware daemons and protocols (like POP, IMAP, LDAP, etc) by having stunnel provide the encryption, requiring no changes to the daemon's code. Please note that, although libstunnel (i.e. cygstunnel.dll) is included in this package, its use is undocumented AFAICT and so I haven't tried to test it. I guess that its purpose is to provide transparent proxy support via stunnel by something like LD_PRELOAD=libstunnel.dll, but I don't really know how or if it works. Test reports are welcome on the cygwin list, but questions and discussion might better be directed to the stunnel-users list. Andrew E. Schulman *** To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** 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 that 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/
[ANNOUNCEMENT] Updated: lftp-3.7.3-1
A new version of the lftp package is available in the Cygwin distribution. lftp is a sophisticated file transfer program and ftp/http client. It supports multiple network protocols, offers tab completion, command history, job control, and bookmarks, can mirror sites and transfer multiple files in parallel, and keeps trying interrupted operations until it can complete them. Version 3.7.3-1 is a new upstream release. It includes some bug fixes, minor improvements, and translation updates. Please see http://lftp.yar.ru/news.html for details. Andrew E. Schulman *** To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** 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/
[ANNOUNCEMENT] Updated: unison2.27-2.27.57-1
A new version of the unison2.27 package is available in the Cygwin distribution. This is a new upstream release. Unison is a file synchronizer for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. Andrew E. Schulman *** To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** 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/
[ANNOUNCEMENT] Updated: autossh-1.4b-1
A new version of the autossh package is available in the Cygwin distribution. autossh is a program to start an instance of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. autossh monitors connections by sending data to an echo server or through a loop of port forwardings, and checking that the data returns. autossh backs off on the rate of connection attempts when experiencing rapid failures such as connection refused. It includes an NT service mode, which works well as an NT system service under cygrunsrv. Version 1.4b-1 is a new upstream release. It fixes a bug in polling, and adds a new max lifetime option. Andrew E. Schulman *** To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** 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/
[ANNOUNCEMENT] Updated: atool-0.35.0-1
A new version of the atool package is available in the Cygwin distribution. atool is a script for managing file archives of various types (tar, tar+gzip, zip, bzip2, rar, 7zip, ...). It has separate commands for creating, unpacking, listing, repacking, and showing differences between archives of its supported formats. It overcomes the dreaded multiple files in the top level directory problem by automatically unpacking archives into an appropriately named subdirectory if necessary. Changes in this release: * New upstream release: add support for pbzip2, rzip, lrzip, SX zip; some new options and bug fixes. * Fix too-specific invocation of /usr/bin/perl5.8.8 to /usr/bin/perl. Andrew E. Schulman *** To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** 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: un-indenting doesn't work with vim
Matt Wozniski wrote: On Thu, Jul 17, 2008 at 1:45 AM, Andrew DeFaria wrote: Corinna Vinschen wrote: WFM, but the behaviour is not identical to Ctrl-D. It doesn't use the shiftwidth for one thing. English woman! English! Respectful. Huh? Your response make no sense! Stated differently, on some versions of vim on some OSes, after hitting return while in insert mode with autoindent on I am indented. Now I know of Ctl-d. Still on some machines backspace backspaces and goes backward and on other machines, OSes, etc. while in vim and after hitting return in input mode after indenting by a tab, backspace does nothing but beep at me! This is yet another reason why I prefer Emacs over vi or vim. Stated differently, if you didn't understand what Corinna said, you should have looked it up. Looked what up? I understand every word she said. What I didn't understand was the thought she was trying to convey. I must say, Unix/Linux or other such OSes, I have experienced the most times when hitting the frigging backspace space rarely goes backward by one character! Solaris/Sun's OSes are the worse culprit. Most Linux'es and Cygwin seem to Do the right thing most of the times. Rarely does backspace not perform a backspace on Windows. You dudes/dudettes need to get your S together WRT the frigging backspace key! How frigging hard is it? Not very hard if you take the time to learn a bit about terminals. BS on a UNIX keyboard either sends ^? or ^H. You apparently ain't getting it! It is only in Unix that often the backspace key does not perform the function of moving backward a space and deleting the previously character. I have never, I repeat never had backspace not do a back space except under Unix - have you? If you have set backspace=indent,eol,start (or, equivalently, set backspace=2) in your ~/.vimrc, vim will correctly delete over automatically inserted indentation when it recognizes that you've pressed the backspace key. Yes, except I put that in my ~/.vimrc and hitting backspace doesn't do that. This option wasn't in the original vi, which can't be made to delete over indentation. It's not turned on by default in vim, either, because vim aims for vi compatibility out of the box, and assumes that if you want vim behaviors rather than vi behaviors, then you know what those behaviors are and can take the time to figure out how to turn them on. Great. What exactly turns them on? Because putting set backspace=indent,eol,start didn't do it. OTOH, if vim isn't recognizing your piece-of-plastic backspace key as sending the backspace code it expects, be it ^? or ^H, then your terminfo on the server is wrong for the terminal you connect to it with, and one needs to be reconfigured for the correct backspace info. Backspace backspaces on the bash command line, it just doesn't function to backspace past an autoindent. Either way, the problem is with your setup, not a fundamental flaw with the way the developers have designed things. The mere fact that vim has things like fixdel points to the fundamental flaw that I was alluding to and that is that it often doesn't work in Unix thus requiring kludges like fixdel. In fact it was spoke about here on this very list http://www.cygwin.com/ml/cygwin/2000-04/msg00482.html It's no one's problem but your own if you won't take the time to learn about things you don't understand. I've done more research, learning and understanding in my life than you can imagine. I'm not the only one who is confused and fighting this problem. Do a little bit of research on your own and you'll quickly realize that many, many people struggle with how inconsistently and confusingly the backspace key is handled. Indeed having two definitions for one key is fundamentally flawed. Having backspace work at the command line but not in the editor is fundamentally flawed. Having it work at the command line but screwing up when you do a search in more(1) is bad. Having it not work when you're typing in a password is bad. This treating of backspace differently by various programs and not having it do what the word on the keycap states is broken - period! Seems like my problem was I had a set t_kb=^? in my .vimrc as well as the aforementioned fixdel. Indeed the mere fact that I included such things in my .vimrc indicate that I was having problems with backspace not doing a backspace. I assume that the ^? isn't the two characters ^ and ? and I forget how to generate that anymore. In any event I found http://www.stripey.com/vim/terminals.html which says to do execute 'set t_kb=' . nr2char(8). This seems to be working now. -- Andrew DeFaria http://defaria.com COFFEE.EXE Missing - Insert Cup and Press Any Key -- 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/
The ne-wotc chocie
07/08/17 We do think you can expect to at lesat double Issue: Arkannova EnergyInc Tciker: AVKA Last: 0._40 5 Day: 1.50 B.uyStattus You may wish to discard it, but you will regret this decision Call up your trader now -- 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: un-indenting doesn't work with vim
On Thu, Jul 17, 2008 at 12:46 PM, Andrew DeFaria wrote: Seems like my problem was I had a set t_kb=^? in my .vimrc as well as the aforementioned fixdel. Indeed the mere fact that I included such things in my .vimrc indicate that I was having problems with backspace not doing a backspace. I assume that the ^? isn't the two characters ^ and ? and I forget how to generate that anymore. In any event I found http://www.stripey.com/vim/terminals.html which says to do execute 'set t_kb=' . nr2char(8). This seems to be working now. Well, there's your problem. You told vim that the backspace key sends 0x7F, when in fact it sends 0x08 in your terminal emulator. Vim would have done the correct thing, if it ever saw a backspace, but it never saw 0x7F, only 0x08. :fixdel is archaic, and never necessary on modern systems; moreover you should always understand what a command does before trying to use it. ~Matt -- 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: Build DLLs for windows
Not sure about .LIB and DLL, but to compile an executable that will run without cygwin1.dll, use this switch: -mno-cygwin -Ken Jackson Douglas Gemignani writes: I read that i would need to use the cygwin1.dll, but I don't understand how. I hope I can find some guidance here! Thanks! []s Douglas -- 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: un-indenting doesn't work with vim
It is only in Unix that often the backspace key does not perform the function of moving backward a space and deleting the previously character. I have never, I repeat never had backspace not do a back space except under Unix - have you? I've had such issues on many systems. VMS. MVS. NOS and NOS/VE. Not to mention several BBSes... You're forgetting that UNIX predates PC's. When not in a GUI, or when focus is in a terminal window, pressing the backspace key doesn't perform any function except to transmit a character to the input stream, just as if you were using a serial terminal. ASCII control characters were developed for printing teletypes, on which ASCII BS (chr(8)) would back the carriage up a character position (without deleting anything) while ASCII DEL (chr(127) a.k.a. RUBOUT) would delete (white out or X out) the character under the cursor without moving the carriage. Just as with CR/LF, CRT terminal behavior didn't match either of the definitions exactly, and different terminal manufacturers chose different ways of indicating to the host system that the terminal user had pressed the undo that last keystroke key. Most sent either BS or DEL, but some sent multibyte sequences (escape sequences, even if they didn't involve the ASCII ESC code) or other values (the Commodore PET character set used CTRL-T for this; the Atari used a high-bit value [155, IIRC]). So UNIX software grew up in an environment of variable terminals. It is designed to be flexible about such things for that reason, and doesn't assume (the way other PC software does) that you're on the console of a PC with a local keyboard. Which means it is entirely possible to set things up so that it doesn't work as you expect. This is not UNIX's fault. The default configuration on Cygwin works as expected; you seem to have blindly imported a configuration file from some other UNIX environment, and poof, things broke. That's the price of using stuff without understanding it. -- 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: Build DLLs for windows
Yes, i already used the -mno-cygwin option using the cygwin gcc, but it produces a lot of errors when linking errors against a library (openssl), and if i use the mingw gcc, it can't find the library. Since i compiled that using the cygwin. There is a nice tutorial here http://www.delorie.com/howto/cygwin/mno-cygwin-howto.html I still have issues building a .dll as output, as well it's .def file, i don't know if the gcc can produce that, or if I have to use an external tool for generating those. As far as I understand, using the mingw gcc I could produce more friendly code than using the -mno-cygwin parameter. Is that right? Since cygwin gcc doesn't have the -lsdc++. I just would like to have a cygwin interface-like (use tool-binaries like ls, and other unix stuff) but having a native windows binary so i'm a bit confuse what way should I take. Thanks for your help []s Douglas On Thu, Jul 17, 2008 at 2:04 PM, Ken Jackson [EMAIL PROTECTED] wrote: Not sure about .LIB and DLL, but to compile an executable that will run without cygwin1.dll, use this switch: -mno-cygwin -Ken Jackson Douglas Gemignani writes: I read that i would need to use the cygwin1.dll, but I don't understand how. I hope I can find some guidance here! Thanks! []s Douglas -- 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/
How to run a bash shell script from cygwin coosole
I have a very simple bash script named runRWS.sh: / #!/bin/bash cd /soapui ls pwd / When I run from cygwin console, , I get: / [EMAIL PROTECTED] /usr/bin $ ./runRWS.sh : No such file or directoryoapui ./runRWS.sh: line 3: $'ls\r': command not found /usr/bin / I could see that command cd, ls didn't work, but pwd was ok. I have directories mounted as below: /* $ mount c:\Program Files\eviware\soapUI-Pro-2.0.3\bin on /soapui type system (binmode) d:\cygwin\bin on /usr/bin type system (binmode) d:\cygwin\lib on /usr/lib type system (binmode) d:\cygwin on / type system (binmode) c: on /cygdrive/c type system (binmode,noumount) d: on /cygdrive/d type system (binmode,noumount) g: on /cygdrive/g type system (binmode,noumount) h: on /cygdrive/h type system (binmode,noumount) m: on /cygdrive/m type system (binmode,noumount) r: on /cygdrive/r type system (binmode,noumount) **/ Please help me how to run the bash script on cygwin. Note, I am a new user of cygwin. -- View this message in context: http://www.nabble.com/How-to-run-a-bash-shell-script-from-cygwin-coosole-tp18515908p18515908.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to run a bash shell script from cygwin coosole
On 2008-07-17 19:17Z, akarui wrote: ./runRWS.sh: line 3: $'ls\r': command not found d2u ./runRWS.sh -- 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: irssi on cygwin on vista 64bit crashes with 0x00000135 in cygperl5_8.dll
Corinna Vinschen-2 wrote: On Jul 14 02:33, TB2 wrote: Hi, It's a fresh vista ultimate 64bit install and I installed cygwin with standard options + irssi, screen and rxvt. Everything working; rxvt and even screen, but irssi crashes instantly upon execution, no matter if I use cmd or rxvt as the shell, or if I start it remotely over ssh. The error code is 0x0135 File: cygperl5_8.dll I assume it's 0xC135 and it means DLL not found. It looks like you need Perl 5.8 for irssi to run. Try to downgrade perl to 5.8.8-4 using setup.exe for now. 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/ Thanks a lot! You're solution is working perfectly. -- View this message in context: http://www.nabble.com/irssi-on-cygwin-on-vista-64bit-crashes-with-0x0135-in-cygperl5_8.dll-tp18440382p18516089.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: irssi on cygwin on vista 64bit crashes with 0x00000135 in cygperl5_8.dll
On Thu, Jul 17, 2008 at 12:27:41PM -0700, TB2 wrote: Thanks a lot! You're solution is working perfectly. FYI, there is now a new version of irssi so this should no longer be an issue. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to run a bash shell script from cygwin coosole
Greg Chicares-2 wrote: On 2008-07-17 19:17Z, akarui wrote: ./runRWS.sh: line 3: $'ls\r': command not found d2u ./runRWS.sh I am using Crimson editor and saved the file in UNIX format, but still seeing the error $ls\r. How can I get rid of this problem ? -- View this message in context: http://www.nabble.com/How-to-run-a-bash-shell-script-from-cygwin-coosole-tp18515908p18516861.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to run a bash shell script from cygwin coosole
On Thu, Jul 17, 2008 at 01:10:31PM -0700, akarui wrote: Greg Chicares-2 wrote: On 2008-07-17 19:17Z, akarui wrote: ./runRWS.sh: line 3: $'ls\r': command not found d2u ./runRWS.sh I am using Crimson editor and saved the file in UNIX format, but still seeing the error $ls\r. How can I get rid of this problem ? d2u ./runRWS.sh cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
colons in Cygwin (was Re: make-3.81-3 (ITA??))
The below message was originally, inappropriately sent to cygwin-apps. Although cgf has no interest in spending his time on answering my questions, I thought I'd solicit the opinions of any package maintainer who is interested. Thanks, Rob original message begins === I didn't mean for anyone (especially the package maintainer) to infer that make wasn't being actively supported. My apologies for any misunderstanding. I'm very interested in your opinions on colons in paths. I'd prefer to hear directly what they are, to avoid any misunderstanding that might arise from me trying to glean them from the archives. Questions I have in particular: 1. what are your thoughts on POSIX support for colons in paths? 2. what are your thoughts on Cygwin's existing support for DOS paths? Thanks in advance. -Rob Christopher Faylor wrote: On Wed, Jul 16, 2008 at 04:51:02PM -0700, Rob Walker wrote: I'd like to get make updated to accept paths with colons on Cygwin. The patch that enables this behavior has been available and in fairly wide use for almost 2 years. I've read http://cygwin.com/setup.html. I've followed the instructions up to Updating a Package, which seems to imply that only package owners can update a package. How does a non-package owner go about updating a package? Who's the current make package owner? Is make available for adoption? The last update to make was in January of this year so it is obviously being actively supported. Make is supported by me and I've made my opinions on the matter of colons clear. When there is a new release of make, I'll make a new cygwin release available. If the new release handles colons transparently I won't actively break the patch but it won't be actively supported either, i.e., I won't respond to bug reports on it. This isn't really open for discussion so please don't send an impassioned plea. It isn't appropriate for this list and it has been discussed to death on the Cygwin list. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: colons in Cygwin (was Re: make-3.81-3 (ITA??))
Rob Walker schrieb: I didn't mean for anyone (especially the package maintainer) to infer that make wasn't being actively supported. My apologies for any misunderstanding. I'm very interested in your opinions on colons in paths. I'd prefer to hear directly what they are, to avoid any misunderstanding that might arise from me trying to glean them from the archives. Questions I have in particular: 1. what are your thoughts on POSIX support for colons in paths? Colons in filenames are fine and will be supported with cygwin-1.7. But c:/ it will not map to the root of some c drive, it will map to the subdir c: For now we had to use managed mounts for such names, soon we will be able to see readable names. 2. what are your thoughts on Cygwin's existing support for DOS paths? Why should we? For mingw builds use MSYS, for cygwin use cygwin. Don't mix what does not fit together. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- 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: How to run a bash shell script from cygwin coosole
Christopher Faylor-8 wrote: d2u ./runRWS.sh cgf Thanks. It is working upto here. -- View this message in context: http://www.nabble.com/How-to-run-a-bash-shell-script-from-cygwin-coosole-tp18515908p18517222.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Freeze with the letter
Eric Blake ebb9 at byu.net writes: And there's your problem. That is not the proper syntax for a .inputrc file (it is NOT for shell commands, but for readline commands, which have an entirely different syntax). Read 'man readline'. By starting a line with 'echo', you tried to define a macro for the key 'e', explaining why 'e' did nothing for you. -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 at byu.net volunteer cygwin readline maintainer Thank you for the solution. Of course now I feel silly for what I did. I've been away from *nix for over 10 years, so I guess that makes me an old-newbie. On to the next problem. Lou -- 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: How to run a bash shell script from cygwin console
Now, I have new issue after adding a line (cd) in the script. New script looks like as below: / #!/bin/bash cd c:\Program Files\eviware\soapUI-Pro-2.0.3\bin#This is mount-mapped as /soapui pwd ls / The output I get on the cygwin console is as follow: / $ ./runRWS.sh /soapui Project_Exercise18 alltests-fails.html mockservicerunner.bat soapui-errors.log soapui.log actionsext overview-frame.html soapui-log4j.xml stylesheet.css all-tests.html index.html overview-summary.html soapui-pro-2.0.3.jar testrunner.bat allclasses-frame.html listenersreport.xml soapui-pro.battoolrunner.bat alltests-errors.html loadtestrunner.bat scripts soapui-settings.xml / Here from the output, I see that cd, pwd and ls worked fine. But the console prompt is not yet changed, means, cd didn't permanently changed the directory, 'cause I get pwd as below: / $ pwd /cygdrive/d / Note that, I like to have the console's prompt changed to /soapui, where I'll run a program named testrunner.bat later. Please help me. -- View this message in context: http://www.nabble.com/How-to-run-a-bash-shell-script-from-cygwin-coosole-tp18515908p18517238.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to run a bash shell script from cygwin console
akarui wrote: Here from the output, I see that cd, pwd and ls worked fine. But the console prompt is not yet changed, means, cd didn't permanently changed the directory, 'cause I get pwd as below: / $ pwd /cygdrive/d / Note that, I like to have the console's prompt changed to /soapui, where I'll run a program named testrunner.bat later. BASH runs scripts in a sub-shell, and changes made to the environment in the sub-shell do not propagate to the parent shell. To run a script in the current shell so it can change your environment, call it as `. yourscript` instead of just `yourscript`. AFAIK there's nothing that you can put in the script to make it do this all the time. -- Sam Hanes elemecca AT gmail DOT com Freedom is a heavy load, a great and strange burden for the spirit to undertake. It is not easy. It is not a gift given, but a choice made, and the choice may be a hard one. The road goes upward towards the light; but the laden traveler may never reach the end of it. - Ursula K. Le Guin; The Tombs of Atuan -- 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: lpr works? FAQ in error?
Rodrigo Medina rodmedina at cantv.net writes: It is in error. There is a working lpr which is part or cygutils. See man pages. An easier way is to used the Windows drivers. You need a Windows program that could print. You may use NOTEPAD /P for text files and Foxit Reader /p for PDF files I hope that this can be useful R.M. I can't get lpr to work printing a text file with XP SP2. The file flashes on the que as spooling, but never prints to my Canon MP530. lpr -D looks ok to me. Can you advise me how to use NOTEPAD /P? I am new at Cygwin, so any help would be appreciated. Lou -- 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: colons in Cygwin (was Re: make-3.81-3 (ITA??))
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Rob Walker on 7/17/2008 2:27 PM: | Questions I have in particular: | 1. what are your thoughts on POSIX support for colons in paths? POSIX requires support for colons, but not as drive letters. Use managed mounts in 1.5.x, or wait for 1.7.0. | 2. what are your thoughts on Cygwin's existing support for DOS paths? If they work, it's a lucky accident. I neither go out of my way to make them work, nor worry about breaking it. Use /cygdrive style paths instead. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] volunteer cygwin bash maintainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkh/2lQACgkQ84KuGfSFAYBwsgCeP35B/0AcC3G5Sp0AN7/4Qp36 rgIAn2lvgudGtbkFvb60fKCiVGvXnYp4 =4eWk -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: colons in Cygwin (was Re: make-3.81-3 (ITA??))
Reini Urban wrote: Rob Walker schrieb: I didn't mean for anyone (especially the package maintainer) to infer that make wasn't being actively supported. My apologies for any misunderstanding. I'm very interested in your opinions on colons in paths. I'd prefer to hear directly what they are, to avoid any misunderstanding that might arise from me trying to glean them from the archives. Questions I have in particular: 1. what are your thoughts on POSIX support for colons in paths? Colons in filenames are fine and will be supported with cygwin-1.7. But c:/ it will not map to the root of some c drive, it will map to the subdir c: For now we had to use managed mounts for such names, soon we will be able to see readable names. [RGW] This is interesting news to me. This would break the planned GNU make support for MSDOS paths under Cygwin, wouldn't it? On which Windows filesystems will this be useful? In other words, where might one see a directory named c: on a Windows box? 2. what are your thoughts on Cygwin's existing support for DOS paths? Why should we? For mingw builds use MSYS, for cygwin use cygwin. Don't mix what does not fit together. [RGW] Usefulness is a reason I can offer. For what it's worth, I think that Cygwin fits very nicely Windows and other Windows tools. -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/
New To Cygwin
Hello, I am new to cygwin and after I have installed it I ran it and try to traverse to different directories and every time I do I run ls or dir and I get command not found. Did I miss something during the install? I start off in /usr/bin, but then by just typing cd I end up where I would want to, cygdrive/c/Documents and settings/username. I also looked and the manual and FAQ to see if I was missing something. I also looked at many of the posts on here before I asked. Thanks, -- View this message in context: http://www.nabble.com/New-To-Cygwin-tp18520906p18520906.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: New To Cygwin
mwade wrote: Hello, I am new to cygwin and after I have installed it I ran it and try to traverse to different directories and every time I do I run ls or dir and I get command not found. Did I miss something during the install? I start off in /usr/bin, but then by just typing cd I end up where I would want to, cygdrive/c/Documents and settings/username. I also looked and the manual and FAQ to see if I was missing something. I also looked at many of the posts on here before I asked. I'd recommend reading and following the problem reporting guidelines, particularly the part about *attaching* cygcheck output. You can find the guidelines here: http://cygwin.com/problems.html If I had to hazard a guess, it sounds like your installation didn't complete. If just rerunning 'setup.exe' doesn't fix the problem, send a problem report here. FWIW, the behavior you get when you cd is correct, assuming that HOME is not set in your Windows environment and '/etc/passwd' doesn't exist (and probably wouldn't if my guess about your installation is correct). In this case, your home directory becomes the POSIX form of $HOMEDRIVE/ $HOMEPATH, which I'll bet maps to /cygdrive/c/Documents and settings/your user name on your system. But now I'm done trying my luck. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: lpr works? FAQ in error?
As a follow-up and clarification to my previous post, what I would like to be able to do is to pipe output to a printer, e.g. ls -l | lpr This doesn't work for me as I explained previously. Using notepad /P instead of lpr doesn't work either. Is there a simple way to do this? Lou Lou Umscheid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Rodrigo Medina rodmedina at cantv.net writes: It is in error. There is a working lpr which is part or cygutils. See man pages. An easier way is to used the Windows drivers. You need a Windows program that could print. You may use NOTEPAD /P for text files and Foxit Reader /p for PDF files I hope that this can be useful R.M. -- 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: How to run a bash shell script from cygwin console
Sam Hanes writes: akarui wrote: Here from the output, I see that cd, pwd and ls worked fine. But the console prompt is not yet changed, means, cd didn't permanently changed the directory, 'cause I get pwd as below: / $ pwd /cygdrive/d / Note that, I like to have the console's prompt changed to /soapui, where I'll run a program named testrunner.bat later. BASH runs scripts in a sub-shell, and changes made to the environment in the sub-shell do not propagate to the parent shell. To run a script in the current shell so it can change your environment, call it as `. yourscript` instead of just `yourscript`. AFAIK there's nothing that you can put in the script to make it do this all the time. True, but you can combine a script and an alias to give you the effect. Maybe put runRWS.sh in ~/bin/ and then add this alias to ~/.bash_profile or ~/.bashrc: alias runRWS=. ~/bin/runRWS.sh Then the command runRWS will work as you expect. -Ken Jackson -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cygwin Digest (multiple subjects)
cygwin Digest 17 Jul 2008 16:47:20 - Issue 6050 I know these are tired subjects but like everyone else I have thought about and experienced them a lot and formed some opinions. CRLF vs. LF Subject: Re: Freeze with the letter e I find that a lot of code is ok either way, and a lot of code only accepts LF. Code that demands CRLF is rare. In particular, gcc, Visual C++ compiler/editor, wordpad, are all ok either way. Various Unix code -- sh -- wants LF. Notepad wants CRLF. Notepad I can do without. Visual C++ editor inserts CRLF, so yeah I constantly run dos2unix, annoying, but the best workflow I have so far. I can't switch editors, I have tried. It is dumb of Visual C++ not to notice the prevailing custom in a file, be it the line endings, or the use of tabs vs. spaces, or the intended size of the tabs, or the placement of the braces, and not automatically continue to format that way. It is quite hellish to read code with 8 space tabs presented as 4 spaces. I thought the code was misformated, my mistake. backspace key Subject: Re: un-indenting doesn't work with vim Configurability is great, but having good defaults is also very important. I too am amazed at how bad the defaults often are on Unix. And that the configuration is rarely well exposed in a gui. Once you know how to edit the various text files, great, but it's nice to have an option for a less steep learning curve. You know, instead of various text files, Windows command line users can use the registry -- .reg files and reg.exe. But when first learning, use the gui. It is nice to have *both* options. And, no defaults are going to suit everyone. And whatever defaults are chosen, if they don't suck too badly, will be the overwhelming majority in use. Is it better to have no defaults and everyone chose, or better to pick something and have it usually go unchanged and people not know about the options? There are pluses and minuses either way. The better the defaults, even if they aren't ideal, the less often people will find their personal ideal. An analogy I read somewhere, I think the Unix Haters' Handbook, is imagine if the disk driver worked like the terminal. That it didn't really work in the default configuration. What good is the default configuration? (The book is a bit out of date these days, but highly recommended.) what console to use Terminal copy-pas te I think cmd is underrated as an interactive shell. Sure, it is a terrible programming language, I try to use Python instead, but it is fast, has great command line editing -- home, end, control-arrow all work, forward and backward delete, up/down for history, tab completion even if perhaps not the best tab completion, and, one of my favorite features and hard to describe, F8 -- completion against history, easy copy/paste (be sure to enable quickedit, but be careful not to use it by accident), just that it lacks triple click to select lines. You just select stuff to copy and right click to paste. A half decent default color scheme -- gray text on a black background, which I change to white text through a nice gui, rxvt defaulted to something not good. Even has a small programming language, it has some nice features. dir /s/b dir /s/b | findstr foo or the similar: dir /s/b foo* del /s *.dll for %a in (dll exe obj) do del /s *.%a etc. Much easier than find. Granted, backtick isn't fully there, set -x is missing. Again, it's ok for very very small amounts of scripting only. #! support would be nice, besides the ftype/assoc/%PATHEXT% methods. Though prepending your Perl or JScript, or, I haven't done this yet, Python, such as to make file a .cmd file, is convenient, but reduces portability. And portability to other systems -- why I use Python. I'll check out console and poderosa though, thanks. From: [EMAIL PROTECTED] Subject: Build DLLs for windows I'm using cygwin for compiling projects and it just works fine, i have a project that i use openssl and generate an executable and it's everything working. What i need to do now is to understand how can I generate an DLL and a .LIB with the links for using them at Borland Builder 4 so I can make a visual interface for my application. I know that there are other options, but I want to be able to run my code without the need of cygwin on the target machine. I read that i would need to use the cygwin1.dll, but I don't understand how. I hope I can find some guidance here! Douglas, if I ignore the first part of your question, mentioning of openssl, and pay attention only to the desire to not require cygwin1.dll the answer would be to look into mingwin, or the -mnocygwin or -mno-cygwin or whatnot switch in Cygwin. However odds are very non-zero that your dependency on openssl will conflict with that.
Re: un-indenting doesn't work with vim
Matt Wozniski wrote: Well, there's your problem. You told vim that the backspace key sends 0x7F, when in fact it sends 0x08 in your terminal emulator. Vim would have done the correct thing, if it ever saw a backspace, but it never saw 0x7F, only 0x08. :fixdel is archaic, and never necessary on modern systems; moreover you should always understand what a command does before trying to use it. I can as easily say that backspace should always - I repeat always - do a backspace. BTW It would be exceedingly helpful if the documentation said exactly what a command does instead of cryptically saying only: t_kbBSbackspace key *t_kb* *'t_kb'* -- Andrew DeFaria http://defaria.com I don't have a solution but I admire the problem. -- 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/
Updated: stunnel-4.25-1
A new version of the stunnel package is available in the Cygwin distribution. This is a minor bug fix release from upstream. stunnel is a program that allows you to encrypt arbitrary TCP connections inside SSL (Secure Sockets Layer). stunnel can allow you to secure non-SSL aware daemons and protocols (like POP, IMAP, LDAP, etc) by having stunnel provide the encryption, requiring no changes to the daemon's code. Please note that, although libstunnel (i.e. cygstunnel.dll) is included in this package, its use is undocumented AFAICT and so I haven't tried to test it. I guess that its purpose is to provide transparent proxy support via stunnel by something like LD_PRELOAD=libstunnel.dll, but I don't really know how or if it works. Test reports are welcome on the cygwin list, but questions and discussion might better be directed to the stunnel-users list. Andrew E. Schulman *** To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** 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 that URL.
Updated: lftp-3.7.3-1
A new version of the lftp package is available in the Cygwin distribution. lftp is a sophisticated file transfer program and ftp/http client. It supports multiple network protocols, offers tab completion, command history, job control, and bookmarks, can mirror sites and transfer multiple files in parallel, and keeps trying interrupted operations until it can complete them. Version 3.7.3-1 is a new upstream release. It includes some bug fixes, minor improvements, and translation updates. Please see http://lftp.yar.ru/news.html for details. Andrew E. Schulman *** To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** 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.
Updated: unison2.27-2.27.57-1
A new version of the unison2.27 package is available in the Cygwin distribution. This is a new upstream release. Unison is a file synchronizer for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. Andrew E. Schulman *** To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** 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.
Updated: atool-0.35.0-1
A new version of the atool package is available in the Cygwin distribution. atool is a script for managing file archives of various types (tar, tar+gzip, zip, bzip2, rar, 7zip, ...). It has separate commands for creating, unpacking, listing, repacking, and showing differences between archives of its supported formats. It overcomes the dreaded multiple files in the top level directory problem by automatically unpacking archives into an appropriately named subdirectory if necessary. Changes in this release: * New upstream release: add support for pbzip2, rzip, lrzip, SX zip; some new options and bug fixes. * Fix too-specific invocation of /usr/bin/perl5.8.8 to /usr/bin/perl. Andrew E. Schulman *** To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** 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.