Re: Setup and Mintty

2011-11-21 Thread Corinna Vinschen
On Nov 20 19:56, Andy Koppe wrote:
 On 18 November 2011 10:59, Corinna Vinschen wrote:
  There's the faq entry My application prints international characters
  but I only see gray boxes.  The entry about the console is still
  valid, even after changing to mintty on the desktop.
 
 That answer seems out of date actually, since the Cygwin console
 charset is determined at the start of each process rather than at the
 start of each process tree, so it should always match what a process
 thinks it is.
 
   Do you think
  it makes sense to add words about mintty here?  If so, I guess the
  problem more often occurs with Win32 apps running in a UTF-8 mintty.
  Do you have a suggestion for an addition related to mintty?
 
 How about this:

Simple and clear.  Checked in.  Thanks!


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Setup announcement

2011-11-21 Thread Corinna Vinschen
Hi Jon,


most of the changes and fixes in the new setup.exe release from this
weekend are yours per the ChangeLog.  I don't know exactly what to write
in an announcement.  Here's what I have so far.  Can you please have a
look and revise it?

- Now that mintty has become part of the default installation, setup will
  create desktop and start menu shortcuts called Cygwin Terminal, which
  point to mintty, starting your default shell as noted in /etc/passwd.

- The desktop and start menu shortcuts use new icons.

- Remove Prev button from Chooser page.  The behaviour was confusing
  and unnecessary.

- In unattanded mode, if packages were selected on command line,
  install only these, not their dependencies.
  
  --- Is that correct?  Or are the dependencies installed as well,
  but not unrelated packages?

- Improve progress bar display.

- Fix behaviour when reading broken tar archives.

- Improve error messages related to reading and writing files.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [RFU] hdf5-1.8.8-1

