Linefeed without carriage return after quitting vim

2012-07-04 Thread Sumudu Fernando
Using the latest cygwin DLL (1.7.15-1) I am routinely encountering a strange issue when quitting vim. This only occurs if I have used ^Z to suspend vim, restored it with fg, and later quit. IOW things work normally if I never suspend vim. A problematic session looks something like: [~]$

RE: BLODA nominee: Seagate GoFlex Home file server

2012-07-04 Thread Matt Seitz
> From: Earnie Boyd > Is it possible to convert to NTFS? Not easily. The GoFlex Home is an appliance that doesn't seem to have a documented way for users to reformat the file system. But even a FAT file system supports FAT file attributes, so reformatting to NTFS shouldn't be necessary. I ha

sshd does not start because of a logon problem

2012-07-04 Thread Gregg Levine
Hello! Now I am getting this rather obtuse message: C:\Windows\system32>net helpmsg 1069 The service did not start due to a logon failure. Now what would have caused that? I believe I can reset things, but I am interested in advice from the community. Note: Everything was working as of yesterday

Re: 1.7.15: periodically losing network interfaces under Win7 x64

2012-07-04 Thread Cliff Hones
On 04/07/2012 22:30, Ed wrote: > Under normal circumstances, I have 9 network interfaces (between VPN, > wireless, etc). These show up when I first start a bash shell with > "ipconfig /all". However, periodically cygwin seems to be losing > access to all network interfaces. When this happens, I

Re: Why won't my .sh file work with cygwin?

