Re: Cygwin64 ignoring /etc/passwd shell field?

2014-02-25 Thread Larry Hall (Cygwin)
On 2/25/2014 6:24 PM, Jim Burwell wrote: On 2/25/2014 13:55, Corinna Vinschen wrote: On Feb 25 13:52, Jim Burwell wrote: Hi, I've noticed after installing an update the Cygwin64 appears to ignore the contents of the shell field in /etc/passwd. I normally run /bin/tcsh as my shell, and

Re: Silently configure sshd fails via system account

2014-02-21 Thread Larry Hall (Cygwin)
On 2/21/2014 3:48 PM, Paul Griffith wrote: Hi, I am using a software package called WPKG (wpkg.org) to silently deploy Cygwin and then configure SSHD. The Cygwin installation works like a charm. Configuring sshd is another story. If I run my script from a admin command prompt, I am to setup

Re: $PATH contains dot but unclear where it comes from

2014-02-20 Thread Larry Hall (Cygwin)
On 2/20/2014 9:12 AM, Robert Klemme wrote: Thanks to all who helped so far! On Wed, Feb 19, 2014 at 11:23 PM, Andrey Repin anrdae...@yandex.ru wrote: So far, I'm not convinced that issue is Cygwin-specific. The fact that it doesn't manifest in Windows is actually because of it's (windows)

Re: setup: how to select all src packages too?

2014-02-20 Thread Larry Hall (Cygwin)
On 2/20/2014 5:50 PM, Luke Kendall wrote: On 02/18/2014 08:26 PM, Andrey Repin wrote: Greetings, Luke Kendall! It's great that Cygwin has so many packages. And setup.exe makes it easy to select the packages you want. But it seems quite difficult to also select all the corresponding source

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 3:37 AM, Robert Klemme wrote: I assume there must be some internal mechanism in Cygwin which causes this but at the moment I am out of ideas where to look further. Does anybody else have an idea? Is there maybe some automatism which adds the dot because on Windows systems the

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 12:16 PM, Robert Klemme wrote: On Wed, Feb 19, 2014 at 5:06 PM, Eliot Moss m...@cs.umass.edu wrote: As others have said, cygwin does not add . to the path itself. It must be something in your .bash_profile, .bashrc, or other script sourced from them. Going through the output of

Re: xargs: Broken in version 1.7.28; works in legacy version 1.7.7-1

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 6:48 AM, Kai Tischler wrote: My OS: Win XP Pro SP3 My XEmacs: 21.4.19 My original problem: - I had upgraded to the latest CygWin version 1.7.28 - XEmacs hangs at startup; because an xargs process hangs - Furthermore, xargs does not seem to work properly in the shell At first I

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 12:51 PM, Robert Klemme wrote: On Wed, Feb 19, 2014 at 6:23 PM, Larry Hall (Cygwin) wrote: On 2/19/2014 12:16 PM, Robert Klemme wrote: The dot is already in the variable before bash even modifies it. So that means you need to look in your Windows environment to understand

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 2:10 PM, Andrey Repin wrote: Greetings, Larry Hall (Cygwin)! From the Windows Run... or Search programs and files edit box, type cmd.exe. From the console window that opens as a result, type the following. echo %PATH% c:\cygwin64\bin\bash --norc --noprofile -lix echo $PATH

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 3:27 PM, Achim Gratz wrote: Cliff Hones writes: So there is no dot at the end of PATH as seen in cmd - and (I assume, since this was also discussed) no duplicated semicolons or trailing semicolon at the end of the cmd PATH. But the very first PATH printed by bash does contain a

Re: cygwin make reporting multiple target patterns issue

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 3:41 PM, Eddie Wang wrote: Hi Team, I can build project OK with make command but failed on second build without running make clean. Checked with web and noticed that removing previously create obj directory will resolve the issue. However, this is not the solution for make command.

Re: Weird launch Cygwin terminal bash shell error

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 5:55 PM, Gerry Reno wrote: Running latest cygwin. Does anyone recognize this error? /etc/profile: fork: retry: Resource temporarily unavailable 0 [main] bash 2520 child_info_fork::abort C:\cygwin\bin\cygiconv-2.dll: loaded to different address: (parent 0x49) !=

Re: Weird launch Cygwin terminal bash shell error

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 6:16 PM, Gerry Reno wrote: On 02/19/2014 06:10 PM, Larry Hall (Cygwin) wrote: On 2/19/2014 5:55 PM, Gerry Reno wrote: Running latest cygwin. Does anyone recognize this error? /etc/profile: fork: retry: Resource temporarily unavailable 0 [main] bash 2520 child_info_fork::abort C

Re: Error encountered using GStreamer on Visual Studio

2014-02-18 Thread Larry Hall (Cygwin)
On 2/18/2014 1:13 AM, Mirza wrote: While running GStreamer1.0 basic tutorial on Visual Studio 2008 Express Edition, in debugging mode following error is encountered: Error: Link 1104:'libmoldname.a' missing I have updated libraries to rectify it but it is not working. Please suggest some

