RE: Possible bug in pgrep (procps)

2006-07-17 Thread Matthew Woehlke
(http://cygwin.com/acronyms/#PPIOSPE) mwoehlke skrev: > Bengt-Arne Fjellner wrote: >> pgrep from procps-3.2.6-1 when asking for an exact match with >> arguments seems to demand an extra space after the argument. >> See the following sequence. >> >> No space after the f on the commandline $ emacs

FW: ssh and Microsoft compilers

2006-10-06 Thread Matthew Woehlke
Hi, Scott, http://cygwin.com/acronyms/#PPIOSPE "Posting on the mailing lists not only gives access to more expertise than any one person can provide, but also ensures that the questions and answers are archived on the web for future enlightenment seekers." Scott Lee wrote: > I see from http://www

Re: All Files and Directories on a Windows Fileserver Share Act Like Character Special Device

2006-10-11 Thread Matthew Woehlke
Long, Phillip GOSS wrote after the sig: (Posting so anyone else that wants to complain knows it's already been mentioned; my usual reason for yelling publicly :-).) FYI it's also good practice to remove signatures when you reply; it confuses "good" mailers if you don't: your reply becomes a ve

OT: tcsh and LS_COLORS (was: Problems with 'dircolors')

2006-10-12 Thread Matthew Woehlke
Eric Blake wrote: Oh, by the way, if you use tcsh, be aware that it also uses the LS_COLORS environment variable internally, but that it does not understand quite as many options as ls does and gripes about what it doesn't understand, which is why I had to patch the cygwin version of LS_COLORS to

Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1

2006-10-12 Thread Matthew Woehlke
Christopher Faylor wrote: On Thu, Oct 12, 2006 at 01:54:16PM +0200, Corinna Vinschen wrote: I think it is needed. At least the base-files-mketc.sh postinstall script creates paths which point outside the Cygwin root, so it either needs to reference cygdrive paths, or use DOS paths. Using cygdr

Re: shopt igncr not working

2006-10-12 Thread Matthew Woehlke
Rob Walker wrote: Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $ bash --version GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) Copyright (C) 20

Re: OT: tcsh and LS_COLORS

2006-10-13 Thread Matthew Woehlke
Corinna Vinschen wrote: On Oct 12 12:41, Matthew Woehlke wrote: Eric Blake wrote: Oh, by the way, if you use tcsh, be aware that it also uses the LS_COLORS environment variable internally, but that it does not understand quite as many options as ls does and gripes about what it doesn&#

Re: shopt igncr not working

2006-10-13 Thread Matthew Woehlke
Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Saying cygwin's bash wasn't designed to handle CRLF is a lot like saying that cygwin's bash (as previously released all these years) wasn't designed to work with the rest of Windows. This might actually be t

Re: Updated: OpenSSH-4.4p1-1

2006-10-13 Thread Matthew Woehlke
Charles Wilson wrote: Corinna Vinschen wrote: On Oct 11 16:20, Wells, Roger K. wrote: When I installed this my previous installation broke and now the sshd server stops immediately when it is started. Any hints will be appreciated. thanks Maybe that's it: http://cygwin.com/ml/cygwin/2006-10/

Re: shopt igncr not working

2006-10-13 Thread Matthew Woehlke
http://cygwin.com/acronyms/#PPIOSPE, thanks! Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Many, many other cross-platform products make allowances for CRLF (version control systems are a prime example) to maximize compatibility, and

Re: Can't preview postscript files under xdvi

2006-10-16 Thread Matthew Woehlke
Angelo Graziosi wrote: If Cygwin aims to reproduce Linux on Windows who installs Cygwin should also installs a minimum of X. I don't recall installing X being a prerequisite of a functional, useful Linux system. I regularly use Linux boxes for which my need for X is minimal-to-nonexistent.

Re: [ANNOUNCEMENT] Updated [experimental]: readline-5.2-2, libreadline6-5.2-2 (Problems ?)

2006-10-18 Thread Matthew Woehlke
Angelo Graziosi wrote: It seems that there is some problem with completion. I have the cygdrive prefix mounted to '/'. Bash 3.1-9 (I have not installed the package bash-completion) With the 'curr' version of these packages, 5.1-5, I can do $ ls -lrt /c/Do ls -lrt /c/Documents\ and\ Setting

Re: [ANNOUNCEMENT] Updated [experimental]: readline-5.2-2, libreadline6-5.2-2 (Problems ?)

2006-10-18 Thread Matthew Woehlke
Angelo Graziosi wrote: Matthew Woehlke wrote: Have you checked that this isn't a case sensitivity issue? Yes, it isn't. I confirm this http://cygwin.com/ml/cygwin/2006-10/msg00642.html. If I'm being blind/dense/otherwise stupid, you might want to leave the relevant part

Re: costly accurate link counts, Vista compat...(was Re: questions about excessive disk usage when doing tab completion)

2006-10-24 Thread Matthew Woehlke
Linda Walsh wrote: Of course Cygwin is already faster than MS's own POSIX subsystem; Such compatibility may be one reason why MS dropped future revisions of their Interix (POSIX) subsystem support. I wonder if it even runs on Vista? For that matter, anyone tried Cygwin to see if there are any

Re: How do I kill a grandchild process from shell program?

2006-10-24 Thread Matthew Woehlke
Jim Seymour wrote: I have two shell programs - one that launches the other in the background. The background one runs a utility program that (under normal circumstances) will shut down gracefully. However, if things don't work fine, the background process sticks around to plague me later.

Re: 1.5.21-1: CIFS symlinks on network share break Cygwin

2006-10-24 Thread Matthew Woehlke
Jonathan Lanier wrote: Also, because (I know the FAQ says not to say this, but I think it's useful information in this case) we have a much older version of Cygwin (cygcheck reports v1.5.14) that works flawlessly with CIFS and does not suffer the same problems. So, at the very least, it appears

Re: gcc and gnu make build in cygwin

2006-10-24 Thread Matthew Woehlke
ali azimizadeh wrote: Hello all, i want to build gcc on cygwin. Why do you want to build gcc when there are pre-built binaries available? the cygwin doesn't have gnu make i read the installation manual of gcc. Sure it does. Did you try installing 'make' when you ran setup.exe? (Hint: you c

Re: TOFU (was: 1.5.21-1: CIFS symlinks on network share break Cygwin)

2006-10-25 Thread Matthew Woehlke
DePriest, Jason R. wrote: On 10/24/06, Larry Hall (Cygwin) <> wrote: I'm not sure everyone is paying full attention here. again. Reformatted. The entry just defines TOFU: Text Over, Full-quote Under (or, in the original German, "Text Oben, Fullquote Unten").

Re: 1.5.21-1: CIFS symlinks on network share break Cygwin

2006-10-25 Thread Matthew Woehlke
Jonathan Lanier wrote: If anyone could direct me to an ftp or http archive of the older Cygwin distributions, it would be much appreciated. Thanks! See: http://www.google.com/search?hl=en&lr=&q=%22cygwin+time+machine%22&btnG=Search Particularly: http://www.fruitbat.org/Cygwin/index.html#cygwi

Re: 1.5.21-1: CIFS symlinks on network share break Cygwin

2006-10-25 Thread Matthew Woehlke
DePriest, Jason R. wrote: On 10/25/06, Larry Hall (Cygwin) <> wrote: Certainly this and quoting raw email addresses could be offered as guidelines in . Care to offer a patch? The "submitting a patch" guidelines seem to refer to program patches... since this is

Re: igncr vs text mode mounts, performance vs compatibility

2006-10-26 Thread Matthew Woehlke
Eric Blake wrote: There is also the possibility of making bash turn igncr on by default, but /bin/sh leaving it off, since only /bin/sh is specified by POSIX; but that also gives me the willies thinking about people who will complain why their script doesn't work when they change from #!/bin/bash

Re: Bash 3.1.17(8): Scripts on textmode mount get problems with CR characters

2006-10-27 Thread Matthew Woehlke
Long, Phillip GOSS wrote: U don't have d2u on all platforms, but U probably _do_ have awk or gawk on every platform. I came up with a simple fix for the CRLF problem when I encountered it, which is still klugy, but works on every POSIX or Cygwin platform: gawk '//' fileFromTextMount > fileWit

Re: Bash 3.1.17(8): Scripts on textmode mount get problems with CR characters

2006-10-27 Thread Matthew Woehlke
Buchbinder, Barry (NIH/NIAID) [E] wrote: on Friday, October 27, 2006 2:16 PM, Matthew Woehlke wrote: Long, Phillip GOSS wrote: U don't have d2u on all platforms, but U probably _do_ have awk or gawk on every platform. I came up with a simple fix for the CRLF problem when I encounter

Re: Changing Windows "hidden" and "system" attributes?

2006-10-30 Thread Matthew Woehlke
Lloyd Zusman wrote: Thorsten Kampe thorstenkampe.de> writes: Yes, I know that I could put a wrapper script around attrib to apply cygpath to the argument, to name but one of several ways to solve this. In fact, I have already done this, thereby making my own cygwin-compliant analog to attrib. P

Re: free NFS client for Cygwin and/or support for FUSE?

2006-10-31 Thread Matthew Woehlke
Ben Wing wrote: Is there a free NFS client anyone can recommend that works well with Cygwin? Define "well"... If you are on Win2k3 (not sure but you might need R2), there is an NFS client included as a Windows component (part of SUA). Otherwise you can use the one from SFU (Services for Unix

Re: Newbie questions: missing packages / script writing

2006-10-31 Thread Matthew Woehlke
[EMAIL PROTECTED] wrote: Leaving 'name' set to your e-mail address is an invitation to be spammed, ala http://cygwin.com/acronyms/#PCYMTNQREAIYR, since those of us whose mailers are configured correctly don't always bother to obfuscate addresses that senders leave in 'name'. Brian Dessent w

Re: Bash 3.1.9 and 3.2.4: igncr setting not effective for 'source'd files

2006-11-02 Thread Matthew Woehlke
Eric Blake wrote: And while I'm at it, maybe I will figure out how to name my release bash-3.1.3- 5, so that the bash patchlevel is included in the cygwin release number. I thought that was just a matter of what appears in setup.ini? (But maybe I am wrong...) -- Matthew $ kill bill kill: can

Re: Bash 3.1.9 and 3.2.4: igncr setting not effective for 'source'd files

2006-11-03 Thread Matthew Woehlke
Eric Blake wrote: According to Matthew Woehlke on 11/2/2006 2:23 PM: Eric Blake wrote: And while I'm at it, maybe I will figure out how to name my release bash-3.1.3-5, so that the bash patchlevel is included in the cygwin release number. I thought that was just a matter of what appea

Re: bash CR and backquotes trouble

2006-11-07 Thread Matthew Woehlke
Nicolas Roche wrote: Just one last question, when 3.2 is planned to be push in the mainstream (i.e not experimental) My understanding was "when it is 'more tested'", by Eric's definition thereof. I'm actually waiting for Eric to decide it is "stable and clean" before deploying 3.2 on my vario

Re: 3PP source code question (IANAL)

2006-11-07 Thread Matthew Woehlke
DePriest, Jason R. wrote: Are 3PPs that bundle an old version of cygwin1.dll required in any way to provide the source code of their app so that I can recompile it with a modern version of cygwin1.dll? IANALE,TYMSIEIAATS (http://cygwin.com/acronyms/#YANALATEYHSMBSI for a hint on decoding that)

Re: Mount command warning with latest cygwin1.dll snapshot

2006-11-07 Thread Matthew Woehlke
Karl M wrote: I just tried out the latest snapshot and my bat file to clean up my mounts now gives warning messages. The current released version of cygwin1.dll does not produce the warnings. Z:\>C:\Cygwin\bin\mount -f -s -b C:/Cygwin / cygwin warning: MS-DOS style path detected: Z:\ Preferr

Re: 1.5.21-1: sshd: "child_copy: linked dll data write copy failed" after computer reboot (Windows 2000 SP4)

2006-11-07 Thread Matthew Woehlke
Dan Harkless wrote: Double argh. After rebooting, I found sshd wasn't running at all. Looking at /var/log/sshd.log, I found a ton of: C:\cygwin\usr\sbin\sshd.exe (1584): *** proc magic mismatch detected - 0x704D1F7E/0xD079E02. This problem is probably due to using incompatible versions of t

Re: Mount command warning with latest cygwin1.dll snapshot

2006-11-07 Thread Matthew Woehlke
Karl M wrote: Matthew Woehlke wrote: Karl M wrote: I just tried out the latest snapshot and my bat file to clean up my mounts now gives warning messages. The current released version of cygwin1.dll does not produce the warnings. Z:\>C:\Cygwin\bin\mount -f -s -b C:/Cygwin / cygwin warn

Re: bash does not retain env when running script

2006-11-14 Thread Matthew Woehlke
Arto Stimms wrote: I would like to run a bash script with a few changes in the environment. I would expect this to work: [snip] As a small example I have tried using these two minimal files init.sh: hello () { echo "hello world"; } alias listdir=ls script: hello listdir I get

Re: cygwin-1.5.22-1 -> cygwin1.dll.new, not cygwin1.dll

2006-11-14 Thread Matthew Woehlke
Larry Hall (Cygwin) wrote: Lester Ingber wrote: I just used setup.exe to upgrade to cygwin-1.5.22-1. I rebooted, and I got a error that cygwin1.dll could not be found. Under Windows Explorer I saw /bin/cygwin1.dll.new (no other cygwin1.dll[.] file), so I renamed it to cygwin1.dll, and now ever

Re: [ANNOUNCEMENT] Updated: cygwin-1.5.22-1

2006-11-16 Thread Matthew Woehlke
Champ Mendis wrote: I reinstalled the above Cygwin version. But when I run the file it behaves as follow, $ ./sensor /sensor: ./sensor: cannot execute binary file [EMAIL PROTECTED] ~/simsens-5.0 $ rm sensor <-REMOVED AS ADVISED BEFOFRE [EMAIL PROTECTED] ~/simsens-5.0 $ ./sensor [EMAIL PROTECTED

Re: Where is Gnu compiler itself?

2006-11-16 Thread Matthew Woehlke
Smith, Glenn wrote: I have downloaded the complete Cygwin environment from several of your mirror sites onto my Windows XP system, but I never seem to get the Gnu C compiler itself. Have you tried installing the gcc packages? Hint: they are in the 'devel' category. Or use http://cygwin.com/pac

Re: 1.5.22-1: Error by using man

2006-11-30 Thread Matthew Woehlke
Alexander Palm wrote: I have found some new clues: /bin/sh don't do anything. [snip] Any Ideas? Hmm, 'cp /bin/bash /bin/sh'? There have been quite a few scattered reports as of late of /bin/sh (which should be the same as /bin/bash) somehow getting out of sync. But that's just a WAG. -- M

Re: 1.5.21-1 Release: System resources not freed, can lead to system reboot.

2006-12-04 Thread Matthew Woehlke
Dave Silvia wrote: I have a simple script that illustrates a problem I'm dealing with in installing a software package which operates under Cygwin. It uses a modified configure/config.status scripting and then runs a make. The problem is that when the scripts are running, it seems they keep invok

Re: Trouble with DLL and file (com port) IO

2006-12-06 Thread Matthew Woehlke
Dave Korn wrote: BTW, mixing MSVC-based code with cygwin-based is inherently unreliable and liable to fail unpredictably. I guess the vendor isn't likely to want to share their dll source with you so you could recompile it with gcc, but it might not be /too/ complicated to just take a look at

Re: How to login to another Unix workstation or Cygwin PC

2006-12-07 Thread Matthew Woehlke
Steve Boyd wrote: I'm a Cygwin newbie; spent the last 15 years in the tender clutches of hp-ux. Currently making the jump to Cygwin. I'm looking for a place to start when it comes to using things I was familiar with on hp-ux; rlogin, remsh, ftp, etc. Can anybody give me some general background

Re: How to login to another Unix workstation or Cygwin PC

2006-12-08 Thread Matthew Woehlke
Cary Jamison wrote: Matthew Woehlke wrote: Steve Boyd wrote: I'm a Cygwin newbie; spent the last 15 years in the tender clutches of hp-ux. Currently making the jump to Cygwin. I'm looking for a place to start when it comes to using things I was familiar with on hp-ux; rlogin, remsh

Re: "bash: /etc/profile: Permission denied" with a certain user

2006-12-11 Thread Matthew Woehlke
Tim Largy wrote: I am having trouble running Cygwin as user X (not the real user name) on a machine running Windows XP Professional SP2. [snip various attempts to find out what makes 'X' different] I'm out of ideas. How can running Cygwin be different for user X? What should I look at next? Wh

Re: "bash: /etc/profile: Permission denied" with a certain user

2006-12-11 Thread Matthew Woehlke
Tim Largy wrote: Matthew Woehlke wrote: When you checked /etc/group, did you also check /etc/passwd? Yes. I'm attaching my /etc/passwd and /etc/group (after editing to protect the privacy of users). See anything unusual? The account that can't run Cygwin is called team-member.

Re: strange problems with bash after cygwin update

2006-12-13 Thread Matthew Woehlke
Jonathan Arnold wrote: See much discussion and, most importantly, the release notes for the latest Base. Clearly that was meant to say "bash". Don't go looking for release notes for "base", you won't find them. :-) -- Matthew "unsubscribe me plz!!" -- Newbies -- Unsubscribe info: http

Re: Weird cosmetic bug after viewing bash man page

2006-12-14 Thread Matthew Woehlke
Aaron Humphrey wrote: I've seen this as well, my prompt(and everything I type)turning white if I don't go through the "bash" man page all the way to the end. I note that "stty sane" does nothing, nor does hitting enter; my prompt stays white. (This is in tcsh, where my "prompt" variable is "[EM

Re: Weird cosmetic bug after viewing bash man page

2006-12-14 Thread Matthew Woehlke
Aaron Humphrey wrote: On 12/14/06, Matthew Woehlke wrote: Does this only happen with the bash manpage, or do you see it with other manpages as well? It seems to vary. I see it with 'man vim' and 'man printf' after the first screen, for instance, but not with 'man man

Re: Weird cosmetic bug after viewing bash man page

2006-12-18 Thread Matthew Woehlke
Buchbinder, Barry (NIH/NIAID) [E] wrote: Aaron Humphrey wrote on Friday, December 15, 2006 5:34 PM: Oddly enough, it seems to. In fact, just adding the '-c' option to NROFF in man.conf, without having to remove '-Tlatin' or add the '2> /dev/null' (which I'm not sure would work under tcsh anyway

Re: "cout" and "cerr" won't work after cygwin1.dll init from VC++

2006-12-19 Thread Matthew Woehlke
Francisco J. Royo Santas wrote: I have a VC++ program that uses a Cygwin-compiled DLL. I can init cygwin1.dll but, after doing this, cout and cerr stop working. cout << "Message" << endl does not appear on the screen. I do not know exactly what happens here. The program is: /me repeats Dave's c

Re: Bash regular expressions

2006-12-19 Thread Matthew Woehlke
Boris Toloknov wrote: It seems that regular expressions [[ str =~ regex ]] do not work in bash. For example the following expression doesn't match: [[ abc =~ 'a.*c' ]] && echo It works while the simple substring matches: [[ abc =~ 'bc' ]] && echo It works Is it a bug ? WJFFM. Maybe you should s

Re: dos format shell script executed fine with 1.5.12, fails with 1.5.23

2007-01-12 Thread Matthew Woehlke
jim wrote: I have a dos format file containing a shell script that works fine on 1.5.12. After upgrading to 1.5.23, the script fails. If I convert it to Unix format, it works fine with 1.5.23, but I'm wondering what changed. Cygwin mounts are the same; what else could be different? Bash cou

Re: No SSH in Cygwin

2007-01-22 Thread Matthew Woehlke
DougPPMA wrote: In the SETUP.exe I downloaded, I tried to load all, I looked in the network packages to ensure SSH was enabled, there no SSH. Try a different mirror? -- Matthew Vs lbh pna ernq guvf jvgubhg fbsgjner, lbh ner n FREVBHF areq! -- Nqncgrq sebz Znggurj Jva (ivz-qri znvyvat yvfg)

TITTTL (Re: Best Windows Utility Ever!)

2007-01-23 Thread Matthew Woehlke
Morgan Gangwere continued the SPAM: Guys, this is completely off topic. Either TITTTL or stop posting. -- Matthew Don't read this. What did I just tell you? Why are you still reading? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/pr

Re: Eliminating -mno-cygwin from gcc?

2007-01-31 Thread Matthew Woehlke
Matt Wozniski wrote: Before simply ripping out support for it, how about just adding a message to gcc so that when passed "-mnocygwin" on the command line, it warns that it's deprecated and will be removed in the near future, before processing? ...and add a REALLY BIG MESSAGE that, if something

Re: Eliminating -mno-cygwin from gcc?

2007-01-31 Thread Matthew Woehlke
Christopher Faylor wrote: On Wed, Jan 31, 2007 at 10:29:01AM -0600, Matthew Woehlke wrote: Matt Wozniski wrote: Before simply ripping out support for it, how about just adding a message to gcc so that when passed "-mnocygwin" on the command line, it warns that it's depreca

Re: Eliminating -mno-cygwin from gcc.

2007-02-05 Thread Matthew Woehlke
Larry Hall (Cygwin) wrote: The discussion has been to augment 'setup.exe' in a way as to provide users with feedback about "important" package changes in general. It has come up in the context of the gcc change but would have to apply generally. "Important" would be defined by the maintainer by

Re: Eliminating -mno-cygwin from gcc.

2007-02-05 Thread Matthew Woehlke
Christopher Faylor wrote: On Mon, Feb 05, 2007 at 10:06:41AM -0600, Matthew Woehlke wrote: Larry Hall (Cygwin) wrote: The discussion has been to augment 'setup.exe' in a way as to provide users with feedback about "important" package changes in general. It has come up i

Re: Eliminating -mno-cygwin from gcc.

2007-02-05 Thread Matthew Woehlke
Yaakov (Cygwin Ports) wrote: Will using shell wrappers noticably slow down calls to gcc? Or should we just start explicitly calling i686-pc-cygwin-gcc instead? (FWIW Gentoo does the equivalent of the latter.) Um. That's a good question. I think the answer to your first question is "yes", and

Re: Eliminating -mno-cygwin from gcc.

2007-02-06 Thread Matthew Woehlke
Igor Peshansky wrote: On Sun, 4 Feb 2007, Yaakov (Cygwin Ports) wrote: Will using shell wrappers noticably slow down calls to gcc? Or should we just start explicitly calling i686-pc-cygwin-gcc instead? (FWIW Gentoo does the equivalent of the latter.) I don't think speed itself will be a prob

Re: Eliminating -mno-cygwin from gcc.

2007-02-06 Thread Matthew Woehlke
Igor Peshansky wrote: On Tue, 6 Feb 2007, Matthew Woehlke wrote: ...but doesn't the script itself involve a fork? On a big project, with an extra fork for every source file, that can still add up. Don't forget that invoking the gcc executable from make or the shell involves a fork a

ar 'unable to rename... Invalid cross-device link'

2007-02-06 Thread Matthew Woehlke
...anyone have any guesses why rename() can't rename files in the same directory, if the directory is an NFS mount? This causes 'ar' to fail with the error: ar: unable to rename 'libcloudobj.a' reason: Invalid cross-device link I see this in strace with both 'ar' and 'mv': 46 371094 [main

Re: FAQ entry? [ Was: Re: trouble with bash / if in recent release / update ? ]

2007-02-06 Thread Matthew Woehlke
Darryl Okahata wrote: Eric Blake <[EMAIL PROTECTED]> wrote: Actually, it's not the version of cygwin, but the version of bash that matters in this instance. Get your facts straight, and don't rehash something that has already been beaten to death on this list if you don't want to receive our

Re: ar 'unable to rename... Invalid cross-device link'

2007-02-07 Thread Matthew Woehlke
(I hope this gets through (and only once), gmane has been misbehaving all day...) Corinna Vinschen wrote: On Feb 7 11:55, Corinna Vinschen wrote: On Feb 6 16:38, Matthew Woehlke wrote: ...anyone have any guesses why rename() can't rename files in the same directory, if the directory

Re: ar 'unable to rename... Invalid cross-device link'

2007-02-07 Thread Matthew Woehlke
Corinna Vinschen wrote: On Feb 7 11:48, Matthew Woehlke wrote: Corinna Vinschen wrote: Maybe it's something with your permissions. http://cygwin.com/acronyms/#SHTDI2(*) Thanks for trying. Sorry about forgetting the version info, although (and I forgot to mention this too, more apol

Re: ar 'unable to rename... Invalid cross-device link'

2007-02-07 Thread Matthew Woehlke
Corinna Vinschen wrote: I took the time to install and configure SUA on my R2 server. Then I tried to rename a file, where the target file name already exists: [snip test program] So it WJFFM. There must be a problem in your setup. Ok, trying your exact test, I get EXDEV... so I agree with th

Re: strange bug in gettimeofday function

2007-02-12 Thread Matthew Woehlke
Andrew Makhorin wrote: I detected a strange bug in the standard function gettimeofday. It *sometimes* reports the time which being expressed as the integer number of milliseconds is *less* than the time obtained *earlier* with the same function. ...how often is "often"? Also what version of Win

Re: Help. Cygwin corrupting files

2007-02-12 Thread Matthew Woehlke
Andrew DeFaria wrote: I have no idea what this Daemon tools thing is. Hooks into the file system. Gee that's beginning to sound like a root-kit! Last I checked, it is a program to allow you to mount CD images as "real drives". Since it is supposed to make them look "real" enough to even fool

POSIX->Windows conversion for vars other than PATH, etc?

2007-02-12 Thread Matthew Woehlke
...is there a way to tell Cygwin that variables other than PATH, etc (i.e. arbitrary, user-specified variables) should be converted from POSIX format to Windows format when spawning a non-POSIX application? If not, would it be acceptable to add such a feature if I were to submit a patch for it

Re: Unable to run even simple batch scripts any more

2007-02-12 Thread Matthew Woehlke
Dennis Simpson wrote: Three of us updated to latest windows cygwin last week, and none can run even simple .sh scripts any more. Prior version was 6 months ago. http://cygwin.com/ml/cygwin-announce/2006-12/msg00026.html Next time RTFRA. Oh, and STFLA; this particular horse died a *lng* t

Re: shell commands won't run from within a shell script bash version 3.2.9-11

2007-02-13 Thread Matthew Woehlke
Randy wrote: when it executes the following message is produced: : command not found env STFLA. Dennis Simpson asked this *exact same question*. Yesterday. -- Matthew "But I want to cast Magic Missile!" -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: [ANNOUNCEMENT] EOL for Windows 95/86/Me

2007-02-14 Thread Matthew Woehlke
Corinna Vinschen wrote: Exciting new stuff so far (IMHO): [snip] - New setuid method which allows to logon without password and being recognized correctly also by native Windows applications Does this mean ssh might *finally* work right with password-less login? :-) -- Matthew -- Unsubscr

Re: [ANNOUNCEMENT] EOL for Windows 95/86/Me

2007-02-14 Thread Matthew Woehlke
Corinna Vinschen wrote: On Feb 14 10:22, Matthew Woehlke wrote: Corinna Vinschen wrote: Exciting new stuff so far (IMHO): [snip] - New setuid method which allows to logon without password and being recognized correctly also by native Windows applications Does this mean ssh might *finally

Re: [ANNOUNCEMENT] EOL for Windows 95/86/Me

2007-02-14 Thread Matthew Woehlke
Corinna Vinschen wrote: On Feb 14 13:11, Matthew Woehlke wrote: Corinna Vinschen wrote: [snip] And in the long run you will have to reboot your machine each time you install a new Cygwin release when using this feature. That's a fairly major bummer. Is that because this is something

Re: syntax error near unexpected token `{

2007-02-14 Thread Matthew Woehlke
petermosca wrote: I am attempting to create a bash script with a function definition. When I execute the script with the function, I get: 'my_bash_script: line 3: syntax error near unexpected token `{". 'my_bash_script: line 3: ` { If I type the function in the command line, it works fine.

Re: [ANNOUNCEMENT] EOL for Windows 95/86/Me

2007-02-14 Thread Matthew Woehlke
Brian Ford wrote: On Wed, 14 Feb 2007, Matthew Woehlke wrote: Ok, but then, is the problem that the auth dll *is* cygwin1.dll, or else why wouldn't the reboot only be needed when you update the auth dll? (Does the auth dll need cygwin1.dll or would it be possible to make it only the othe

Re: ls output still truncated

2007-02-20 Thread Matthew Woehlke
Chuck wrote: I think it's actually something to do with the gmane interface that I post to. I attach the files with Thunderbird but when they post to the list, they end up being embedded. Apologies but there doesn't seem to be any way for me to control that. No, it's working right... your files

Re: [ANNOUNCEMENT] Updated: openssl-0.9.8e-1, openssl-devel-0.9.8e-1

2007-02-23 Thread Matthew Woehlke
Larry Hall (Cygwin) wrote: Chuck wrote: I have both openssl 0.9.8 and 0.9.7 installed. How can I find out what is using 097 and get rid of it if I don't need it anymore? Based on Corinna's comment, it's fair to assume that if you have this package, it is because you have one of the following s

Re: Bash-Scripting: any way to pre-initialize readline's edit buffer with a user-defined string?

2007-03-01 Thread Matthew Woehlke
Sven Severus wrote: Hello, a simple (i hope ;->) question for bash scripting experts: I want to write a script, that interactivly prompts the user for a couple of input items. So my bash code looks like this: read -er -p"ItemX: " ITEMX Most of the items have default values, and I would fin

Re: script problem

2007-03-02 Thread Matthew Woehlke
Asher Vilensky wrote: One annoying thing I've noticed is that the backspace button doesn't work in vi. It produces '^?' character. Can somebody remind me how to set this right in .vimrc or whatever? I've been away from Unix/Linux for a while. My first guess would be 'stty erase'. Failing tha

Re: Problems with ssh-host-config using cyginw installed on samba share

2007-03-02 Thread Matthew Woehlke
David Abrahams wrote: "Larry Hall (Cygwin)" <[EMAIL PROTECTED]> writes: My WAG WAG? Oh I can "guess" what that means ;-) Hmm... Feral Donkey Conjecture? Oh, wait, that's an FDC. :-) -- Matthew "Have you tried that new mixed drink, 'GDR'"? "What is it?" "Gin, Duck and Rum. It tastes fowl."

Re: GDB problem (under cygwin)

2007-03-08 Thread Matthew Woehlke
Raymond Miller wrote: Yes, I have installed in this pc (laptop) the Logitech webcam software and this is not installed in the desktop pc (I don't have any webcam on that pc), but could be it the cause of the segmentation fault? I wouldn't discount it until you've uninstalled it and reproduced

Re: Problems compiling packETH

2007-03-09 Thread Matthew Woehlke
Vaclav Haisman wrote: David Fernandez wrote: This email and any files transmitted with it are confidential and [snip] I wonder why do people keep adding things like this to their emails? It is not like it has any legal power, IMVHO. Bureaucracy. Need I say more? :-) Oh, and it's also agains

Re: when to use a ln or a mount

2007-03-12 Thread Matthew Woehlke
zzapper wrote: Hi, In my confused mind ln and mount seem to achieve the same thing. In my case I want to have an easy to type path(s) to my old pc so I typed:- mount -f -u -b "//dell25/c/" "/o" but I also tested ln -s //dell25/c/ /old In the Cygwin context does one method have any advatanges

Re: Accessing remote PC (ssh?)

2007-03-15 Thread Matthew Woehlke
Dave Korn wrote: On 15 March 2007 17:21, Charles Russell wrote: Larry Hall (I think!) wrote: This is likely a DNS/DHCP problem (i.e. not a Cygwin problem). What do you get when you "ping sony06"? $ ping sony06 Pinging sony06 [192.168.2.100] with 32 bytes of data:

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Matthew Woehlke
Pierre A. Humblet wrote: It's working because we know it's trying to mail you something. To find out what, remove MAILTO="" and install a poor man's mailer as follows. It will write the mail output to /cronmail.txt ~: cd / /: cat > cronmail.sh cat > /cronmail.txt (NOTE: type CTRL-C after typi

Re: Accessing remote PC (ssh?)

2007-03-15 Thread Matthew Woehlke
Larry Hall (Cygwin) wrote: Charles D. Russell wrote: I suppose I'll have to repeat this every time DHCP changes the IP addresses. Correct. Unless your router allows you to associate a dynamic IP with your MAC address (i.e. static DHCP). The poor man's workaround for this, assuming that you d

Re: Need help using glibmm libraries in source codes

2007-03-16 Thread Matthew Woehlke
Gerry Tan wrote: I've installed gtkmm-2.4 package (using cygwin installer) from which I need to use glibmm library in my source code, but I don't know how can I use it. #include doesn't work. It always says 'header file not found' when compiled. Usually you need the gtkmm-devel package. Try ins

Re: Installing Cron on Windows 2003 Server...

2007-03-16 Thread Matthew Woehlke
Dave Korn wrote: On 15 March 2007 22:10, Matthew Woehlke wrote: Pierre A. Humblet wrote: It's working because we know it's trying to mail you something. To find out what, remove MAILTO="" and install a poor man's mailer as follows. It will write the mail outpu

Re: Accessing remote PC (ssh?)

2007-03-16 Thread Matthew Woehlke
Larry Hall (Cygwin) wrote: I can try. Go to "Start"->"Settings"->"Network Connections". Click on "Local Area Connecton". RMB down and choose "Properties". Look in the box called "This connection uses the following items:". Make sure you have "Internet Protocol (TCP/IP)" and that it is checke

Re: Accessing remote PC (ssh?)

2007-03-16 Thread Matthew Woehlke
Larry Hall (Cygwin) wrote: Matthew Woehlke wrote: Larry Hall (Cygwin) wrote: Ok, Larry, I have to ask... does your $50 appliance really have a DNS server in it too? No. But it will happen someday. ;-) But your question reminds me that I forgot to mention that the router should be set up to

Re: Tab Completion and Typical Behavior

2007-03-20 Thread Matthew Woehlke
[EMAIL PROTECTED] wrote: I have a question about tab completion in the console window. The .bash_profile exports the right paths and the console performs tab completion. My scripts can be found in ~/bin. I can tab out myscript.sh, but can not tab complete ./myscript.sh; or sh myscript.sh. Is this

Re: Waiting for //.terminfo or //.termcap

2007-03-29 Thread Matthew Woehlke
Ken Fast wrote: I will check into the ncurses issue and maybe even go poking around in the source code. That would be great. I am pretty sure it *is* a bug, because IIRC POSIX explicitly allows '//' to mean something other than '/'. This means that looking for //.terminfo if HOME=/ is Bad and

Re: Error with changing directory - No such file or directory

2007-04-02 Thread Matthew Woehlke
Ben Wylie wrote: I have a batch file which runs bash and calls a bash script. My batch file reads: cd F:\cygwin\bin bash --login -i deletescript.sh F:/Progra~1/NAVIEG/queues/ The bash script is: #!/bin/bash cd $1 F:/cygwin/bin/find . -type f -exec awk '(/various/ || /search/ || /keywords/) {p

Re: grep and exact matches help..

2007-04-03 Thread Matthew Woehlke
Kevin Markle wrote: In this search I want to get winops only not winops and winops-hq [EMAIL PROTECTED] /cygdrive/e/wsus/group_1a_DEV $ ls -al | grep winops -rwx--+ 1 Administrators 1079474 Apr 2 19:32 winops-hq_WINDOWSUpdate.log -rwx--+ 1 Administrators 18993 Apr

Re: Escape colour codes

2007-04-03 Thread Matthew Woehlke
Thorsten Kampe wrote: lftp and yafc show a wrong prompt in the following terminals: cmd, 4nt, console and far manager. Basically each coloured part of the prompt is surrounded by two "funny faces" - the first is white and the second has the desired colour. I don't know what these are. Are the

Re: grep and exact matches help..

2007-04-03 Thread Matthew Woehlke
Thrall, Bryan wrote: Gary Johnson wrote on Tuesday, April 03, 2007 5:05 PM: If you're piping 'ls' into another command, the -1 isn't necessary. 'ls' detects that its stdout is not a tty and delivers single-column output automatically. Not when you use 'ls -l': Sure it does. There is still on

Re: [Packaging error] Re: [ANNOUNCEMENT] Updated: mingw-runtime-3.12-1

2007-04-04 Thread Matthew Woehlke
Igor Peshansky wrote: On Wed, 4 Apr 2007, Chris Sutcliffe wrote: I thought it was decided to keep the MinGW Runtime man pages separate >from the Cygwin man pages? Yes, it was, but I don't remember concluding that putting them in /usr/man was the solution. Please either don't install them at a

Re: Escape colour codes

2007-04-04 Thread Matthew Woehlke
Eric Blake wrote: The bug in all three of these programs is that they are adding spurious \1 into the string passed to readline. When you call readline("\001\001invisible\001 \002plain"), then readline assumes that anything between the FIRST \001 and the \002 is invisible (ie. special to the te

Re: perl problem with cygwin path

2007-04-05 Thread Matthew Woehlke
Mike R Brown wrote: [snip] Nope. With a current updatedb locate found one perl.exe under /usr/bin. When I renamed this perl.exe to perly.exe and copied the version that worked from my machine and did a version check while in /usr/bin I get ./perly - v returned 5.8.8 (original questi

Re: perl problem with cygwin path

2007-04-05 Thread Matthew Woehlke
Mike R Brown wrote: Matthew Woehlke wrote: Mike R Brown wrote: Everything I have checked points to just one Perl installation. So maybe the question here is where did this version come from? That is indeed a good question, since the latest available 'perl' from kernel.org is 5.

  1   2   >