2012-07-04 Thread David Sastre Medina
Completely unrelated to your script problem but you should definitely take a look at pwgen (there's a cygwin package). -- Primary key fingerprint: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 signature.asc Description: Digital signature

RE: BLODA nominee: Seagate GoFlex Home file server

2012-07-04 Thread Buchbinder, Barry (NIH/NIAID) [E]
Matt Seitz wrote on July 04, 2012 3:42 AM > FYI: The Seagate GoFlex Home file server does not support setting > FAT file flags (read-only, system, etc.). As a result, Cygwin > cannot create symbolic links on these servers. Just a quibble: Those that are more knowledgeable may correct me, but I

Re: BLODA nominee: Seagate GoFlex Home file server

2012-07-04 Thread Earnie Boyd
On Wed, Jul 4, 2012 at 3:41 AM, Matt Seitz wrote: > FYI: The Seagate GoFlex Home file server does not support setting FAT file > flags (read-only, system, etc.). As a result, Cygwin cannot create symbolic > links on these servers. Why are drive companies bent on formatting with FAT by default?

Re: Differences between C++ 'new' operator and 'malloc()' (NOT a C/C++ question)

2012-07-04 Thread Ryan Johnson
On 04/07/2012 5:45 AM, Claude SIMON wrote: When I compile the component with Visual C++, it works. When I compile the component with g++... it crashes. With 'gdb', I found that the problem happens when calling the 'malloc' function (as soon as the function is called, NOT when the returned alloca

Re: Alt+numpad keys doesn't work in ssh sessions

2012-07-04 Thread Earnie Boyd
On Wed, Jul 4, 2012 at 6:56 AM, Lars Bjørndal wrote: > Hello > > I use Cygwin from cmd.exe, because I use BRLTTY, and that doesn't work > in Minty. Inside Cygwin, I can type alt+066, and I get B as expected. If > I do the same after connecting to another host through ssh, nothing > happens. Is this

Using cygwin from JNI

2012-07-04 Thread Csaba Raduly
Hi all, I'm trying to write a JNI wrapper to the Cygwin path conversion functions (cygwin_conv_path &al), to be used from Eclipse. Java code: public final class cygconv { /** private constructor to disable instantiation */ private cygconv() { } public static nativ

Re: Why won't my .sh file work with cygwin?

2012-07-04 Thread Andy Koppe
On 4 July 2012 11:04, Thorsten Kampe wrote: > * Gundament (Tue, 3 Jul 2012 22:38:36 -0700 (PDT)) >> >> I am new to Cygwin but I understand it does it's best to simulate a >> linux terminal. > > No. "Cygwin is: a collection of tools which provide a Linux look and > feel environment for Windows." htt

Phantom processes left over

2012-07-04 Thread Richard H Lee
Has anybody come across processes being left over? I'm extending an open source project. The functionality I'm adding is keeping track of running processes. I store the list of active processes in shared memory. When querying the list I also call kill with a 0 signal on all the entries to test

Re: Why won't my .sh file work with cygwin?

2012-07-04 Thread Eric Blake
On 07/03/2012 11:38 PM, Gundament wrote: > However for some reason, when I run the .sh file it gets to the 6th line and > then just closes abruptly when it is not supposed to. > > Once I enter the value for the "read x" command on line 6, it just closes > the terminal. > six={a,b,c,d,e,f,g,h,i,j

[ANNOUNCEMENT] Updated: cppcheck-1.55-1

2012-07-04 Thread Chris Sutcliffe
Version 1.55-1 of cppcheck has been uploaded, following the upstream release. cppcheck is a tool for static C/C++ code analysis. It tries to detect bugs that your C/C++ compiler doesn't see. The goal is no false positives. cppcheck is versatile. You can check non-standard code that includes var

Win2008 connection refused - SFTP

2012-07-04 Thread Skins
Hi i had cygwin working on 2 x Win2008 servers. Now i'm seeing the following error when i try and initiate a session .. please advise - thanks. D:\cygwin\bin>sftp -v ehealth@hostname OpenSSH_5.9p1, OpenSSL 0.9.8t 18 Jan 2012 debug1: Reading configuration data /etc/ssh_config debug1: Connecting

Alt+numpad keys doesn't work in ssh sessions

2012-07-04 Thread Lars Bjørndal
Hello I use Cygwin from cmd.exe, because I use BRLTTY, and that doesn't work in Minty. Inside Cygwin, I can type alt+066, and I get B as expected. If I do the same after connecting to another host through ssh, nothing happens. Is this a bug? I need the feature to type non native characters such as

Re: Why won't my .sh file work with cygwin?

2012-07-04 Thread Thorsten Kampe
* Gundament (Tue, 3 Jul 2012 22:38:36 -0700 (PDT)) > > I am new to Cygwin but I understand it does it's best to simulate a > linux terminal. No. "Cygwin is: a collection of tools which provide a Linux look and feel environment for Windows." http://cygwin.com/ > I want to make a little program

Differences between C++ 'new' operator and 'malloc()' (NOT a C/C++ question)

2012-07-04 Thread Claude SIMON
Hello everybody ! I have some C++ code that I want to use in a native Java component compiled with Cygwin g++. I also use exactly the same C++ code in a command-line tool ('.exe' binary). When I compile the tool with Visual C++, it works. When I compile the tool with g++, it works. When I compi

Re: Seagate GoFlex Home server causes setup.exe build to fail, "cannot run /bin/sh cfgaux/config.sub"

2012-07-04 Thread Corinna Vinschen
[Moving to cygwin ML now] On Jul 4 09:10, Matt Seitz wrote: > Officially, I don't think there's a way to modify the file system. > It's designed to be an appliance. I've contacted Seagate support to > see what they say. > > That said, I've just found out how to get SSH access into the server >

[ANNOUNCEMENT] Updated: mingw64-*

2012-07-04 Thread JonY
I have just released a refresh build of the mingw-w64 cross compiler toolchain. mingw64-*-binutils-2.22.52-1 mingw64-*-gcc-*-4.5.3-6 mingw64-*-headers-3.0b_svn5134-1 mingw64-*-runtime-3.0b_svn5134-1 The cross compiler can produce Win32 and Win64 native binaries. As a cross compiler, you may use -

BLODA nominee: Seagate GoFlex Home file server

2012-07-04 Thread Matt Seitz
FYI: The Seagate GoFlex Home file server does not support setting FAT file flags (read-only, system, etc.). As a result, Cygwin cannot create symbolic links on these servers. Sincerely, Matt Seitz -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.c