Re: seteuid 1019: Operation not permitted

2014-02-15 Thread Larry Hall (Cygwin)
On 2/15/2014 7:08 PM, Evan Rowley wrote: Everyone! I finally figured out what the problem was here. A group policy was in effect on the Windows machine. The group policy is supposed to enforce the baseline security configuration as defined by the Center for Internet Security (CIS) Benchmark

Re: Little cygpath improvement request

2014-02-15 Thread Larry Hall (Cygwin)
On 2/16/2014 12:40 AM, m0viefreak wrote: I'm not exactly sure what you are trying to accomplish with that patch, but it looks to me as if everything you want is already present: cygpath --help states -i, --ignore ignore missing argument which outputs nothing if you pass it an

Re: Little cygpath improvement request

2014-02-15 Thread Larry Hall (Cygwin)
On 2/16/2014 1:21 AM, Andrey Repin wrote: snip It provide no information at all in any event (be it missing argument, or nonexistent path (not like it's checking for existence right now... which only making situation more complicated)), requiring non-obvious, manually conceived tests to ensure

Re: Little cygpath improvement request

2014-02-14 Thread Larry Hall (Cygwin)
On 2/14/2014 1:22 PM, Andrey Repin wrote: Greetings, All! I would like to request a small functional change for cygpath. In the event of empty given path argument (i.e. `cygpath -ml ') silently return an empty result without error message. This would greatly simplify wrapper scripts. Why

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Larry Hall (Cygwin)
On 2/13/2014 1:33 PM, Lord Laraby wrote: Subject: Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?) This would be a nice mechanism for typical windows home systems except for the format of the cygwin tag that goes in the comment field. Home users that utilize

Re: Clearing the buffer after quitting LESS, MAN, VIM etc.

2014-02-12 Thread Larry Hall (Cygwin)
On 2/12/2014 8:33 AM, Dawid Ferenczy wrote: Christopher Faylor cgf-use-the-mailinglist-please at cygwin.com writes: You're apparently not using a snapshot. cgf Hi there! I have discovered one more bug, which seems to be related: ... And which snapshot are you using?

Re: Maintainer for git?

2014-02-11 Thread Larry Hall (Cygwin)
On 2/11/2014 2:03 PM, David Boyce wrote: On Tue, Feb 11, 2014 at 9:58 AM, Adam Dinwoodie wrote: Just curious where we stand with this now that 1.7.28 is out. Assuming that further testing affirms that the SSE2 bug affecting Git is fixed in recent snapshots, this brings us back the original

Re: Newbie Alias and Profile questions

2014-02-10 Thread Larry Hall (Cygwin)
On 2/10/2014 8:15 PM, Mike Rushton wrote: Can some one give me some hints about this ? I read the documentation and can't figure this out. I am trying to put an alias in a .bashrc alias clear='printf \033c' But what .bashrc do I put this in ? in /ect/skel or the one my user directory. I

Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)

2014-02-07 Thread Larry Hall (Cygwin)
On 2/7/2014 3:09 PM, Warren Young wrote: This takes 7.1 seconds on my system, with a 12-line /etc/passwd file: #include pwd.h #include stdio.h #include stdlib.h int main(int argc, const char* argv[]) { int i; const char* user = argv[1];

Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)

2014-02-07 Thread Larry Hall (Cygwin)
On 2/7/2014 5:45 PM, David Stacey wrote: On 07/02/14 21:44, Larry Hall (Cygwin) wrote: On 2/7/2014 3:09 PM, Warren Young wrote: This takes 7.1 seconds on my system, with a 12-line /etc/passwd file: #include pwd.h #include stdio.h #include stdlib.h int main(int argc

Re: cygwin64 - installation problem - installed by administrator account

2014-02-06 Thread Larry Hall (Cygwin)
On 2/6/2014 1:42 AM, Flower, Martin wrote: snip All scripts have .done. Setup.log.full shows an error. I see the word McShield, and I link it to BLODA. File C:\cygwin64\etc\setup\setup.rc exists - although I assume it didn't exist when setup was started. 2014/02/05 10:05:28 Starting cygwin

Re: Cygwin directory slash problem

2014-02-06 Thread Larry Hall (Cygwin)
On 2/6/2014 11:40 AM, ajit samant wrote: I would like some help on setting up Cygwin directory slash problem. when i type like /cygdrive/e/ then cygwin was looking for path that starts with \cygdrive\e\ . Means cygwin consider my forward slash as backslash and shows error in path. No. So

Re: Newbie Cygdrive questions

2014-02-06 Thread Larry Hall (Cygwin)
On 2/6/2014 1:53 PM, mrushton wrote: Ok ... I am converting my scripts and making progress. But I have a question. My old shell software would let me have a path as : X:/INBOUND/CWSCRIPTS/myscript.sh To access this shared X drive under Cygwin it seems I have to do this :

Re: using spawn functions to avoid fork() errors

2014-02-06 Thread Larry Hall (Cygwin)
On 2/6/2014 8:50 AM, Steven Bardwell wrote: On 2/5/2014 7:07 AM, Steven Bardwell wrote: I have no problem doing some recoding of my application to reliably solve my issues with fork() -- can you all point me in the direction of the 'spawn family of calls'? See spawn.cc -

Re: qsort_r and libc.a version?

2014-02-06 Thread Larry Hall (Cygwin)
On 2/6/2014 2:04 PM, Jim Garrison wrote: I tried to build libgit2 so I could try to build gitg but encountered undefined reference to `qsort_r' GitHub has a closed issue for this https://github.com/libgit2/libgit2/issues/1606 saying that qsort_r was added to glibc in version 2.8, released

Re: using spawn functions to avoid fork() errors

2014-02-06 Thread Larry Hall (Cygwin)
On 2/6/2014 5:14 PM, Steven Bardwell wrote: On 2/6/2014 8:50 AM, Steven Bardwell wrote: Larry - thanks for the link to the source for the spawn() APIs. It works perfectly on my 32-bit install (where, as it happens, the fork() issue never shows up either). However, on my 64-bit install,

Re: qsort_r and libc.a version?

2014-02-06 Thread Larry Hall (Cygwin)
On 2/6/2014 6:29 PM, Jim Garrison wrote: -Original Message- Behalf Of Larry Hall (Cygwin) Sent: Thursday, February 06, 2014 11:39 AM Subject: Re: qsort_r and libc.a version? On 2/6/2014 2:04 PM, Jim Garrison wrote: I tried to build libgit2 so I could try to build gitg but encountered

Re: Newbie Cygdrive questions

2014-02-06 Thread Larry Hall (Cygwin)
On 2/6/2014 8:05 PM, Mike Rushton wrote: I see. What would you say to this ? I have to use an EDI translator - it runs under windows/dos and had unix versions I was trying this ... but the program needed to see the path of a config file ... after the -cp switch.

Re: cygwin64 - installation problem - installed by administrator account

2014-02-05 Thread Larry Hall (Cygwin)
On 2/5/2014 4:38 AM, Flower, Martin wrote: Thank you Larry. I have uninstalled GIT. I have deleted C:\cygwin64. I have rerun setup-x86_64.exe as admflma. In the start menu I click on the Cygwin icon and continue to have the same symptoms. Windows cannot find mintty. I can browse for

Re: using spawn functions to avoid fork() errors

2014-02-05 Thread Larry Hall (Cygwin)
On 2/5/2014 7:07 AM, Steven Bardwell wrote: From reading the Cygwin FAQ (In most cases, you are better off using the spawn family of calls if possible.) and the Cygwin Highlights (Fortunately, in most circumstances the spawn family of calls provided by Cygwin can be substituted for a fork/exec

Re: A device driver as BLODA?

2014-02-05 Thread Larry Hall (Cygwin)
On 2/5/2014 12:39 PM, rich...@karmannghia.org wrote: Hello All, For weeks I've been pondering all the troubles I've had with setup, spurred by all the conversations that have happened recently about packaging, etc, and the occasional comments about BLODA. I have sometimes figured Cygwin's

Re: Newbie Questions

2014-02-05 Thread Larry Hall (Cygwin)
On 2/5/2014 1:25 PM, Mike Rushton wrote: Thanks for all the help. What I am trying to do is convert some Korn Shell scripts to bash to run under Cygwin. I am wondering, does cygwin have a preferred extension for scripts ? It probably does not matter. Some of the scripts had .ksh on the end

Re: cygwin64 - installation problem - installed by administrator account

2014-02-04 Thread Larry Hall (Cygwin)
On 2/4/2014 2:43 AM, Flower, Martin wrote: C:\cygwin64\bincygcheck -srv cygcheck.text C:\cygwin64Cygwin.bat $ id uid=400(netflma) gid=401(mkpasswd) grupper=401(mkpasswd),555(Remote Desktop Users),545(Users),10513(Domain Users) Hope this is what you have asked for. Yes, thank you. Looks

Re: How to remount hotplugged USB drive as noacl (for use with rsync)?

2014-02-04 Thread Larry Hall (Cygwin)
On 2/4/2014 11:09 AM, carolus wrote: On 2/4/2014 9:10 AM, Andrey Repin wrote: How can one remount a hotplugged NTFS external USB drive as noacl? (I take it this is necessary to get sensible Windows permissions when using rsync for backup. If not, please correct me.) Change the

Re: dircolors generates output with '\r\n' ?

2014-01-30 Thread Larry Hall (Cygwin)
On 1/30/2014 12:04 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: Hi, I was trying to use the dircolor command on CYGWIN, and it did not work because the two lines, which this command produces are separated by CRLF (which when sourced by bash are not understood, bash seems to expect single

Re: second call to mmap() results in error

2014-01-30 Thread Larry Hall (Cygwin)
On 1/30/2014 12:24 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: Adding the unistd.h fixes the problem in all its iterations I must be missing a point here, so what was the problem with the original test program (which BTW worked fine on my CYGWIN installation). Seems like unistd.h was not

Re: dircolors generates output with '\r\n' ?

2014-01-30 Thread Larry Hall (Cygwin)
On 1/30/2014 1:30 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: I did not edit anything, I just ran dircolors, and it's output contains \r\ns. Then one possibility is that you redirected it to a file that is mounted on a file system that isn't binary. -- Larry

Re: second call to mmap() results in error

2014-01-30 Thread Larry Hall (Cygwin)
On 1/30/2014 1:44 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: #if*n*def __INSIDE_CYGWIN__ Alright, I can't read, sorry. Still, I can't figure out why adding unstd.h has fixed the initial program made it run successfully (as the OP reported). Try adding -Wall to your compile line. --

Re: second call to mmap() results in error

2014-01-30 Thread Larry Hall (Cygwin)
On 1/30/2014 1:52 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: Try adding -Wall to your compile line. I did. There was no warning (and it should not have because #include sys/mman.h is there). Why unistd.h ? It's not needed to compile and run the original code. Forget mmap(). That's

Re: second call to mmap() results in error

2014-01-30 Thread Larry Hall (Cygwin)
On 1/30/2014 2:04 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: Forget mmap(). Why? The response was: Adding the unistd.h fixes the problem in all its iterations -- the original mmap() test works (without the call to ftruncate()), as well as the second one. Note *the original*.

Re: second call to mmap() results in error

2014-01-30 Thread Larry Hall (Cygwin)
On 1/30/2014 2:46 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: OP privately wrote: The problem is also fixed by correct type-casting in the calls to mmap() ... mmap1 = mmap(NULL, (size_t) 524304, PROT_WRITE | PROT_READ, MAP_SHARED, shm_fd1, 0); The address returned from the call to

Re: ssh fails to start on Windows XP

2014-01-30 Thread Larry Hall (Cygwin)
On 1/29/2014 5:02 PM, Greg Couch wrote: FYI, I just upgraded cygwin on my Windows XP system from 1.7.18 to 1.7.27 and ssh no longer works. Runing under gdb gives: $ gdb /bin/ssh.exe (gdb) run gdb: unknown target exception 0xc139 at 0x7c9673be During startup program

Re: ssh fails to start on Windows XP

2014-01-30 Thread Larry Hall (Cygwin)
On 1/30/2014 7:19 PM, Greg Couch wrote: So recompiling opensll and openssh didn't fix the problem, but switching to a cygwin1.dll snapshot that I downloaded debugging an earlier problem from Nov 29, 2013 did fix the problem. snip The 1.7.26-1 version of cygwin package available via the

Re: setup.exe different packages

2014-01-29 Thread Larry Hall (Cygwin)
On 1/29/2014 11:24 AM, Achim Gratz wrote: Chris J. Breisch chris.ml at breisch.org writes: No, I don't agree with that statement. I'd be more inclined to believe that it's a bug in the command-line interface that doesn't allow you to do what the GUI does. You can disagree all you want, the

Re: setup.exe different packages

2014-01-29 Thread Larry Hall (Cygwin)
On 1/29/2014 1:10 PM, BGINFO4X wrote: snip It seems like base category is like a dependency of bash ... , which can be bypassed with the setupGUI. Close but not quite. Base is a category containing packages, including bash, that is installed by default. -- Larry

Re: Cygwin installer could be much more better

2014-01-29 Thread Larry Hall (Cygwin)
On 1/29/2014 3:40 PM, iljau wrote: snip On 2014-01-29 09:28 Christopher Faylor wrote: It should be pretty obvious that discussion about MSYS is off-topic. Please stop. I'll do it. Ah, right. Of course Chris meant Please stop after Ilja gets his last comment in. Now that that's happened,

Re: Exploring the idea of going from MKS tooklt to Cygwin

2014-01-29 Thread Larry Hall (Cygwin)
On 1/29/2014 4:29 PM, mrushton wrote: Can anyone give me any ideas or comments ? I am exploring the idea of moving some scripting from the MKS toolkit to Cygwin. I have all of these korn shell scripts that I use to poll our EDI mailboxes, translated the EDI, ftp files to various servers, etc.

Re: Cygwin installer could be much more better

2014-01-29 Thread Larry Hall (Cygwin)
On 1/29/2014 4:48 PM, Steven Penny wrote: On Wed, Jan 29, 2014 at 3:21 PM, Larry Hall (Cygwin) wrote Ah, right. Of course Chris meant Please stop after Ilja gets his last comment in. Now that that's happened, MSYS discussion can stop. ;-) You want some on-topic? Ok here goes Bash 4.2 has

Re: Problem compiling C++11 project with Cygwin

2014-01-29 Thread Larry Hall (Cygwin)
On 1/29/2014 5:21 PM, wrote: http://stackoverflow.com/questions/20145488/cygwin-g-stdstoi-error-stoi-is-not-a-member-of-std#_=_ I have still this problem, is there a patch or fix around? Did you try the suggestion for the same problem under mingw? It looks like this could be a

Re: cygcheck and literal plus sign

2014-01-27 Thread Larry Hall (Cygwin)
On 1/27/2014 10:47 AM, Gates, Roger wrote: $ ascii + ASCII 2/11 is decimal 043, hex 2b, octal 053, bits 00101011: prints as `+' Official name: Plus Sign Other names: Add, Cross $ cygcheck -p 'g\x{2b}\x{2b}.exe' Found 11 matches for g\x{2b}\x{2b}.exe But of course, everyone knows that! ;-)

Re: cygwin64 - installation problem - installed by administrator account

2014-01-27 Thread Larry Hall (Cygwin)
On 1/27/2014 1:29 AM, Flower, Martin wrote: Please excuse my newby-ignorance, but I can't work out how to progress this without some help Steps taken - Downloaded setup-x86_64.exe - Run setup-x86_64.exe using admflma (administrator account) - Logged in as netflma (my usual windows login) -

Re: Maintainer for git?

2014-01-27 Thread Larry Hall (Cygwin)
On 1/27/2014 5:30 PM, Balaji Venkataraman wrote: On Sun, Jan 26, 2014 at 11:19 AM, Adam Dinwoodie wrote: I was previously managing to reproduce this, but since updating to Corinna's latest OpenSSL builds, I've not had any issues. Is it possibly an out-of-date library hanging around in memory?

Re: mintty shell gets frequent 8~ strings inserted into input

2014-01-25 Thread Larry Hall (Cygwin)
On 1/24/2014 9:40 PM, KARR, DAVID wrote: -Original Message- Larry Hall (Cygwin) Sent: Friday, January 24, 2014 12:14 PM Subject: Re: mintty shell gets frequent 8~ strings inserted into input On 1/24/2014 2:57 PM, KARR, DAVID wrote: -Original Message- Larry Hall (Cygwin) Sent

Re: mintty shell gets frequent 8~ strings inserted into input

2014-01-25 Thread Larry Hall (Cygwin)
On 1/25/2014 5:27 PM, Larry Hall (Cygwin) wrote: On 1/24/2014 9:40 PM, KARR, DAVID wrote: -Original Message- Larry Hall (Cygwin) Sent: Friday, January 24, 2014 12:14 PM Subject: Re: mintty shell gets frequent 8~ strings inserted into input On 1/24/2014 2:57 PM, KARR, DAVID wrote

Re: file path resolution in DOS window vs mintty window

2014-01-25 Thread Larry Hall (Cygwin)
On 1/25/2014 3:04 PM, Steven Bardwell wrote: I would like to understand why Cygwin style paths do not work in a CMD (DOS) window on my 32-bit Cygwin system, but work fine on my 64-bit Cygwin install. Here is a simple example of the issue: #include stdio.h #include stdlib.h #include string.h

Re: Windows 7 64 Bit - Mounting Network Drives

2014-01-24 Thread Larry Hall (Cygwin)
On 1/24/2014 6:31 AM, Damian Harty wrote: Please remove this crap from list mails, thank you. I have no control over it. Please feel free to simply ignore it. Actually, you're lucky your email wasn't bounced back to you because of this. It's site policy to not allow such disclaimers. See

Re: Windows 7 64 Bit - Mounting Network Drives

2014-01-24 Thread Larry Hall (Cygwin)
On 1/24/2014 12:27 PM, Damian Harty wrote: Please remove this crap from list mails, thank you. I have no control over it. Please feel free to simply ignore it. Actually, you're lucky your email wasn't bounced back to you because of this. It's site policy to not allow such disclaimers.

Re: mintty shell gets frequent 8~ strings inserted into input

2014-01-24 Thread Larry Hall (Cygwin)
On 1/24/2014 2:00 PM, KARR, DAVID wrote: I'm on Cygwin 1.7.26 on Win7. I run mintty with C:\Cygwin\bin\mintty.exe -e /bin/bash --login. Every minute or so, or randomly, my mintty shell prompt gets the string 8~ inserted. If I leave the shell there, it will end up with a string of them. What

Re: mintty shell gets frequent 8~ strings inserted into input

2014-01-24 Thread Larry Hall (Cygwin)
On 1/24/2014 2:57 PM, KARR, DAVID wrote: -Original Message- Larry Hall (Cygwin) Sent: Friday, January 24, 2014 11:35 AM Subject: Re: mintty shell gets frequent 8~ strings inserted into input On 1/24/2014 2:00 PM, KARR, DAVID wrote: I'm on Cygwin 1.7.26 on Win7. I run mintty with C

Re: octave: cannot open shared object file: No such file or directory

2014-01-24 Thread Larry Hall (Cygwin)
On 1/24/2014 6:11 PM, Paul wrote: I use both Windows and cygwin X11 gvim -- mostly the former out of convenience and speed. I often shell out for filtering, and I'm careful to ensure that my vimrc shell setting directs commands to cygwin's bash: let shell='set

Re: AW: [bulk] - Re: Reduce noise in dependency declaration during uninstall in setup.exe

2014-01-23 Thread Larry Hall (Cygwin)
On 1/23/2014 10:40 AM, DEWI - N. Zacharias wrote: snip [...] One solution to this would be to reimplement it as two separate parts - a non-Cygwin envelope (which could even be installed as an msi) and a Cygwin-based package maintainer. The Cygwin-based part would be a completely separate

Re: cygcheck and literal plus sign

2014-01-22 Thread Larry Hall (Cygwin)
On 1/22/2014 11:05 AM, David Boyce wrote: On Wed, Jan 22, 2014 at 7:07 AM, Christopher Faylor wrote: So I'll change my answer to I don't know. How about 'g[+][+]' or 'g[+]{2}'? May I suggest that curious folks can more directly validate workarounds by trying them directly. cygwin.com

Re: AdminCygwin Release

2014-01-22 Thread Larry Hall (Cygwin)
On 1/22/2014 12:43 PM, BGINFO4X wrote: - Larry wrote: Certainly this would have the potential to interfere with any existing Cygwin installation. I have read that you can have more than one installation of cywgin in a single machine... Yes, if it is managed properly. If not, bad things

Re: AdminCygwin Release

2014-01-21 Thread Larry Hall (Cygwin)
On 1/21/2014 12:45 PM, Kizito Porta BalanyĆ  wrote: Hello everyone, I'm trying to create a Small Admin Cywgin relase, called AdminCgwin. If it works, I will upload to sourceforge. These are the main lines: 1- Create an installation windows package (.msi) with WIX. 2- Default Installed

Re: AdminCygwin Release

2014-01-21 Thread Larry Hall (Cygwin)
On 1/21/2014 2:52 PM, BGINFO4X wrote: Hello everyone, I'm trying to create a Small Admin Cywgin relase, called AdminCgwin. If it works, I will upload to sourceforge. These are the main lines: 1- Create an installation windows package (.msi) with WIX. 2- Default Installed packages: base +

Re: Reduce noise in dependency declaration during uninstall in setup.exe

2014-01-21 Thread Larry Hall (Cygwin)
On 1/21/2014 7:44 PM, Warren Young wrote: Alternate idea: If all of the changes requested on the previous screen are Uninstall (i.e. everything else is Keep or Skip), invert the current dependency tree walking logic. That is, have setup.exe find out which packages must be removed to satisfy

Re: Cygwin slow to drop to bash

2014-01-20 Thread Larry Hall (Cygwin)
On 1/20/2014 10:35 AM, Troy Cleland wrote: We have ran into an issue with cygwin ssh dropping to bash takes a long time after we had to do a uninstall and reinstall of cygwin. We shutdown the service and removed the service. Deleted the entry in path, registry keys, and directory it was

Re: cron isnt running, switched from 64bit to 32

2014-01-19 Thread Larry Hall (Cygwin)
On 1/16/2014 8:05 PM, patrick wrote: hi, i had cron running from a 64bit cygwin install, but i decided to switch to a 32bit version. the 32bit cygwin is installed to a differnt directory. what i did: running cron-config again from a terminal started as admin. deinstalling the service via

Re: interactive-services-detection not started on 32-bit cywin executables

2014-01-19 Thread Larry Hall (Cygwin)
On 1/17/2014 7:08 AM, BGINFO4X wrote: Hello, I attach here my tests to clarify: #Test1 - Only bash C:\cywin\bin\bash.exe Result: bash exits. Interactive window not opened. snip For example, when launching only bash.exe as a service, bash EXITS immediately. But, If I launch bash.exe and

Re: unable to run any cygwin commands: error while loading shared libraries: C

2014-01-16 Thread Larry Hall (Cygwin)
On 1/16/2014 4:33 AM, Mateusz Malinowski wrote: 2014/1/15 Larry Hall: On 1/15/2014 10:11 AM, Mateusz Malinowski wrote: Hello, I have a problem similar to one described in error while loading shared libraries: ?: cannot open shared object file: No such file or directory thread, though in my

Re: Sending messages with 64-bit mutt

2014-01-16 Thread Larry Hall (Cygwin)
On 1/16/2014 12:36 PM, Andrey Repin wrote: Greetings, Harri T.! Mutt as a mail user agent needs a mail transfer agent companion. What is the recommended MTA for 64-bit Cygwin? I used to use Exim in 32-bit Cygwin but it doesn't seem to exist in 64-bit Cygwin. If you don't need a full-blown

Re: interactive-services-detection not started on 32-bit cywin executables

2014-01-16 Thread Larry Hall (Cygwin)
On 1/16/2014 12:10 PM, BGINFO4X wrote: Hello everybody, I have a Windows service implementation of cygwin via NSSM (http://nssm.cc/). I use cygwin 1.7.27 32 bits. If I configure the service as allow service to interact with desktop, the UIODETEC.exe is not started, so I can't see the console.

Re: interactive-services-detection not started on 32-bit cywin executables

2014-01-16 Thread Larry Hall (Cygwin)
On 1/16/2014 12:10 PM, BGINFO4X wrote: Hello everybody, I have a Windows service implementation of cygwin via NSSM (http://nssm.cc/). I use cygwin 1.7.27 32 bits. If I configure the service as allow service to interact with desktop, the UIODETEC.exe is not started, so I can't see the console.

Re: setup-x86 wants to install libusb0?

2014-01-16 Thread Larry Hall (Cygwin)
On 1/16/2014 3:36 PM, Jim Garrison wrote: snip I figured out the dependency issue ... I was looking at an old setup.ini. It appears the latest libusb-win32 (1.2.6.0) DOES depend on libusb0, so that's legit. However, I still can't figure out why setup is not aware of the existence of

Re: Install packages without documentation

2014-01-15 Thread Larry Hall (Cygwin)
On 1/15/2014 6:45 AM, BGINFO4X wrote: Hello everybody, I'm trying to build a small release ... Normally /usr/share contains at least 50MB: folders like doc, man, info, ... Is there any way to install cygwin packages without the documentation ? No, not really. Observe: $ cygcheck -f

Re: Problem w/ gcc: sensitive to path it was invoked on...

2014-01-15 Thread Larry Hall (Cygwin)
On 1/15/2014 4:28 PM, Linda Walsh wrote: snip gcc is sensitive to the path it was invoked on?... gcc bug? Jon already addressed this: http://cygwin.com/ml/cygwin/2014-01/msg00078.html -- Larry _ A: Yes. Q: Are you sure?

Re: unable to run any cygwin commands: error while loading shared libraries: C

2014-01-15 Thread Larry Hall (Cygwin)
On 1/15/2014 10:11 AM, Mateusz Malinowski wrote: Hello, I have a problem similar to one described in error while loading shared libraries: ?: cannot open shared object file: No such file or directory thread, though in my case I can't run any cygwin commands (i.e. I can't even open cygwin's

Re: problem -- cygwin doesn't allow remounting of root; running 32-bit progs from 64-bit cygwin

2014-01-14 Thread Larry Hall (Cygwin)
On 1/13/2014 9:04 PM, Linda Walsh wrote: So how can can I get mount to allow me to remount root -- i.e.: mount C:\ / (when I do it, I either get perm problems OR a message about it being unable to figure out the type: /usr/bin mount C:\\ / mount: warning: couldn't determine mount type. mount:

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Larry Hall (Cygwin)
On 1/14/2014 1:26 AM, Steven Penny wrote: On Mon, Jan 13, 2014 at 9:54 PM, Steven Penny wrote $ ~/foo.sh /home/Steve0^G Update, it only produces this output if I enter ~/foo.sh using tab completion. That is to say, ~/f + TAB. If I manually enter each character, it works as expected.

Re: Cygrunsrv starts sshd twice after disconnect (1.7.25 i686 WinXP)

2014-01-14 Thread Larry Hall (Cygwin)
On 1/14/2014 4:55 PM, Alexander Kriegisch wrote: Ping. I have not received any answers in four weeks. If I can provide more info please tell me what, how, .. I see a second 'sshd' process created when I login to the server. The second has the first as its parent PID. From that, I'll gather

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Larry Hall (Cygwin)
On 1/14/2014 6:50 PM, Steven Penny wrote: On Tue, Jan 14, 2014 at 10:54 AM, Larry Hall (Cygwin) wrote Problem reports: http://cygwin.com/problems.html After running cygcheck -s -v -r on both a good and bad Cygwin.bat I ran a git diff and noticed this +PS1 = '\[\e]0;\w\a\]\n

Re: Cygwin installation scope

2014-01-05 Thread Larry Hall (Cygwin)
On 1/5/2014 11:48 AM, Gerry Reno wrote: Is there a way to install Cygwin such that it would only be accessible to Users within a specific Windows Group? Right now you either get it just for the installing user or for All Users. We would like access to be limited to a Group. setup*.exe's

Re: cygwin-apps is bouncing my mail

2014-01-04 Thread Larry Hall (Cygwin)
On 1/4/2014 5:42 AM, Erwin Waterlander wrote: Hi, I try to send messages to cygwin-apps, but they bounce back with a failure. Is there something wrong? If you're getting bounced email when you send to this list, you should first look at the bounce email message closely. It should explain why

Re: infocmp.exe opens in a new windows-cmd window and hangs

2013-12-23 Thread Larry Hall (Cygwin)
On 12/22/2013 9:09 PM, Irfan Adilovic wrote: Hi, On my 64-bit Cygwin installation, when I start `infocmp.exe` from within mintty, it opens up a new cmd-window (not mintty!), shows options and immediately closes. However, the infocmp process hangs in a way that defies killing -- it cannot be

Re: Fwd: cygwin texlive problem

2013-12-19 Thread Larry Hall (Cygwin)
On 12/19/2013 12:47 PM, Ken Brown wrote: On 12/19/2013 10:08 AM, Valerie Livina wrote: Dear Prof. Ken Brown, I apologise, I just sent the email unfinished - I continue it here. I found your email in Cygwin mailing lists, and I understand that you are an expert in TeXLive packages in Cygwin. I

Re: Odd command line recall problem

2013-12-18 Thread Larry Hall (Cygwin)
On 12/18/2013 6:42 PM, buggsy2 wrote: Good idea, right now it's: xyz:/cygdrive/d/printenv HISTIGNORE :[ \t]*:#* I'm not sure what all that does. But I don't think it would ignore the tac command. Well, you can always unset HISTIGNORE and see if it makes a difference. I can say that I don't

Re: Odd command line recall problem

2013-12-17 Thread Larry Hall (Cygwin)
On 12/17/2013 2:22 PM, buggsy2 wrote: Latest cygwin64 release as of posting on Windows 7x64 GNU bash, version 4.1.11(2)-release Running in the cygwin terminal (C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico ) The several commands I use all recall correctly using the up-arrow key. That is, I

Re: cannot execute binary file

2013-12-16 Thread Larry Hall (Cygwin)
On 12/16/2013 7:32 PM, Gerry Reno wrote: On 12/16/2013 07:27 PM, Max Polk wrote: On 12/16/2013 5:55 PM, Gerry Reno wrote: /usr/bin/ls: /usr/bin/ls: cannot execute binary file /bin/bash: Exit 126 This is the error that greets me when I try to execute a command in cygwin from a

Re: Path issue with windows shell

2013-11-27 Thread Larry Hall (Cygwin)
On 11/27/2013 3:03 PM, Matthew Lagoe wrote: im having a problem with paths, when i use /cygdrive/l in the windows shell it doesn't work however when i use it in the cygwin shell it works fine snip /cygdrive/c works fine in both The windows shell only see's the C drive even with ls C:\ls

Re: Path issue with windows shell

2013-11-27 Thread Larry Hall (Cygwin)
On 11/27/2013 4:01 PM, Matthew Lagoe wrote: Sorry I did not clarify earlier, I have cygin added to my path and I have not added anything to /cygdrive or otherwise. C:\tmpwhere ls C:\cygwin\bin\ls.exe C:\tmpC:\cygwin\bin\ls.exe /cygdrive c I noticed that all the paths that I am having issues

Re: Got inetd working, still haven't figured out Xinetd

2013-11-26 Thread Larry Hall (Cygwin)
On 11/26/2013 10:51 AM, Katherine Moss wrote: Hi all, As promised, I used the IU-Config script to configure Inetd, and while it mentions Xinetd, it only works for Inetd. What is the equivalent script to configure Xinetd; 'cygcheck --list xinetd' shows a '/usr/bin/xinetd-config' script. I'd

Re: Sshd and key based authentication

2013-11-26 Thread Larry Hall (Cygwin)
On 11/26/2013 12:12 PM, Andrea Venturoli wrote: On 11/20/13 22:47, Andrey Repin wrote: I raised the loglevel to DEBUG3 and verified sshd was *always* looking for /home/cyg_server/.ssh/authorized_keys, regardless of the user trying to log in. Erm, that strange. Can we see a egrep -iv ^(#|$)

Re: Cygwin64: Rebase problems

2013-11-25 Thread Larry Hall (Cygwin)
On 11/23/2013 2:35 PM, David Stacey wrote: snip However, for all DLLs in /usr/lib, the new base is always zero - so I see entries of the form: /usr/lib/cygsqlite3_mod_impexp.dll: new base = 0, new size = 1 /usr/lib/cygsqlite3_mod_xpath.dll: new base = 0, new size = 1 I

Re: Sshd and key based authentication

2013-11-20 Thread Larry Hall (Cygwin)
On 11/20/2013 12:37 PM, Andrea Venturoli wrote: On 11/18/13 10:17, Andrea Venturoli wrote: On 11/18/13 09:22, Andrey Repin wrote: Did you installed Cygwin LSA module? http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd2 I don't think so, but I can't check right now... Should I?

Re: cygcheck -svc segfaults on Windows 8.1 with cygwin64

2013-11-19 Thread Larry Hall (Cygwin)
On 11/19/2013 2:03 PM, Corinna Vinschen wrote: On Nov 19 13:21, Charles Wilson wrote: On 11/19/2013 12:13 PM, Corinna Vinschen wrote: Why do they have to make such a mess out of a simple function like GetVersionEx? It returns different OS version numbers based on the existence of a manifest

Re: Sshd and key based authentication

2013-11-18 Thread Larry Hall (Cygwin)
On 11/18/2013 2:58 AM, Andrea Venturoli wrote: Hello. I'm trying to set up sshd on a Windows 2003 domain controller. Everything works with password authentication; however I need this for a script, so, in order to get non-interactive login, I must use keys. Tried as hard as I could, but I could

<    1   2   3   4   5   6   7   8   9   10   >