slrn & mutt - display problem
When I use slrn try to reply to a posting by email the entire window simply goes black. My mail_editor_command is "mutt -H '%s'", and I am using rxvt (in Cygwin). I know that mutt starts, and if I kill that process I get my slrn back again, though when I then quit slrn the terminal no longer echoes key presses. Any clues? It looks like it is a terminal problem to me, since I've learned that through following the key presses that I normally would, I get the body of the mail to edit in my editor (displayed correctly), then when I finish that I go back to my lovely black on black colour scheme whilst in mutt, and then finally back to slrn where I can again see what is going on. So mutt is there and accepting input and acting on it. It just doesn't want to show me what it is doing :-( -- 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: slrn & mutt - display problem
Olaf Foellinger wrote: > I don't think you need mutt to send mail from slrn Oh, you don't! I want to use it because it has all the features that I need when writing mails - saving mails in appropriate mailbox, being able to add attachments, use of my address book, and so on. -- 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: slrn & mutt - display problem
> When I try to reply to a posting by email the entire window > simply goes black. My mail_editor_command is "mutt -H '%s'", > and I am using rxvt (in Cygwin). As I thought, it was a terminal issue. instead of set mail_editor_command "mutt -H '%s'" using mail_editor_command "export TERM=vt220; mutt -H '%s'; export TERM=rxvt" produces a usable display. I'd got this set as an alias in my bash profile but had completely forgotten about it. Many thanks everyone who chimed in with advice, even those of you who told me not to use mutt ;-) -- 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/
Umlauts not working
Hi, I have two computers with cygwin installed. On one the umlauts solution in .inputrc works fine (set meta-flag on etc.), but on the other I still get a pipe-like symbol for an umlaut-u and nothing at all for umlaut-a and so on (I've also tried putting the meta-flag on entries in .bashrc but that doesn't work either - should it?). The one that works has bash 3.1.17(6)-release and the one that doesn't has 3.2.5(8)-release but I don't know if that is significant. What might I have ballsed up? TIA, Gary -- 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: emacs trouble
Hi Lorenzo I have the same problem, but using rxvt instead of the normal console cures it so I went with that. Something to do with keyboard layout, possibly, since I am using a German kbd and I imagine you are using an Italian one? For anyone interested in solving this rather than working around it: FWIW it is the C-c that doesn't work, not C-x. Gary -- 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: Umlauts not working
More that I've found. I updated the older version of Bash to the newer version. It still works, so the problem isn't due to some change in Bash. I've copied the .bashrc & .inputrc from the working system to the other one. That has has no visible effect. Again I ask: What might I have ballsed up? 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/
Problems with Perl script after upgrading to 1.7
I knew it was a mistake before I did it :( Never touch a running system and all that. Anyway, since upgrading to 1.7 I get " not a file at /home/gary/.perl/lib/perl5/site_perl/5.10/Text/Language/Guess.pm line 158" Should I upgrade something manually, or what? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Another nodosfilewarning warning
Okay, this is confusing me. What exactly is being checked for this wanring to be displayed? I get "cygwin warning: MS-DOS style path detected: c:\programme\develop\ruby\bin\inputrc.euro Preferred POSIX equivalent is (blah)" Okay. Except I can't find a file anywhere containing any mention of inputrc.euro... (in fact the mentioned path doesn't even exist any more, since I don't use Ruby at the moment). -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Another nodosfilewarning warning
Jeremy Bopp wrote: > Gary . wrote: > > "cygwin warning: > > MS-DOS style path detected: c:\programme\develop\ruby\bin\inputrc.euro > > Preferred POSIX equivalent is (blah)" > > > > Okay. Except I can't find a file anywhere containing any mention of > > inputrc.euro... (in fact > > the mentioned path doesn't even exist any more > Check your environment variables to ensure that none of them point to > that file. Aside from that, it would help if you gave more details > regarding what exactly you're doing/running when you see this warning. You're right, it was a Windows environment variable which for whatever reason was not being converted. Maybe because the path doesn't exist? Thanks. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Package Maintainer List
Is the list at http://cygwin.com/cygwin-pkg-maint current? Because I downloaded the source to the allegedly orphaned "links" ["ORPHANED (Harold L Hunt II)"] and found the following comment in the links-1.00pre20-1-cygwin.patch file: +- version 1.00pre20-1 - +- New maintainer, 2007-08-12 Jari Aalto. +- New upstream release. So now I don't know if the list is to be trusted... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Package Maintainer List
Corinna Vinschen wrote: > On Jan 21 13:43, Gary . wrote: > > Is the list at http://cygwin.com/cygwin-pkg-maint current? [...] > > links-1.00pre20-1-cygwin.patch file: > > +- version 1.00pre20-1 - > > +- New maintainer, 2007-08-12 Jari Aalto. > > +- New upstream release. > > Oh, right, I fixed that in cygwin-pkg-maint. Thanks. > > So now I don't know if the list is to be trusted... > > The file is maintained by mere human beings... Oh, that's ok. It was just that that was really the first one I looked at, and so it wasn't clear to me if the list was being maintained or was, itself, orphaned. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem with svn and users over multiple machines
I don't know if this is a Cygwin related problem or if I am just being stupid. Probably the latter, but maybe in that case some kind soul will take pity on me. I added a new user "svn" and a new group "subversion-user", basically following http://www.cygwin.com/ml/cygwin/2005-07/msg00933.html with the addition of also doing mkgroup -l -g subversion-user >> /etc/group. I then created a subversion repository in the usual way, on an NDAS drive, and then changed the file permissions so that they are owned by user svn and can be modified by members of the group subversion-user. I could then add and commit files to my repository. So far so good. I also want to be able to work on another machine in a similar manner, so did the same things on that machine regarding user and group as I did on the first. My suspicion is that I shouldn't have, I should have done something else instead, because I see g...@mimosa ~ $ ls -l /svn/db total 14 -rw-r--r--+ 1 garyKein 2 2010-01-22 09:34 current -r--r--r-- 1 svn subversion-user 22 2010-01-22 08:22 format -rw-r--r-- 1 svn subversion-user5 2010-01-22 08:22 fs-type -rw-r--r-- 1 svn subversion-user 1920 2010-01-22 08:22 fsfs.conf (etc.) from the first machine... ...but see g...@sunflower ~ $ ls -l /svn/db total 14 -rw-r--r--+ 1 2 2010-01-22 09:34 current -r--r--r-- 1 22 2010-01-22 08:22 format -rw-r--r-- 1 5 2010-01-22 08:22 fs-type -rw-r--r-- 1 1920 2010-01-22 08:22 fsfs.conf (etc.) from the second. Furthermore, attempting to commit a file (directory, actually) from the second machine results in an error, like so - g...@sunflower ~/src/myproject $ svn ci src svn: Commit failed (details follow): svn: Can't open file '/svn/db/txn-current': No such file or directory but I don't know if that is related to this or some other problem. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Problem with svn and users over multiple machines
Larry Hall (Cygwin) wrote: > On 01/22/2010 04:21 AM, Gary . wrote: ... > > I added a new user "svn" and a new group "subversion-user", basically > > following http://www.cygwin.com/ml/cygwin/2005-07/msg00933.html with > > the addition of also doing mkgroup -l -g subversion-user>> > > /etc/group. ... > > I also want to be able to work on another machine in a similar manner, > > so did the same things on that machine regarding user and group as I > > did on the first. My suspicion is that I shouldn't have, I should have > > done something else instead, because I see > > g...@mimosa ~ > > $ ls -l /svn/db > > total 14 > > -rw-r--r--+ 1 gary Kein 2 2010-01-22 09:34 > > current > > -r--r--r-- 1 svn subversion-user 22 2010-01-22 08:22 > > format > > -rw-r--r-- 1 svn subversion-user 5 2010-01-22 08:22 > > fs-type > > -rw-r--r-- 1 svn subversion-user 1920 2010-01-22 08:22 > > fsfs.conf > > (etc.) > > from the first machine... > > ...but see > > g...@sunflower ~ > > $ ls -l /svn/db > > total 14 > > -rw-r--r--+ 1 2 2010-01-22 09:34 current > > -r--r--r-- 1 22 2010-01-22 08:22 format > > -rw-r--r-- 1 5 2010-01-22 08:22 fs-type > > -rw-r--r-- 1 1920 2010-01-22 08:22 fsfs.conf > > (etc.) > > from the second. > The means that Cygwin on the second machine doesn't know the owner > of these files. This means the user and group IDs are missing from the > '/etc/passwd' > and '/etc/group' files. Yeah, that's what I thought, but: g...@mimosa ~ $ mkgroup -l -g subversion-user subversion-user:S-1-5-21-1715567821-220523388-682003330-1016:1016: g...@mimosa ~ $ mkpasswd -l -u svn svn:unused:1015:513:U-MIMOSA\svn,S-1-5-21-1715567821-220523388-682003330-1015:/home/svn:/bin/bash g...@sunflower ~ $ mkgroup -l -g subversion-user subversion-user:S-1-5-21-1004336348-492894223-1060284298-1007:1007: g...@sunflower ~ $ mkpasswd -l -u svn svn:unused:1006:513:U-SUNFLOWER\svn,S-1-5-21-1004336348-492894223-1060284298-1006:/home/svn:/bin/bash Clearly, they're different, which is what I mean when I say "I shouldn't have, I should have done something else instead". How can I add the user and group to sunflower (the second machine) and ensure they are identical to those on mimosa, at least as far as the areas Cygwin is concerned about, given that they are first added using the Windows util? > Add them and this problem should go away. See the > discussion of security in the Cygwin Users Guide for more details. I will look. Thanks. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Is grepmail package broken?
g...@mimosa ~/Mail $ grepmail -bBM "foobar" someMbox Can't locate Mail/Mbox/MessageParser.pm in @INC (@INC contains: [blah blah]) at /usr/bin/grepmail line 35. BEGIN failed--compilation aborted at /usr/bin/grepmail line 35. Doesn't installing the package take care of the dependencies (or better said - isn't it supposed to)? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: setup[-legacy].exe v.2.678: 4MB
> The new setup executables v.2.678 are 4MB, yes? > (Replacing files of size ~700K) I'm also seeing this. Seems very strange, and I haven't seen any kind of announcement that a new version is out. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: cppunit: rebuild for gcc4
On Mon, Feb 01, 2010 at 09:16:05PM -0600, Yaakov (Cygwin/X) wrote: > On 12/01/2010 02:51, Yaakov (Cygwin/X) wrote: > >Ross, > > > >Could you please build the lateset cppunit with gcc4? The last release > >was built with gcc3 and does not work with a gcc4-compiled package. > Ping? Is something stopping you building cppunit yourself? I know it is nice to have the packages up to date, and I'm sure the maintainer will get around to it when he can, but can't you use a locally built copy in the meantime? Who knows, maybe Ross would appreciate some help doing it :-) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Problem with svn and users over multiple machines
Err. Well. User error :-P I don't know exactly what I did wrong, but I suspect that the problems I saw might have partly been due to "Simple File Sharing" being *off* on one of the machines and *on* on the other. Having started again from scratch and ensuring Simple File Sharing is *off*, with the mount table $ mount C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,auto) C: on /mnt/c type ntfs (binary,posix=0,user,noumount,auto) T: on /mnt/t type ntfs (binary,posix=0,user,noumount,auto) and just using normal svn file commands such as $ svn co file:///mnt/t/shared/svn/test . it appears to be working perfectly on both machines, no fiddling with users, passwd files, or anything else required. Thanks anyway, Larry, I appreciate the time you put in to help. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: cppunit: rebuild for gcc4
On Tue, Feb 02, 2010 at 10:22:36AM -0500, Christopher Faylor wrote: > On Tue, Feb 02, 2010 at 11:23:42AM +0100, Gary wrote: > >On Mon, Feb 01, 2010 at 09:16:05PM -0600, Yaakov (Cygwin/X) wrote: > >>On 12/01/2010 02:51, Yaakov (Cygwin/X) wrote: > >>>Could you please build the lateset cppunit with gcc4? The last release > >>>was built with gcc3 and does not work with a gcc4-compiled package. > > > >>Ping? > > > >Is something stopping you building cppunit yourself? I know it is nice > >to have the packages up to date, and I'm sure the maintainer will get > >around to it when he can, but can't you use a locally built copy in the > >meantime? Who knows, maybe Ross would appreciate some help doing it > >:-) > > Yaakov, please stop being so selfish and ITA every single package in the > distribution. I wasn't suggesting that at all, as you well know. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Perl module installing issue
On Thu, Feb 11, 2010 at 12:13:50AM +0200, Ivaylo Terziyski wrote: > > Installing perl module with perl -MCPAN -e "shell": > > > CPAN.pm: Going to build R/RG/RGIERSIG/IO-Tty-1.08.tar.gz > > Now let's see what we can find out about your system > (logfiles of failing tests are available in the conf/ dir)... > > ERROR: cannot run the configured compiler 'gcc' > (see conf/compilerok.log). Suggestions: > 1) The complier 'gcc' is not in your PATH. Add it >to the PATH and try again. OR > 2) The compiler isn't installed on your system. Install it. OR > 3) You only have a different compiler installed (e.g. 'gcc'). >Either fix the compiler config in the perl Config.pm >or install a perl that was built with the right compiler >(you could build perl yourself with the available compiler). > > Note: this is a system-administration issue, please ask your local > admin for help. Thank you. > > In file conf/compilerok.log I have only this > cc1: error: unrecognized command line option "-fstack-protector" > I have installed gcc,gcc-g++ and make. > > Any suggestions ? Have you tried running gcc from the command line? Have a look at the thread started at http://cygwin.com/ml/cygwin/2010-01/msg01228.html maybe your case is related. What does cygcheck `which gcc` reveal, if anything? It should be something like $ cygcheck `which gcc` -> C:\cygwin\etc\alternatives\gcc -> C:\cygwin\bin\gcc-4.exe C:\cygwin\bin\gcc-4.exe C:\cygwin\bin\cyggcc_s-1.dll (and more dlls) I think. I'm surprised about the error in the compilerok.log, -fstack-protector was introduced as a patch sometime during the lifetime of gcc 3 (whether it was ever introduced into the official Cygwin package I don't know, however) and then in the main build in gcc 4. Maybe you have an old version of gcc/cc1? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Using Cygwin's mutt to handle mailto links (Firefox)
Asking here more out of desperation than anything. Has anyone figured out how to use Cygwin's mutt to handle mailto links? In the Firefox "Select Helper Application" you can only select "Application" (whatever they might be defined as), which doesn't include batch files and doesn't allow you to specify any kind of command line arguments. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
What permissions should /home/user/.. have?
Weird question maybe, but what permissions should the ".." directory entry have that sits in /home/? I'm getting some weird behaviour from grep -r (in my home directory it appears to be traversing up the .. entry and trying to access other users' files) and wondering if the permissions are the cause. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: What permissions should /home/user/.. have?
On Sat, Feb 13, 2010 at 01:43:34PM -0500, Larry Hall (Cygwin) wrote: > On 02/13/2010 05:08 AM, Gary wrote: > >Weird question maybe, but what permissions should the ".." directory > >entry have that sits in /home/? > > > >I'm getting some weird behaviour from grep -r (in my home directory it > >appears to be traversing up the .. entry and trying to access other > >users' files) and wondering if the permissions are the cause. > > You sure you don't have a symlink or mount that grep can traverse in > that directory? Hmm. There are some symlinks, but not to the other user's home directory. I know what it is. User error, I suppose. I did: $ grep -Irl foo .* I should have done $ grep -Irl foo .[^\.]* which correctly searches just the dotfiles without traversing "..". -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
"undefined reference to `_JNI_CreateJavaVM'"
I am trying to call some Java code from C via JNI, and am having problems building: main.o:main.c:(.text+0xcc): undefined reference to `_JNI_CreateJavaVM' I've basically followed along with what is written at http://www.inonit.com/cygwin/jni/invocationApi/ (built an import library, passed ld the "-L. -ljvm" parameters, and so on). One difference is that gcc no longer supports -mno-cygwin, but I'm not convinced that is the cause. Further information: I am trying to use the straight Windows Java at first, by specifying -I$jdk/include and everything appears to compile okay, *but* if I also specify -I$jdk/include/win32 (as per the above mentioned web pages) then compilation fails: In file included from /mnt/c/Programme/Develop/Java/SDK/jdk/include/jni.h:27, from myhdr.h:4, from main.c:1: /mnt/c/Programme/Develop/Java/SDK/jdk/include/win32/jni_md.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jlong' In file included from myhdr.h:4, from main.c:1: /mnt/c/Programme/Develop/Java/SDK/jdk/include/jni.h:108: error: expected specifier-qualifier-list before 'jlong' /mnt/c/Programme/Develop/Java/SDK/jdk/include/jni.h:316: error: expected specifier-qualifier-list before 'jlong' Given that I appear to have two sets of JNI related include files and so forth installed (Sun and gcc), I'm wondering if that's the cause - should I actually be using the gcc supplied files in preference to the Sun ones? Does anyone have any recent experience in this area they could share, please? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
setup.exe - a small feature request
Is it already possible to somehow save the value of the "Create Shortcut on Desktop" checkbox? If not, would it be possible to add this feature at some point (yeah, I know, PGA/TC :-) ? I'm sure I'm not the only one who doesn't want a shortcut and is getting fed up with having to uncheck the box every time. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: setup.exe - a small feature request
On Thu, Feb 18, 2010 at 07:44:37AM -0600, Jeremy Bopp wrote: > Eric Blake wrote: > > According to Gary on 2/18/2010 3:49 AM: > >> Is it already possible to somehow save the value of the "Create Shortcut > >> on Desktop" checkbox? > > I would also like such a patch. > Just FYI, a shortcut with the necessary option (--no-shortcuts) added > can also be used instead of a batch file. Maybe I could put that shortcut on my desktop instead of the one setup wants to put there :D Actually, I decided to have a little look at the code, but fell at the first hurdle whilst following the instructions in the README, because ./configure complains that -mno-cygwin is not supported (true enough): configure:3021: checking whether the C++ compiler works configure:3043: g++ -mno-cygwin -I /usr/include/ncurses conftest.cpp >&5 g++: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler\ . configure:3047: $? = 1 configure:3085: result: no configure: failed program was: (etc.) WTH? Am I supposed to be using some other compiler, such as gcc-3? (Note: removing the -mno-cygwin option seems to make configure work, but the knock on effect is probably not desirable.) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: setup.exe - a small feature request
On Thu, Feb 18, 2010 at 11:04:14AM -0500, Christopher Faylor wrote: > On Thu, Feb 18, 2010 at 10:59:26AM -0500, Eliot Moss wrote: > >On 2/18/2010 9:52 AM, Gary wrote: > >> configure:3021: checking whether the C++ compiler works > >> configure:3043: g++ -mno-cygwin -I /usr/include/ncurses conftest.cpp>&5 > >> g++: The -mno-cygwin flag has been removed; use a mingw-targeted > >> cross-compiler\ > >> . > >> > >> configure:3047: $? = 1 > >> configure:3085: result: no > >> configure: failed program was: > >> (etc.) > >> > >> WTH? Am I supposed to be using some other compiler, such as gcc-3? > >> > >> (Note: removing the -mno-cygwin option seems to make configure work, but > >> the knock on effect is probably not desirable.) > > > >I think the answer is to install and use mingw. > No, the answer is to use gcc-3. It should be fairly obvious that setup > can't be built with gcc-4 right now, once you attempt to try to build it. Thanks. ./configure -C --disable-shared --host=i686-pc-mingw32 --build=i686-pc-cygwin CC="gcc-3 -mno-cygwin" CXX="g++-3 -mno-cygwin" and the following 'make' seem to work fine. I sort of assumed it was that, but thought it was best to clarify first. Is it worth updating the README to clarify this, or are you expecting the -mno-cygwin option to be in a later release of gcc? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: "undefined reference to `_JNI_CreateJavaVM'"
On Thu, Feb 18, 2010 at 11:47:13AM -0500, Larry Hall (Cygwin) wrote: > On 02/18/2010 05:43 AM, Gary wrote: > >I've basically followed along with what is written at > >http://www.inonit.com/cygwin/jni/invocationApi/ (built an import > >library, passed ld the "-L. -ljvm" parameters, and so on). One difference > >is that gcc no longer supports -mno-cygwin, but I'm not convinced that > >is the cause. > > Since the above site isn't cygwin.com, this list really can't support the > process they've outlined. I'm not asking you to. > if you really need '-mno-cygwin', then you're not building for > Cygwin, With or without is irrelevant to me. Since I am using Cygwin tools I am perfectly happy to not have the '-mno-cygwin'. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: setup.exe - a small feature request
On Thu, Feb 18, 2010 at 05:23:03PM +, Dave Korn wrote: > On 18/02/2010 16:58, Gary wrote: > > and the following 'make' seem to work fine. I sort of assumed it was > > that, but thought it was best to clarify first. Is it worth updating the > > README to clarify this, > > Yeah, it is, and I meant to do that some time ago but lost track of it > amongst other stuff that seemed more pressing at the time, sorry. No need to be sorry, I was making a suggestion not being accusatory. Patch for the README attached.Index: README === RCS file: /cvs/cygwin-apps/setup/README,v retrieving revision 2.41 diff -r2.41 README 9c9 < - gcc-mingw-g++ --- > - gcc-mingw-g++ that supports the -mnocygwin option 33c33 <--build=i686-pc-cygwin CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" --- >--build=i686-pc-cygwin CC="gcc-3 -mno-cygwin" CXX="g++-3 -mno-cygwin" -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problems with mutt & charset
For some reason although when I send emails containing certain umlauted characters everything looks fine, the recipient sometimes (or possibly always, I only know because one person mentioned it) doesn't see the characters correctly. I have the following environment variables set LANG = "en_US.UTF-8" LC_CTYPE = "de_CH.UTF-8" (LANG is en because I want to have my messages in English. Must LC_CTYPE match?) and within mutt I can see that Mutt has the charset variable set to UTF-8 - ':set &charset ?charset' displays 'charset="utf-8"'. However if I send *myself* an email containing upper case an umlauted A, O, or U I see garbage in mutt where the character should be, however if I look at the email via webmail it looks fine. Similary if I send a friend an email continaing (apparently) any type of umlauted character (upper or lower case) they appear to be replaced by spaces. I notice that the Content-Type header contains text/plain; charset=iso-8859-1. Is that correct? In .muttrc send_charset is unset, so allegedly defaults to charset, but that doesn't seem to be the case here for some reason. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Problems with mutt & charset
On Sat, Feb 20, 2010 at 12:00:54PM +, Andy Koppe wrote: > Gary: > > I have the following environment variables set > > LANG = "en_US.UTF-8" > > LC_CTYPE = "de_CH.UTF-8" > > > > (LANG is en because I want to have my messages in English. Must LC_CTYPE > > match?) > > The charsets should probably match. I'm not sure whether the de_CH > instead of en_US in LC_CTYPE makes any difference, i.e. you could > probably just leave LC_CTYPE unset. If you want Swiss German > conventions for everything except messages, e.g. sorting, time, and > money formats, you should set LANG=de_CH.UTF-8 and > LC_MESSAGES=en_US.UTF-8. Okay. Seems to work for what I want, which is my UI in English. Thanks. I think in principle I don't even need the other stuff in German, I originally wanted that for spell-checking IIRC, and I've since scripted things so that the language used for spell-checking is guessed based on the language of the email or document I am writing. > > However if I send *myself* an email containing upper case an umlauted A, > > O, or U I see garbage in mutt where the character should be > I don't use mutt, so I can't really help here, but a mintty user > reported that he had to rebuild mutt against ncursesw (which is now > part of the Cygwin distribution) to get UTF-8 in mutt working: > http://code.google.com/p/mintty/issues/detail?id=124#c28 Hmm. You mean to get any UTF-8 support at all? It's strange, because until a few weeks ago I could see all my umlauts just fine, but I don't know which of the changes since then have caused my problems - changing to UTF-8 and the consequent change to mintty (thanks for it, btw! really usable!), upgrading to cygwin 1.7, or something else (e.g. some config file change(s)). I'll give it a go anyway... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Problems with mutt & charset
On Sat, Feb 20, 2010 at 01:27:48PM +0100, I wrote: > On Sat, Feb 20, 2010 at 12:00:54PM +, Andy Koppe wrote: > > Gary: > > > However if I send *myself* an email containing upper case an umlauted A, > > > O, or U I see garbage in mutt where the character should be > > > a mintty user > > reported that he had to rebuild mutt against ncursesw (which is now > > part of the Cygwin distribution) to get UTF-8 in mutt working: > > http://code.google.com/p/mintty/issues/detail?id=124#c28 > > Hmm. You mean to get any UTF-8 support at all? It's strange, because > until a few weeks ago I could see all my umlauts just fine, but I don't > know which of the changes since then have caused my problems Incidentally, I just tried using mutt with rxvt, with LANG=en_US.ISO-8859-1 and other config files appropriately set (I think) as they were before my move to UTF-8, and still couldn't send myself an email with upper case umlauted characters that I could later read. Weird. Maybe I was mistaken about them working in the past. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Problems with mutt & charset
On Sat, Feb 20, 2010 at 12:00:54PM +, Andy Koppe wrote: > Gary: > > if I send *myself* an email containing upper case an umlauted A, > > O, or U I see garbage in mutt where the character should be, however if > > I look at the email via webmail it looks fine. > I don't use mutt, so I can't really help here, but a mintty user > reported that he had to rebuild mutt against ncursesw (which is now > part of the Cygwin distribution) to get UTF-8 in mutt working: > http://code.google.com/p/mintty/issues/detail?id=124#c28 Sadly building mutt directly from the source package fails: make[2]: Entering directory `/usr/src/mutt-1.4.2.2-2/doc' ##test -f manual.html || make manual.html || cp ./manual*.html ./ cp ./manual*.html ./ cp: cannot stat `./manual*.html': No such file or directory make[2]: *** [try-html] Error 1 make[2]: Leaving directory `/usr/src/mutt-1.4.2.2-2/doc' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/src/mutt-1.4.2.2-2' make: *** [install] Error 2 I see this was reported before, back in 2007 - http://www.mail-archive.com/cygwin@cygwin.com/msg82521.html - but there was never a solution posted. Anyone have any idea what is causing it? I'm assuming I should just be able to cd to /usr/src/mutt-1.4.2.2-2 and './configure' followed by 'make install'. There also seem to be development "remains" in the source package - for example files like lib.c~ (which looks like an emacs backup file, to me), handler.c.orig000, mbox.c.cygwin, etc. - although I don't know which of those are from the original source and which from the Cygwin packaging. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Fetchmail call to procmail no longer works under Cygwin 1.7.1-1
On Mon, Feb 22, 2010 at 09:12:00AM -0500, Thomas Baker wrote: > The problem is that since the upgrade to Cygwin 1.7, the fetchmail > on my _desktop_ computer no longer passes the incoming messages to the > MDA procmail. Each incoming message, retrieved with POP3, is saved > undelivered as an individual file in /var/spool/mail/tbaker, e.g.: > > /var/spool/mail/tbaker/msg.AdZ > /var/spool/mail/tbaker/msg.IdE ... > > On the ASUS netbook, the procmail.log confirms delivery of the messages. > On the desktop machine, the procmail.log is not written > to at all, which I take to mean that procmail is not even being executed. What does the fetchmail log say? "fetchmail: MDA open failed"? > These are single-user machines, so I have administrative privileges You're crazy :-) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Fetchmail call to procmail no longer works under Cygwin 1.7.1-1
On Mon, Feb 22, 2010 at 06:53:46PM +0100, Matthias Andree wrote: > Am 22.02.2010 17:25, schrieb Thomas Baker: > and (b) you're either running an old fetchmail > version No, the version numbers Tom provided are current (or thereabouts). -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Fetchmail call to procmail no longer works under Cygwin 1.7.1-1
On Mon, Feb 22, 2010 at 10:34:42PM +0100, Matthias Andree wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Problems with mutt & charset
On Sun, Feb 21, 2010 at 03:11:28PM +0100, Gary wrote: > Sadly building mutt directly from the source package fails: > > make[2]: Entering directory `/usr/src/mutt-1.4.2.2-2/doc' > ##test -f manual.html || make manual.html || cp ./manual*.html ./ > cp ./manual*.html ./ > cp: cannot stat `./manual*.html': No such file or directory > make[2]: *** [try-html] Error 1 > make[2]: Leaving directory `/usr/src/mutt-1.4.2.2-2/doc' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/usr/src/mutt-1.4.2.2-2' > make: *** [install] Error 2 > > I see this was reported before, back in 2007 - > http://www.mail-archive.com/cygwin@cygwin.com/msg82521.html - but there > was never a solution posted. Anyone have any idea what is causing it? > I'm assuming I should just be able to cd to /usr/src/mutt-1.4.2.2-2 and > './configure' followed by 'make install'. Not really a solution, but Michael Elkins pointed out that this is "only" the html documentation, and the building of it can be disabled by editing the SUBDIRS variable in the makefile. See http://marc.info/?l=mutt-users&m=126685506502164&w=2 I think the problem is the lack of sgml2html on Cygwin, but I am at a bit of a loss as to how the official package was built if that's the case. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Fetchmail call to procmail no longer works under Cygwin 1.7.1-1
On Tue, Feb 23, 2010 at 10:33:24AM -0500, Thomas Baker wrote: > If I pipe one message into procmail with: > > procmail -v -d tbaker > procmail reports: > > Locking strategies: dotlocking, fcntl() > Default rcfile: $HOME/.procmailrc > Your system mailbox:/var/spool/mail/TBaker > > and appends the message to the file /var/spool/mail/TBaker, > ignoring the recipe in $HOME/.procmailrc. Oh. Actually I thought procmail was not suppose to deliver when given -v -v Procmail will print its version number, display its compile time configuration and exit. (from the man page) > This also does not work: > > procmail -d tbaker http://pm-doc.sourceforge.net/pm-tips.html recommends LOGFILE = $PMSRC/pm.log LOGABSTRACT = "all" VERBOSE = "on" in the .procmailrc. And you're sure you are running the correct procmail, i.e. there is no other procmail in your path before the one you are expecting to run? $ type -a procmail procmail is /usr/bin/procmail procmail is /bin/procmail -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Emacs info files
I have a new cygwin installation on which I have also installed emacs. I have an older installation in which I also have emacs installed. On the newer install I don't appear to have any info pages for emacs, but do on the older one (I think, I can't actually check right now). Why would I not have them, and how can I get them? One difference is that the new installation has emacs-nox whereas the older one has emacs-X11 (although I actually only ever use it from the console, I don't use X). Oh. C-h i in emacs shows the info page *confuzzed* -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Emacs info files
On Wed, Mar 31, 2010 at 10:54 AM, Oleksandr Gavenko wrote: > On 2010.03.31 10:21, Gary . wrote: >> I don't appear to have any info >> pages for emacs ... >> Oh. C-h i in emacs shows the info page *confuzzed* >> > Tip from my NOTE file for native Emacs under Windows: > > ** Setup INFOPATH. > > To browse info file inside Emacs set INFOPATH like this: ... > INFOPATH='~/usr/share/info;d:/opt/cygwin/usr/share/info:' > > for Cygwin. > > Note that last colon symbol is essential for include also Emacs info to > list. Hmm. Mine says $ echo $INFOPATH /usr/local/info:/usr/share/info:/usr/info: No. Hold on. Now it works. The emacs node is present, and I can also jump direclty to it with $ info emacs I haven't changed *anything* since this morning. WT... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
ssh ControlMaster=yes
Am I right in thinking it still* doesn't work? Or rather, I can't get it to work, and found http://www.cygwin.com/ml/cygwin/2008-06/msg00324.html (for example) suggesting it "shouldn't" (or should I say "should, but doesn't yet, when yet is some time in 2008"? Well, whatever). Anyway, point is - should it now work? I keep getting hit with not being able to create any more proceses because I've got umpteen ssh processes running, most of which are unnecessary (multiple connections to the same host, some of which are anyway stale). * This isn't a criticism, just a question. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
mintty - changing colours when logging in to remote host
Is it possible to change the colour scheme when connecting to a remote system, to remind me where I am actually "running"? I know locally might not be the right way to do it, in an ideal situation, but the account on the remote host is shared and I don't want to do anything on that side that affects other users. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: mintty - changing colours when logging in to remote host
On Tue, Apr 6, 2010 at 8:14 PM, Andy Koppe wrote: > Gary: >> Is it possible to change the colour scheme when connecting to a remote >> system, to remind me where I am actually "running"? > > Yes. There are control sequences for changing the colours Thanks. > For example, to set the background > colour to dark red: > > echo $'\e]12;64,0,0\a' Err. Well that set my block cursor to dark red, but anyway, yeah, I get the idea. I will read the xterm doc you linked to and "play around". Oh. Is it because $ echo $TERM xterm-256color (Oh God. I just looked at the document you linked to. I'm not sure which is denser, me or it! Anyway, I will read and see what I can make of it.) Incidentally, do you prefer mintty related subjects here or in mintty-discuss? Both seem appropriate. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: installer improvements
"Buchbinder, Barry (NIH/NIAID) [E]" wrote: > http://cygwin.com/mirrors.html gives locations. Doesn't solve the problem entirely. Location isn't the only issue, despite what estate agents will tell you. There seem to often be problems with the switch.ch mirror for example, even though it is probably the closest to me (of course, if I were closer to a border it might be a French, German, or Italian server, who knows). I'm not sure I want to wait for pings off all the mirror servers, either. But, since the website already knows where the mirrors are, and since the installing computer possibly knows where *it* is (hell, you could always ask the user, the first time)... Anyway, what I'd really like to know is, manually parsing the setup.ini aside, is there any way to uninstall (say) Cygwin/X all in one blow? I spent what felt like hours last night clicking through various packages to "uninstall", only for some later package, when cycled through "reinstall" on the way to "uninstall", to reset it. I considered taking a hammer to it, but didn't want to disturb the neighbours at such a late hour. Now *that* would be an improvement to setup I could get fully behind (a way of seeing and uninstalling not only package A, but all dependant packages as well, not using a hamme on the computer). -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: installer improvements
On Thu, Apr 8, 2010 at 4:53 PM, Christopher Faylor wrote: > On Thu, Apr 08, 2010 at 12:16:42PM +0200, Gary . wrote: >>Anyway, what I'd really like to know is ... > I'd suggest that if you have a question or comment about setup it would > be a good idea to send a message with a specific subject rather than > trying to use this thread. Well, to be honest, I think how setup could be improved is a worthwhile discussion. Setup is the second thing new users see, after the website, after all. Anyway, I will start a new thread for my uninstall question. > I recognized your name as a non-kook. Urk. Are you sure? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
How to uninstall Cygwin/X (only)
Manually parsing the setup.ini aside, is there any way to uninstall (say) Cygwin/X all in one blow? I spent what felt like hours last night clicking through various packages to "uninstall", only for some later package, when cycled through "reinstall" on the way to "uninstall", to reset it. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: How to uninstall Cygwin/X (only)
On Fri, Apr 9, 2010 at 7:31 AM, Christopher Faylor wrote: > On Fri, Apr 09, 2010 at 04:07:32AM +0100, Dave Korn wrote: >> I am writing a patch to add a right-click context menu to the spinner :) >>more news in the next couple of days. > > As long as you're doing that, how about just getting rid of the spinner > entirely? IMO, it's an unusual construct. It would probably be better > to have a pull-down box or something. I confess, I never knew it was anything other than decoration/informational... I think that moving the installation/deinstallation action entirely to the Bin (and Src) column would remove this strange thing of having to move through installation states and versions. Inside the tree (or list, or whatever), my opinion is it could use the existing Bin column to show and allow selection of the install status, the "New" column should just be informational indicating with a checkbox that setup wants to install something newly / upgrade an existing package, and a new column with "spinner" or dropdown allowing display/selection of "Version". I keep meaning to look at setup to try and work out changes I'd like to try, but there always seems to be something "better" to do :( -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Changing font color of bash shell ssh sessions
On Fri, Apr 9, 2010 at 2:10 AM, oscaruser wrote: > How can I change the colors used by the cygwin bash shell during ssh > sessions? You mean TERM=cygwin? *gag* Is there some reason you can't use mintty or something? Anyway I asked a very similar question, the thread starting at http://cygwin.com/ml/cygwin/2010-04/msg00200.html might give you some pointers. -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Postgres and CYGWIN environment variable
Today I made on of my irregular install and "play" with postgres. I noticed in /usr/share/doc/Cygwin/postgresql-8.2.11.README that it says "cygserver must run as service, CYGWIN must contain server." I vaguely remembered seeing something about that environment variable recently, and sure enough in http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html#cygwinenv-removed-options I see "(no)server - ... This option has been removed". So... does postgres still require it? I guess not (and will find out later when I start "playing"). -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Postgres and CYGWIN environment variable
/usr/share/doc/Cygwin/postgresql-8.2.11.README also says "cygrunsrv is not required anymore, pg_ctl has now the service functions included. cygserver must run as service" Then at the end "For the impatient: install as user (easy) cygrunsrv -S cygserver initdb -D /usr/share/postgresql/data ..." So.. is that cygrunsrv required, or not? I ask, because I can't do this $ /usr/sbin/initdb -D /usr/share/postgresql/data because: The files belonging to this database system will be owned by user "jg". This user must also own the server process. The database cluster will be initialized with locales COLLATE: de_CH.ISO-8859-1 CTYPE:de_CH.ISO-8859-1 MESSAGES: en_US.ISO-8859-1 MONETARY: de_CH.ISO-8859-1 NUMERIC: de_CH.ISO-8859-1 TIME: de_CH.ISO-8859-1 The default database encoding has accordingly been set to LATIN1. creating directory /usr/share/postgresql/data ... ok creating subdirectories ... ok selecting default max_connections ... sh: line 1: 2204 Bad system call "/usr/sbin/postgres.exe" --boot -x0 -F -c max_connections=100 -c shared_buffers=1000 -c max_fsm_pages=2 template1 < "/dev/null" > "/dev/null" 2>&1 sh: line 1: 3364 Bad system call "/usr/sbin/postgres.exe" --boot -x0 -F -c max_connections=50 -c shared_buffers=500 -c max_fsm_pages=2 template1 < "/dev/null" > "/dev/null" 2>&1 (doing that after the cygrunsrv works just fine.) -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem with 'find'
$ find / -name pg_hba.conf -print find: `/proc/registry/HKEY_CLASSES_ROOT/*/shellex/PropertySheetHandlers/CryptoSignMenu': Bad address assertion "ent->fts_info == FTS_NSOK || state.type != 0" failed: file "/usr/src/findutils-4.5.5-1/src/findutils-4.5.5/find/ftsfind.c", line 477, function: consider_visiting Sorry if this has already been reported. -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Using cmd.exe as an emacs shell
If this isn't enough for me to lose my non-kook status I don't know what is, but... Instead of / as well as using emacs' eshell, I occasionally need to do stuff from a "DOS" command line. Is it possible to get cygwin's emacs to do this? -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Protecting msmtp passwords
Unfortunately when I use msmtp with gnus, it seems that msmtp decides it can't ask me for a password. Is it possible to save them in some file and have them protected somehow? -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
psql "setsid" error
I just thought I would report this, although it only happens occasionally. When trying to start psql I've had the result that it refused to start with the message "psql: FATAL: setsid() failed: Operation not permitted". I can't reproduce it on demand, and it only happens maybe 1 time in 20, maybe less. -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
cygpath from emacs
I often find myself running a piece of software from within emacs that expects, and spits out, Windows-style paths ("C:\..."). Handling sending it Windows paths based on the Cygwin ones is fine, I just use a script. Of course, the tool returning Windows paths is a PITA, because it means I can't do M-x next-error :( Is there a solution, a way to "capture them" and transform them before they end up in the emacs buffer, maybe? I feel I should be able to work this out myself, but my brain refuses to bend around it :( -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Cygwin visual brand
Steven Collins writes: > It looks like some folks have already had graphical ideas. When you > look at the Message Of The Day (/etc/motd) you'll find an ASCII art > hippo. Ah. The hippo. > Searching the net for "cygwin hippo" doesn't reveal any clues > for the significance of the hippo No surprise there. It's the elephant in the room. Except it's a hippo. That's not in a room. I'll... shut up now. Before hippos attack. /me whispers: http://www.google.co.uk/search?hl=en&q=hippopotamus+%2Bcygwin http://old.nabble.com/Proposal:-That-the-Hippo-becomes-the-official-mascot-of-Cygwin-td21997723.html -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
gnutls missing cyggcrypt-11.dll
It seems the gnutls package (2.8.3-1) is missing a dependency to libgcrypt11 (1.4.5-1) - $ gnutls-cli -p 5223 talk.google.com /usr/bin/gnutls-cli.exe: error while loading shared libraries: cyggcrypt-11.dll: cannot open shared object file: No such file or directory Installing the lib package manually works around it. -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Cygwin visual brand
Christopher Faylor writes: > On Tue, May 18, 2010 at 11:18:28AM -0400, Andrew Schulman wrote: >>So my questions remain. Christopher and Corinna, if you don't think a >>redesign is a good idea, then please tell us that. > > Since you keep insisting, I'll do my usual WJM dance. Then everyone can > disagree, recycle all of the same arguments, and demand another response. > > So far, I have not really cared for either of the proposed redesigns. IMO that's a perfectly okay answer, even if it isn't perhaps what some people hoped for. > I sincerely hate these discussions about what's "best" about something > visual because it always devolves to self-proclaimed experts voicing > their opinions and when it comes to subjective things like web-site > layout everyone can be an expert. Actually there are objective things as well, based on psychological and physiological (and yes, even technical) principles. > The bottom line for me is that I want > something that I can maintain CMS, CGF? -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: CygWin-1.7.3-1 fails to provide pipe. (merge back into trunk please)
benczur writes: > Sorry for bringig up this thread again, but was this issue fixed in 1.7.5-1? > > When I do: > $ mkfifo /tmp/pipe > $ ls -l > /tmp/pipe > cygwin hangs... and cannot be stopped by Ctrl-C. WFM (in the sense it responds to Ctrl-C). -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
cygcheck behaviour when input is not a path
How should cygcheck behave when given a "PATH list" (e.g., '/bin:/usr/bin'), *without* the -p option? For example: $ cygpath -a -p -C ANSI -w /bin:/usr/bin C:\cygwin\bin;C:\cygwin\bin = okay. What I expect from RTFMP. $ cygpath -a -C ANSI -w /bin:/usr/bin C:\cygwin\bin?\usr\bin Urk! I would have hoped it wouldn't try to convert this, or at the very least not the last part, but I don't know if it's a bug, "by design", or what. Basically what I am trying to work out is how trustworthy cygpath is when it receives input that isn't actually a path (for example when it receives output from a program, some of which might be paths and some of which might not be). -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: cygpath behaviour when input is not a path
I wrote: > How should cygcheck cygpath, not cygcheck /me smacks head > behave when given a "PATH list" (e.g., > '/bin:/usr/bin'), *without* the -p option? > > For example: > $ cygpath -a -p -C ANSI -w /bin:/usr/bin > C:\cygwin\bin;C:\cygwin\bin > > = okay. What I expect from RTFMP. > > $ cygpath -a -C ANSI -w /bin:/usr/bin > C:\cygwin\bin?\usr\bin > > Urk! I would have hoped it wouldn't try to convert this, or at the very > least not the last part, but I don't know if it's a bug, "by design", or > what. > > Basically what I am trying to work out is how trustworthy cygpath is > when it receives input that isn't actually a path (for example when it > receives output from a program, some of which might be paths and some of > which might not be). -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug(?) with mutt, attachments, and symbolic links
Hi, I don't know if this is a bug or expected behaviour, but if I have a sym link to a file, let's say foo pointing at bar.pdf, and I then use the sym link name to attach the file in mutt, although the file is successfully attached, the file type is not correctly used for the encoding. I haven't yet been able to find if this is a mutt problem generally, something to do with the cygwin port or the way cygwin handles symbolic links, or if it is actually expected behaviour. Does anyone have any ideas? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
msmtp is old
Is there any reason the supported msmtp version is back at 1.4.13, which is over two years old? (Sorry if the question has been asked before, but I only get "Internal Server Error" from the server at sourceware.org when searching the mailing list...) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: msmtp is old
"Yaakov (Cygwin/X)" wrote: >> On 18/11/2009 02:34, Gary . wrote: >> >> Is there any reason the supported msmtp version is back at 1.4.13, >> which is over two years old? > > > http://cygwin.com/faq/faq-nochunks.html#faq.using.old-packages Yes. That's why I asked. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
ssmtp with multiple email accounts
I can't be the only one who has this, so I'm wondering if I've missed something really simple. Like many people I have multiple email accounts and would like to send from all of them using mutt. I currently use ssmtp to deliver to the outside world. The problem is that the config is different for each email account. How can I automatically make ssmtp aware of, for example (starting with something pretty basic), which AuthUser it should use to send a specific email? I found http://sourceware.org/ml/cygwin/2003-03/msg01075.html which is part ofthe way there but it looks like the scripts require some kind of manual intervention. 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: ssmtp with multiple email accounts
> -Cfile Use alternate configuration file. > > Is that what you want? Not really, I don't think, because then mutt somehow needs to know to tell ssmtp to use that option and also whcih alternative file to use. Maybe part of the solution though, 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: FW: ssmtp with multiple email accounts
> Well, then mutt lets you choose *its* configuration file. Yeah, but then I have to know in advance which emails I am going to send before starting mutt, and I'm not that organised (it is pretty impractical anyway, due to replying to mails using different From addresses). Maybe my best bet is to run a script from mutt's send-hook to set up the ssmtp.conf correctly for the outgoing mail. Or maybe it is even possible to set the sendmail variable in the send-hook to something like "/usr/sbin/ssmtp.exe -C~/.ssmtp/..conf". I was just kind of hoping someone had already done something, to save me the work :-) or that I'd just missed something in the way I am using mutt. -- 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: FW: ssmtp with multiple email accounts
> Why do you need multiple ssmtp configurations? Why can't you just use > ssmtp to relay to your ISP's SMTP server for all of your outgoing mail? I don't have access to a mailhub which allows what I need given ssmtp's limitation of one authenticating user. Taking one of the two that I use, gmail for my domain, as an example - It is required to authenticate using the name of the user sending the mail, which means that ssmtp.conf has to include that information (SmtpAuth=, I think, but don't have access to it ATM). If several "users", i.e. me using several addreses on my domain for different reasons, want to send mail then ssmtp has to somehow know which user it has to authenticate with. It gets worse in that I have another account completely separate from gmail and my domain that I also want to send email from - they won't allow me to send email using any different address than is with them via their servers any more than gmail will allow me to send email for the separate email address (I could make it an alias in gmail, but would rather not). Maybe exim can be configured to do that "translation", I don't know, but a) I prefer to have as few daemons/services running as I can, and b) secure configuration looks like a PITA. Other than that, I'm open to suggestions. -- 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: FW: ssmtp with multiple email accounts
On Wed, Apr 30, 2008 at 09:37:39AM +0200, [EMAIL PROTECTED] wrote: > >If you are intent on using ssmtp, something along the following (taken > >from an old muttrc file) should work: > [..] > >folder-hook mbox1 \ > >'set sendmail="/usr/sbin/ssmtp.exe [EMAIL PROTECTED] -ap012345"' > > The ''set sendmail="/usr/sbin/ssmtp.exe -au...'' definitely works. > What I couldn't get to work was ''set sendmail="/usr/sbin/ssmtp.exe > -C'' but I haven't managed to get to the bottom of > that yet. Short version: set sendmail="/usr/bin/ssmtp -C/etc/ssmtp/" works just fine in a folder-hook. Long version: If you are reading this then I solved the problem with the previously mentioned "-C" stuff - ssmtp does not seem to allow one to specify "~/foo.conf" (for example) as the config file. If you set it to -C/etc/ssmtp/foo.conf then everything will be fine and you can happily have as many different email accounts and external mailhubs as your heart desires and you can maintain the configurations for. I don't know if not allowing the config file to be anywhere but /etc/ssmtp is a bug, a feature, or a random twist of fate, but it would be nice if the maintainer could mention it in the man file (or maybe I just missed it when I read 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/
gpg does not like "e" key
This is really bizarre, even for a crypto related subject. gpg does not accept the letter "e" in the real name or email address. I don't know if this is a pure gpg problem or Cygwin related. $ gpg --gen-key gpg (GnuPG) 1.4.9; Copyright (C) 2008 Free Software Foundation, Inc. [snip irrelevant blathering] Please select what kind of key you want: (1) DSA and Elgamal (default) (2) DSA (sign only) (5) RSA (sign only) Your selection? 1 DSA keypair will have 1024 bits. ELG-E keys may be between 1024 and 4096 bits long. What keysize do you want? (2048) Requested keysize is 2048 bits Please specify how long the key should be valid. 0 = key does not expire = key expires in n days w = key expires in n weeks m = key expires in n months y = key expires in n years Key is valid for? (0) Key does not expire at all Is this correct? (y/N) y You need a user ID to identify your key; the software constructs the user ID from the Real Name, Comment and Email Address in this form: "Heinrich Heine (Der Dichter) <[EMAIL PROTECTED]>" Real name: Gary Jons Err. What? Where did the "e" in Jones go? It doesn't work. At all. Even ignoring and continuing, when you get the confirmation of the data you have entered it is missing the "e" (so it is not something related to not displaying it just during typing). The keyboard works fine in normal shell, and is only screwy with gpg. I've tried this using rxvt and the standard terminal. German language notebook keyboard and Windows installation. Someone will probably tell me it is a security feature because e is so common in the English language ;) Seriously though, can anyone reproduce or give any advice as to solving or workarounds? Oh, just for giggles, capital E *does* work. /wanders off, shaking head -- 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: gpg does not like "e" key
Christopher Faylor said: > Missing characters like this are often caused by an .inputrc file with > CRLF line endings or other strange characters. Thanks. That was it. Blimey do I now feel stupid. /shoots self in head -- 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: cygpath behaviour when input is not a path
Andy Koppe wrote: > On 29 May 2010 16:20, Gary wrote: > Have you got any particular reason for overriding the > locale charset with the -C option? Not particularly. I was just reusing the example from http://www.cygwin.com/cygwin-ug-net/using-utils.html I don't think what I want to do is going to work, TBH. It goes back to a previous thread about using "DOS" tools from inside Cygwin's emacs and the resulting path-style clash. Someone (I think it was you, actually) suggested script should handle the paths spewed out from the tool, converting them to Cygwin/Unix style paths. It looks like cygpath tries to convert every line of (for example) '-f -' though. Since the tool output is mixed paths and text, I'd hoped cygpath made "intelligent" guesses about what was and was not likely to be a path. -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: cygpath behaviour when input is not a path
On 5/31/10, Dave Korn wrote: > On 30/05/2010 08:51, Gary wrote: >> Since the tool >> output is mixed paths and text, I'd hoped cygpath made "intelligent" >> guesses about what was and was not likely to be a path. >> > > Well, that is basically what it does; but, being a POSIX tool, the > consequence is that it assumes that a colon is just a char like any other in > a > filename. Okay. So I'm SOL with tool output like "Parse error: syntax error, unexpected '}' in C:\cygwin\home\jg\work\foo.php on line 10" then, short of parsing it myself :-( Actually cygpath's response to the tool ouput in this instance was "cygpath: can't convert empty path" although that seems to be a barf on a previous, empty, line of output, because on testing just that line with cygpath -u I got "Parse error: syntax error, unexpected '}' in C:/cygwin/home/jg/work/foo.php on line 10" That is, the path is more posix-like, but certainly isn't "unixified". -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: cygpath behaviour when input is not a path
On 6/2/10, Dave Korn wrote: > On 01/06/2010 09:19, Gary . wrote: >>>> Since the tool >>>> output is mixed paths and text, I'd hoped cygpath made "intelligent" >>>> guesses about what was and was not likely to be a path. ... >> Okay. So I'm SOL with tool output like >> "Parse error: syntax error, unexpected '}' in >> C:\cygwin\home\jg\work\foo.php on line 10" >> then, short of parsing it myself :-( > > Hang on, isn't this is a bit far from your original question? You wanted > to > know what happens when cygpath is "given a PATH list ... without the -p Lumme! I've been rumbled! Quick, Chopper, get the getaway car started, sharpish! Or, more seriously, my original question was based on what I saw while investigating looking at the tool output, that's all. > have you ever heard the term GIGO? Not only have I heard it, I've vast experience in it. > cygpath expects anything you pass it is a path Okay. That's what I was wondering. Thanks. -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Whatever happened to cygwin's php?
It looks like it might never have made it to "official" status, but I found Max Bowsher's ITP via google @ http://www.cygwin.com/ml/cygwin-apps/2006-06/msg7.html Has anything been done more recently? -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Whatever happened to cygwin's php?
Yaakov (Cygwin/X) wrote: > On Wed, 2 Jun 2010 17:29:38 +0200, Gary wrote: >> It looks like it might never have made it to "official" status, but I >> found Max Bowsher's ITP via google @ >> http://www.cygwin.com/ml/cygwin-apps/2006-06/msg7.html >> >> Has anything been done more recently? > > Cygwin Ports provides PHP packages. If you have further questions > about Ports packages, please be sure to use the cygwin-ports-general > list. Are you on an advertising campaign today? :-) Thanks for the info. -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
openssl hanging on
I quite often notice that when I try to close gnus, which is using (several instances of) openssl, it appears to hang. Today I for some reason got so ed off with it, I started closing the processes I thought belonged to it, starting with the openssl ones. As soon as I closed the last one, gnus closed normally (AFAICT) and I was back in normal emacs. I've had the same experience deliberately since then. Is it just me, or do others notice this as well? -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: ssh error
Andrew DeFaria wrote: > Am I getting through? Can somebody > at least say "Yes we've seen your post but don't have a response yet"? /me waits for flood of responses, clogging up the ml (Or, IOW: I, at least, have seen your post, but I can't help you. Sorry.) -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: missing dependency in setup.ini
Paul McFerrin wrote: > Here is my useage: > > /c/cygwin/updates.$ man sort > /bin/sh: /usr/bin/gunzip: No such file or directory > fgets: No such file or directory > Error reading man page /usr/share/man/man1/sort.1.gz > No manual entry for sort I saw something similar the other day (can't remember if it was gunzip related) but when I tried again it worked. That is $ man whatev-er-it-was (error) $ man whatev-er-it-was (man page displayed) It was so odd that I put it down to sun spot activity. I mean... either it's there or it's not, right? -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Some key binding in Emacs not properly work in mintty.
Andy Koppe wrote: > Yet there's no obvious reason why this shouldn't work in xterm and > mintty. The Shift-Up keycode follows the same pattern as the ones for > the other Shift-Arrow combinations. This suggests a configuration > problem, or perhaps a terminfo issue. Unfortunately I don't know > enough about emacs to try to diagnose this. See if it still happens when you start emacs with 'emacs -Q -q' (doesn't load any config files). If it doesn't happen any more, it's an emacs config issue and you go through a long process of excluding different parts of your config until you find it :) -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: CygWin Security & Performance Issues
Christopher Faylor wrote: > On Thu, Aug 12, 2010 at 10:17:44PM +0200, DaveLaw wrote: >>Maybe the co-leader of the project should channel her efforts into just >>that, rather than getting peoples backs up with unnecessary nitpicking >>about how she thinks they should structure their emails. > > Welcome to the cygwin mailing list deny list. > > Any other takers? "Takers" as in "take him out the back and shoot him"? I'd say that's a *bit* mean, even for you... -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
SSHD Issue Windows 2003 64 bit
I'm having issues getting SSHD working on Windows Server 2003 64 bit. I've properly installed SSHD as a service but I receive the following error when starting the service from 'services.msc': 'The SSHD service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, The Performance Logs and Alerts service'. Also when I execute the following 'net start sshd' from the cygwin terminal I receive the following: 'The SSHD service is starting. The SSHD service could not be started. The service did not report an error'. Anything would help, thanks! - Gary -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
The logs specify: /var/empty must be owned by root and not group or world-writable. I've tried changing permissions, and also looking on the forums for this {http://cygwin.com/ml/cygwin/2008-02/msg00429.html} I still can't figure it out. Let me know, thanks! On Tue, Aug 9, 2011 at 10:27 PM, Csaba Raduly wrote: > On Tue, Aug 9, 2011 at 10:47 PM, Gary wrote: >> I'm having issues getting SSHD working on Windows Server 2003 64 bit. >> I've properly installed SSHD as a service but I receive the following >> error when starting the service from 'services.msc': >> 'The SSHD service on Local Computer started and then stopped. Some >> services stop automatically if they have no work to do, for example, >> The Performance Logs and Alerts service'. >> >> Also when I execute the following 'net start sshd' from the cygwin >> terminal I receive the following: >> 'The SSHD service is starting. The SSHD service could not be started. >> The service did not report an error'. >> >> Anything would help, thanks! > > You need to check the event log (application and/or system). > > Csaba > -- > GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ > The Tao of math: The numbers you can count are not the real numbers. > Life is complex, with real and imaginary parts. > "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus > Torvalds > "People disagree with me. I just ignore them." -- Linus Torvalds > -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
http://cygwin.com/ml/cygwin/2008-02/msg00429.html (ignore the {}) On Wed, Aug 10, 2011 at 3:59 PM, Gary wrote: > The logs specify: > /var/empty must be owned by root and not group or world-writable. > > I've tried changing permissions, and also looking on the forums for > this {http://cygwin.com/ml/cygwin/2008-02/msg00429.html} I still can't > figure it out. Let me know, thanks! > > On Tue, Aug 9, 2011 at 10:27 PM, Csaba Raduly wrote: >> On Tue, Aug 9, 2011 at 10:47 PM, Gary wrote: >>> I'm having issues getting SSHD working on Windows Server 2003 64 bit. >>> I've properly installed SSHD as a service but I receive the following >>> error when starting the service from 'services.msc': >>> 'The SSHD service on Local Computer started and then stopped. Some >>> services stop automatically if they have no work to do, for example, >>> The Performance Logs and Alerts service'. >>> >>> Also when I execute the following 'net start sshd' from the cygwin >>> terminal I receive the following: >>> 'The SSHD service is starting. The SSHD service could not be started. >>> The service did not report an error'. >>> >>> Anything would help, thanks! >> >> You need to check the event log (application and/or system). >> >> Csaba >> -- >> GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ >> The Tao of math: The numbers you can count are not the real numbers. >> Life is complex, with real and imaginary parts. >> "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus >> Torvalds >> "People disagree with me. I just ignore them." -- Linus Torvalds >> > > > > -- > Gary Phelps > -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
I've attempted chmod from the terminal and to change the permissions through the standard UI. I've attempted to chown to "SYSTEM", but the user does not exist. Here ar e the permission settings for the /var/empty folder: bash-4.1$ getfacl empty # file: empty # owner: Administrator # group: mkpasswd user::rwx group::r-x mask:rwx other:r-x default:user::rwx default:user:Administrator:rwx default:group::r-x default:mask:rwx default:other:r-x On Thu, Aug 11, 2011 at 1:15 AM, Thorsten Kampe wrote: > * Gary (Wed, 10 Aug 2011 15:59:14 -0700) >> The logs specify: /var/empty must be owned by root and not group or >> world-writable. > > That's pretty clear, isn't it? > >> I've tried changing permissions, > > What exactly did you try? > >> and also looking on the forums for this >> {http://cygwin.com/ml/cygwin/2008-02/msg00429.html} I still can't >> figure it out. > > Changing ownership is done with chown and permissions with chmod. > > Thorsten > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
I've tried re-running the 000-cygwin-post-install.sh & receive no echo from the terminal, I've moved the passwd file (from my understanding outside the directory before running the post-install). My passwd file looks like this: sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin I can't find a passwd-grp.sh script. What should my passwd file look like? On Thu, Aug 11, 2011 at 10:33 AM, Thorsten Kampe wrote: > * Gary (Thu, 11 Aug 2011 10:01:58 -0700) >> I've attempted chmod from the terminal and to change the permissions >> through the standard UI. > > Terminal is better. Try again "chmod 700 /var/empty". > >> I've attempted to chown to "SYSTEM", but the user does not exist. > > It should: > > % grep -i system /etc/passwd > SYSTEM:*:18:544:,S-1-5-18:: > > Try rerunning 000-cygwin-post-install.sh or passwd-grp.sh (move your > passwd file first). > > Thorsten > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
Created the passwd and group files from: /bin/mkpasswd -l -c > /etc/passwd /bin/mkgroup -> l -c > /etc/group passwd files looks good now, moved passwd file and re-ran ./000-cygwin-post-install.sh Still when I 'net start sshd' I still receive the same error, also when I try to re-instantiate the service in windows.. On Thu, Aug 11, 2011 at 11:53 AM, Thorsten Kampe wrote: > * Gary (Thu, 11 Aug 2011 11:25:04 -0700) >> I've tried re-running the 000-cygwin-post-install.sh & receive no echo >> from the terminal, I've moved the passwd file (from my understanding >> outside the directory before running the post-install). My passwd file >> looks like this: >> >> sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin >> >> I can't find a passwd-grp.sh script. > > Both files should actually be in /etc/postinstall and end in .sh.done > > Just try running "/bin/mkpasswd -l -c > /etc/passwd" and "/bin/mkgroup - > l -c > /etc/group" manually. > >> What should my passwd file look like? > > On a Windows 7 non domain machine like this for instance (mind you, line > breaks and I don't run sshd as service on my machine): > SYSTEM:*:18:544:,S-1-5-18:: > LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: > NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: > Administrators:*:544:544:,S-1-5-32-544:: > Administrator:unused:500:513:U-hombre\Administrator,S-1-5-21-252259350- > 3027294242-313109463-500:/home/Administrator:/bin/bash > Guest:unused:501:513:U-hombre\Guest,S-1-5-21-252259350-3027294242- > 313109463-501:/home/Guest:/bin/bash > HomeGroupUser$:unused:1002:513:HomeGroupUser$,U-hombre\HomeGroupUser$,S- > 1-5-21-252259350-3027294242-313109463-1002:/home/HomeGroupUser > $:/bin/bash > thorsten:unused:1001:513:U-hombre\thorsten,S-1-5-21-252259350- > 3027294242-313109463-1001:/home/thorsten:/bin/bash > __vmware_user__:unused:1004:513:__vmware_user__,U-hombre > \__vmware_user__,S-1-5-21-252259350-3027294242-313109463-1004:/home/ > __vmware_user__:/bin/bash > > > Thorsten > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
Yeah that was a typo.. So my /etc/passwd & /etc/group file both have the SYSTEM in them: SYSTEM:S-1-5-18:18: - Group SYSTEM:*:18:544:,S-1-5-18:: - passwd Whenever I run 'ssh-host-config' I receive no echo from the terminal, & I don't see 'cyg_srv' anywhere in my passwd file below: SYSTEM:*:18:544:,S-1-5-18:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused_by_nt/2000/xp:500:513:U-XEN-VM64\Administrator,S-1-5-21-693619687-569673921-3156715980-500:/home/Administrator:/bin/switch Guest:unused_by_nt/2000/xp:501:513:U-XEN-VM64\Guest,S-1-5-21-693619687-569673921-3156715980-501:/home/Guest:/bin/switch scadmin:unused_by_nt/2000/xp:1006:513:scadmin,U-XEN-VM64\scadmin,S-1-5-21-693619687-569673921-3156715980-1006:/home/scadmin:/bin/switch SUPPORT_388945a0:unused_by_nt/2000/xp:1001:513:CN=Microsoft Corporation,L=Redmond,S=Washington,C=US,U-XEN-VM64\SUPPORT_388945a0,S-1-5-21-693619687-569673921-3156715980-1001:/home/SUPPORT_388945a0:/bin/switch On Thu, Aug 11, 2011 at 2:33 PM, Gary wrote: > Created the passwd and group files from: > /bin/mkpasswd -l -c > /etc/passwd > /bin/mkgroup -> l -c > /etc/group > > passwd files looks good now, moved passwd file and re-ran > ./000-cygwin-post-install.sh > > Still when I 'net start sshd' I still receive the same error, also > when I try to re-instantiate the service in windows.. > > On Thu, Aug 11, 2011 at 11:53 AM, Thorsten Kampe > wrote: >> * Gary (Thu, 11 Aug 2011 11:25:04 -0700) >>> I've tried re-running the 000-cygwin-post-install.sh & receive no echo >>> from the terminal, I've moved the passwd file (from my understanding >>> outside the directory before running the post-install). My passwd file >>> looks like this: >>> >>> sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin >>> >>> I can't find a passwd-grp.sh script. >> >> Both files should actually be in /etc/postinstall and end in .sh.done >> >> Just try running "/bin/mkpasswd -l -c > /etc/passwd" and "/bin/mkgroup - >> l -c > /etc/group" manually. >> >>> What should my passwd file look like? >> >> On a Windows 7 non domain machine like this for instance (mind you, line >> breaks and I don't run sshd as service on my machine): >> SYSTEM:*:18:544:,S-1-5-18:: >> LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: >> NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: >> Administrators:*:544:544:,S-1-5-32-544:: >> Administrator:unused:500:513:U-hombre\Administrator,S-1-5-21-252259350- >> 3027294242-313109463-500:/home/Administrator:/bin/bash >> Guest:unused:501:513:U-hombre\Guest,S-1-5-21-252259350-3027294242- >> 313109463-501:/home/Guest:/bin/bash >> HomeGroupUser$:unused:1002:513:HomeGroupUser$,U-hombre\HomeGroupUser$,S- >> 1-5-21-252259350-3027294242-313109463-1002:/home/HomeGroupUser >> $:/bin/bash >> thorsten:unused:1001:513:U-hombre\thorsten,S-1-5-21-252259350- >> 3027294242-313109463-1001:/home/thorsten:/bin/bash >> __vmware_user__:unused:1004:513:__vmware_user__,U-hombre >> \__vmware_user__,S-1-5-21-252259350-3027294242-313109463-1004:/home/ >> __vmware_user__:/bin/bash >> >> >> Thorsten >> >> >> -- >> Problem reports: http://cygwin.com/problems.html >> FAQ: http://cygwin.com/faq/ >> Documentation: http://cygwin.com/docs.html >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> >> > > > > -- > Gary Phelps > -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
Any ideas? On Fri, Aug 12, 2011 at 2:54 PM, Gary wrote: > Yeah that was a typo.. So my /etc/passwd & /etc/group file both have > the SYSTEM in them: > SYSTEM:S-1-5-18:18: - Group > SYSTEM:*:18:544:,S-1-5-18:: - passwd > > Whenever I run 'ssh-host-config' I receive no echo from the terminal, > & I don't see 'cyg_srv' anywhere in my passwd file below: > > SYSTEM:*:18:544:,S-1-5-18:: > Administrators:*:544:544:,S-1-5-32-544:: > Administrator:unused_by_nt/2000/xp:500:513:U-XEN-VM64\Administrator,S-1-5-21-693619687-569673921-3156715980-500:/home/Administrator:/bin/switch > Guest:unused_by_nt/2000/xp:501:513:U-XEN-VM64\Guest,S-1-5-21-693619687-569673921-3156715980-501:/home/Guest:/bin/switch > scadmin:unused_by_nt/2000/xp:1006:513:scadmin,U-XEN-VM64\scadmin,S-1-5-21-693619687-569673921-3156715980-1006:/home/scadmin:/bin/switch > SUPPORT_388945a0:unused_by_nt/2000/xp:1001:513:CN=Microsoft > Corporation,L=Redmond,S=Washington,C=US,U-XEN-VM64\SUPPORT_388945a0,S-1-5-21-693619687-569673921-3156715980-1001:/home/SUPPORT_388945a0:/bin/switch > > On Thu, Aug 11, 2011 at 2:33 PM, Gary wrote: >> Created the passwd and group files from: >> /bin/mkpasswd -l -c > /etc/passwd >> /bin/mkgroup -> l -c > /etc/group >> >> passwd files looks good now, moved passwd file and re-ran >> ./000-cygwin-post-install.sh >> >> Still when I 'net start sshd' I still receive the same error, also >> when I try to re-instantiate the service in windows.. >> >> On Thu, Aug 11, 2011 at 11:53 AM, Thorsten Kampe >> wrote: >>> * Gary (Thu, 11 Aug 2011 11:25:04 -0700) >>>> I've tried re-running the 000-cygwin-post-install.sh & receive no echo >>>> from the terminal, I've moved the passwd file (from my understanding >>>> outside the directory before running the post-install). My passwd file >>>> looks like this: >>>> >>>> sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin >>>> >>>> I can't find a passwd-grp.sh script. >>> >>> Both files should actually be in /etc/postinstall and end in .sh.done >>> >>> Just try running "/bin/mkpasswd -l -c > /etc/passwd" and "/bin/mkgroup - >>> l -c > /etc/group" manually. >>> >>>> What should my passwd file look like? >>> >>> On a Windows 7 non domain machine like this for instance (mind you, line >>> breaks and I don't run sshd as service on my machine): >>> SYSTEM:*:18:544:,S-1-5-18:: >>> LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: >>> NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: >>> Administrators:*:544:544:,S-1-5-32-544:: >>> Administrator:unused:500:513:U-hombre\Administrator,S-1-5-21-252259350- >>> 3027294242-313109463-500:/home/Administrator:/bin/bash >>> Guest:unused:501:513:U-hombre\Guest,S-1-5-21-252259350-3027294242- >>> 313109463-501:/home/Guest:/bin/bash >>> HomeGroupUser$:unused:1002:513:HomeGroupUser$,U-hombre\HomeGroupUser$,S- >>> 1-5-21-252259350-3027294242-313109463-1002:/home/HomeGroupUser >>> $:/bin/bash >>> thorsten:unused:1001:513:U-hombre\thorsten,S-1-5-21-252259350- >>> 3027294242-313109463-1001:/home/thorsten:/bin/bash >>> __vmware_user__:unused:1004:513:__vmware_user__,U-hombre >>> \__vmware_user__,S-1-5-21-252259350-3027294242-313109463-1004:/home/ >>> __vmware_user__:/bin/bash >>> >>> >>> Thorsten >>> >>> >>> -- >>> Problem reports: http://cygwin.com/problems.html >>> FAQ: http://cygwin.com/faq/ >>> Documentation: http://cygwin.com/docs.html >>> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >>> >>> >> >> >> >> -- >> Gary Phelps >> > > > > -- > Gary Phelps > -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: failure notice
Yup, that's the output I get on my 32-bit windows machine, I'm not seeing any value in environment for 'TERM'. Are you referring to PATH? %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\cygwin\bin;c:\cygwin\usr\bin;c:\cygwin\sbin;c:\cygwin\usr\sbin;C:\Program Files (x86)\OpenSSH\bin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
Yup, that's the output I get on my 32-bit windows machine, I'm not seeing any value in environment for 'TERM'. Are you referring to PATH? %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\cygwin\bin;c:\cygwin\usr\bin;c:\cygwin\sbin;c:\cygwin\usr\sbin;C:\Program Files (x86)\OpenSSH\bin On Tue, Aug 9, 2011 at 1:47 PM, Gary wrote: > I'm having issues getting SSHD working on Windows Server 2003 64 bit. > I've properly installed SSHD as a service but I receive the following > error when starting the service from 'services.msc': > 'The SSHD service on Local Computer started and then stopped. Some > services stop automatically if they have no work to do, for example, > The Performance Logs and Alerts service'. > > Also when I execute the following 'net start sshd' from the cygwin > terminal I receive the following: > 'The SSHD service is starting. The SSHD service could not be started. > The service did not report an error'. > > Anything would help, thanks! > > > - Gary > -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
Sounds good I'll take those steps; In the meantime my cygwin.bat file looks like this: [at]echo off (note: at sign removed because it was causing false positives on an email filter) CYGWIN=binmode tty ntsec C: chdir C:\Cygwin\bin bash --login -i -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
I've re-installed cygwin on a fresh virtual machine (offline install) and have tried running: 'ssh-host-config' -- still no echo from the terminal 'cygrunsrv -S sshd' -- cygrunsrv: Error starting a service:OpenService: Win32 error 1060:The specified service does not exist as an installed service. 'net start sshd' -- the service name is invalid. More help is available by typing NET HELPMSG 2185. My environment variables below: Variable:Home Value: C:\ Variable: Path Value: C:\cygwin\bin Variable:TEMP Value: %USERPROFILE%\Local Settings\Temp Variable:TMP Value: %USERPROFILE%\Local Settings\Temp I have re-created the passwd file and group file via our previous conversations. What other steps could I take to ensure SSHD to run as a service on Windows Server 2003 r2 64bit? Any other ideas? > On 8/16/2011 6:25 PM, Gary wrote: >> >> Sounds good I'll take those steps; >> >> In the meantime my cygwin.bat file looks like this: >> [at]echo off (note: at sign removed because it was causing false >> positives on an email filter) >> CYGWIN=binmode tty ntsec >> C: >> chdir C:\Cygwin\bin >> >> bash --login -i > > FWIW, you don't need any of the values you've added to the CYGWIN > environment variable. They are all deprecated or will be in the cygwin > 1.7.10 package. Their existence, however, should not cause any problems. > > -- > Larry > > _ > > A: Yes. >> Q: Are you sure? >>> A: Because it reverses the logical flow of conversation. >>>> Q: Why is top posting annoying in email? > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
I've re-installed cygwin on a fresh virtual machine (offline install) and have tried running: 'ssh-host-config' -- still no echo from the terminal 'cygrunsrv -S sshd' -- cygrunsrv: Error starting a service: OpenService: Win32 error 1060:The specified service does not exist as an installed service. 'net start sshd' -- The service name is invalid. More help is available by typing NET HELPMSG 2185. My environment variables below: Variable:Home Value: C:\ Variable: Path Value: C:\cygwin\bin Variable:TEMP Value: %USERPROFILE%\Local Settings\Temp Variable:TMP Value: %USERPROFILE%\Local Settings\Temp I have re-created the passwd file and group file via our previous conversations. What other steps could I take to ensure SSHD to run as a service on Windows Server 2003 r2 64bit? Any other ideas? > On 8/16/2011 6:25 PM, Gary wrote: >> >> Sounds good I'll take those steps; >> >> In the meantime my cygwin.bat file looks like this: >> [at]echo off (note: at sign removed because it was causing false >> positives on an email filter) >> CYGWIN=binmode tty ntsec >> C: >> chdir C:\Cygwin\bin >> >> bash --login -i > > FWIW, you don't need any of the values you've added to the CYGWIN > environment variable. They are all deprecated or will be in the cygwin > 1.7.10 package. Their existence, however, should not cause any problems. > > -- > Larry -- Gary Phelps -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: SSHD Issue Windows 2003 64 bit
Doing a 'set -x' in my terminal window only outputted: '+ssh-host-config' with no other information. Here is the actual "path" value inside the 'path' variable in my case: C:\Perl\site\bin;C:\Perl\bin;C:\Program Files (x86)\Support Tools\;C:\Program Files (x86)\Windows Resource Kits\Tools\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;c:\Program Files (x86)\Java\jre6\bin;C:\usr\bin Attached is the cygcheck.out ran by "cygcheck -s -v -r > cygcheck.out". There is a warning stating that there are multiple cygwin1.dll files in my path, I check and there are only one after grepping it out: -rwxr-xr-x 1 Administrator Administrators 2666500 Mar 29 08:11 cygwin1.dll Thanks for your help! > On 8/19/2011 5:53 PM, Gary wrote: >> >> I've re-installed cygwin on a fresh virtual machine (offline install) >> and have tried running: >> 'ssh-host-config' -- still no echo from the terminal > > Typing 'set -x' into the 'bash' shell before running the above might provide > some helpful debugging feedback info for you. > >> 'cygrunsrv -S sshd' -- cygrunsrv: Error starting a >> service:OpenService: Win32 error 1060:The specified service does not >> exist as an installed service. >> 'net start sshd' -- the service name is invalid. More help is >> available by typing NET HELPMSG 2185. > > Not surprising since 'ssh-host-config' didn't run/run correctly. > >> My environment variables below: >> Variable:Home >> Value: C:\ > > Remove HOME. You don't need it. > >> Variable: Path >> Value: C:\cygwin\bin > > You should have a little more than just this. Windows system paths should > also be in there. Did you edit the path? > >> Variable:TEMP >> Value: %USERPROFILE%\Local Settings\Temp >> Variable:TMP >> Value: %USERPROFILE%\Local Settings\Temp > > Remove these. > >> I have re-created the passwd file and group file via our previous >> conversations. What other steps could I take to ensure SSHD to run as >> a service on Windows Server 2003 r2 64bit? Any other ideas? > > I don't have time to check through the archives to see if we've been > over this route but it seems to me like we need to look at your > configuration. Read and follow the instructions found at this link: > > <http://cygwin.com/problems.html> > > -- > Larry > > _ > -- Gary Phelps Cygwin Configuration Diagnostics Current System Time: Mon Aug 22 10:03:58 2011 Windows 2003 Server R2 Enterprise Edition Ver 5.2 Build 3790 Service Pack 2 Running under WOW64 on AMD64 Running in Terminal Service session Path: C:\Perl\site\bin C:\Perl\bin C:\Program Files (x86)\Support Tools\ C:\Program Files (x86)\Windows Resource Kits\Tools\ C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\system32\WBEM c:\Program Files (x86)\Java\jre6\bin C:\usr\bin C:\cygwin\bin Output from C:\cygwin\bin\id.exe UID: 500(Administrator) GID: 513(None) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS PWD = '/usr/bin' HOME = '/cygdrive/c' HOMEPATH = '\Documents and Settings\Administrator' APPDATA = 'C:\Documents and Settings\Administrator\Application Data' ProgramW6432 = 'C:\Program Files' TERM = 'cygwin' PROCESSOR_IDENTIFIER = 'EM64T Family 6 Model 44 Stepping 2, GenuineIntel' WINDIR = 'C:\WINDOWS' USERDOMAIN = 'XEN-WIN32R2' CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' TEMP = '/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/1' COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files' USERNAME = 'Administrator' ClusterLog = 'C:\WINDOWS\Cluster\cluster.log' PROCESSOR_LEVEL = '6' ProgramFiles(x86) = 'C:\Program Files (x86)' FP_NO_HOST_CHECK = 'NO' SYSTEMDRIVE = 'C:' PROCESSOR_ARCHITEW6432 = 'AMD64' USERPROFILE = 'C:\Documents and Settings\Administrator' CLIENTNAME = 'GPHELPS-T400' LOGONSERVER = '\\XEN-WIN32R2' CommonProgramW6432 = 'C:\Program Files\Common Files' PROCESSOR_ARCHITECTURE = 'x86' !C: = 'C:\cygwin\bin' SHLVL = '1' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' HOMEDRIVE = 'C:' PROMPT = '$P$G' COMSPEC = 'C:\WINDOWS\system32\cmd.exe' TMP = '/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/1' SYSTEMROOT =
Re: SSHD Issue Windows 2003 64 bit
Isn't openssh necessary to run 'ssh-host-config'? I've re-installed a fresh instance of cygwin without openssh (only cygrunsrv). Attached is the output from cygcheck. > On 8/22/2011 1:12 PM, Gary wrote: >> >> Doing a 'set -x' in my terminal window only outputted: >> '+ssh-host-config' with no other information. >> >> Here is the actual "path" value inside the 'path' variable in my case: >> C:\Perl\site\bin;C:\Perl\bin;C:\Program Files (x86)\Support >> Tools\;C:\Program Files (x86)\Windows Resource >> >> Kits\Tools\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;c:\Program >> Files (x86)\Java\jre6\bin;C:\usr\bin >> >> Attached is the cygcheck.out ran by "cygcheck -s -v -r> >> cygcheck.out". There is a warning stating that there are multiple >> cygwin1.dll files in my path, I check and there are only one after >> grepping it out: >> -rwxr-xr-x 1 Administrator Administrators 2666500 Mar 29 08:11 cygwin1.dll >> >> Thanks for your help! > > There's a few things here that you should clean-up: > > * Your path points to a non-Cygwin perl. Please either remove that > installation or remove the install directory from your path. > * You have installed Cygwin multiple times on this machine. Can > you create a new installation where you only install Cygwin once? > * OpenSSH is one of these installations. You are virtually guaranteed > of a non-working 'sshd' if you install this 3rd party app. If > you want to use Cygwin's 'sshd', don't install OpenSSH. If you > prefer to use OpenSSH, install it and not Cygwin's 'openssh' package. > Better yet, don't install Cygwin at all in this case. > > > -- > Larry -- Gary Phelps Cygwin Configuration Diagnostics Current System Time: Tue Aug 23 11:50:39 2011 Windows 2003 Server R2 Enterprise Edition Ver 5.2 Build 3790 Service Pack 2 Running under WOW64 on AMD64 Running in Terminal Service session Path: C:\Perl\site\bin C:\Perl\bin C:\Program Files (x86)\Support Tools\ C:\Program Files (x86)\Windows Resource Kits\Tools\ C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\system32\WBEM c:\Program Files (x86)\Java\jre6\bin C:\usr\bin C:\cygwin\bin Output from C:\cygwin\bin\id.exe UID: 400(Administrator) GID: 401(mkpasswd) 401(mkpasswd) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS PWD = '/usr/sbin' HOME = '/home/Administrator' HOMEPATH = '\Documents and Settings\Administrator' APPDATA = 'C:\Documents and Settings\Administrator\Application Data' ProgramW6432 = 'C:\Program Files' TERM = 'cygwin' PROCESSOR_IDENTIFIER = 'EM64T Family 6 Model 44 Stepping 2, GenuineIntel' WINDIR = 'C:\WINDOWS' USERDOMAIN = 'XEN-WIN32R2' CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' TEMP = '/cygdrive/c/WINDOWS/TEMP/1' COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files' USERNAME = 'Administrator' ClusterLog = 'C:\WINDOWS\Cluster\cluster.log' PROCESSOR_LEVEL = '6' ProgramFiles(x86) = 'C:\Program Files (x86)' FP_NO_HOST_CHECK = 'NO' SYSTEMDRIVE = 'C:' PROCESSOR_ARCHITEW6432 = 'AMD64' USERPROFILE = 'C:\Documents and Settings\Administrator' CLIENTNAME = 'GPHELPS-T400' LOGONSERVER = '\\XEN-WIN32R2' CommonProgramW6432 = 'C:\Program Files\Common Files' PROCESSOR_ARCHITECTURE = 'x86' !C: = 'C:\cygwin\bin' SHLVL = '1' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' HOMEDRIVE = 'C:' PROMPT = '$P$G' COMSPEC = 'C:\WINDOWS\system32\cmd.exe' TMP = '/cygdrive/c/WINDOWS/TEMP/1' SYSTEMROOT = 'C:\WINDOWS' PROCESSOR_REVISION = '2c02' PROGRAMFILES = 'C:\Program Files (x86)' NUMBER_OF_PROCESSORS = '7' SESSIONNAME = 'RDP-Tcp#1' COMPUTERNAME = 'XEN-WIN32R2' _ = '/usr/bin/cygcheck' OLDPWD = '/usr/bin' HKEY_CURRENT_USER\Software\Cygwin HKEY_CURRENT_USER\Software\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygwin\setup HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs\Cygwin (default) = (unsupported type) HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations (default) = '\??\C:\cygwin' HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup (default) = 'C:\cygwin' obcaseinsensitive set
Bash cut and paste
Hi, Could somebody point me to something that will allow me to setup Bash cut and paste to the Windows Ctrl+C, Ctrl+V set? (or something near that) I've checked the faq but I guess the terms I'm using to search are wrong. Thanks Gary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Perl has caused an error in CWD.DLL
Perl has caused an error in IO.DLL Perl has caused an error in FCNTL.DLL Building Mozilla Example (of many examples) sh /cygdrive/c/mozilla/build/cygwin-wrapper c:/moztools/bin/nsinstall -m 755 cap s.dll ../../dist/bin/components: ../../dist/bin/components/caps.dll Any Workarounds for this problem? It has been reported by a few other users, they built from scratch, increase environment space for the DOS box and as far as I can tell, still got the same error. = Cygwin Win95/NT Configuration Diagnostics Current System Time: Thu Jun 05 20:55:55 2003 Windows ME Ver 4.90 Build 3000 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\MOZTOOLS\BIN C:\cygwin\bin c:\PROGRA~1\MICROS~2\COMMON\MSDEV98\BIN c:\PROGRA~1\MICROS~2\VC98\BIN c:\PROGRA~1\MICROS~2\COMMON\TOOLS\WIN95 c:\PROGRA~1\MICROS~2\COMMON\TOOLS c:\WINDOWS\SYSTEM c:\TCL\BIN c:\WINDOWS\COMMAND c:\WINDOWS c:\JDK1.3\BIN . C:\cygwin\bin\id.exe output (nontsec) UID: 42410(amdj) GID: 544(all) 544(all) C:\cygwin\bin\id.exe output (ntsec) UID: 42410(amdj) GID: 544(all) 544(all) SysDir: C:\WINDOWS\SYSTEM WinDir: C:\WINDOWS HOME = `c:\' MAKE_MODE = `unix' PWD = `/cygdrive/c' USER = `amdj' BLASTER = `A220 I7 D1 H5 P330 T6' CMDLINE = `bash --login -i' COMSPEC = `C:\Windows\Command.com' HOMEDRIVE = `C:' HOMEPATH = `\cygwin\home\amdj' INCLUDE = `C:\PROGRA~1\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~2\VC98\INCLUDE;C:\ PROGRA~1\MICROS~2\VC98\MFC\INCLUDE;' LIB = `C:\PROGRA~1\MICROS~2\VC98\LIB;C:\PROGRA~1\MICROS~2\VC98\MFC\LIB;' MOZCONFIG = `c:\mozilla\mozconfig.txt' MOZ_TOOLS = `C:\moztools' MSDEVDIR = `C:\PROGRA~1\MICROS~2\COMMON\msdev98' MSVCDIR = `C:\PROGRA~1\MICROS~2\VC98' OLDPWD = `/usr/bin' PROMPT = `$p$g' PS1 = `\[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] $ ' SHLVL = `1' TEMP = `c:\WINDOWS\TEMP' TERM = `cygwin' TMP = `c:\WINDOWS\TEMP' WINBOOTDIR = `C:\WINDOWS' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `\\.\tape1:' unix = `/dev/st1' fbinary = 0x fsilent = 0x0001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 (default) = `\\.\tape0:' unix = `/dev/st0' fbinary = 0x fsilent = 0x0001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 (default) = `\\.\b:' unix = `/dev/fd1' fbinary = 0x fsilent = 0x0001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 (default) = `\\.\a:' unix = `/dev/fd0' fbinary = 0x fsilent = 0x0001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 (default) = `C:' unix = `/' fbinary = 0x fsilent = 0x HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
repost - starting apache - libphp4 error
Hi all, I'm still having this problem, has anyone got any ideas: -- Forwarded Message -- Subject: starting apache - libphp4 error Date: Wed, 6 Nov 2002 14:14:14 + Hi all, I'm trying to start apache for the first time and I'm getting the following error. I've had a look in the archives and found a thread about a similar problem (same conditions, different Win32 error number) which talks about using rebase. I've looked into rebase and I'm totally list. Here's the output gary@ladvent ~ $ /usr/sbin/apachectl start Syntax error on line 236 of /etc/apache/httpd.conf: Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 error 31 /usr/sbin/apachectl start: httpd could not be started. gary@ladvent ~ $ I'm running on an Advent 5372 laptop running WinME with 128MB RAM and 3GB free. apache 1.3.224-5 mod_php 4.2.0-1 -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 --- -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
3rd time lucky? Apache startup woes
Hi all, I've not received any replies to this one yet. Can anyone help, or at least point me at some resources that may. I'm getting a bit desperate now cos I've got to get this working by Sunday so I can do a demo at the AGM of a charity I'm involved in, so clear simple instructions that even I can understand would be appreciated. Gary -- Forwarded Message -- Subject: starting apache - libphp4 error Date: Wed, 6 Nov 2002 14:14:14 + Hi all, I'm trying to start apache for the first time and I'm getting the following error. I've had a look in the archives and found a thread about a similar problem (same conditions, different Win32 error number) which talks about using rebase. I've looked into rebase and I'm totally list. Here's the output gary@ladvent ~ $ /usr/sbin/apachectl start Syntax error on line 236 of /etc/apache/httpd.conf: Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 error 31 /usr/sbin/apachectl start: httpd could not be started. gary@ladvent ~ $ I'm running on an Advent 5372 laptop running WinME with 128MB RAM and 3GB free. apache 1.3.224-5 mod_php 4.2.0-1 -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 --- -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --- -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: 3rd time lucky? Apache startup woes
On Thursday 14 Nov 2002 5:10 pm, Stipe Tolj wrote: > Gary Stainburn wrote: [snip] > > > > apache 1.3.224-5 > > mod_php 4.2.0-1 > > the Win32 error 31 means: some device could bot be found in your > system. > > Are you sure it's not the rebase issue?! Please check > /usr/doc/Cygwin/php-4.2.0-1.README for more information on how to > rebase depending DLLs to make php work on your system. > > Stipe Hi Stipe, I'd not looked in the PHP README, just the apache one. However, having looked at the file, it simply says to refer to the Cygwin Mailing list for instructions. I've had a look at the archives and found many references to rebase, but can't sus out exactly what I need to do - how to find out what params to pass to rebase etc. Anyone got a link to a good reference I could read? Gary > > [EMAIL PROTECTED] > --- > Wapme Systems AG > > Vogelsanger Weg 80 > 40470 Düsseldorf > > Tel: +49-211-74845-0 > Fax: +49-211-74845-299 > > E-Mail: [EMAIL PROTECTED] > Internet: http://www.wapme-systems.de > --- > wapme.net - wherever you are -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/