2011-11-21 Thread Corinna Vinschen
On Nov 20 21:33, marco atzeri wrote:
 New upstream release
 
 to download (remove the index.html's) :
 
 wget -r -np -nH --cut-dirs=2 \
 http://matzeri.altervista.org/cygwin-1.7/hdf5/index.html
 
 rm  ./index.html \
 ./libhdf5-devel/index.html \
 ./libhdf5_7/index.html
 
 File list:
 
 hdf5-1.8.8-1-src.tar.bz2
 hdf5-1.8.8-1.tar.bz2
 libhdf5-devel/libhdf5-devel-1.8.8-1.tar.bz2
 libhdf5-devel/setup.hint
 libhdf5_7/libhdf5_7-1.8.8-1.tar.bz2
 libhdf5_7/setup.hint
 setup.hint

Uploaded.

 please remove  1.6.9-2 and obsolete libhdf5_0

Not done yet.  There's also a 1.6.8-3 release.  I assume this can be
removed as well?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [RFU] hdf5-1.8.8-1

2011-11-21 Thread marco atzeri

On 11/21/2011 10:56 AM, Corinna Vinschen wrote:

On Nov 20 21:33, marco atzeri wrote:



please remove  1.6.9-2 and obsolete libhdf5_0


Not done yet.  There's also a 1.6.8-3 release.  I assume this can be
removed as well?


Corinna



oh yes,
I checked the setup.ini but not the web site

Regards
Marco



Re: Setup announcement

2011-11-21 Thread Cyrille Lefevre

Le 21/11/2011 10:52, Corinna Vinschen a écrit :

- In unattanded mode, if packages were selected on command line,
   install only these, not their dependencies.

   --- Is that correct?  Or are the dependencies installed as well,
   but not unrelated packages?

Hi,

maybe you may provide this as an option ?
w or w/o dependencies...

Regards,

Cyrille Lefevre
--
mailto:cyrille.lefevre-li...@laposte.net



Re: [RFU] hdf5-1.8.8-1

2011-11-21 Thread Corinna Vinschen
On Nov 21 11:12, marco atzeri wrote:
 On 11/21/2011 10:56 AM, Corinna Vinschen wrote:
 On Nov 20 21:33, marco atzeri wrote:
 
 please remove  1.6.9-2 and obsolete libhdf5_0
 
 Not done yet.  There's also a 1.6.8-3 release.  I assume this can be
 removed as well?
 
 
 Corinna
 
 
 oh yes,
 I checked the setup.ini but not the web site

No worries.  I removed 1.6.x and libhdf5_0.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: Setup announcement

2011-11-21 Thread Jon TURNEY
On 21/11/2011 09:52, Corinna Vinschen wrote:
 most of the changes and fixes in the new setup.exe release from this
 weekend are yours per the ChangeLog.  I don't know exactly what to write
 in an announcement.  Here's what I have so far.  Can you please have a
 look and revise it?

Sure, some suggestions interleaved

 - Now that mintty has become part of the default installation, setup will
   create desktop and start menu shortcuts called Cygwin Terminal, which
   point to mintty, starting your default shell as noted in /etc/passwd.
 
 - The desktop and start menu shortcuts use new icons.
 
 - Remove Prev button from Chooser page.  The behaviour was confusing
   and unnecessary.
 
 - In unattanded mode, if packages were selected on command line,
   install only these, not their dependencies.
   
   --- Is that correct?  Or are the dependencies installed as well,
   but not unrelated packages?

The change I made is supposed to prevent unrelated, already installed packages
from getting updated. So perhaps

In unattended mode, if packages were selected on command line,
install only those, don't also upgrade all installed packages

 - Improve progress bar display.

Various improvements so progress bar shows progress during operations which
may take a long time with a large number of packages selected.

 - Fix behaviour when reading broken tar archives.

Fix hang when reading broken or pbzip2 compressed tar archives

 - Improve error messages related to reading and writing files.

Also a few earlier changes you didn't mention:

(2.739)
- Canonicalize mirror URLs so they always end with a '/'

(2.740)
- Fix a bug which would lead to setup getting stuck on the dependency
checking progress page in unattended mode when a dependency of an already
installed package was not installed somehow.

(2.741)
Correct the description of the -K option in help text


Re: Setup announcement

2011-11-21 Thread Corinna Vinschen
On Nov 21 14:28, Jon TURNEY wrote:
 On 21/11/2011 09:52, Corinna Vinschen wrote:
  most of the changes and fixes in the new setup.exe release from this
  weekend are yours per the ChangeLog.  I don't know exactly what to write
  in an announcement.  Here's what I have so far.  Can you please have a
  look and revise it?
 
 Sure, some suggestions interleaved
 
  - Now that mintty has become part of the default installation, setup will
create desktop and start menu shortcuts called Cygwin Terminal, which
point to mintty, starting your default shell as noted in /etc/passwd.
  
  - The desktop and start menu shortcuts use new icons.
  
  - Remove Prev button from Chooser page.  The behaviour was confusing
and unnecessary.
  
  - In unattanded mode, if packages were selected on command line,
install only these, not their dependencies.

--- Is that correct?  Or are the dependencies installed as well,
but not unrelated packages?
 
 The change I made is supposed to prevent unrelated, already installed packages
 from getting updated. So perhaps
 
 In unattended mode, if packages were selected on command line,
 install only those, don't also upgrade all installed packages
 
  - Improve progress bar display.
 
 Various improvements so progress bar shows progress during operations which
 may take a long time with a large number of packages selected.
 
  - Fix behaviour when reading broken tar archives.
 
 Fix hang when reading broken or pbzip2 compressed tar archives
 
  - Improve error messages related to reading and writing files.
 
 Also a few earlier changes you didn't mention:
 
 (2.739)
 - Canonicalize mirror URLs so they always end with a '/'
 
 (2.740)
 - Fix a bug which would lead to setup getting stuck on the dependency
 checking progress page in unattended mode when a dependency of an already
 installed package was not installed somehow.
 
 (2.741)
 Correct the description of the -K option in help text

Thanks!  Announcement follows shortly.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Upgrade to OpenSSL 1.0.0 ?

2011-11-21 Thread Aleksander Adamowski
Hello!

From looking at the mailing list I can see that a preliminary
discussion about upgrading OpenSSL to 1.0.0 took plave in 2010
(http://sourceware.org/ml/cygwin-apps/2010-06/msg00174.html).

Is the upgrade going to happen?

I'm asking because the currently used OpenSSL version (0.9.8) has
significant problems with SSL version negotiation, that manifest e.g.
in libcurl with the error:

SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)

See:
http://sourceforge.net/tracker/?func=detailatid=100976aid=3395520group_id=976

This particular error makes it practically impossible in Cygwin to use
GIT over HTTPS (like provided by GitHub) - no known workaround exists
that would employ environment variables or custom config files for
either libcurl, Git or OpenSSL. One would have to compile OpenSSL
1.0.0, libcurl and Git by hand.

Best Regards,
  Aleksander Adamowski


XWin.exe causes Windows apps. to freeze

2011-11-21 Thread Jim Reisert AD1C
I have a persistent problem at work after XWin has been running for a
while (sometimes hours, sometimes days).  Windows programs will
spontaneously freeze

I am running Windows XP SP3 on a Dell Latitude D810 laptop (Intel
T7200 @ 2.0 GHz, 2 GB RAM).  I typically run MS Outlook 2007, some
form of Firefox (either release or beta), and Citrix (remote-access
software), all at the same time, though I have run the various flavors
of VNC (Real, Tight, Tiger) in the past.  Graphics is an NVIDIA Quadro
NVS 110M with two monitors connected (one digital, one analog), using
the 197.68 driver.

What happens is that windows will spontaneously freeze.  For example,
I'm composing a message in Outlook, and all of a sudden, my keyboard
stops responding, then I'll get the Windows hourglass in that window.
Or I'll be surfing in Firefox and window changes just stop, again
hourglass.  Once this happens, killing XWin.exe from the task manager
immediately releases the hang condition(s), though the hang may
release itself if I wait several minutes (yeah, right).  At this
point, I can re-start XWin, but later on, it will happen again.

I'm starting XWin.exe from the install shortcut:

  C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe

I'm running the latest of Cygwin everything, the problem has been
across several (many) releases of the Xorg server.  I think it's using
the default options for multi-monitor, cut/paste, etc.  I can usually
copy/paste between XWin and MS Windows (and usually Citrix) without
any problems.  I keep thinking that the problem is something in the
XWin code that interfaces to Windows' copy/paste engine (OLE?).

Is there any way to debug this problem?  It would be great to get it resolved.

Thanks - Jim

-- 
Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin.exe causes Windows apps. to freeze

2011-11-21 Thread Ryan Johnson

On 21/11/2011 12:14 PM, Jim Reisert AD1C wrote:

I have a persistent problem at work after XWin has been running for a
while (sometimes hours, sometimes days).  Windows programs will
spontaneously freeze
For example,
I'm composing a message in Outlook, and all of a sudden, my keyboard
stops responding, then I'll get the Windows hourglass in that window.
Or I'll be surfing in Firefox and window changes just stop, again
hourglass.  Once this happens, killing XWin.exe from the task manager
immediately releases the hang condition(s), though the hang may
release itself if I wait several minutes (yeah, right).  At this
point, I can re-start XWin, but later on, it will happen again.

I'm starting XWin.exe from the install shortcut:

   C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe

I'm running the latest of Cygwin everything, the problem has been
across several (many) releases of the Xorg server.  I think it's using
the default options for multi-monitor, cut/paste, etc.  I can usually
copy/paste between XWin and MS Windows (and usually Citrix) without
any problems.  I keep thinking that the problem is something in the
XWin code that interfaces to Windows' copy/paste engine (OLE?).
If you think it's clipboard related, try running with -noclipboard and 
see if that fixes it. Downside is, you lose all clipboard functionality...


BTW, what do you use x11 for? Other than the odd gnuplot session, I've 
not needed an X server since switching from xterm to mintty (which just 
became the official cygwin terminal). If a similar situation applies to 
you, you could temporarily switch to mintty while doing the above 
experiment and still be able to use clipboard in the meantime.


Finally, I've never used a multi-monitor setup myself, but according to 
the XWin man page you should specify the -multimonitors option since you 
apparently (really??) don't run in -multiwindow mode. Or maybe the man 
page is just out of date and -multiwindow is the default now, in which 
case multiple monitor support comes for free.


Ryan


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin.exe causes Windows apps. to freeze

2011-11-21 Thread Jim Reisert AD1C
On Mon, Nov 21, 2011 at 10:39 AM, Ryan Johnson
ryan.john...@cs.utoronto.ca wrote:

 If you think it's clipboard related, try running with -noclipboard and see
 if that fixes it. Downside is, you lose all clipboard functionality...

Duh, I should have though of that.  Where do these settings reside
now, since I'm no longer starting XWin using the batch file?

 BTW, what do you use x11 for? Other than the odd gnuplot session, I've not
 needed an X server since switching from xterm to mintty (which just became
 the official cygwin terminal).

All my work work is X-based, I'm super-comfortable with the
interface, for example, using the mouse for copy/paste which is a
little more awkward in mintty.  Plus I love Xemacs.

 Finally, I've never used a multi-monitor setup myself, but according to the
 XWin man page you should specify the -multimonitors option since you
 apparently (really??) don't run in -multiwindow mode.

I think I do, because I can move the windows to the other monitor and
they still function.  Again, I don't know/remember where these
settings reside now.  They're not in my .startxwinrc

-- 
Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin.exe causes Windows apps. to freeze

2011-11-21 Thread Andy Koppe
On 21 November 2011 17:57, Jim Reisert AD1C wrote:
 All my work work is X-based, I'm super-comfortable with the
 interface, for example, using the mouse for copy/paste which is a
 little more awkward in mintty.

In what way?

Andy

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin.exe causes Windows apps. to freeze

2011-11-21 Thread Ryan Johnson

On 21/11/2011 12:57 PM, Jim Reisert AD1C wrote:

On Mon, Nov 21, 2011 at 10:39 AM, Ryan Johnson
ryan.john...@cs.utoronto.ca  wrote:


If you think it's clipboard related, try running with -noclipboard and see
if that fixes it. Downside is, you lose all clipboard functionality...

Duh, I should have though of that.  Where do these settings reside
now, since I'm no longer starting XWin using the batch file?
I think you have to modify the shortcut (or run the command from a 
terminal) to add extra command-line options.



BTW, what do you use x11 for? Other than the odd gnuplot session, I've not
needed an X server since switching from xterm to mintty (which just became
the official cygwin terminal).

All my work work is X-based, I'm super-comfortable with the
interface, for example, using the mouse for copy/paste which is a
little more awkward in mintty.  Plus I love Xemacs.
Eh? Mouse copy/paste in mintty is identical to xterm AFAIK... select = 
copy, middle button = paste. If you're in a mouse-using terminal app you 
have to hold down [shift] but that's the same in xterm, I think.


Re xemacs: fair enough. I mostly stick with emacs + xt-mouse because of 
slow/unreliable network connections to the servers I do most of my work on.


Ryan


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin.exe causes Windows apps. to freeze

2011-11-21 Thread Jim Reisert AD1C
On Mon, Nov 21, 2011 at 1:20 PM, Ryan Johnson wrote:

 Eh? Mouse copy/paste in mintty is identical to xterm AFAIK... select = copy,
 middle button = paste. If you're in a mouse-using terminal app you have to
 hold down [shift] but that's the same in xterm, I think.

Not on mine it isn't:

* double-click on word  hightlights, but does not copy
* middle button paste does work

In my xterms, I just have to double-click LMB to copy, then MMB pastes.

-- 
Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin.exe causes Windows apps. to freeze

2011-11-21 Thread Ryan Johnson

On 21/11/2011 4:25 PM, Jim Reisert AD1C wrote:

On Mon, Nov 21, 2011 at 1:20 PM, Ryan Johnson wrote:


Eh? Mouse copy/paste in mintty is identical to xterm AFAIK... select = copy,
middle button = paste. If you're in a mouse-using terminal app you have to
hold down [shift] but that's the same in xterm, I think.

Not on mine it isn't:

* double-click on word  hightlights, but does not copy
* middle button paste does work

In my xterms, I just have to double-click LMB to copy, then MMB pastes.
That's very strange... I can't tell you how many ad-hoc excel graphs 
I've populated with numbers grabbed by double-click from experiment 
output. Triple-clicking to get the whole line also comes in handy at 
times. I just tested again in case it changed since yesterday, and it 
still works for me.


Ryan


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Built XWin on mingw - with patches

2011-11-21 Thread SeongNam Oh
Ryan Pavlik rpavlik at iastate.edu writes:

 
 On Mon, Nov 7, 2011 at 12:10 PM, Jon TURNEY jon.turney at dronecode.org.uk
wrote:
  Sorry, I should have mentioned this before, but please can you add a
  'Signed-off-by' line to these (git commit --amend --signoff will add one for
  you)
 
  A few comments, I'll take a deeper look later:
 
  0001-os-osinit.c-Exclude-new-signal-sigaction-code-on-non.patch
 
  Shouldn't this be X_NOT_POSIX rather than X_NO_POSIX?
 
 Good catch, thanks!
 
 
  0006-hw-xwin-Makefile.am-Include-manifest-in-the-dist-tar.patch
 
  Good catch! 
 
 
 Yeah, notices this when trying to build for tarballs.
 
  0009-os-utils.c-Use-winxp-or-better-for-Winsock-API.patch
 
  I am a bit unclear why this is needed, surely the winsock API predates XP?
  It might be better to add this define to CFLAGS rather than to start
  sprinkling it around source files as needed?
 
 
 Yes, but one of the calls in that file uses a part of the winsock API
 introduced in XP - getaddrinfo and freeaddrinfo.

http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/ws2tcpip.h?rev=1.12content-type=text/x-cvsweb-markupcvsroot=src
 
  0013-hw-xwin-InitOutput.c-Remove-duplicated-code-for-sett.patch
 
  Comment should probably say 'Consolidate duplicate code' rather than
  'Remove'
 
  It seems this changes more than that, though, as it now looks for the files
  in both PROJECTROOT and basedir?
 
  0017-dix-registry.c-non-cygwin-find-protocol.txt-in-reloc.patch
 
  I think the answer to the question 'Should this actually be checking
  RELOCATE_PROJECTROOT ?' is yes
 
 
 The catch here is that RELOCATE_PROJECTROOT is currently (added by me,
 since it wasn't in any header except the unused autogenerated one) in
 xwin-config.h. Would it be appropriate to move it to dix-config.h for
 this purpose?
 
  I think it would probably be neater to do something like arrange for
  FILENAME to start with the platform-appropriate path separator, rather than
  to define FILENAME_ONLY as the same name without an initial path separator?
 
 
 The difference is not just the path separator - the FILENAME also
 includes the macro define (string literal) of the install location,
 which is concatenated with the filename by the preprocessor.
 
  0027-dix-registry.c-Free-old-memory-upon-realloc-failure.patch
 
  Interesting.
 
  It would probably be useful to quote the language from the appropriate
  standard which describes the behavior of realloc() in this error case in the
  comment.
 
  I don't think this change is fully correct however.  If the realloc'ed size
  is 0, realloc() may return NULL, but the previously allocated memory has
  been freed.  Perhaps you need to check if errno has been set by realloc to
  distinguish these two cases?
 
  Did you notice this by inspection or actually have a problem caused by this
  code? Have you audited the rest of the xserver code for this class of error?
 
 
 Good point. I found this with cppcheck - a static analysis tool that,
 despite its name, is useful for C code as well. There were other
 issues it mentioned in the xserver code, but I didn't get to any of
 the others yet. In any case, it's a completely orthogonal patch. Might
 be useful for someone more familiar with the code to run cppcheck and
 address the issues.
 
  0041-configure.ac-mingw-doesn-t-have-setuid-either.patch
 
  Use whitespace consistently with the context, please
 
 Oops - will correct.
 
 
  --
  Jon TURNEY
  Volunteer Cygwin/X X Server maintainer
 
 

I have successfully built XWin with some Xming project patches( manually adopted
line by line after understanding the purpose) on MINGW environment and also
activated GLX. not AIGLX yet because I couldn't find a way to build swrast
driver of Mesa with xlib option, but server side is activated. 

I am finalizing my built, and I am facing on an issue point.

1. in MINGW environment, I could successfully compile xkeyboard-config 1.3
version package, but higher version is failed.

below is an error message from version 2.3
interesting thing is xkbcomp -lfhlpR -o compat.dir '*' command doesn't
generate the compat.dir file and even command from 1.3 also doesn't generate the
file when I manually wrote in MINGW shell.

but 1.3 version is working in script operation in the shell.

why I am trying to do this is to figure out an root error point after calling
XSync() command in XMesaSwapBuffers() which is the last call after rendering 3D
objects.
Now, XWin is working fine before calling the command and the command is
generating BadRequest and I believe that it comes from Xi module and then
digging the root cause. ( to clean out a possibility because I used too old
xkeyboard-config )

***
[ Client End ]
seongnam@Panda ~/build/bin
$ ./GLlesson05.exe
Got Doublebuffered Visual!
glX-Version 1.4
Resolution 600x600
Depth 24
Congrats, you have Direct Rendering!
X Error:  BadRequest
  Request Major code 0 ()
  Error Serial #35
  

Re: XWin.exe causes Windows apps. to freeze

2011-11-21 Thread Andy Koppe
On 21 November 2011 23:45, Ryan Johnson wrote:
 On 21/11/2011 4:25 PM, Jim Reisert AD1C wrote:

 On Mon, Nov 21, 2011 at 1:20 PM, Ryan Johnson wrote:

 Eh? Mouse copy/paste in mintty is identical to xterm AFAIK... select =
 copy,
 middle button = paste. If you're in a mouse-using terminal app you have
 to
 hold down [shift] but that's the same in xterm, I think.

 Not on mine it isn't:

 * double-click on word  hightlights, but does not copy
 * middle button paste does work

 In my xterms, I just have to double-click LMB to copy, then MMB pastes.

 That's very strange... I can't tell you how many ad-hoc excel graphs I've
 populated with numbers grabbed by double-click from experiment output.
 Triple-clicking to get the whole line also comes in handy at times. I just
 tested again in case it changed since yesterday, and it still works for me.

Options - Mouse - Copy on select

This is on by default these days, but wasn't originally. Evidence
again that functionality that isn't enabled by default might as well
not be there as far as most users are concerned. Speaking of which, my
own favourite mintty feature is 'Clicks place command line cursor' on
the same page, which can greatly speed up navigating long command
lines.

Andy

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin.exe causes Windows apps. to freeze

2011-11-21 Thread Ryan Johnson

On 22/11/2011 12:27 AM, Andy Koppe wrote:

On 21 November 2011 23:45, Ryan Johnson wrote:

On 21/11/2011 4:25 PM, Jim Reisert AD1C wrote:

On Mon, Nov 21, 2011 at 1:20 PM, Ryan Johnson wrote:


Eh? Mouse copy/paste in mintty is identical to xterm AFAIK... select =
copy,
middle button = paste. If you're in a mouse-using terminal app you have
to
hold down [shift] but that's the same in xterm, I think.

Not on mine it isn't:

* double-click on word  hightlights, but does not copy
* middle button paste does work

In my xterms, I just have to double-click LMB to copy, then MMB pastes.

That's very strange... I can't tell you how many ad-hoc excel graphs I've
populated with numbers grabbed by double-click from experiment output.
Triple-clicking to get the whole line also comes in handy at times. I just
tested again in case it changed since yesterday, and it still works for me.

Options -  Mouse -  Copy on select

This is on by default these days, but wasn't originally. Evidence
again that functionality that isn't enabled by default might as well
not be there as far as most users are concerned. Speaking of which, my
own favourite mintty feature is 'Clicks place command line cursor' on
the same page, which can greatly speed up navigating long command
lines.
Holy smokes Batman! How long has that been there? A quick test confirms 
that it also works for readline-enabled app prompts (python, gnuplot, 
gdb). And here I've been copying long commands to notepad for editing 
all this time...


Too bad screen spoils the fun for the prompts it manages.

Ryan

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



winsup/cygwin ChangeLog signal.cc sigproc.cc

2011-11-21 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2011-11-21 19:13:31

Modified files:
cygwin : ChangeLog signal.cc sigproc.cc 

Log message:
* sigproc.cc (remove_proc): Don't do busy loop when execing since 
thread could
have been terminated prior to setting flag.
* signal.cc (sigwaitinfo): Zero event before closing to signal other 
threads
that it is no longer available.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5561r2=1.5562
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/signal.cc.diff?cvsroot=uberbaumr1=1.101r2=1.102
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaumr1=1.356r2=1.357



[ANNOUNCEMENT] Updated: {pstoedit/libpstoedit0/libpstoedit-devel}-3.60-1: pstoedit translates PostScript and PDF graphics into other vector formats

2011-11-21 Thread Dr. Volker Zell
Hi

New versions of 'pstoedit/libpstoedit0/libpstoedit-devel' have been uploaded to 
a server near you.

 o Upgrade to latest upstream version
 o Build for cygwin 1.7.9 with gcc-4.5.3


pstoedit NEWS:
===

 * added option (-minlinewidth) for adjusting very thin (e.g. zero-width) lines 
to a minimal width.
 * added an option (-pslanguagelevel) for easy switching the language level to 
be used by GhostScript during interpretation of the PostScript/PDF file.
 * new driver for the Context Free drawing tool 
(http://www.contextfreeart.org/ ) contributed by Scott Pakin.
 * fixed the windows binary version - some drivers were missing.
 * fixed some problems in handling composite fonts (FontType = 0)
 * windows 32 bit binary can call 64 bit ghostscript as exe (i.e. not via DLL 
interface)
 * support for 64 bit windows and Office 2010


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then look at the List-Unsubscribe:  tag in the
email header of this message.  Send email to the address specified
there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
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



chere, mksh and pdksh

2011-11-21 Thread Ronald Fischer
I would like to use chere to create a context menu for a terminal
running ksh.

I have installed mksh, since pdksh is marked as obsolete. However, the
chere man-page says that it expects pdksh, if I want a Korn Shell. What
is the best way to proceed?

- Install pdksh too, although it is obsolete?
- Create a symlink /usr/bin/pkdsh, to point to mksh?

Ronald
-- 
Ronald Fischer rona...@eml.cc
+  If a packet hits a pocket on a socket on a port, 
+  and the bus is interrupted and the interrupt's not caught,
+  then the socket packet pocket has an error to report.
+   (cited after Peter van der Linden)


--
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



Faulty reference to release/ subdirectory in latest setup.ini timestamp 1321833972

2011-11-21 Thread Fergus

All install: references in latest setup.ini timestamp 1321833972 are to
/sourceware/ftp/anonftp/pub/cygwin/release/..
instead of
release/..
Fergus

--
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



Please explain afio warning message

2011-11-21 Thread Ronald Fischer
Executing the command

find . -print0 | afio -o -z -Z -0 -Y '*.log' -T 1k -G 2
/cygdrive/c/temp/arch.afio

results in the following warning message:

afio: .: Cannot create cpio-compatible file header for this input
afio: /cygdrive/c/temp/save.afio [offset 0]: Continuing, archive will
not be fully compatible with cpio or afio versions 2.4.7 and lower
afio: /cygdrive/c/temp/save.afio: Warning: Created archive is not
fully compatible with cpio or afio versions 2.4.7 and lower.
afio: /cygdrive/c/temp/save.afio: See the ARCHIVE PORTABILITY section
of the manpage.

I read the section about portability, but still don't know the reason
for this warning, only that it somehow must be related to the usage of
. for denoting the working directory.

Can I safely ignore the warnings? Is there a way to suppress them, other
than redirecting stderr to the bit bucket? cpio compatibility is not
crucial for me.

-- 
Ronald Fischer rona...@eml.cc
+  If a packet hits a pocket on a socket on a port, 
+  and the bus is interrupted and the interrupt's not caught,
+  then the socket packet pocket has an error to report.
+   (cited after Peter van der Linden)


--
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: Faulty reference to release/ subdirectory in latest setup.ini timestamp 1321833972

2011-11-21 Thread Corinna Vinschen
On Nov 21 10:22, Fergus wrote:
 All install: references in latest setup.ini timestamp 1321833972 are to
 /sourceware/ftp/anonftp/pub/cygwin/release/..
 instead of
 release/..
 Fergus

I just checked on sourceware.  Latest setup.ini has timestamp 1321869647
and the install references are to release/...


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: midnight commander does not see external USB hard drives on remote machine

2011-11-21 Thread marco atzeri

On 11/21/2011 5:44 AM, carolus wrote:

On 11/20/2011 3:55 PM, marco atzeri wrote:

On 11/20/2011 3:59 PM, carolus wrote:

Midnight commander does not see USB storage devices on a remote machine
using an ssh connection. cd /cygdrive/f gives the message no such file
or directory from within mc, but the same command works as expected
from ssh.


could you clarify a bit ?

cygwin can not mount remote filesystem, so mc on cygwin lack also
such feature.

I succeeded to explore a remote filesystem through the shell link,
but I suspect any options like copy and view are problematic,


To copy is not a big problem. For example,

scp junk.f $DELL
(where DELL=dell03:/cygdrive/f/transit_ext)

will copy junk.f to a directory on a USB hard drive on remote host
dell03. Here I put the target directory in an environment variable so
that I don't have to retype it. I would like to be able to navigate to
the target directory on the remote filesystem without having to type
exact long pathnames (sftp allows no wildcards in the remote cd
command). I can do that with midnight commander on the remote system
drive /cygdrive/c, but not on the remote USB HDD /cygdrive/f




I can only guess that mc is connecting with insufficient privileges / 
different identity that ssh. I need to look how the FISH module is

performing the browsing on the remote computer, and I have
currently no clue of it.

I will not be able to test a ssh connection to another cygwin
computer, for at least one month as I am travelling for job.
So do not expect a short term solution.

Regards
Marco



--
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: 1.7.9-1 Exec SSH hangs on windows 7 and 2008 server

2011-11-21 Thread Pierre-Yves, Lafonta

Hello,

If those informations could help in anyway ... ( or give workaround for 
people face to same problem)

I tried install other SSH servers to reproduce (or not) my problem:

winsshd 5.26 is OK
mobaSSH is KO


Regards,


Le 17/11/2011 12:23, Pierre-Yves Lafonta a écrit :

Hello,

I use cygwin sshd daemon 5.9p1-1 to send them ssh exec command.
Here my problem:

nb=106496; rm testfile; for i in ` seq 1 $nb` ; do echo 1testfile;done
ssh user@host cat  testfile  outputfile

Work as expected on different cygwin plateforme (see the
cygcheck.winxp, cygcheck.seven, cygcheck.w2008 attached)

But, with one caracter more in the testfile, it stop working on seven and 2008.
The exec command hang; have to Ctrl+Z.

nb=106497; rm testfile; for i in ` seq 1 $nb` ; do echo 1testfile;done
ssh user@host cat  testfile  outputfile

On host machine, cat process still alive.
it's 100% reproductible. Verbose log just show that process dont
receive sigchld signal...

AnyOne Understand what exactly happen ?
Is it a bug or a normal behaviour?
And is there a workaround or a way i have to rewrite my exec command ?

Regards,

Pierre-Yves



--
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



[ANNOUNCEMENT] Updated: setup.exe (Release 2.761)

2011-11-21 Thread Corinna Vinschen
A new version of setup.exe, release 2.761, has been uploaded to
http://cygwin.com/setup.exe.

Changes:

- Now that mintty has become part of the default installation, setup will
  create desktop and start menu shortcuts called Cygwin Terminal, which
  point to mintty, starting your default shell as noted in /etc/passwd.

- The desktop and start menu shortcuts use new icons.

- Remove Prev button from Chooser page.  The behaviour was confusing
  and unnecessary.

- In unattended mode, if packages were selected on command line,
  install only those, don't also upgrade all installed packages.

- Various improvements so progress bar shows progress during operations
  which may take a long time with a large number of packages selected.

- Fix hang when reading broken or pbzip2 compressed tar archives.

- Canonicalize mirror URLs so they always end with a '/'.

- Fix a bug which would lead to setup getting stuck on the dependency
  checking progress page in unattended mode when a dependency of an
  already installed package was not installed somehow.

- Correct the description of the -K option in help text.


  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.comATcygwinDOTcom

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: [ANNOUNCEMENT] Updated: setup.exe (Release 2.761)

2011-11-21 Thread Jeremy Bopp
On 11/21/2011 09:06, Corinna Vinschen wrote:
 A new version of setup.exe, release 2.761, has been uploaded to
 http://cygwin.com/setup.exe.
 
 Changes:
 
 - Now that mintty has become part of the default installation, setup will
   create desktop and start menu shortcuts called Cygwin Terminal, which
   point to mintty, starting your default shell as noted in /etc/passwd.

That right there is awesome.  Congrats to Andy for making the best damn
Cygwin terminal ever!  Thanks to everyone involved with finally making
it the default Cygwin terminal. :-)

-Jeremy

--
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: chere, mksh and pdksh

2011-11-21 Thread Dave Kilroy

On 21/11/2011 09:24, Ronald Fischer wrote:

I would like to use chere to create a context menu for a terminal
running ksh.

I have installed mksh, since pdksh is marked as obsolete. However, the
chere man-page says that it expects pdksh, if I want a Korn Shell. What
is the best way to proceed?

- Install pdksh too, although it is obsolete?
- Create a symlink /usr/bin/pkdsh, to point to mksh?


Option 3:
- Bug me to update chere

It's been a while since I last refreshed the package, so I'll have a 
look and see if I can get something done ASAP.



Dave.

--
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



Updated: gnuplot-4.4.4-1: A command-line driven interactive function plotting utility

2011-11-21 Thread Dr. Volker Zell
Hi

A new version of 'gnuplot' has been uploaded to a server near you.

 o Update to latest upstream release.
 o Build for cygwin 1.7.9 with gcc-4.5.3


gnuplot NEWS:
===

New features, changes and fixes in gnuplot version 4.4.4


* NEW boxxyerrors plot style now allows variable color
* NEW splot with pm3d now allows variable rgb color
* NEW nonuniform matrix indicates ascii data with explicit x, y
* CHANGE columnhead(N) is a string-valued function, not a keyword
* CHANGE Demarcate plots in svg output using g id=Plot_#title...
* CHANGE xticlabels() works for binary data files as well as ascii
* CHANGE set key maxrows now applies to 3D plots as well as 2D
* CHANGE rewrite installation path rules for TeX files
* FIX wxt terminal should now work on at least some flavors of OSX
* FIX incorrect space allowed for outside left key box
* FIX buffer overflow from enhanced text timefmt tic labels
* FIX correction for offset in epochs when reading in time format %s
* FIX discontinuity in defined palette limited by maxcolors
* FIX initialization of svg pattern-fill definitions
* FIX positioning of histogram bars when some data entries are missing
* FIX emf terminal can handle UTF-8 encoding
* FIX User-specified axis tick labels override auto labels in 3D just as in 2D
* FIX `plot with labels` failed to skip labels with UNDEFINED coords
* FIX NaN (not a number) implementation for Windows build
* FIX work-around for poor scaling in pdfcairo pattern fill
* FIX segfault if mismatch between palette sizes of successive terminals


New features, changes and fixes in gnuplot version 4.4.3


* NEW set key maxcolumns N maxrows M
* NEW value(varname) returns the value of the named variable
* NEW encoding cp1251 - 8-bit Cyrillic
* NEW Implement pan and zoom via mouse wheel.
* CHANGE backport emf terminal driver from version 4.5
* FIX better estimation of latex string lengths
* FIX colorbar representation of discrete color palettes is pixel accurate
* FIX NaN initialization and tests working on more (all?) platforms
* FIX configuration script tests for readline+ncurses
* FIX prevent out-of-range boxes from creating degenerate ghosts on the border
* FIX missing alpha channel flag for pdfcairo terminal
* FIX font initialization in windows terminal

New features, changes and fixes in gnuplot version 4.4.2


* FIX error in clipping filled curves to plot boundary
* FIX regression in colorspec parsing (lc N not recognized)
* FIX prevent segfault if refresh follows interrupted replot

New features, changes and fixes in gnuplot version 4.4.1


* NEW Support the %s format specifier in strftime()
* NEW Optional 6th data column in candlesticks style to specific box width
* NEW If integer arithmetic i*j or i**j would overflow, return value as a real
* NEW set style circle radius default-radius
* FIX autoconfiguration of readline support in OSX
* FIX font problems in win terminal
* FIX Protect against runaway recursion by limiting depth of nested functions
* FIX metapost terminal: Fix inheritance of line thickness by text strings
* FIX cairo terminals could segfault on certain enhanced text strings
* FIX pdfcairo output to stdout now works
* FIX font ,size in non-enhanced mode postscript terminals
* FIX Do a better job of estimating the width of UTF-8 encoded strings
* FIX baseline bug in canvas terminal rotation of enhanced text
* FIX Allow with labels to work for binary input data
* FIX update user GPVAL variables after plot in table mode
* CHANGE depth-sorting of pm3d surfaces now applies jointly to all in the plot
* CHANGE 3D impulses are now always drawn from z=0
* CHANGE Enable HIDDEN_QUADTREE by default
* CHANGE Enable set fit errorvariables by default
* CHANGE Regardless of current timefmt, read time from binary files as a binary
* CHANGE do not limit 3D rotation to 0rotx180


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then look at the List-Unsubscribe:  tag in the
email header of this message.  Send email to the address specified
there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Updated: {pstoedit/libpstoedit0/libpstoedit-devel}-3.60-1: pstoedit translates PostScript and PDF graphics into other vector formats

2011-11-21 Thread Dr. Volker Zell
Hi

New versions of 'pstoedit/libpstoedit0/libpstoedit-devel' have been uploaded to 
a server near you.

 o Upgrade to latest upstream version
 o Build for cygwin 1.7.9 with gcc-4.5.3


pstoedit NEWS:
===

 * added option (-minlinewidth) for adjusting very thin (e.g. zero-width) lines 
to a minimal width.
 * added an option (-pslanguagelevel) for easy switching the language level to 
be used by GhostScript during interpretation of the PostScript/PDF file.
 * new driver for the Context Free drawing tool 
(http://www.contextfreeart.org/ ) contributed by Scott Pakin.
 * fixed the windows binary version - some drivers were missing.
 * fixed some problems in handling composite fonts (FontType = 0)
 * windows 32 bit binary can call 64 bit ghostscript as exe (i.e. not via DLL 
interface)
 * support for 64 bit windows and Office 2010


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then look at the List-Unsubscribe:  tag in the
email header of this message.  Send email to the address specified
there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


Updated: setup.exe (Release 2.761)

2011-11-21 Thread Corinna Vinschen
A new version of setup.exe, release 2.761, has been uploaded to
http://cygwin.com/setup.exe.

Changes:

- Now that mintty has become part of the default installation, setup will
  create desktop and start menu shortcuts called Cygwin Terminal, which
  point to mintty, starting your default shell as noted in /etc/passwd.

- The desktop and start menu shortcuts use new icons.

- Remove Prev button from Chooser page.  The behaviour was confusing
  and unnecessary.

- In unattended mode, if packages were selected on command line,
  install only those, don't also upgrade all installed packages.

- Various improvements so progress bar shows progress during operations
  which may take a long time with a large number of packages selected.

- Fix hang when reading broken or pbzip2 compressed tar archives.

- Canonicalize mirror URLs so they always end with a '/'.

- Fix a bug which would lead to setup getting stuck on the dependency
  checking progress page in unattended mode when a dependency of an
  already installed package was not installed somehow.

- Correct the description of the -K option in help text.


  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.comATcygwinDOTcom

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat