Re: setting up a local mirror
OK, I couldn't resist answering one last question before unsubscribing from the list... On 12/5/06, Nathan Moore wrote: Cygwin is used extensively within my school's physics department, and I'd like to set up a local mirror for packages. I assume this entails writing a bash script which downloads all of the source packages from an official repository. The script is then run at regular (ie crontab scheduled) intervals. Could anyone provide me with more information on this task (ie where to download from, how often repositories change, how much space will be required, etc)? All the details are in the Creating a local Cygwin mirror with rsync section at http://sourceware.org/cygwin-apps/package-server.html I don't know the current space requirements, but I'm sure it's many gigabytes. Before you go through the trouble, you may just want to standardize on using an already existing nearby .edu mirror site. -- 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: signing off, mostly
On 12/4/06, Christopher Faylor wrote: On Mon, Dec 04, 2006 at 10:01:51AM +0100, Corinna Vinschen wrote: thanks for your commitment in the last couple of years, it's been highly appreciated. Big ditto from me. I'm very sad that you are leaving Joshua. It's been a real pleasure working with you. Thanks so much everyone, I really appreciate your kind words. I have very much enjoyed the experience of working on Cygwin and wish that I had the time and resources to continue. As I mentioned I've never been short of ideas for more documentation. Cygwin is a great project to work on and it's been fun.
Re: signing off, mostly
On 12/4/06, Corinna Vinschen wrote: I had two gold stars for you in my pocket, but now that I'm trying to give them to you I can't find them... Igor? Do you have two gold stars in stock for Joshua? Thanks! However, since you're apparently not using Cygwin anymore, what about the pinfo package? Will you further maintain it? I actually forgot about it, thanks for the reminder. Unfortunately pinfo has been dead upstream for a long time, but I just did a search and it looks like the debian maintainer has adopted it recently: http://lists.alioth.debian.org/pipermail/pinfo-announce/2006/00.html So, pinfo is also up for adoption and it would be great for the new parent to package that new release candidate. I didn't add any Cygwin-specific patches, but pinfo has some known bugs so I'm sure the upsteam maintainer would thoughfully consider patches. For example, this one has been noticed before: http://lists.alioth.debian.org/pipermail/pinfo-devel/2006q2/000412.html
signing off, mostly
Cygwin Community, It's been a fun few years that I've been maintaining the Cygwin documentation, but I think it's come time to ask for replacement volunteers. I now rarely use Windows and just realized when I got a few minutes on my wife's laptop that it doesn't even have the build tools installed, and that the FAQ alert I was going to respond to is nearly two months old: http://www.cygwin.com/ml/cygwin/2006-10/msg00587.html The good news is that I believe I got cygwin-doc in a very stable state, so a lot of it is just a matter of building the docs from CVS, copying the files into a tarball, and releasing. The bad news is the total lack of movement on the docs in probably the past 16 months or so (i.e., since my daughter was born). I think this is a great opportunity for someone with a lot of ideas for updated docs. I'd be happy to answer any questions about the current setup of the Cygwin documentation.
signing off, mostly
Cygwin Community, It's been a fun few years that I've been maintaining the Cygwin documentation, but I think it's come time to ask for replacement volunteers. I now rarely use Windows and just realized when I got a few minutes on my wife's laptop that it doesn't even have the build tools installed, and that the FAQ alert I was going to respond to is nearly two months old: http://www.cygwin.com/ml/cygwin/2006-10/msg00587.html The good news is that I believe I got cygwin-doc in a very stable state, so a lot of it is just a matter of building the docs from CVS, copying the files into a tarball, and releasing. The bad news is the total lack of movement on the docs in probably the past 16 months or so (i.e., since my daughter was born). I think this is a great opportunity for someone with a lot of ideas for updated docs. I'd be happy to answer any questions about the current setup of the Cygwin documentation. -- 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: FAQ ALERT Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1
On 10/11/06, Christopher Faylor wrote: Good point, Brian. If anything qualifies as a FAQ, this certainly does. Joshua, would you be willing to write something up about the philosophy of MS-DOS and Cygwin? Known gotchas would be a good thing to include, even if they were only examples. This looks like possibly just a generalized rewrite of http://cygwin.com/faq/faq-nochunks.html#faq.using.accessing-drives -- 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: chmod, chown doesn't work with 1.5.21-1 (FAQ alert)
On 8/24/06, Igor Peshansky wrote: FWIW, I was going to suggest that you look at the relevant FAQ entry (http://cygwin.com/faq/faq.using.html#faq.using.chmod), but then I realized that the entry is horribly out of date, and doesn't mention filesystem types at all (the only place they are mentioned is the description of the ntea setting in the CYGWIN environment variable: http://cygwin.com/cygwin-ug-net/using-cygwinenv.html). I don't have the time to create the proper FAQ patch, but Joshua, if you are reading this, please take note. Duly noted, I'll write a patch at some point soon. -- 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: Um... what format are Cygwin manpages?
On 8/10/06, mwoehlke wrote: Joshua Daniel Franklin wrote: Yes, it's sort-of my fault. I just have a Perl script that chunks the newlib libc.info files into faux man pages. Ah, ok, makes sense. Too bad newlib doesn't have proper manpages, in that case. Although am I understanding that newlib itself doesn't have *any* manpages, meaning a: I need to be fixing their INFO, and b: any manpages should be sent this way after all? Well, I'd be for fixing the newlib files rather than replacing them. The issue with replacing them with our own custom versions or with Linux ones is that the documentation no longer comes from the actual upstream libc (or worse-- in the case of Linux it comes from a possibly incompatible *different* upstream libc). If you'd like to add better *roff formatting to the perl script, it's in the cygwin-doc src package. A warning, though, it's a mess. -- 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/
Please upload: cygwin-doc-1.4-4
This is an update to the latest CVS (of UG, FAQ, cygwin, and newlib): #!/bin/sh wget http://staff.washington.edu/joshuadf/cygwin/cygwin-doc-1.4-4-src.tar.bz2 wget http://staff.washington.edu/joshuadf/cygwin/cygwin-doc-1.4-4.tar.bz2
Re: Um... what format are Cygwin manpages?
On 8/9/06, mwoehlke wrote: I thought I'd have a crack at fixing the manpage for printf(3) (see http://cygwin.com/ml/cygwin/2006-08/msg00288.html), but when I opened it, I was a bit shocked to discover that it is only *MARGINALLY* in troff format. I do note that other manpages seem more normal (man1 pages, for instance)... So, is this just how the C lib manpages are? Yes, it's sort-of my fault. I just have a perl script that chunks the newlib libc.info files into faux man pages. Be careful with Linux man pages, some are licenced from the Open Group. If so the package should come with a copyright file like this: http://packages.debian.org/changelogs/pool/non-free/m/manpages-posix/manpages-posix_1.67-3/manpages-posix.copyright Unfortunately we are not allowed to redistribute those, unless you'd like to do the legwork to get permission to do so. :) Also I just posted for upload a new cygwin-doc package before I read this thread, so there would be more of a delay. -- 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: [DOC PATCH] - was Re: I18 support in cygwin
On 8/7/06, Larry Hall (Cygwin) wrote: So there is. Hm. Oh well. Joshua, here's a patch, if you think using it is less effort than just deleting the line yourself. Of course I'll use it. How else would I know which was the duplicate? :) It wasn't in the cygwin-doc-1.4-4 I posted a few minutes back, but it's on the website now: http://cygwin.com/faq/faq-nochunks.html#faq.using.unicode -- 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: FAQ update suggestion: uninstall
On 7/23/06, Robert Pendell wrote: Testing wrote: http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all Would it be valuable to add this to the FAQ entry? That won't work for those on XP Home. In order to access the Security tab you have to boot into safe mode. OK, I'll add that in a note. -- 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: Automated Cygwin install.
On 5/27/06, Jarl Friis wrote: Would it be an idea to have my question on the cygwin FAQ. I had resisted this since it didn't really come up all that often and setup.exe is really only designed to be interactive, but it's been coming up... frequently: http://cygwin.com/faq/faq.setup.html#faq.setup.automated -- 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: [FAQ ALERT] Win32_Winsock depracated...
On 5/30/06, Dave Korn wrote: ... for quite some time now; here's an update to the related faq entry. Thanks, it's great to get patches like this. It's updated now: http://cygwin.com/faq/faq.api.html#faq.api.winsock -- 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: Apache Tomcat / Tomcat based apps
On Sun, 21 May 2006, Christopher Molnar wrote: I would like to find out if it is possible to create a dependency in a package on the sun java sdk. For example the default install of Java 1.5 from Sun uses a home directory of: /cygdrive/c/Program\ Files/Java/jdk1.5.0_06 , so keying on the presence of that directory is a good bet Java is installed with the correct version. On 5/21/06, Igor Peshansky wrote: You can have a configuration script that contains a path to the Java SDK, which the users can edit, and install it from a default location if not present. As long as the only thing in that script is the Java SDK location, you should never have to replace it on installation. Sure, the package won't work OOTB, but configuration is as easy as putting one path in, say, /etc/tomcat.java.cfg (invent the name, there isn't a standard one). I haven't been using Java on Cygwin, but I follow it fairly closely on Red Hat Enterprise and Fedora mailing lists. The emerging standard way of doing things there is with the JPackage.org layout, which heavily uses the alternatives system to set up useful JAVA_HOME variables and /usr/bin/java{,c} and if desired to easily switch between several JVMs (Sun, IBM, even GJC or Kaffe). There are some helper scripts in a jpackage-utils package; the original from JPackage.org uses RPMs, but Debian and Ubuntu have adopted the overall framework with DEBs so my guess would be that making Cygwin packages with the same methods would work too. They have a lot of Java apps packaged in a FHS-compliant way, including Eclipse and Tomcat (and the config file if you want to change for example JAVA_OPTS for Tomcat5 is /etc/tomcat5/tomcat5.conf ). From what I remember of Igor's scripts, they basically act like this java-compat RPM: http://jpackage.org/rpm.php?id=3319 which creates symlinks to a preexisting JVM install. (BTW: they know their website is ugly.) See also the Ubuntu package: http://packages.ubuntulinux.org/dapper/utils/jpackage-utils Or, maybe that's all too complicated. :)
Re: Cygwin installer command line options
--- Brooke Wallace wrote: Can someone point me to the files or any existing patches etc that deal with the command line options? I'm not a Windows developer, but I'm willing to update the application if I can get pointed in the right direction as it would be very useful to me. I've already got the latest CVS version and was able to build it. You might start with the Re: setup.exe: feature request with patch thread at: http://cygwin.com/ml/cygwin-apps/2006-03/threads.html#00070 (I'm not saying you need to use that patch, it's just a patch example.) BTW, what sort of functionality did you want to add? Have you been using setup.exe -L -l DOSPATH to install from a local install point? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Setup.exe headless install
On 4/7/06, Phil Crosby wrote: support for a headless install in setup.exe. This would make deploying Cygwin on new installs of Windows very easy, and would avoid the time spent navigating the list and selecting packages, forgetting a package and having to go back and install it, and the runaround that comes with getting Cygwin set up just the way you want it. The current version does not have the package selection feature, but there is a patched version (not by me, I just have a copy): http://staff.washington.edu/joshuadf/cygwin/ http://staff.washington.edu/joshuadf/cygwin/instructions.txt Also, the current command line options can be dumped into the setup.log file by running setup.exe --help.
Re: [FAQ alert] RE: segfault on memory intensive programs
On 4/1/06, Joshua Daniel Franklin wrote: On 3/30/06, Dave Korn wrote: As to the FAQ entry, it really needs a little alteration. Ping JDF! It should make clear that those parameters are in bytes. The example of a 4k stack and 1k heap is a bit unrealistic and it might be more productive to show people how to make exes with /big/ stacks, since that's the problem people usually run into. How about something a bit more like -snip 21. How can I adjust the heap/stack size of an application? If you need to change the maximum amount of memory available to Cygwin, see http://cygwin.com/cygwin-ug-net/setup-maxmem.html. Otherwise, just pass the desired heap/stack size in bytes as linker arguments to gcc. To create foo.exe with a heap size of 200MB and a stack size of 8MB, you would invoke gcc as: gcc -Wl,--heap,2,--stack,800 -o foo foo.c -snip OK, checked in, but I didn't update the website. -- 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: Update for the Why doesn't chmod work? section of the FAQ?
On 3/2/06, Christopher Faylor wrote: The current FAQ has this entry: 4.15. Why doesn't chmod work? I checked in this, but didn't update the website: The most common case is that your /etc/passwd or /etc/group files are not properly set up. If ls -l shows a group of mkpasswd or mkgroup, you need to run one or both of those commands. For other cases, understand that Cygwin attempts to show UNIX permissions based on the security features of Windows, so the Windows ACLs are likely the source of your problem. See the Cygwin User's Guide at http://cygwin.com/cygwin-ug-net/ntsec.html for more information on how Cygwin maps Windows permissions. -- 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: [FAQ alert] RE: segfault on memory intensive programs
On 3/30/06, Dave Korn wrote: As to the FAQ entry, it really needs a little alteration. Ping JDF! It should make clear that those parameters are in bytes. The example of a 4k stack and 1k heap is a bit unrealistic and it might be more productive to show people how to make exes with /big/ stacks, since that's the problem people usually run into. How about something a bit more like -snip 21. How can I adjust the heap/stack size of an application? If you need to change the maximum amount of memory available to Cygwin, see http://cygwin.com/cygwin-ug-net/setup-maxmem.html. Otherwise, just pass the desired heap/stack size in bytes as linker arguments to gcc. To create foo.exe with a heap size of 200MB and a stack size of 8MB, you would invoke gcc as: gcc -Wl,--heap,2,--stack,800 -o foo foo.c -snip I'll get to this and the other items soon-ish. I got a cheap laptop on ebay (but very portable... Dell x200) and just finished getting it set up. -- 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: Locales with wrong umlauts
On 3/26/06, Lapo Luchini wrote: On Sun, 27 Jun 2004, A. Alper Atici wrote: try the following: set OUTPUT_CHARSET=iso-8859-1 Instead of putting it simply in some FAQ couldn't Cygwin define that env var correctly by default? (after all the system *knows* which charset it is using, I guess?) Is this available from some Windows envar or tool? I'm thinking this would be best in a .profile or even /etc/profile. Unfortunately, I am clueless how to test 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: Cygwin: Where is the Help Guide
On 3/25/06, George wrote: FWIW, I'd like to think that expanding the contents of the Cygwin man pages ('man cygwin' and 'man intro') to provide the above information as well as offer an overview of Cygwin-specific tools, etc. would go a long way. Wow, someone actually read that page I wrote? I think I already did mention all those things, with the exception of man foo for obvious reasons. The important sections: AVAILABILITY Cygwin is developed by volunteers collaborating over the Internet. It is distributed through the website http://cygwin.com, where you can find extensive documentation, including FAQ, User's Guide, and API Ref- erence. The Cygwin website should be considered the authoritative source of information. The source code, released under the GNU General Public License, Version 2, is also available from the website or one of the mirrors. COMPATIBILITY Cygwin uses the GNU versions of many of the standard UNIX command-line utilities (sed, awk, etc.), so the user environment is more similar to a Linux system than, for example, Sun Solaris. The default login shell and /bin/sh for Cygwin is bash, the GNU Bourne-Again Shell, but other shells such as tcsh (an improved csh) are also available and can be installed using Cygwin's setup.exe. NOTES To port applications you will need to install the development tools, which you can do by selecting gcc in setup.exe (dependencies are auto- matically handled). If you need a specific program or library, you can search for a Cygwin package containing it at: http://cygwin.com/packages/ If you are a UNIX veteran who plans to use Cygwin extensively, you will probably find it worth your while to learn to use Cygwin-specific tools that provide a UNIX-like interface to common operations. For example, cygpath converts between UNIX and Win32-style pathnames. The full docu- mentation for these utilities is at: http://cygwin.com/cygwin-ug-net/using-utils.html The optional cygutils package also contains utilities that help with common problems, such as dos2unix and unix2dos for the CRLF issue. DOCUMENTATION In addition to man pages and texinfo documentation, many Cygwin pack- ages provide system-independent documentation in the /usr/share/doc/ directory and Cygwin-specific documentation in /usr/share/doc/Cygwin/ For example, if you have both less and cron installed, the command less /usr/share/doc/Cygwin/cron.README would display the instructions to set up cron on your system. REPORTING BUGS If you find a bug in Cygwin, please read http://cygwin.com/bugs.html and follow the instructions for reporting found there. If you are able to track down the source of the bug and can provide a fix, there are instructions for contributing patches at: http://cygwin.com/contrib.html -- 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: Automated Setup
On 3/24/06, Capaci, Christopher wrote: I'm trying to automate the setup of cygwin so that the same exact setup is reproducible on many different machines. I found some command line arguments to setup.exe that should help. -q runs through the whole process without any input. To use that I'll need to use -R to set the root, which works, and -L to set the local package directory I want to use. This is where I'm having a problem. No matter what I put after -L, it uses C:\WINDOWS as the local package directory. Is this the expected behavior of the -L option? It seems as though you should be able to specify the location you want to use. Also, is there any argument to set the text file type automatically? Thanks a lot. The -L option is do a local install. To set the local package directory, use something like -l x:\cygwin-local\ so your full command is setup.exe -q -L -l x:\cygwin-local\ Also the local package directory needs to exist and be full of packages already, run through setup.exe manually once to create it and put it on a network share, or run setup.exe from that location with something like setup.exe -q -R c:\cygwin -s MIRROR Where MIRROR is one listed at http://cygwin.com/mirrors.html (If you want to specify packages, you can use the patched setup from http://staff.washington.edu/joshuadf/cygwin/ or create a custom setup.ini file.) By the way, the full listing of setup.exe options can be dumped into the setup.log file by running setup.exe --help: Command Line Options: -D --download Download from internet -L --local-install Install from local directory -s --site Download site -R --root Root installation directory -q --quiet-modeUnattended setup mode -h --help print help -l --local-package-dir Local package directory -r --no-replaceonrebootDisable replacing in-use files on next reboot. -n --no-shortcuts Disable creation of desktop and start menu shortcuts -N --no-startmenu Disable creation of start menu shortcut -d --no-desktopDisable creation of desktop shortcut -A --disable-buggy-antivirus Disable known or suspected buggy anti virus software packages during execution. -- 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: Why only 1 cygwin1.dll?
On 3/25/06, Lev Bishop wrote: We do already have FAQs for Why not install in C:\? and Why the weird directory structure?. There is a FAQ for How do I compile a Win32 executable that doesn't use Cygwin? but it doesn't specifically mention that discussion of the binaries doesn't belong here (and in fact specifically says that -mno-cygwin should not be confused with mingw -- whereas when someone asks about -mno-cygwin on this ML everyone always directs them to talk to the mingw lists). There already is How do I just get everything? which sort of explains why setup downloads as much/little as it does. I couldn't see any FAQ for why /dev doesn't replace /cygdrive though. Sounds like I'll update some FAQs. -- 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: Creating a custom Cygwin package server
On 3/19/06, Norton Allen wrote: The documentation here: http://sourceware.org/cygwin-apps/package-server.html suggests it might be possible to set up a custom Cygwin package server to install a custom app, but it also says the necessary tools are not available. Just be aware that you are entering unsupported territory, and get upset from: http://xarch.tu-graz.ac.at/publ/cygwin/upset Unsupported means don't ask this mailing list if you have problems. A good alternative might be: http://sourceforge.net/projects/cygwin-ports/ -- 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: [ITP] util-linux
On 2/28/06, Yaakov S (Cygwin Ports) wrote: Following up on a recent discussion on the main list, I have gone through util-linux-2.12r and compiled as much as possible, giving me the following, all with gettext support: /bin: arch.exe more.exe As the reluctant maintainer of more, I'd be happy to see it gone.
Re: Need Help with Setting Up Local Mirror/Custom Package
On 2/27/06, Michael Banks wrote: Has anyone on this list set up a local mirror with a custom package? Yes. We're releasing a commercial solution soon that depends on a few command-line utilities like grep (we're not using the cygwin.dll at all), and don't want our Windows users worrying about selecting packages. grep is already in the Base category, so it's installed by default (look in release/grep/setup.hint on any Cygwin mirror). All you need to do is run http://cygwin.com/setup.exe and click Next madly until it's finished. -- 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: Chinese file names are displayed as '??' when 'ls'
On 2/3/06, LiuYan wrote: Hi all: When I using 'ls' to list the files in a directory, the chinese file names are becomes '??'. Do the hints in the Cygwin FAQ about Unicode help? http://cygwin.com/faq/faq.using.html#faq.using.unicode -- 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: where is SCP
On 1/30/06, Christopher Faylor wrote: On Mon, Jan 30, 2006 at 07:01:04PM -0600, Yaakov S (Cygwin Ports) wrote: Igor Peshansky wrote: Exactly where were you trying to search for it? The answer to most queries of where is program foo is the Cygwin package search page at http://cygwin.com/packages/ (also mentioned in the FAQ entry http://cygwin.com/faq/faq.setup.html#faq.setup.what-packages). You can use Perl regular expressions to get better matches for short names, e.g., \bscp\b for a whole-word scp search. BTW, now there's also 'cygcheck -p'. Maybe this should be added to the aforementioned FAQ? Yes, definitely. Joshua? I hadn't upgraded lately, so didn't have -p yet. But now I have. Also, I pointed that FAQ at the excellent docs at http://cygwin.com/cygwin-ug-net/using-utils.html#cygcheck Thanks! -- 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: Native letters in Cygwin zsh
On 1/27/06, Wojciech Pietron wrote: After a few hours spent in 'bindkey', 'stty' and similar stuff I am not very familiar with, I found out that after running a command 'setopt nozle' I am able to produce all Polish letters. Of course, I loose all functionality associated with 'Zsh Line Editor' module as well. What is more, problem remains in vi editor. Is there any simpler command to be able to enable Polish letters associated with AltGr-X and AltGr-S and not to loose all the functionality of 'zle' module? I have no experience with Polish on Cygwin, but have you looked at the hints in the Cygwin FAQ on Unicode? http://cygwin.com/faq/faq.using.html#faq.using.unicode -- 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: multi user environment security due shared memory
On 12/2/05, Corinna Vinschen wrote: On Dec 2 13:43, andrea wrote: What is the current status of the following security threats and how would you rate security when running sshd in a multi user environment. -Code execution in the context of an other user -Denial of service by overwriting the shared memory segments of cygwin -Data disclosure about processes of an other user by reading shared memory segments -Other security issues We're not aware of security implications, but we don't give any guarantee either and there's no such thing as a security survey for Cygwin. If that's not sufficient for your company, feel free to contact Red Hat for a support contract which could cover are more detailed analysis, http://www.redhat.com/software/cygwin/ This is a little old, but I've updated http://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-perm with the following (important bits from http://cygwin.com/faq/faq.api.html#faq.api.secure ): blockquote Under Windows NT, users with Administrator rights are permitted to chown files. With version 1.1.3 Cygwin introduced a mechanism for setting real and effective UIDs under Windows NT/W2K. This is described in the section called NT security and usage of ntsec. As of version 1.5.13, the Cygwin developers are not aware of any feature in the Cygwin DLL that would allow users to gain privileges or to access objects to which they have no rights under Windows. However there is no guarantee that Cygwin is as secure as the Windows it runs on. Cygwin processes share some variables and are thus easier targets of denial of service type of attacks. /blockquote -- 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: Bad system call error FAQ alert? (Was Re: Fatal error when trying to initialise PostgreSQL in cygwin)
On 1/13/06, Joshua Daniel Franklin [EMAIL PROTECTED] wrote: On 1/13/06, Igor Peshansky wrote: On Fri, 13 Jan 2006, Corinna Vinschen wrote: On Jan 13 12:44, Adrian Maier wrote: /usr/bin/initdb: line 564: 3312 Bad system call $PGPATH/postgres Did you read /usr/share/doc/Cygwin/postgresql-8.0.4.README? I wonder if this has become sufficiently frequent to merit addition to the FAQ. I've seen this question in various forms at least 4 times in the past three months (with two of those relating to PostgreSQL)... It's a good idea. Anyone want to suggest some wording? Found some great wording at http://www.cygwin.com/ml/cygwin/2004-06/msg00039.html so it's up at http://cygwin.com/faq/faq.programming.html#faq.programming.ipc -- 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: Please assist with details regarding uninstalling [Attn FAQ maintainer]
On 1/25/06, Reini Urban wrote: postgresql is of the same kind as inetd. In the recommended way the service is run via cygrunsrv, but a few people might also have installed the cygwin version via pg_ctl as service starter. Mentioning it after apache would help a bit. = sshd, cron, cygserver, inetd, apache, postgresql and so on. OK, done. Do I understand correctly that all these packages now recommend using cygrunsrv? -- 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: Building Cygwin from CVS
On 1/26/06, Corinna Vinschen wrote: On Jan 26 13:44, Christopher Faylor wrote: On Thu, Jan 26, 2006 at 10:12:07AM +0100, Corinna Vinschen wrote: On Jan 25 20:41, Joshua Daniel Franklin wrote: I've added this info to http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin and I'd like to put it in a winsup/README file but didn't want to touch the top-level without some discussion. Does that sound OK to do? Yes, we can add a winsup/README if you want to do this. Would you mind to create a winsup README which basically follows the layout of the newlib README? That would be cool. My preference would be for build instructions in only one place, I guess that would mean that they should be in the FAQ since that is the most visible place. Good argument. So, I'd like the README to basically just have a URL for the cygwin web site. And, this README should not be installed. Right, I agree. OK, the full text of winsup/README is now: THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cygwin documentation is available on the net at http://cygwin.com You might especially be interested in http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin -- 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: Building Cygwin from CVS
On 1/26/06, Joshua Daniel Franklin wrote: OK, the full text of winsup/README is now: THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cygwin documentation is available on the net at http://cygwin.com You might especially be interested in http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin I forgot to mention, I also pointed the FAQ link in cvs.html directly there, and simplified the FAQ entry so it should be more straightforward for first-timers. (For example, I got rid of the how to use tar on a src tarball since I doubt people who can't figure out tar should be building Cygwin. Or at least they should be doing it from CVS!) -- 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: Building Cygwin from CVS
On 1/20/06, Brian Dessent wrote: Joshua Daniel Franklin wrote: gcc make binutils cocom dejagnu gcc depends on binutils, so there's no need to list it as requirement. Perl is used in the build process as well. http://cygwin.com/ml/cygwin/2005-01/msg01266.html Thanks Brian, I think I saved that email somewhere since it was informative, but never acted on it. :( I've added this info to http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin and I'd like to put it in a winsup/README file but didn't want to touch the top-level without some discussion. Does that sound OK to do? -- 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: help with cygwin uninstall (RTFM'd unsuccessfully)
On 1/25/06, Larry Hall (Cygwin) wrote: Banibrata Dutta wrote: Hi, Having RTFM'd the FAQ User's Guide, doing this post. I want to uninstall Cygwin completely (and then intend to do a fresh install). So here are questions :- 1) How to find out what are the Cygwin specific services that are installed ? Perhaps a browse of the email archives would be helpful here. Looking at even the last few days unearths: http://sourceware.org/ml/cygwin/2006-01/msg01077.html You beat me by hours! http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-service -- 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: Please assist with details regarding uninstalling [Attn FAQ maintainer]
On 1/23/06, Joshua Daniel Franklin wrote: On 1/23/06, Eric Blake wrote: We need to get the ideas from this thread into the FAQ on uninstalling cygwin. Also, add a mention that inetd is a potential cygwin service - since it can run without the assistance of cygrunsrv, it might not show up in 'cygrunsrv -L', but you CAN delete it with 'cygrunsrv --stop inetd; cygrunsrv --remove inetd'. I'll add a new How Do I Uninstall Cygwin Services? and then a reference to it in the uninstall-all FAQ. Done http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-service -- 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: clean_setup.pl website disappeared ? does anyine have the latest and greates clean_setup.pl version?
On 1/21/06, Igor Peshansky wrote: On Sat, 21 Jan 2006, Cliff Hones wrote: Urs Rau wrote: So, if anybody does have version 1.0700 (or newer) please let me know. I have a copy, which I shall mail you. Is there any interest in putting this somewhere more permanent? Like the cygwin-apps cvs repository? If this gets done, let us know the link and I'll correct the FAQ. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Please assist with details regarding uninstalling [Attn FAQ maintainer]
On 1/23/06, Eric Blake wrote: According to Brian Dessent on 1/22/2006 8:56 PM: A. How do I tell what services I have installed? Nevertheless, the command cygrunsrv -L should give you a list of all installed Cygwin services. (Note that this -L functionality of cygrunsrv did not exist at the time that the above FAQ entry was written, otherwise it would have been mentioned there.) If cygrunsrv -L does not list anything, then you probably have nothing to stop or remove. We need to get the ideas from this thread into the FAQ on uninstalling cygwin. Also, add a mention that inetd is a potential cygwin service - since it can run without the assistance of cygrunsrv, it might not show up in 'cygrunsrv -L', but you CAN delete it with 'cygrunsrv --stop inetd; cygrunsrv --remove inetd'. I'll add a new How Do I Uninstall Cygwin Services? and then a reference to it in the uninstall-all FAQ. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Downloading Cygwin under Linux ....
On 1/20/06, Jan Nieuwenhuizen wrote: $ cyg-apt install lilypond to install: libXft1 libXft2 ghostscript-base libreadline6 findutils xorg-x11-bin pcre pango-runtime libncurses8 glib2-runtime pcre-doc libintl fontconfig xorg-x11-base xorg-x11-fnts openssl097 python xterm X-startup-scripts xorg-x11-libs-data libncurses7 pango libpng12 xorg-x11-etc ghostscript libguile12 freetype2 xorg-x11-bin-lndir zlib libfreetype26 terminfo libfontconfig1 termcap pcre-devel tar expat xorg-x11-fenc texinfo xorg-x11-xwin mktemp bzip2 crypt gettext coreutils libgdbm3 tcltk libintl1 libintl2 libintl3 run libbz2_1 libpcre0 xorg-x11-bin-dlls libiconv2 cygwin bash libXft diffutils openssl lilypond libdb4.2 _update-info-dir gzip glib2 base-passwd ... Jan, cyg-apt appears to be able to install packages on Cygwin as well as Linux. Do you know if it has regularly been used in such a manner? The biggest concern would be that if running under Cygwin it would not be able to install cygwin1.dll. While setup.exe is the only supported way of installing packages on Cygwin, I would like to add this information to the FAQ as another option for users who cannot use setup.exe to select packages (linux or blindness have come up several times). -- 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: Building Cygwin from CVS
On 1/18/06, Cliff Hones wrote: It's rather a long time since I tried building my own cygwin from CVS. With the new release out, I thought I'd give it a try, as I imagine HEAD is very close to 1.5.19-2. I followed the instructions in the FAQ: http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin A few comments: . It would be useful to mention in the FAQ which packages need to be installed to perform the build. I expect everyone will realise make, gcc, binutils etc. are required, but I found I needed cocom (for shilka) which I'd not come across before, and dejagnu in order to run the tests. I think I'd tried to come up with a list before but never figured it out since I'd long ago installed what was needed. Is this a complete enough list? gcc make binutils cocom dejagnu This might even be worth adding to a winsup/README file. . The FAQ info describing how to run the tests is wrong. It worked for me when I ran make check in the i686-pc-cygwin/winsup subdirectory of my build directory. OK, I'll fix that. -- 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: [PATCH] Proposed clarification of the snapshot installation FAQ
On 1/13/06, Yitzchak Scott-Thoennes wrote: It would be nice to have a sample batch file that automated the cygwin1.dll replacement, too. I've prettied up a batch file I use for installing cygwin-inst-* snapshots, and added stuff to handle spacey pathnames and inetd (which AIUI isn't always a cygrunsrv service), neither of which I personally use. Just drag and drop the tarball onto the batch file, or run with absolute tarball name as argument via a dos prompt. This batch file worked great for me on XP. The only issue I see is that if someone set their cygrunsrv or inetd to Manual this would actually start it up. I can put a note to that effect. Any objections to putting this up at http://cygwin.com/faq/faq.setup.html#faq.setup.snapshots ? -- 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: Bad system call error FAQ alert? (Was Re: Fatal error when trying to initialise PostgreSQL in cygwin)
On 1/13/06, Igor Peshansky wrote: On Fri, 13 Jan 2006, Corinna Vinschen wrote: On Jan 13 12:44, Adrian Maier wrote: /usr/bin/initdb: line 564: 3312 Bad system call $PGPATH/postgres Did you read /usr/share/doc/Cygwin/postgresql-8.0.4.README? I wonder if this has become sufficiently frequent to merit addition to the FAQ. I've seen this question in various forms at least 4 times in the past three months (with two of those relating to PostgreSQL)... It's a good idea. Anyone want to suggest some wording? -- 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: [PATCH] Proposed clarification of the snapshot installation FAQ
On 1/11/06, Igor Peshansky wrote: As mentioned in http://cygwin.com/ml/cygwin/2006-01/msg00537.html, here's a patch to the FAQ to clarify the section on installing snapshots. I didn't know whether the various *.texinfo files are still used, so I ported the modifications there as well, just in case. Applied to faq-setup.xml (the texinfo files are no longer used... I suppose I should remove them). It would be nice to have a sample batch file that automated the cygwin1.dll replacement, too.
Re: Errors building the FAQ/User's Guide (Attn: xmlto maintainer)?
On 1/11/06, Igor Peshansky wrote: Hi, I believe I'm up-to-date with xmlto and DocBook on Cygwin. Still, I was unable to build either the user's guide or the FAQ from sources. Part of the problem was a bug in doctool.c (for which I'll send a patch to cygwin-patches shortly). However, even with that bug fixed, I got the following error: I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd /usr/src/cygwin-cvs/build/i686-pc-cygwin/winsup/doc/cygwin-ug-net.sgml:3: warning: failed to load external entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;[] ^ (with a bunch of other errors about undefined entities, which, I believe, followed from the above). I traced this down to the /usr/bin/xmlto, which invokes xsltproc with the --nonet option. A question to the xmlto maintainer: is there a particular reason this option is being used? Obviously somebody was able to successfully build the FAQ and User's guide. Was this using Cygwin? If so, what versions of xmlto and the various DocBook packages were used? I build everything but the PDFs on Cygwin. Is your issue related to http://www.cygwin.com/ml/cygwin-apps/2005-10/msg00065.html I.e., you have docbook-xml42 installed? It might help to send info as at http://www.cygwin.com/problems.html -- 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: Errors building the FAQ/User's Guide (Attn: xmlto maintainer)?
On 1/12/06, Igor Peshansky wrote: On Thu, 12 Jan 2006, Joshua Daniel Franklin wrote: I build everything but the PDFs on Cygwin. Is your issue related to http://www.cygwin.com/ml/cygwin-apps/2005-10/msg00065.html I.e., you have docbook-xml42 installed? It might help to send info as at http://www.cygwin.com/problems.html And indeed it was. Installing the various docbook-xml* packages let me build off the net without hacking xmlto. Thanks. I could've sworn I took care of it back in October, but looks like it slipped through the cracks. There might still be utility in controlling whether or not the build is network-aware via xmlto parameters (at the moment, there is no way to turn off the --nonet option). I should submit a feature request at some point. Might be an upstream issue, too. I haven't looked at the Cygwin-specific xmlto patches if there are any. Did you happen to take a look at the FAQ rewording I proposed (http://cygwin.com/ml/cygwin-patches/2006-q1/msg00016.html)? Was cygwin-patches the correct list for it, or should it have been sent here? That was the right place, I'm just a little behind. I've applied 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: Folder ftp%3a%2f%2fftp.sunsite.utk.edu%2fpub%2fcygwin remains after install (FAQ alert)
On 11/26/05, Joshua Daniel Franklin [EMAIL PROTECTED] wrote: On 11/22/05, Igor Pechtchanski wrote: The script you're thinking of is Michael A. Chase's clean_setup.pl. Unfortunately, Googling for it mostly turns up references to it in the mailing list archives, and the actual site comes up only at the bottom of the page. It would be nice if there was a link to this script in the FAQ somewhere. Gaah, I forgot to include the link to the script: http://home.ix.netcom.com/~mchase/zip/. I'll try to get to this after the holiday weekend. It's now live at http://cygwin.com/faq/faq.setup.html#faq.setup.disk-space -- 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 FAQ for NT Emacs
On 11/24/05, Lennart Borgman wrote: I think the little correction suggested here never got done for some reason: http://lists.gnu.org/archive/html/help-emacs-windows/2002-05/msg00079.html Thanks, the extra line is now gone from http://cygwin.com/faq/faq.using.html#faq.using.emacs -- 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: Folder ftp%3a%2f%2fftp.sunsite.utk.edu%2fpub%2fcygwin remains after install (FAQ alert)
On 11/22/05, Igor Pechtchanski wrote: The script you're thinking of is Michael A. Chase's clean_setup.pl. Unfortunately, Googling for it mostly turns up references to it in the mailing list archives, and the actual site comes up only at the bottom of the page. It would be nice if there was a link to this script in the FAQ somewhere. Gaah, I forgot to include the link to the script: http://home.ix.netcom.com/~mchase/zip/. I'll try to get to this after the holiday weekend. -- 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: RFC: [ITP] Installation Profiles packages
On Tue, Nov 08, 2005 at 01:52:20PM -0500, Igor Pechtchanski wrote: IMO, these packages should be in a special new category (I propose the name @Profiles to make setup put this at the top, but I don't know if setup will parse this correctly). I also think it's time for this, and propose that whatever naming scheme is agreed upon, setup.exe should have a chooser view that only shows these (that view should probably be the default one, too).
Re: cygwin-doc build not self contained?
On 10/6/05, Igor Pechtchanski wrote: I just installed xmlto/docbook-xsl, and tried to build the Cygwin documentation. It seems that it's trying to connect to oasis-open.org, probably to get some DTD that's included from one of the cygwin-doc DTDs. Is this supposed to happen? Can there be a disconnected build of cygwin-doc (e.g., with cached external DTDs)? Igor P.S. Is this the right list to ask this question? It seems to be related to cygwin-doc packaging, but if it's a general DocBook issue, we'll move it to the main list. I think that's a general docbook issue. You need not just the xsl transforms, but the DTDs, which are in packages like docbook-xml42 I think. That should enable you to build the HTML, though I've never tried it without Internet access. Oh, and building from winsup/doc/ in CVS is what I really work from, not the cygwin-doc src package, which is just a convenient lie. Let us know if it works for you. :) Also, you'll find that you still cannot build the full cygwin-doc package from just tools available with Cygwin setup--texinfo (see docbook2x.sf.net) and PDF (via db2pdf, jade, or jw) generation are still done on linux.
[ANNOUNCEMENT] cygwin-doc-1.4-3 released
An updated version of cygwin-doc is now available. It includes Cygwin and newlib documentation in formats such as man, texinfo, HTML, and PDF. This is a normal incremental release to sync with the latest CVS, with a few minor changes: --the FAQ is now in the same style as the User's Guide --the intro(1) man page no longer lists ash as /bin/sh (like most Linux distributions, Cygwin now uses bash as /bin/sh) 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. Once you've downloaded setup.exe, run it and click Next madly until you get to the end of the updating process. *** 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 -- 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/
cygwin-doc-1.4-3 released
An updated version of cygwin-doc is now available. It includes Cygwin and newlib documentation in formats such as man, texinfo, HTML, and PDF. This is a normal incremental release to sync with the latest CVS, with a few minor changes: --the FAQ is now in the same style as the User's Guide --the intro(1) man page no longer lists ash as /bin/sh (like most Linux distributions, Cygwin now uses bash as /bin/sh) 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. Once you've downloaded setup.exe, run it and click Next madly until you get to the end of the updating process. *** 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 upload: cygwin-doc-1.4-3
Files at: http://staff.washington.edu/joshuadf/cygwin/cygwin-doc-1.4-3-src.tar.bz2 http://staff.washington.edu/joshuadf/cygwin/cygwin-doc-1.4-3.tar.bz2 No hint changes.
Re: Setup error: URL Scheme not registered!
On 9/30/05, Arthur I Schwarz wrote: [snip] You can expect no support. You will, after a short while, start to receive sarcastic comments from the developers. You will be blamed for your problem. You will be directed to information of no value in determining what is wrong. The only recourse seems to be a complete rebuild. [snip] I'm afraid that the main challenge in fixed alleged problems in Cygwin is not giving you information, but in getting information (exact steps, logs, etc.) to determine what when wrong. That is why the instructions at http://cygwin.com/problems.html exist. If you are having so much trouble installing, you might try one of the live-cd approaches which are referenced at: http://cygwin.com/faq/faq.setup.html#faq.setup.cd (I have not used any myself, but others like them.) Hope it helps. -- 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: Setup error: URL Scheme not registered!
On 9/24/05, wrote: I'm setting up Cygwin. I downloaded files to one machine, and I want to install over the network to another machine (I don't have enough space for both the pre- and post-install files on the target machine). However, when I run setup on the other machine, as soon as it starts copying files, I get this error: Fatal Error: Uncaught Exception Thread: install Type: St16invalid_argument Message: URL Scheme not registered! I Googled for previous information about this. It seems that I needed to move the setup.ini file aside. I tried this, but that wipes out the list of packages when I re-run setup.exe. What gives? Thanks in advance for any help. You really haven't provided much information here. What are the options you choose with setup.exe? What does your network path look like (\\server\share\ or X:\)? Is there anything else in setup.log? See http://cygwin.com/faq/faq.setup.html#faq.setup.setup-fails -- 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: FAQ Notes
On 9/26/05, Corinna Vinschen wrote: On Sep 26 09:35, Christopher Faylor wrote: On Mon, Sep 26, 2005 at 12:47:28PM +0200, Corinna Vinschen wrote: ...Cygwin is also supported in the 32 bit environment WOW64 on 64 bit versions of Windows XP and 2K3, but that there are no plans to create a native 64 bit version of Cygwin. OTOH, I'm sure there are interested parties around who are willing to undertake this task for the correct amount of $. So far, the right amount of $ kept potential customers from asking twice, but otherwise, sure, you're right. Anyone want to suggest some language for this? Also, should the Cygwin license be available in the distribution, maybe in /usr/share/doc/ ? -- 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: FAQ Notes
On 9/25/05, Christopher Faylor wrote: I has been brought to my attention that the Copyright section in the FAQ are attempting to paraphrase the words at http://cygwin.com/licensing.html . Done, turned http://cygwin.com/faq/faq.copyright.html#faq.what.copyright into a link, and http://cygwin.com/faq/faq.html#faq.what.supported now reads: Cygwin can be expected to run on all modern 32 bit versions of Windows, except Windows CE. This includes Windows 95/98/ME/NT/2000/XP. Since Cygwin is a community-supported free software project, patches to provide support for other versions would be thoughtfully considered. Paid support is available through a support contract with Red Hat. For information about getting a Red Hat support contract, see http://cygwin.com/license.html. Keep in mind that Cygwin can only do as much as the underlying OS supports. Because of this, Cygwin will behave differently, and exhibit different limitations, on the various versions of Windows. -- 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: [EMAIL PROTECTED]: [EMAIL PROTECTED] Broken links] (in the FAQ)
That's the old texinfo version of the FAQ, but since it's still being used I did an update to fix the broken links. On 9/17/05, Christopher Faylor wrote: I could have sworn that I fixed these not too long ago. Joshua, could you fix these? cgf - Forwarded message from Paul Watson - From: Paul Watson To: webmaster Subject: [webmaster] Broken links Date: Fri, 16 Sep 2005 12:42:50 -0600 Some links on the historical information page http://www.cygwin.com/faq/faq_1.html are broken. http://www.redhat.com/software/tools/cygwin/ http://www.fsf.org/manual/ http://www.fsf.org/server/list-mirrors.html - End forwarded message - -- 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: [HEADSUP] ALL Maintainers, please reply.
On 9/15/05, Corinna Vinschen wrote: including a list of ALL packages you maintain. cygwin-doc pinfo (apparently dead upstream)
Re: mount -X and FAQ [Attn: FAQ Maintainer, tcl maintainer]
On 9/16/05, Eric Blake wrote: According to Williams, Gerald S (Jerry) on 9/15/2005 10:48 AM: The FAQ (http://www.cygwin.com/faq/faq_3.html) mentions using this idiom for strace and cygcheck, but not for Tcl/Tk. Perhaps these should be noted as well? Now that strace and cygcheck work in without having to explicitly mount them non-cygexec, the FAQ needs updating anyways. OK. Maybe I'll take a stab at creating a script to find exe's in /bin/ not linked to cygwin1.dll and put that in the FAQ instead. -- 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: mount -X and FAQ [Attn: FAQ Maintainer, tcl maintainer]
On 9/16/05, Christopher Faylor wrote: On Fri, Sep 16, 2005 at 01:22:10PM -0700, Joshua Daniel Franklin wrote: On 9/16/05, Eric Blake wrote: According to Williams, Gerald S (Jerry) on 9/15/2005 10:48 AM: The FAQ (http://www.cygwin.com/faq/faq_3.html) mentions using this idiom for strace and cygcheck, but not for Tcl/Tk. Perhaps these should be noted as well? Now that strace and cygcheck work in without having to explicitly mount them non-cygexec, the FAQ needs updating anyways. OK. Maybe I'll take a stab at creating a script to find exe's in /bin/ not linked to cygwin1.dll and put that in the FAQ instead. Hooboy. Now you've done it. #!/bin/sh cd /bin; for f in `find . -type f -name '*.exe'`; do cygcheck $f | (fgrep -qi cygwin1.dll || echo $f) done Should do it. You can use this or one of the 27 variations on this that are sure to follow. I'll have to try it when I'm at a Windows machine... but would it be faster to use xargs? :) -- 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: Documentation on functions
On 9/15/05, Siegfried Heintze wrote: In other words, is the process of submitting documentation documented? Does one use the GNU texi or SGML docbook or some other format? I've been curious about these tools for years but have never used them. It depends on what you're documenting. As Eric noted, for libc functions you submit a patch to the newlib mailing list and then it trickles into Cygwin via my cygwin-doc package. For the Cygwin-specific functions, the documentation is in the Cygwin CVS http://cygwin.com/cvs.html and is written in XML DocBook. Unfortunately there have been no updates to this documentation in a long time, I would love to see more. (And, if you want to learn more about DocBook, I recommend the in-progress Fedora Documentation Guide http://fedora.redhat.com/participate/documentation-guide/ --obviously there are differences in Cygwin specifics but introduction to the tools and the parts about the tags and style are very helpful.) Is it a simple matter of cutting and pasting from linux (e.g. fedora) man pages or does one have to go to the source code and extract the copious comments there and just reformat them into man pages? As others have noted, Cygwin usually tries for POSIX conformance so the Linux man pages are usually good enough but might disagree at times. I suppose I should build some sort of placeholder man pages pointing to the POSIX website. Anybody want to write a script to do 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: Command 'more': missing dll cygpcre.dll [Attn more maintainer]
On 9/14/05, Eric Blake [EMAIL PROTECTED] wrote: Meanwhile, as a temporary workaround, I've updated the setup.hint to depend on libpcre until a new more is uploaded. This will make libpcre be picked up even though it is hidden by being obsolete. Actually, more-2.11o-1 was quite easy to build, and on recompilation it automatically picked up the newer libraries. Since more has not had an update since Mar 2002 (carved from util-linux 2.11o), but util-linux is now at 2.13-pre4, I'm assuming the maintainer is MIA, so I uploaded more-2.11o-2. I am NOT interested in maintaining this (I made no changes whatsoever from the -1 release other than the linked in libraries), as evidenced by the fact that I did not recarve more out of the latest util-linux. But at least the libpcre dependency is gone now. If there really is a maintainer, please step up and release more-2.13 sometime soon. I did that 'more' release as part of getting together some packages for a minimal but still somewhat useful Cygwin installation. I like 'less' and have never actually used 'more'. I'd actually prefer if we could symlink it to 'less' for the people who are used to it and drop the separate package. Anyway, thanks for the upload but I guess I'm still MIA. :)
Re: Proposed FAQ in DocBook
On 8/29/05, Igor Pechtchanski wrote: Well, I didn't figure out how to do it in DocBook, but it was no problem with sed: sed -i 's;/aa name=id[0-9]*/a;/a;g' faq/faq*.html BTW, I don't think I saw the id\d+ form of reference ever used in the FAQ, but just in case, to fully preserve the prior functionality (i.e., allow references to those anchor forms), you could use something like sed -i 's;a name=\(.*\)/aa name=\(id[0-9]*\)/a;a name=\1 id=\2/a;g' faq/faq*.html Yeah, by default DocBook automatically generates the id* anchors, but it's only supposed to when you don't define id yourself, so I think this is a bug with the qandaentry processing code. I didn't need them so I discarded them on purpose. -- 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: crontab (Attn: FAQ maintainer)
On 8/26/05, Igor Pechtchanski wrote: On Fri, 26 Aug 2005, Brian Dessent wrote: The answer is in the link that Igor gave you. This FAQ perhaps should be split up into two questions, or at least be made more clear that there are two problems being addressed in the answer. FWIW, I second this suggestion. Joshua, can we have two questions: Why don't Cygwin services work? and Why can't Cygwin services access network shares? instead of the combined one? Now that it's in DocBook, it would be a pleasure. :) The first part about user/system mounts is not your problem. Read the second part of the answer, and read the 'ntsec' part of the manual for the full explanation. --- When cron runs your job, it is running as SYSTEM impersonating the user account that owns the crontab. During impersonation, the user's password is not available and so non-public network shares are not available. --- Now, the marked part above, IMO, looks good enough to put almost verbatim into the second question. Opinions? Sure. I'll probably leave in the link to using-ntsec.html -- 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: crontab (Attn: FAQ maintainer)
On 8/26/05, Igor Pechtchanski wrote: On Fri, 26 Aug 2005, Joshua Daniel Franklin wrote: On 8/26/05, Igor Pechtchanski wrote: On Fri, 26 Aug 2005, Brian Dessent wrote: The answer is in the link that Igor gave you. This FAQ perhaps should be split up into two questions, or at least be made more clear that there are two problems being addressed in the answer. FWIW, I second this suggestion. Joshua, can we have two questions: Why don't Cygwin services work? and Why can't Cygwin services access network shares? instead of the combined one? Now that it's in DocBook, it would be a pleasure. :) The first part about user/system mounts is not your problem. Read the second part of the answer, and read the 'ntsec' part of the manual for the full explanation. --- When cron runs your job, it is running as SYSTEM impersonating the user account that owns the crontab. During impersonation, the user's password is not available and so non-public network shares are not available. --- Now, the marked part above, IMO, looks good enough to put almost verbatim into the second question. Opinions? Sure. I'll probably leave in the link to using-ntsec.html Yes, that's what I meant, in addition to what's already there about ntsec (basically everything after the code section). All done: http://cygwin.com/faq/faq.using.html#faq.using.shares -- 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: Broken link at http://cygwin.com/faq.html
On 8/19/05, Christopher Faylor wrote: On Fri, Aug 19, 2005 at 04:26:51AM -0700, Joshua Daniel Franklin wrote: On 8/19/05, Gerald Pfeifer wrote: http://cygwin.com/faq.html has one (I believe actually more than one) link to http://www.redhat.com/software/tools/cygwin/ which is broken. I don't have the current URL at redhat.com, but thought you might want to know; it's kind of critical, since that's the pointer to the license information for non-GPL use. Thanks, it looks like it's http://www.redhat.com/software/cygwin/ I'll update this weekend. Please just update the FAQ to point to http://cygwin.com/license.html . There is no need to keep this information in two places. I think that this is a good rule to follow, in general. The FAQ shouldn't be summarizing or paraphrasing information that is available elsewhere; it should be just pointing to the information. IIRC, the FAQ also has advice on how to post to the cygwin mailing lists which is covered by http://cygwin.com/lists.html and http://cygwin.com/problems.html . All done. http://cygwin.com/faq/faq.resources.html -- 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: Proposed FAQ in DocBook
On 8/18/05, Joshua Daniel Franklin wrote: On 8/18/05, Igor Pechtchanski wrote: On Thu, 18 Aug 2005, Joshua Daniel Franklin wrote: On 8/18/05, Igor Pechtchanski wrote: Heh, this is the first time I accessed the FAQ after the switch, and the direct question links don't work. What version of Netscape, so I can attempt to reproduce? 4.72 (don't laugh, I still use it occasionally). Well, I didn't figure out how to do it in DocBook, but it was no problem with sed: sed -i 's;/aa name=id[0-9]*/a;/a;g' faq/faq*.html Hopefully in the meantime you were able to make do with a more advanced browser such as lynx. :) -- 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: crontab (Attn: FAQ maintainer)
On 8/26/05, Brian Dessent wrote: Igor Pechtchanski wrote: All done: http://cygwin.com/faq/faq.using.html#faq.using.shares Looks good. I also noticed that you got rid of numeric anchors, which fixed the FAQ browsing in Netscape for me. Thanks! Could you perhaps add to the list of workarounds calling 'net use' and specifying the password to mount the share to a drive? Good point, I've done that: http://cygwin.com/faq/faq.using.html#faq.using.shares -- 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: Broken link at http://cygwin.com/faq.html
On 8/19/05, Gerald Pfeifer wrote: http://cygwin.com/faq.html has one (I believe actually more than one) link to http://www.redhat.com/software/tools/cygwin/ which is broken. I don't have the current URL at redhat.com, but thought you might want to know; it's kind of critical, since that's the pointer to the license information for non-GPL use. Thanks, it looks like it's http://www.redhat.com/software/cygwin/ I'll update this weekend. -- 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: Proposed FAQ in DocBook
On 8/18/05, Igor Pechtchanski wrote: On Fri, 5 Aug 2005, Joshua Daniel Franklin wrote: On 8/3/05, Joshua Daniel Franklin wrote: I'm tired of tip-toeing around the texinfo source for the FAQ just to make sure links to the numbered questions work, so I've converted the source to DocBook and put up preliminary versions: All done! Everyone update their Cygwin FAQ bookmarks with new, somewhat meaningful ones! Heh, this is the first time I accessed the FAQ after the switch, and the direct question links don't work. :-( I think the presence of the id= attribute and the name= attribute *in different a tags* confuses the older Netscape that I use. I just checked, and combining them into one tag fixes the problem. Is there a way to convince DocBook to do that? What version of Netscape, so I can attempt to reproduce? Also, do both the one- and multi-file versions fail for you? I'm not sure what you mean by id= maybe it's stuff like this: a name=faq.what.where/aa name=id4678694/a -- 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: Proposed FAQ in DocBook
On 8/18/05, Igor Pechtchanski wrote: On Thu, 18 Aug 2005, Joshua Daniel Franklin wrote: On 8/18/05, Igor Pechtchanski wrote: Heh, this is the first time I accessed the FAQ after the switch, and the direct question links don't work. :-( I think the presence of the id= attribute and the name= attribute *in different a tags* confuses the older Netscape that I use. I just checked, and combining them into one tag fixes the problem. Is there a way to convince DocBook to do that? What version of Netscape, so I can attempt to reproduce? 4.72 (don't laugh, I still use it occasionally). Also, do both the one- and multi-file versions fail for you? Both. I'm not sure what you mean by id= maybe it's stuff like this: a name=faq.what.where/aa name=id4678694/a Yes, that's exactly what I meant (for some reason, I misread the second name= attribute as an id= attribute, sorry). FWIW, changing the above to a name=faq.what.where id=id4678694/a makes the named link work in my version of Netscape, while not breaking it for either IE or FireFox. Switching the anchors around also makes the named links work (at the expense of the id ones, but who uses those?): a name=id4678694/aa name=faq.what.where/a As I understand it, DocBook is an XSLT stylesheet, right? Do you know off-hand how to convince it to do either of the above two changes? If not, I'll take a look and try to submit a patch... I think we might want to use this: http://docbook.sourceforge.net/release/xsl/current/doc/html/generate.id.attributes.html Unfortunately it doesn't work. :( Feel free to take a look. -- 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 make a mirro fo cygwin.com
On 8/11/05, Dave Korn wrote: Original Message From: Taufik Suryawan Edyna Sent: 11 August 2005 11:23 Hello, We are from Gadjah Mada University Indonesia want to make a mirror cygwin.com website. Can you tell us how to do that ? http://sources.redhat.com/cygwin-apps/package-server.html Of course, if you just want a complete mirror rsync would probably be a simpler option. However, I believe setup.exe always contacts the real cygwin.com for setup.bz2 unless you fool DNS. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Is the Cygwin installation process likely to change significantly anytime soon?
On 8/6/05, Jonathan Turkanis wrote: Christopher Faylor wrote: I'd prefer something like can be a little complicated depending on what you're trying to install. I think I can live with this as long as the sentence ends after the word complicated. To me, the package selection process is counter-intuitive regardless of how much or how little I'm trying to install. It's not complicated to get a minimal install--just click Next as fast as you can. -- 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: building a cross compiling cygwin gcc on linux
On 8/4/05, Michael Richardson wrote: Ironically, if you google for cygwin cross compiler linux (including the quotes), you only get Christopher Faylor's post telling everyone that you should google for that :-) I'm not sure why it's not higher on the search results, but Harold wrote a pretty good guide: http://x.cygwin.com/docs/cg/prog-build-cross.html He suggests copying over headers and libraries, but they are obviously available in cygwin packages, too. -- 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: pid confusion and pstree
On 8/4/05, Jason Pyeron wrote: hmmm? why are there zeros on the PGID, and why when using -W does PID change to WINPID? BUG? Actually, I don't know if this is a bug or a documentation shortcoming. From looking at the source, it looks like cygwin returns the same number for p-pid and p-dwProcessId when using CW_GETPINFO_FULL. Shouldn't p-pid still be the Cygwin pid if it exists? I tried looking at external.cc and it made my head hurt, but I *think* this would do it (sorry, no time to build right now): RCS file: /cvs/src/src/winsup/cygwin/external.cc,v retrieving revision 1.77 diff -r1.77 external.cc 77c77,79 ep.pid = p-pid; --- ep.pid = cygwin_pid (thispid); if (!ep.pid) ep.pid = p-pid; -- 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: Proposed FAQ in DocBook
On 8/4/05, Larry Hall wrote: At 11:13 AM 8/4/2005, you wrote: Yes, as noted they're in the HTML in a name=... tags..., converted from DocBook's id=... There will of course be a Table of Contents with links so you don't have to look at the HTML to determine this. Ah, OK. That's what I was looking for. I just didn't see it in the page you generated so I was concerned that there wouldn't be an easy way to find this for cut-and-paste purposes in email responses. I don't know why I thought this aspect would elude you though. ;-) OK, I don't have time to commit everything to CVS and hack up the Makefile right now, but if these pass inspection I'll probably get to it tomorrow or over the weekend. The one feature I haven't been able to do is linking back from the FAQ entry to its place in the table of contents, which is too bad but I think it's worth it. I'll leave the old FAQ around but all updates will be in the DocBook version. One file: http://staff.washington.edu/joshuadf/cygwin/faq-nochunks.html Several files: http://staff.washington.edu/joshuadf/cygwin/faq.html Thanks for the feedback, everyone. -- 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: pid confusion and pstree (Attn: User's Guide maintainer)
On 8/4/05, Igor Pechtchanski wrote: P.S. Note to the UG maintainer: Joshua, there's a typo in the description of ps on the above referenced page: synonomous should be synonymous. Nice catch, it will be in the next refresh. -- 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: Timezone names
On 8/4/05, Cliff Hones wrote: I was curious as to why, under Cygwin, the default UK timezone names (eg as displayed by date) are different from the standard names. [Standard UK names are GMT and BST, while Cygwin displays GMTST and GMTDT.] So I did some source digging. Forgive me if the following info is already readily available - but I couldn't find it. Note that the Cygwin FAQ admits to being out of date: http://cygwin.com/faq/faq_3.html#SEC85 Thanks, Cliff! Do you mind if I use this for the new FAQ text? Cygwin does not use the Newlib version of tzset - there is a Cygwin-specific implementation in localtime.cc. Unlike the Newlib tzset, if environment TZ is not set, the Cygwin version uses Windows API GetTimeZoneInformation. The timezone names as seen by Cygwin are set using just the the capital letters in the Windows timezone names (which, for the UK, are GMT Standard Time and GMT Daylight Time). Of course, this affets other timezones too; most US zones translate to their standard names, but Central America will generate CAST/CADT rather than CST/CDT. To get the more standard names, one can, of course, set the TZ environment variable explicitly (eg to GMT0BST). There is logic to complement the TZ setting info with default info from built in posixrules, but it's not clear to me if this will set the daylight saving on/off points correctly. An alternative solution, which will use the Windows daylight saving info as before is to update the Windows timezone database directly. I believe there is a tzedit tool to do this in Windows resource kits, but it is easy to do using the registry [ok, I know this is frowned on]. The timezone names (in NT/2K/XP) are in HKLM\Software\Microsoft\Windows NT\Current Version\TimeZones\yourzone (eg ..\GMT Standard Time for UK). The keys Std and Dlt specify the zone names - I changed mine to be Greenwich Mean Time and British Summer Time. After the change, to make it effective, use the Windows Adjust Date/Time dialog to reselect your timezone. OBLIGATORY WARNING - Do not modify registry settings unless you are confident you know what you are doing, and know how to restore previous settings if your system subsequently malfunctions. A possibly better solution, one day, would be for the localtime implementation to be implemented for Cygwin, with zone files in /usr/share/zoneinfo. -- Cliff -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gz files in man folders
On 8/5/05, Eric Blake wrote: According to James McLaughlin on 8/5/2005 5:41 AM: While trying to find the file containing the man information for g++ (which I succeeded in doing), I noticed that in various subfolders of c:\cygwin\share\man (in particular man1 and man3) a lot of the .1 and .3 (and.something else for the other subfolders) files were gzipped. This surprised me as they were pretty small files. For files under 1k, zipping doesn't save any disk space (disk space is used a block at a time, whether you use the entire block or not), and wastes CPU cycles as it spawns the extra processes to unzip it. But for some man pages, the zipping is an improvement in filesize I guess it depends on your definition of pretty small files since the g++ manpage in question is 127k gzipped (nearly 500k uncompressed). If you have most everything installed we're still probably talking about less than 100M of disk savings, but it's better than nothing--especially on old machines like my laptop with a 1.5G disk. :) -- 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: Proposed FAQ in DocBook
On 8/3/05, Joshua Daniel Franklin wrote: I'm tired of tip-toeing around the texinfo source for the FAQ just to make sure links to the numbered questions work, so I've converted the source to DocBook and put up preliminary versions: All done! Everyone update their Cygwin FAQ bookmarks with new, somewhat meaningful ones! -- 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: Proposed FAQ in DocBook
On 8/4/05, Larry Hall wrote: At 01:15 AM 8/4/2005, you wrote: You can link to named sections, for example http://staff.washington.edu/joshuadf/cygwin/new-faq.html#faq.install.disk-space Just one question. How does one determine what the names are for the named sections? I assume each question has one but I'm not familiar enough with how DocBook works to know how to determine these names. Yes, as noted they're in the HTML in a name=... tags..., converted from DocBook's id=... There will of course be a Table of Contents with links so you don't have to look at the HTML to determine this. Assuming this new style FAQ replaces the old, I'd recommend putting this one in a new spot and keeping the old, at least for a while, so that references to the old in the archive still work. No problem, the old files are things like faq1.html, these will be faq.using.html and the like. And, as someone else noted, it will be relatively easy to get .info files using docbook2x (that's already done for the User's Guide). -- 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: Proposed FAQ in DocBook (Attn: tetex maintainer)
On 8/4/05, Igor Pechtchanski wrote: I like the way the new FAQ looks. One question, however: is DocBook easily installable on Cygwin? Can the FAQ be built with the default settings of Cygwin's DocBook package? If so, this package should be listed as a prerequisite for building the Cygwin documentation. Yes, I believe if you just select xmlto in setup.exe it pulls in all the necessary files except the FAQ source and XSL customizations, which will be in CVS. Plus, as I mentioned earlier the User's Guide is already DocBook (has been from the start) so it's not like this is a totally new format. In fact it's easier to use than the current FAQ, see below. Incidentally, tetex-3.0.0 seems to be missing the texi2html executable (it was present in tetex-2.0.2). Jan, any comments? It's even worse than that. The htdocs/faq/update script that creates the FAQ relies on the specific output format of texi2html 1.56k. I don't remember exactly what newer versions do differently but they don't work. We could easily put 1.56k in CVS--I would actually probably put it in htdocs/faq/ to get everything in one place, after all there's already an update script there. -- 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: bug report: abort in g++ 3.4.4 generated DLL client (FAQ alert)
On 8/3/05, Igor Pechtchanski wrote: On Wed, 3 Aug 2005, Stein Somers wrote: Unfortunately, I was too eager to try the upgrade to note the version it was upgraded from. FYI, the information about all of your upgrades done via Cygwin setup (including the version you upgraded from) can be obtained from /var/log/setup.log. I think this question has been asked often enough to rate an FAQ entry... Joshua? It's in What if setup fails? http://cygwin.com/faq/faq0.html#SEC16 and the Troubleshooting section of http://cygwin.com/cygwin-ug-net/setup-net.html -- 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/
Proposed FAQ in DocBook
I'm tired of tip-toeing around the texinfo source for the FAQ just to make sure links to the numbered questions work, so I've converted the source to DocBook and put up preliminary versions: Several files: http://staff.washington.edu/joshuadf/cygwin/faq.html One file: http://staff.washington.edu/joshuadf/cygwin/new-faq.html You can link to named sections, for example http://staff.washington.edu/joshuadf/cygwin/new-faq.html#faq.install.disk-space I haven't done all the stylesheet customizations to make it feel more like the old FAQ but I thought I'd put this out for any feedback or comments. -- 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: ps -p pid
On 7/27/05, Don Beusee wrote: That's not good enough for scripting. First of all, the command is not so simple (you have to grep -v grep also - so that the same script works on Unix systems) and if you have small PID number like 14, that will likely return lots of other processes (like 114, etc). Also, the same PID appears in the PPID column if it has children. Some Unix variants might not have a space in the ps output between the PID and previous or next column when one of the column's data is larger than the specified printf format. So your command is not reliable enough for scripting and is also very slow on large Unix systems with 1000's of processes running. ps -p PID is immediate, reliable, and portable (it's SYSV/SVR4 standard). There's also always http://cygwin.com/contrib.html -- 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: Proposal singular-3.0.0-1
On 7/20/05, Oliver Wienand wrote: our group singular-team, which is responsible for the singular computer algebra system, wants to maintain a cygwin package of this system. The description looks OK... have you created packages via the guidelines at http://cygwin.com/setup.html ?
Re: [Patch]: Changes to how-programming.texinfo
On 7/15/05, Brian Dessent wrote: Christopher Faylor wrote: Btw, the other license provision in the cygwin licensing web page was really meant as a way to accommodate other, already existing projects. So do we want to change the wording at all? Last I checked RHEL and FC were *still* packaging this ancient version as their default, though that might have finally changed in RHEL4 and FC4, I don't know. They have, and even with RHEL3 it was pretty easy to download and install the RPMs from MySQL.com, though you needed to keep on top of security updates yourself. And, since we're having off-topic discussions, I'm now a father: http://joshuadf.blogspot.com/2005_07_01_joshuadf_archive.html
Re: [FAQ Alert, ping JDF!] RE: How to make DLLs in cygwin for MSVC and BCB
On 6/22/05, Dave Korn wrote: Original Message From: Brian Dessent Sent: 22 June 2005 16:36 Patrick Rotsaert wrote: I need to build a DLL in cygwin (I use a lot of POSIX functions), that I can use in MSVC and Borland CBuilder apps. http://cygwin.com/faq/faq.html#TOC102 And, as far as I know, using cygwin1.dll in this way means all your code must be released under the GPL, or another OSI approved license. Absolutely so, and I think the FAQ entry needs a little revising, because I think point 5. in the list of items is misleadingly not-strongly-emphatic-enough: Done, see: http://cygwin.com/faq/faq0.html#SEC102 -- 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: man.conf missing after cygwin upgrade (Attn: User's Guide maintainer)
On 7/7/05, Igor Pechtchanski wrote: If you still haven't run setup since that fateful man installation no, I didn't Good. The file was actually very helpful. Perhaps we could offer general advice in the User's Guide section on setup to back up that file in case of any installation problems. Done, see: http://cygwin.com/cygwin-ug-net/setup-net.html#internet-setup -- 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: FAQ request
On 7/7/05, Christopher Faylor wrote: Could we split the Why is your package so out of date? question out of the Why isn't package available in Cygwin? and add something like the below? Done, see: http://cygwin.com/faq/faq0.html#SEC52 I removed the FAQ about more since it is now in fact available like any other package (though everyone should still use less). -- 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/
shell scripts FAQ, ash-bash
At http://cygwin.com/faq/faq0.html#SEC46 there is a short list of common gotchas that don't work with ash compared to bash or ksh. Does anyone have suggestions for a similar list for bash compared to other shells that could possibly be the real /bin/sh (ksh or zsh)? -- 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: FAQ request
On 7/7/05, Christopher Faylor wrote: Could we split the Why is your package so out of date? question out of the Why isn't package available in Cygwin? and add something like the below? OK, I should get to all the updates in my queue this weekend. -- 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: Exiting Emacs (Attn: User's Guide maintainer)
On 7/5/05, Igor Pechtchanski wrote: On Tue, 5 Jul 2005, David Masterson wrote: On Sat, 2 Jul 2005, Nick Kirchner wrote: I just installed Cygwin on my Windows 98 computer and tried playing around with Emacs. Having toyed with it a little in the past, I know that C-x C-c is supposed to exit the program. As you may have guessed, C-x C-c did nothing other than beep. What exactly is going wrong here? As mentioned in the announcement (http://cygwin.com/ml/cygwin-announce/2004-04/msg0.html), you need to have tty in your CYGWIN environment variable. This needs to be set *before* the shell is started, so good places would be /Cygwin.bat or the system environment (i.e., don't do this in shell startup files). Does this apply to using (X)Emacs under X? Good question. No, it doesn't. As should be described in the User's Guide[1], the 'tty' setting in $CYGWIN serves only to compensate for the deficiencies of the Windows console terminal handling (Ctrl-C and NUL). If emacs is invoked in any terminal other than the cmd.exe console (e.g., rxvt, or xterm), no special settings are needed. Neither does this apply to windowed modes of emacs, which do their own keyboard input handling. Igor [1] http://cygwin.com/cygwin-ug-net/using-cygwinenv.html Huh, I could have sworn I'd added a note about rxvt and CYGWIN=tty once before, but obviously not. It'll be in the next update. -- 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 from Scratch?
Brian Dessent wrote: In my experience the two most common changes you have to make when porting are: a) adding -no-undefined to LDFLAGS (or -Wl,-no-undefined to CFLAGS), and b) adding missing $(EXEEXT) ... I meant to include c) adding O_BINARY to open() or otherwise dealing with textmode/binmode issues. Would these be good to add to the Making Pakcages list? http://cygwin.com/setup.html#package_contents -- 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: Unicode in filenames support? (FAQ update needed)
On 6/7/05, Christopher Faylor wrote: I've been off of the developer list for a while now, and now the archives are subscriber only. :-( Joshua, any chance I could get a FAQ entry about this? I've updated What Cygwin mailing lists can I join? with a better description. Old language was If you are going to help develop the Cygwin library by volunteering for the project, you will want to subscribe to the Cygwin developers list, called cygwin-developers. New language is There is also a low-volume list called cygwin-developers which is reserved for knowledgeable people who regularly contribute to the Cygwin DLL. Please do not ask for read-only access to this mailing list. However, it was NTFS-specific and Cygwin went a different route (which has path length limitations, but I digress). And, Joshua could I get a FAQ entry about this, too? OK, I added some about managed mounts. I've never really used them myself, but this is the example I came up with for the FAQ that seems to work fine: mkdir /managed-dir mount -o managed c:/cygwin/managed-dir /managed-dir cd /managed-dir/ touch makefile touch Makefile Are managed mounts prime-time enough to be put in the --help statement and users guide with caveats? -- 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 and firewalls (FAQ alert)
On 6/17/05, Christopher Faylor wrote: Why not just use the system firewall which is part of XP SP2? Joshua, do you think you could add an entry about this concerning what seems to work and what doesn't seem to work? Done. http://cygwin.com/faq/faq_3.html#SEC55 Although, I thought I recalled that Norton's firewall didn't work too well. Me too, but it is a popular product and maybe they've improved. I also thought I remembered one that never worked for anyone but a quick search didn't turn up the name. I'll update the entry as details emerge. -- 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: Unicode in filenames support? (FAQ update needed)
On 6/7/05, Christopher Faylor wrote: On Tue, Jun 07, 2005 at 02:17:02PM -0400, Williams, Gerald S (Jerry) wrote: Corinna Vinschen wrote: Not that I know of. We're discussing to convert Cygwin's path handling to use Unicode for a while now, but it will take time. Don't expect this any time soon. I've been off of the developer list for a while now, and now the archives are subscriber only. :-( Joshua, any chance I could get a FAQ entry about this? However, it was NTFS-specific and Cygwin went a different route (which has path length limitations, but I digress). And, Joshua could I get a FAQ entry about this, too? This has got to be at least the fifth time that someone has felt compelled to make the observation that the current implementation of managed mode has path length limitations. Maybe a managed mode section would be useful in general. Sure, though unfortunately it will be a few days since I'm moving right 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/