Re: missing pthread.h in building 64-bit aaplications

2010-09-21 Thread JonY

On 9/21/2010 08:01, ke...@ca wrote:


Hello All,

Goal: Building 64-bit application on Cygwin
OS: 64-bit Windows 7

I used "x86_64-w64-mingw32-gcc " to build the application, but failed.
The output tells missing pthread.h. pthread.h is included in one of my
source files.

I located the file, one in C:\cygwin\usr\include, the other
C:\cygwin\usr\x86_64-w64-mingw32\sys-root\mingw\include.

I tried using -I to tell gcc to include pthread.h, but failed. why?


Hi,

Can you show us the command line used to compile? Add a "-v" as well so 
we can see where gcc searched for the headers.


--
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: Instead of a gripe, a memory-jog.

2010-09-21 Thread SJ Wright

Corinna Vinschen wrote:

On Sep 18 07:00, SJ Wright wrote:
  

Having recently by accident trashed my home folder, and having had
to rebuild from one saved from a much older install (1.7.0 or even
earlier), I noticed my man pages were again displaying with garbage
text in between the readable text -- nonprintable characters,
Unicode litter and the like. I remembered Corinna Vinschen had
posted something quite a while back in a topic thread that dealt
with this issue; I am sure it made it into the archives for this
list, but I wasn't able to find it. I vaguely recalled one detail
had something to do with setting one's environment variable to C
instead of C.utf_8 or even en_us.utf8.



Ouch.  Wrong on both accounts.  Either "C.UTF-8, or "C.utf-8", or
"C.utf8", or "en_US.UTF-8" or "en_US.utf-8" or "en_US.utf8".  Dash yes,
underscore no.  The territory must be written in uppercase.
The User's Guide might be a good start:
http://cygwin.com/cygwin-ug-net/setup-locale.html


Corinna

  
Yes. I noticed where I had the territory mis-cased the next time I ran 
wget. In the line that identified the file and URL for each download, 
double-quotes and other punctuation became garbage characters, where 
they hadn't been when I either had *no* LANG variable set or a 
correctly-written one. So now it's fixed. Thanks again.


SJ Wright


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



Re: Problem with mmap in latest snapshot

2010-09-21 Thread Corinna Vinschen
On Sep 20 17:20, Heath Kehoe wrote:
>  On 9/20/2010 3:00 PM, Heath Kehoe wrote:
> >   My application uses mmap on a 16MB file. On released 1.7.7, there's no
> >problem. But with the 20100919 snapshot, it crashes when it tries to
> >access the mmap space past the first 32KB or so. Attached is a simple
> >test program that illustrates the problem.
> >
> 
> The test program also crashes on 20100917, but it works with 20100912.

Thanks for the testcase.  I found the problem.  While debugging I came
across another problem which I'll intend to fix as well.  I have to
make some more test first before I check in the changes, though.


Thanks again,
Corinn

-- 
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: fvwm ignores clickToFocus for function keys

2010-09-21 Thread Charles Smith
>> This is different than the operation of fvwm under linux.  In that
>> case, an in-focus xterm takes function key input as well as other key
>> input, regardless where the mouse cursor is.
>
> a) Are you running fvwm under a rootless X11?
> b) are your configs the same?

Ah, you mean on cygwin and on linux?  Yes, that's the beauty of the thing.

As far as a rootless X11 goes ... I don't know how to configure that.



  

--
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: fvwm ignores clickToFocus for function keys

2010-09-21 Thread Larry Hall (Cygwin)

On 9/21/2010 12:14 PM, Charles Smith wrote:

This is different than the operation of fvwm under linux.  In that
case, an in-focus xterm takes function key input as well as other key
input, regardless where the mouse cursor is.


a) Are you running fvwm under a rootless X11?
b) are your configs the same?


Ah, you mean on cygwin and on linux?  Yes, that's the beauty of the thing.

As far as a rootless X11 goes ... I don't know how to configure that.


Cygwin-X User's Guide to the rescue! :-)



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


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



Re: Problem with mmap in latest snapshot

2010-09-21 Thread Corinna Vinschen
On Sep 21 14:21, Corinna Vinschen wrote:
> On Sep 20 17:20, Heath Kehoe wrote:
> >  On 9/20/2010 3:00 PM, Heath Kehoe wrote:
> > >   My application uses mmap on a 16MB file. On released 1.7.7, there's no
> > >problem. But with the 20100919 snapshot, it crashes when it tries to
> > >access the mmap space past the first 32KB or so. Attached is a simple
> > >test program that illustrates the problem.
> > >
> > 
> > The test program also crashes on 20100917, but it works with 20100912.
> 
> Thanks for the testcase.  I found the problem.  While debugging I came
> across another problem which I'll intend to fix as well.  I have to
> make some more test first before I check in the changes, though.

I've checked in the patch.  Please test the next developer snapshot.
Thanks again for the testcase.  It was very helpful.


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: 1.7.7(0.230/5/3) - Cannot change mode of file, and other permission issues on a Windows fileshare

2010-09-21 Thread Corinna Vinschen
On Sep 20 16:45, Keith Christian wrote:
> Receiving this message whenever I try to check in files to local RCS
> directories on this machine.  Same issue occurs on CVS.  Wondering if
> a setting was changed somewhere, this has been happening for over a
> month now.

Is that a remote drive?  If so, did your admin set the share mode to
"Change" rather than using "Full Control" and set appropriate NTFS
permissions?  If so, either harass your admin to revert this to "Full
Control" and useful NTFS permissions, or try to mount the share with
"noacl" mount option.  For the mount options, see the User's Guide at
http://cygwin.com/cygwin-ug-net/using.html#mount-table


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: missing pthread.h in building 64-bit aaplications

2010-09-21 Thread ke...@ca

I guess I found the reason why x86_64-w64-mingw32-gcc can't locate pthread.h.
It's because a macro 
 #if HAVE_PTHREAD
#include 
is used in source files, but the macro is not defined by mingw, about which
I found it existiing before according to google search. I re-built it after
the macro was commentted, and pthread.h was in. How is your thinking?

Another, I added -v and dependency output showed
usr\x86_64-w64-mingw32\sys-root\mingw\include was in. So the search path
mechanism is not a problem.



JonY-6 wrote:
> 
> On 9/21/2010 08:01, ke...@ca wrote:
>>
>> Hello All,
>>
>> Goal: Building 64-bit application on Cygwin
>> OS: 64-bit Windows 7
>>
>> I used "x86_64-w64-mingw32-gcc " to build the application, but
>> failed.
>> The output tells missing pthread.h. pthread.h is included in one of my
>> source files.
>>
>> I located the file, one in C:\cygwin\usr\include, the other
>> C:\cygwin\usr\x86_64-w64-mingw32\sys-root\mingw\include.
>>
>> I tried using -I to tell gcc to include pthread.h, but failed. why?
> 
> Hi,
> 
> Can you show us the command line used to compile? Add a "-v" as well so 
> we can see where gcc searched for the headers.
> 
> --
> 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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/missing-pthread.h-in-building-64-bit-aaplications-tp29764972p29771871.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: Problem with mmap in latest snapshot

2010-09-21 Thread Heath Kehoe

 On 9/21/2010 11:48 AM, Corinna Vinschen wrote:

I've checked in the patch.  Please test the next developer snapshot.
Thanks again for the testcase.  It was very helpful.



I built from CVS and it's working again. Thanks!

-h


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


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



where the streets and servers have no name, cyglwres-xx.dll?

2010-09-21 Thread mike marchywka
Hi,
I've been having a problem with name lookups but it only seems to
effect a few things. I think lynx is ok, but then I tried to ftp and
couldn't find host name . I had first seen this
with nslookup but ignored it at the time,

$ nslookup google.com
/usr/bin/nslookup.exe: error while loading shared libraries: cyglwres-60.dll: ca
nnot open shared object file: No such file or directory

I got this result from cygcheck, wasn't sure if there was something obvious
I did or easiest way to fix. Thanks.

$ cygcheck -s > cygcheckout

$ grep wres cygcheckout
   88k 2009/06/16 C:\cygwin\bin\cyglwres-50.dll
   88k 2009/06/16 C:\cygwin\bin\cyglwres-50.dll
liblwres-devel 9.7.1-1
liblwres50 9.6.0_p1-1
liblwres60 9.7.1-1
viewres1.0.2-1

--
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: fvwm ignores clickToFocus for function keys

2010-09-21 Thread Charles Smith
> Cygwin-X User's Guide to the rescue! :-)

Okay, I'll give that a try ... except ... can I run FVWM rootless?  Where will 
it go?  Doesn't rootless mode mean that the Windows window manager is used?

BTW, I have identified what gets sent when the cursor is NOT inside the bounds 
of the window: it's the *unmapped* version of the function key.

Okay, here's the information I forgot to supply (or only hinted at): I use the 
xterm.VT100.Translations resource (in my .Xdefaults file) to map the function 
keys:

xterm*VT100.Translations: #override \n\
 Print: string(0x7f) \n\
 Pause: insert-selection(PRIMARY, CUT_BUFFER0) \n\
Ctrl  Prior: scroll-back(1,halfpage) \n\
Ctrl  Next: scroll-forw(1,halfpage) \n\
\
Shift  Up: string(0x1b) string("OAA") \n\
Shift  Down: string(0x1b) string("OBB") \n\
\
Ctrl  3: string(0x1b) string("") \n\
Ctrl  4: string(0x1b) string("_") \n\
\
Shift  F7: string("/media/") \n\
Shift  F8: string("[<>|]") \n\
Shift  F9: string(0x1b) string("[35~") \n\
Shift  F10: string(0x1b) string("[36~") \n\
Shift  F11: string(" 2>&1 | ") \n\
Shift  F12: string(" 2>&1 | tee -a make.$md\n") \n\
\
Alt  F2: keymap(vt100)\n\
Alt  F1: keymap(None)\n\
\
 F1: string(0x1b) string("_") \n\
 F4: string("$ARCH/") \n\
 F5: string("../Include/%:t:r.hpp") \n\
 F6: string("../Source/%:t:r.cpp") \n\
 F7: string("->next") \n\
 F8: string("") \n\
 F9: insert-selection(PRIMARY, CUT_BUFFER0) \n\
 F10: string(" 2>&1 | ") \n\
 F11: string(" 2>&1 | head\n") \n\
 F12: string(" 2>&1 | less\n")

So, for example, if I hit F12 when the mouse cursor is outside the bounds of 
the window, ^[[24~ gets inserted onto my command line.



  

--
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: where the streets and servers have no name, cyglwres-xx.dll?

2010-09-21 Thread David Sastre
On Tue, Sep 21, 2010 at 02:38:37PM -0500, mike marchywka wrote:
> Hi,
> I've been having a problem with name lookups but it only seems to
> effect a few things. I think lynx is ok, but then I tried to ftp and
> couldn't find host name . I had first seen this
> with nslookup but ignored it at the time,
> 
> $ nslookup google.com
> /usr/bin/nslookup.exe: error while loading shared libraries: cyglwres-60.dll: 
> ca
> nnot open shared object file: No such file or directory

You could try 

ldd /usr/bin/nslookup 

and/or 

cygcheck -c $(cygcheck -f $(which nslookup)) 

to find out if cyglwres-60.dll is really missing. It should give you 
the full path where the dll is supposed to be found. You can check
that path to see if it's there, permissions, ...

(Sorry, I don't have a cygwin installation around ATM)

> I got this result from cygcheck, wasn't sure if there was something obvious
> I did or easiest way to fix. Thanks.
> 
> $ cygcheck -s > cygcheckout

Can you please attach it, as described here?

> Problem reports:   http://cygwin.com/problems.html

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


OpenGL / GLUT / FreeGlut and the mouse wheel in PyMol.

2010-09-21 Thread Jan Gebauer

Hi,

I'm new to this mailing list and hope my question is not a total obvious
one, but at the end of the day I'm more a scientist than a programmer. So
I hope I got the facts right.

I'm trying to build PyMol, an open-core molecular visualisation program
with cygwin (www.pymol.org).
This software uses OpenGL for displaying three-dimensional structures of
proteins on the screen and allows manipulating these structure in various
ways in 3D. It also allows true three-dimensional display with the
(Nvidia) shutter glasses.

It took my a while to get all the dependencies right, but I was finally
able to build it successfully and it works in nearly all aspects.

However, the program does not recognise any input in the "graphic/display
window" from the mouse wheel, although the TKinter/Tcl based menu window
does accept scroll events.
Together with a colleague, we figured out that the win32 port of GLUT
might be the problem, as it seems not to handle mouse wheel events
(source:http://www.realmtech.net/opengl/glut.php)
My colleague was able to build PyMol with the X11 headers and Libs and
then the mouse wheel worked, but the speed was (as expected) not
acceptable.

What are you thinking, is the win32 version of GLUT really the problem?

I did found FreeGlut and as it should be a "modern clone" of GLUT´, I
tried to compile it for Cygwin. I got an cygglut-0.dll and some header
files, but they never compiled well with PyMol (which uses a rather
complicated python script).

My colleague found this message from André Bleau
http://www.cygwin.com/ml/cygwin/2009-04/msg00264.html, where Mr. Bleau
stated he hopes to publish GLUT32 replacement based on FreeGlut around
2010.

I just wonder if this new package will be available any-time soon or if
anyone else has a good idea how to proceed with this problem?

With kind regards,
Jan Gebauer

PS: Thanks to all the cygwin contributors, it's the first time I used it
and it works rather great!
--
Dr. Jan Gebauer
Phone: +44 20 7594 7915 | Fax: +44  20 7589 0191

Research group: Dr. E. Hohenester
Division of Cell & Molecular Biology
Imperial College London
Biophysics Section, Blackett Laboratory
London SW7 2AZ

--
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: It's raining stackdumps

2010-09-21 Thread SJ Wright

Gary wrote:

And empty ones at that.

I see this was mentioned previously but didn't see a resolution.

For me it is definitely happening in emacs (which since I spend most of
my time in it, is maybe not that surprising), and is possibly related to
running make via 'M-x compile'.

I use mintty, so it isn't related to rxvt and batch files or something.

It's a bit hard to track down since it doesn't happen anything like
every time.

  
Yep. I was the one who complained my two primary shells were 
stackdumping like flaky pastry. And you're right, there doesn't seem to 
be much in the way of resolution coming from The Board.


emacs, you say? Well, that sort of trims it down -- I did go through the 
paces of installing emacs, xemacs and a few lighter-weight support utils 
-- trying at long last to get myself acclimated with a "real" 
developer's/scripter's editor or edit suite that wasn't Winz or Mac OS X 
-- and it was not too long after that these stackdumps and a few 
problems with compiles started happening.


Here I thought it might have been my bsdtar install going South. Seemed 
to make sense -- it's about as big as bash-completion, but then again, 
so is emacs.


Until we're corrected on this score, I suppose we'll have to ass-u-me 
that emacs and the dot we're on to the right of "Sexy and 1.7" are not 
getting along as swimmingly as they could be.


"A splendid time is guaranteed for some" (sorry JWOL -- had to do it.)

Steve W.


--
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: It's raining stackdumps

2010-09-21 Thread Andy Koppe
On 21 September 2010 22:12, SJ Wright wrote:
> Gary wrote:
>>
>> And empty ones at that.
>>
>> I see this was mentioned previously but didn't see a resolution.
>>
>> For me it is definitely happening in emacs (which since I spend most of
>> my time in it, is maybe not that surprising), and is possibly related to
>> running make via 'M-x compile'.
>>
>> I use mintty, so it isn't related to rxvt and batch files or something.
>>
>> It's a bit hard to track down since it doesn't happen anything like
>> every time.
>>
>>
>
> Yep. I was the one who complained my two primary shells were stackdumping
> like flaky pastry. And you're right, there doesn't seem to be much in the
> way of resolution coming from The Board.
>
> emacs, you say? Well, that sort of trims it down -- I did go through the
> paces of installing emacs, xemacs and a few lighter-weight support utils --
> trying at long last to get myself acclimated with a "real"
> developer's/scripter's editor or edit suite that wasn't Winz or Mac OS X --
> and it was not too long after that these stackdumps and a few problems with
> compiles started happening.
>
> Here I thought it might have been my bsdtar install going South. Seemed to
> make sense -- it's about as big as bash-completion, but then again, so is
> emacs.
>
> Until we're corrected on this score, I suppose we'll have to ass-u-me that
> emacs and the dot we're on to the right of "Sexy and 1.7" are not getting
> along as swimmingly as they could be.
>
> "A splendid time is guaranteed for some" (sorry JWOL -- had to do it.)

I've got no idea what you're on about, but here's a quote for you:

"The aim of a bug report is to enable the programmer to see the
program failing in front of them." (Simon Tatham, 'How to Report Bugs
Effectively')

Andy

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



how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread bsmile

I installed Cgywin(don't know how to see its version number) under windows xp
and so far so good. However, there is one thing very inconvenient for me to
use Cgywin, that is, I cannot highlight a text to copy and right button to
paste. I am wondering how I can get back this beloved feature. Any advices
are greatly appreciated!
-- 
View this message in context: 
http://old.nabble.com/how-to-enable-the-very-convenient-copy-paste-editing-method-in-Cgywin--tp29774167p29774167.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread Eric Blake

On 09/21/2010 03:52 PM, bsmile wrote:


I installed Cgywin(don't know how to see its version number) under windows xp
and so far so good. However, there is one thing very inconvenient for me to
use Cgywin, that is, I cannot highlight a text to copy and right button to
paste. I am wondering how I can get back this beloved feature. Any advices
are greatly appreciated!


Use mintty or rxvt instead of the windows console.

--
Eric Blake   ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org

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



Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread Marco Atzeri
--- Mar 21/9/10, Eric Blake  ha scritto:

> >
> > I installed Cgywin(don't know how to see its version
> number) under windows xp
> > and so far so good. However, there is one thing very
> inconvenient for me to
> > use Cgywin, that is, I cannot highlight a text to copy
> and right button to
> > paste. I am wondering how I can get back this beloved
> feature. Any advices
> > are greatly appreciated!
> 
> Use mintty or rxvt instead of the windows console.

Only mintty please, rxvt should be considered obsolete as 
cygwin uses now UTF8 and rxvt can't.

Moreover we have a really present mintty maintainer
while rxvt is dead upstream


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: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread bsmile

Thanks, both! I will install mintty, but really cannot follow the next step
...

So far the Cygwin is launched through some DOS batch file, thus I don't care
what's behind. So if to use mintty, what should I do? Where should mintty be
installed(any directory under windows or extract to some directory under
Cygwin, which I suppose do not talk to windows)? Further explanations are
really appreciated!




Marco atzeri-3 wrote:
> 
> --- Mar 21/9/10, Eric Blake  ha scritto:
> 
>> >
>> > I installed Cgywin(don't know how to see its version
>> number) under windows xp
>> > and so far so good. However, there is one thing very
>> inconvenient for me to
>> > use Cgywin, that is, I cannot highlight a text to copy
>> and right button to
>> > paste. I am wondering how I can get back this beloved
>> feature. Any advices
>> > are greatly appreciated!
>> 
>> Use mintty or rxvt instead of the windows console.
> 
> Only mintty please, rxvt should be considered obsolete as 
> cygwin uses now UTF8 and rxvt can't.
> 
> Moreover we have a really present mintty maintainer
> while rxvt is dead upstream
> 
> 
> 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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-enable-the-very-convenient-copy-paste-editing-method-in-Cgywin--tp29774167p29774266.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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: where the streets and servers have no name, cyglwres-xx.dll?

2010-09-21 Thread David Sastre
On Tue, Sep 21, 2010 at 04:43:25PM -0500, mike marchywka wrote:
> On 9/21/10, David Sastre wrote:
> > On Tue, Sep 21, 2010 at 02:38:37PM -0500, mike marchywka wrote:
> >> Hi,
> 
> > Can you please attach it, as described here?
> >
> >> Problem reports:   http://cygwin.com/problems.html 
> >
> attached, thanks. I seem to recall the install
> went well so this is a bit surprising but I have reported
> isolated bizarre things on Windoze 7 multicore 64 bit...
> It looked like it got some -50 dlls with same name.

I couldn't find the dll in your cygcheck.out...
Do you have liblwres60 installed?
Try cygcheck -c liblwres60. If you already have it, try reinstalling
it.

This is the output of cygcheck $(which nslookup) in a 32bits Win7 

C:\cygwin\bin\nslookup.exe
  C:\cygwin\bin\cygbind9-60.dll
C:\cygwin\bin\cygdns-66.dll
  C:\cygwin\bin\cygisc-60.dll
C:\cygwin\bin\cyggcc_s-1.dll
  C:\cygwin\bin\cygwin1.dll
C:\Windows\system32\ADVAPI32.DLL
  C:\Windows\system32\msvcrt.dll
C:\Windows\system32\KERNELBASE.dll
  C:\Windows\system32\ntdll.dll
C:\Windows\system32\API-MS-Win-Core-Console-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-DateTime-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Interlocked-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll

C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll
  C:\Windows\system32\API-MS-WIN-Service-Core-L1-1-0.dll
  C:\Windows\system32\API-MS-WIN-Service-winsvc-L1-1-0.dll
  C:\Windows\system32\API-MS-WIN-Service-Management-L1-1-0.dll
  C:\Windows\system32\API-MS-WIN-Service-Management-L2-1-0.dll
  C:\Windows\system32\API-MS-Win-Core-LocalRegistry-L1-1-0.dll
  C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll
  C:\Windows\system32\KERNEL32.dll
C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-IO-L1-1-0.dll
C:\Windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.dll
  C:\Windows\system32\RPCRT4.dll
C:\Windows\system32\API-MS-Win-Core-DelayLoad-L1-1-0.dll
C:\cygwin\bin\cygxml2-2.dll
  C:\cygwin\bin\cygz.dll
  C:\cygwin\bin\cygiconv-2.dll
  C:\cygwin\bin\cygcrypto-0.9.8.dll
C:\cygwin\bin\cygisccfg-60.dll
  C:\cygwin\bin\cyglwres-60.dll <-
C:\Windows\system32\IPHLPAPI.DLL
  C:\Windows\system32\NSI.dll
  C:\Windows\system32\WINNSI.DLL
  C:\cygwin\bin\cygidn-11.dll
C:\cygwin\bin\cygintl-8.dll

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


-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: fvwm ignores clickToFocus for function keys

2010-09-21 Thread Larry Hall (Cygwin)

On 9/21/2010 3:39 PM, Charles Smith wrote:

Cygwin-X User's Guide to the rescue!:-)

Okay, I'll give that a try ... except ... can I run FVWM rootless?  Where
will it go?  Doesn't rootless mode mean that the Windows window manager is
used?


No.  From the link to the documentation:

Note: This is typically used to work with local or remote X
applications, integrated into your native Windows desktop, but
controlled using the X window manager of your choice.

You're thinking of -multiwindow.

This topic really is X-specific.  It's more appropriate to use the
cygwin-xfree list, which handles Cygwin X issues and questions.  Please
follow-up there with any further replies.

Thanks,

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


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



Re: It's raining stackdumps

2010-09-21 Thread Ken Brown

On 9/21/2010 5:12 PM, SJ Wright wrote:

Gary wrote:

And empty ones at that.

I see this was mentioned previously but didn't see a resolution.

For me it is definitely happening in emacs (which since I spend most of
my time in it, is maybe not that surprising), and is possibly related to
running make via 'M-x compile'.

I use mintty, so it isn't related to rxvt and batch files or something.

It's a bit hard to track down since it doesn't happen anything like
every time.



Yep. I was the one who complained my two primary shells were
stackdumping like flaky pastry. And you're right, there doesn't seem to
be much in the way of resolution coming from The Board.

emacs, you say? Well, that sort of trims it down -- I did go through the
paces of installing emacs, xemacs and a few lighter-weight support utils
-- trying at long last to get myself acclimated with a "real"
developer's/scripter's editor or edit suite that wasn't Winz or Mac OS X
-- and it was not too long after that these stackdumps and a few
problems with compiles started happening.


Are you saying that you get stackdumps while using emacs?  You didn't 
mention that in any of your earlier posts.  If that's the case, please 
try to give a precise recipe for reproducing the problem, starting with 
'emacs -Q'.  If that's not the case, and all you did was to install 
emacs without actually using it, then it can't possibly have anything to 
do with your problem.


Ken

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



Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread Jeremy Bopp
On 09/21/2010 05:05 PM, bsmile wrote:
> Marco atzeri-3 wrote:
>>
>> --- Mar 21/9/10, Eric Blake  ha scritto:
>>

 I installed Cgywin(don't know how to see its version
>>> number) under windows xp
 and so far so good. However, there is one thing very
>>> inconvenient for me to
 use Cgywin, that is, I cannot highlight a text to copy
>>> and right button to
 paste. I am wondering how I can get back this beloved
>>> feature. Any advices
 are greatly appreciated!
>>>
>>> Use mintty or rxvt instead of the windows console.
>>
>> Only mintty please, rxvt should be considered obsolete as 
>> cygwin uses now UTF8 and rxvt can't.
>>
>> Moreover we have a really present mintty maintainer
>> while rxvt is dead upstream
>>
>>
>> Marco
>
> Thanks, both! I will install mintty, but really cannot follow the next
step
> ...
>
> So far the Cygwin is launched through some DOS batch file, thus I
don't care
> what's behind. So if to use mintty, what should I do? Where should
mintty be
> installed(any directory under windows or extract to some directory under
> Cygwin, which I suppose do not talk to windows)? Further explanations are
> really appreciated!

You can install Mintty by selecting the mintty package in Cygwin's
setup.exe.  Just run setup.exe again and select the mintty package when
you get to the package selection panel without changing any of the other
settings that are already there on other panels.  Once installed, you
will find a shortcut for starting a Cygwin session within Mintty in your
start menu.  I'm pretty sure it will be in the Cygwin group.

-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: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread bsmile

Thanks so much! I finally got it working as I am expecting!



Jeremy Bopp-3 wrote:
> 
> On 09/21/2010 05:05 PM, bsmile wrote:
>> Marco atzeri-3 wrote:
>>>
>>> --- Mar 21/9/10, Eric Blake  ha scritto:
>>>
>
> I installed Cgywin(don't know how to see its version
 number) under windows xp
> and so far so good. However, there is one thing very
 inconvenient for me to
> use Cgywin, that is, I cannot highlight a text to copy
 and right button to
> paste. I am wondering how I can get back this beloved
 feature. Any advices
> are greatly appreciated!

 Use mintty or rxvt instead of the windows console.
>>>
>>> Only mintty please, rxvt should be considered obsolete as 
>>> cygwin uses now UTF8 and rxvt can't.
>>>
>>> Moreover we have a really present mintty maintainer
>>> while rxvt is dead upstream
>>>
>>>
>>> Marco
>>
>> Thanks, both! I will install mintty, but really cannot follow the next
> step
>> ...
>>
>> So far the Cygwin is launched through some DOS batch file, thus I
> don't care
>> what's behind. So if to use mintty, what should I do? Where should
> mintty be
>> installed(any directory under windows or extract to some directory under
>> Cygwin, which I suppose do not talk to windows)? Further explanations are
>> really appreciated!
> 
> You can install Mintty by selecting the mintty package in Cygwin's
> setup.exe.  Just run setup.exe again and select the mintty package when
> you get to the package selection panel without changing any of the other
> settings that are already there on other panels.  Once installed, you
> will find a shortcut for starting a Cygwin session within Mintty in your
> start menu.  I'm pretty sure it will be in the Cygwin group.
> 
> -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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-enable-the-very-convenient-copy-paste-editing-method-in-Cgywin--tp29774167p29774579.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread Cyrille Lefevre

Le 21/09/2010 23:53, Eric Blake a écrit :
> 
> Use mintty or rxvt instead of the windows console.
> 

I like puttycyg which also support utf-8.

PS : mintty do paste à la Xwindows (middle button),
while putty may do it as you wich (middle or right
button), both may copy on select w/ left button.
to well render utf-8, choose Lucinda Console font
(bold, 8).

Regards,

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



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



xfig with cygwin

2010-09-21 Thread Dwilewicz, Roman
Hello,

I am using xfig on Windows machines (xp and 7). In the last year or two
I have problems with figures when I draw patterns and then export them.
Namely in the dvi or ps files, the lines or some parts of patterns
become so thick that the pattern is not recognizable, actually half
black. It seems that it is not a problem of xfig, because if I run it on
a unix machine and export the figures (eps, pstex etc), then everything
is ok. I have not had this pattern problem before 2009. Is there some
bug in cygwin or maybe somewhere else?   

With kind regards,

Roman

--
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: Instead of a gripe, a memory-jog.

2010-09-21 Thread SJ Wright

SJ Wright wrote:

Corinna Vinschen wrote:

On Sep 18 07:00, SJ Wright wrote:
 

Having recently by accident trashed my home folder, and having had
to rebuild from one saved from a much older install (1.7.0 or even
earlier), I noticed my man pages were again displaying with garbage
text in between the readable text -- nonprintable characters,
Unicode litter and the like. I remembered Corinna Vinschen had
posted something quite a while back in a topic thread that dealt
with this issue; I am sure it made it into the archives for this
list, but I wasn't able to find it. I vaguely recalled one detail
had something to do with setting one's environment variable to C
instead of C.utf_8 or even en_us.utf8.



Ouch.  Wrong on both accounts.  Either "C.UTF-8, or "C.utf-8", or
"C.utf8", or "en_US.UTF-8" or "en_US.utf-8" or "en_US.utf8".  Dash yes,
underscore no.  The territory must be written in uppercase.
The User's Guide might be a good start:
http://cygwin.com/cygwin-ug-net/setup-locale.html


Corinna

  
Yes. I noticed where I had the territory mis-cased the next time I ran 
wget. In the line that identified the file and URL for each download, 
double-quotes and other punctuation became garbage characters, where 
they hadn't been when I either had *no* LANG variable set or a 
correctly-written one. So now it's fixed. Thanks again.


SJ Wright
Spoke too soon on the wget matter. Since setting a LANG variable in the 
first place (and evidently the right place, or else this wouldn't be a 
"matter"), I've been seeing garbage text -- I prefer to call it "drone 
text" -- in place of quotation marks during normal (non-verbose and not 
set to "quiet") downloads. Here's a sample:

Saving to: “gae77-7748-244-958stck.jpg”
I just looked at the wget man page (which is, not remarkably, still free 
of drone text), and I notice there's a command that can be entered in 
.wgetrc that seems to sync LANG with the application's function. Or does 
it. I'm referring to the "local_encoding" command. It would make sense 
that if LANG gets changed, and an encoding-sensitive app such as wget is 
left "one step behind," so to speak, in that process, then there would 
be a command or configuration option to help it "catch up." This 
presumes I'm reading the man page right. I acknowledge it may have 
nothing to do with how wget displays the stages of the download process; 
I would rather know for sure that this is the case. In the meantime, 
I'll settle for running with the "-nv" option which may just give me 
clean text by some means or another. I'm thinking it won't, but that's 
four or five scrollback lines I'm saving at 80x36 at any rate.


Just keeping everyone apprised.

Steve W.



--
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: xfig with cygwin

2010-09-21 Thread Larry Hall (Cygwin)

On 9/21/2010 7:12 PM, Dwilewicz, Roman wrote:

Hello,

I am using xfig on Windows machines (xp and 7). In the last year or two
I have problems with figures when I draw patterns and then export them.
Namely in the dvi or ps files, the lines or some parts of patterns
become so thick that the pattern is not recognizable, actually half
black. It seems that it is not a problem of xfig, because if I run it on
a unix machine and export the figures (eps, pstex etc), then everything
is ok. I have not had this pattern problem before 2009. Is there some
bug in cygwin or maybe somewhere else?


Unless it's obvious to you (it's not to me) that this is not X-related,
I recommend that you ask first on the cygwin-xfree list.  That list
handles X-specific questions and issues.  If the end result is not
it is not X-related, the issue can come back to this list at that point.
I would also recommend compiling a full problem report as outlined by
this link: 

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


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



Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread bsmile

I am now using mintty. Although it enables copy/paste as the way in linux, it
does not seem to support -X option of ssh. I want to run gnuplot on a remote
computer and send the graph back to the local computer for me to see, and I
use ssh -X to set up the connection. But gnuplot fails and the following
information is sent back

gnuplot: unable to open display ''
gnuplot: X11 aborted.

This does not seem to go with cygwin. Any idea towards this?



Eric Blake-3 wrote:
> 
> On 09/21/2010 03:52 PM, bsmile wrote:
>>
>> I installed Cgywin(don't know how to see its version number) under
>> windows xp
>> and so far so good. However, there is one thing very inconvenient for me
>> to
>> use Cgywin, that is, I cannot highlight a text to copy and right button
>> to
>> paste. I am wondering how I can get back this beloved feature. Any
>> advices
>> are greatly appreciated!
> 
> Use mintty or rxvt instead of the windows console.
> 
> -- 
> Eric Blake   ebl...@redhat.com+1-801-349-2682
> Libvirt virtualization library http://libvirt.org
> 
> --
> 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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-enable-the-very-convenient-copy-paste-editing-method-in-Cgywin--tp29774167p29774849.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread Jeremy Bopp
On 09/21/2010 06:44 PM, bsmile wrote:
> Eric Blake-3 wrote:
>>
>> On 09/21/2010 03:52 PM, bsmile wrote:
>>>
>>> I installed Cgywin(don't know how to see its version number) under
>>> windows xp
>>> and so far so good. However, there is one thing very inconvenient for me
>>> to
>>> use Cgywin, that is, I cannot highlight a text to copy and right button
>>> to
>>> paste. I am wondering how I can get back this beloved feature. Any
>>> advices
>>> are greatly appreciated!
>>
>> Use mintty or rxvt instead of the windows console.
>>
>
> I am now using mintty. Although it enables copy/paste as the way in
linux, it
> does not seem to support -X option of ssh. I want to run gnuplot on a
remote
> computer and send the graph back to the local computer for me to see,
and I
> use ssh -X to set up the connection. But gnuplot fails and the following
> information is sent back
>
> gnuplot: unable to open display ''
> gnuplot: X11 aborted.
>
> This does not seem to go with cygwin. Any idea towards this?

You need to install and run the X server.  Mintty is just a terminal.
Install the xorg-server package.  I think the program you'll need to
arrange to run is XWin32 or maybe XWin.

-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: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread bsmile

Thanks a lot, puttycyg works great. It supports -X option, helps maintain
connection and support copy/paste.



Cyrille Lefevre wrote:
> 
> 
> Le 21/09/2010 23:53, Eric Blake a écrit :
>> 
>> Use mintty or rxvt instead of the windows console.
>> 
> 
> I like puttycyg which also support utf-8.
> 
> PS : mintty do paste à la Xwindows (middle button),
> while putty may do it as you wich (middle or right
> button), both may copy on select w/ left button.
> to well render utf-8, choose Lucinda Console font
> (bold, 8).
> 
> Regards,
> 
> Cyrille Lefevre
> -- 
> mailto:cyrille.lefevre-li...@laposte.net
> 
> 
> 
> --
> 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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-enable-the-very-convenient-copy-paste-editing-method-in-Cgywin--tp29774167p29775099.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread bsmile

Isn't cygwin the graphic environment? If mintty invokes cygwin, I would
expect it to have full feature of support such an environment. But I will
try installing xwin32 to see how it works out,



Jeremy Bopp-3 wrote:
> 
> On 09/21/2010 06:44 PM, bsmile wrote:
>> Eric Blake-3 wrote:
>>>
>>> On 09/21/2010 03:52 PM, bsmile wrote:

 I installed Cgywin(don't know how to see its version number) under
 windows xp
 and so far so good. However, there is one thing very inconvenient for
 me
 to
 use Cgywin, that is, I cannot highlight a text to copy and right button
 to
 paste. I am wondering how I can get back this beloved feature. Any
 advices
 are greatly appreciated!
>>>
>>> Use mintty or rxvt instead of the windows console.
>>>
>>
>> I am now using mintty. Although it enables copy/paste as the way in
> linux, it
>> does not seem to support -X option of ssh. I want to run gnuplot on a
> remote
>> computer and send the graph back to the local computer for me to see,
> and I
>> use ssh -X to set up the connection. But gnuplot fails and the following
>> information is sent back
>>
>> gnuplot: unable to open display ''
>> gnuplot: X11 aborted.
>>
>> This does not seem to go with cygwin. Any idea towards this?
> 
> You need to install and run the X server.  Mintty is just a terminal.
> Install the xorg-server package.  I think the program you'll need to
> arrange to run is XWin32 or maybe XWin.
> 
> -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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-enable-the-very-convenient-copy-paste-editing-method-in-Cgywin--tp29774167p29775124.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread SJ Wright

Marco Atzeri wrote:

--- Mar 21/9/10, Eric Blake  ha scritto:

  

Use mintty or rxvt instead of the windows console.



Only mintty please, rxvt should be considered obsolete as 
cygwin uses now UTF8 and rxvt can't.


  
New on me. I'll  start using mintty asap. Must be better than 
Terminator. I did a cutesy thing with an echo-ed ellipse to mark time 
while a script iterated over some lines in a list: rxvt wrapped each 
unbroken string to 80 characters while Terminator ran them off the 
right-hand side of the window before doing so. You set it as many times 
as you want to 80x24 or 80x40 (or whatever) and it still does what it 
pleases. Except that Console2 unerringly preferred my old MinGW .bashrc 
file to my Cygwin one, I wouldn't recommend it to anyone looking for a 
tabbed terminal emulator.


How's mintty on that btw?

Moreover we have a really present mintty maintainer
while rxvt is dead upstream


Marco

  
That's good to know, too. It's always better to use something that's 
being maintained consistently by the author or a well-acquainted 
successor. Even "Kompozer with a K and a Z" blew serious wind until the 
Mozilla team brought it back under their umbrella. Not likely to happen 
to rxvt -- the variants are better. I was going to suggest adapting 
mrxvt to "play both sides of the fence," but if the trend is toward 
mintty, I'll go with the flow.


Steve W.

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



RE: how to enable the very convenient copy/paste editing method in Cygwin?

2010-09-21 Thread Buchbinder, Barry (NIH/NIAID) [E]
bsmile sent the following at Tuesday, September 21, 2010 5:52 PM
>I installed Cgywin(don't know how to see its version number)
>under windows xp and so far so good.  However, there is one
>thing very inconvenient for me to use Cgywin, that is, I cannot
>highlight a text to copy and right button to paste.  I am
>wondering how I can get back this beloved feature.  Any advices
>are greatly appreciated!

In addition to the previous responses, see the FAQ:
http://cygwin.com/faq/faq-nochunks.html#faq.using.copy-and-paste

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.


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



RE: how to enable the very convenient copy/paste editing method in Cygwin?

2010-09-21 Thread Buchbinder, Barry (NIH/NIAID) [E]
Buchbinder, Barry (NIH/NIAID) [E] sent the following at Tuesday, September 21, 
2010 9:07 PM
>bsmile sent the following at Tuesday, September 21, 2010 5:52 PM
>>I installed Cgywin(don't know how to see its version number) under
>>windows xp and so far so good.  However, there is one thing very
>>inconvenient for me to use Cgywin, that is, I cannot highlight a text
>>to copy and right button to paste.  I am wondering how I can get back
>>this beloved feature.  Any advices are greatly appreciated!
>
>In addition to the previous responses, see the FAQ:
>http://cygwin.com/faq/faq-nochunks.html#faq.using.copy-and-paste

See also the User Guide:
http://cygwin.com/cygwin-ug-net/using-effectively.html#using-console

And also the (no)tty option of the CYGWIN environmental variable:
http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

Sorry for forgetting these in my earlier post.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

--
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: where the streets and servers have no name, cyglwres-xx.dll?

2010-09-21 Thread mike marchywka
On 9/21/10, David Sastre  wrote:
> On Tue, Sep 21, 2010 at 04:43:25PM -0500, mike marchywka wrote:
>> On 9/21/10, David Sastre wrote:
>> > On Tue, Sep 21, 2010 at 02:38:37PM -0500, mike marchywka wrote:
>> >> Hi,
>>
>> > Can you please attach it, as described here?
>> >
>> >> Problem reports:   http://cygwin.com/problems.html
>> >
>> attached, thanks. I seem to recall the install
>> went well so this is a bit surprising but I have reported
>> isolated bizarre things on Windoze 7 multicore 64 bit...
>> It looked like it got some -50 dlls with same name.
>
> I couldn't find the dll in your cygcheck.out...
> Do you have liblwres60 installed?
> Try cygcheck -c liblwres60. If you already have it, try reinstalling
> it.
>
... arrgh I ended up reinstalling everything, still doing post install
scripts. There was no indication the dll was there, just
the -50 instead of -60 version it wanted. I'll have to
see if everything still works, reboot, etc and then get
back to this. I think it may be fine if I could just
copy the dll instead of actually installing anything.





> This is the output of cygcheck $(which nslookup) in a 32bits Win7
>
> C:\cygwin\bin\nslookup.exe
>   C:\cygwin\bin\cygbind9-60.dll
> C:\cygwin\bin\cygdns-66.dll
>   C:\cygwin\bin\cygisc-60.dll
> C:\cygwin\bin\cyggcc_s-1.dll
>   C:\cygwin\bin\cygwin1.dll
> C:\Windows\system32\ADVAPI32.DLL
>   C:\Windows\system32\msvcrt.dll
> C:\Windows\system32\KERNELBASE.dll
>   C:\Windows\system32\ntdll.dll
> C:\Windows\system32\API-MS-Win-Core-Console-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-DateTime-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Interlocked-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll
>
> C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll
>
> C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll
>   C:\Windows\system32\API-MS-WIN-Service-Core-L1-1-0.dll
>   C:\Windows\system32\API-MS-WIN-Service-winsvc-L1-1-0.dll
>   C:\Windows\system32\API-MS-WIN-Service-Management-L1-1-0.dll
>   C:\Windows\system32\API-MS-WIN-Service-Management-L2-1-0.dll
>   C:\Windows\system32\API-MS-Win-Core-LocalRegistry-L1-1-0.dll
>   C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll
>   C:\Windows\system32\KERNEL32.dll
> C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-IO-L1-1-0.dll
> C:\Windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.dll
>   C:\Windows\system32\RPCRT4.dll
> C:\Windows\system32\API-MS-Win-Core-DelayLoad-L1-1-0.dll
> C:\cygwin\bin\cygxml2-2.dll
>   C:\cygwin\bin\cygz.dll
>   C:\cygwin\bin\cygiconv-2.dll
>   C:\cygwin\bin\cygcrypto-0.9.8.dll
> C:\cygwin\bin\cygisccfg-60.dll
>   C:\cygwin\bin\cyglwres-60.dll <-
> C:\Windows\system32\IPHLPAPI.DLL
>   C:\Windows\system32\NSI.dll
>   C:\Windows\system32\WINNSI.DLL
>   C:\cygwin\bin\cygidn-11.dll
> C:\cygwin\bin\cygintl-8.dll
>
>>

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



Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread Jeremy Bopp
On 09/21/2010 07:37 PM, bsmile wrote:
> Jeremy Bopp-3 wrote:
>>
>> On 09/21/2010 06:44 PM, bsmile wrote:
>>> Eric Blake-3 wrote:

 On 09/21/2010 03:52 PM, bsmile wrote:
>
> I installed Cgywin(don't know how to see its version number) under
> windows xp
> and so far so good. However, there is one thing very inconvenient for
> me
> to
> use Cgywin, that is, I cannot highlight a text to copy and right button
> to
> paste. I am wondering how I can get back this beloved feature. Any
> advices
> are greatly appreciated!

 Use mintty or rxvt instead of the windows console.

>>>
>>> I am now using mintty. Although it enables copy/paste as the way in
>> linux, it
>>> does not seem to support -X option of ssh. I want to run gnuplot on a
>> remote
>>> computer and send the graph back to the local computer for me to see,
>> and I
>>> use ssh -X to set up the connection. But gnuplot fails and the following
>>> information is sent back
>>>
>>> gnuplot: unable to open display ''
>>> gnuplot: X11 aborted.
>>>
>>> This does not seem to go with cygwin. Any idea towards this?
>>
>> You need to install and run the X server.  Mintty is just a terminal.
>> Install the xorg-server package.  I think the program you'll need to
>> arrange to run is XWin32 or maybe XWin.
>>
>> -Jeremy
>
> Isn't cygwin the graphic environment? If mintty invokes cygwin, I would
> expect it to have full feature of support such an environment. But I will
> try installing xwin32 to see how it works out,

Please refer to the Cygwin homepage and read the sections about what
Cygwin is and is *not*:

http://cygwin.com/

Cygwin is a DLL that provides a Linux-like layer on top of the Windows
APIs.  Programs that expect a Linux-like environment are compiled to use
that DLL so that they don't have to be rewritten to use the Windows
APIs.  Such programs are often generally called Cygwin programs.

I'll probably get a bit of correction about this, but Mintty itself is a
hybrid of Cygwin and native Windows.  It draws itself using Windows
graphics APIs, and speaks to Cygwin programs using the Cygwin DLL.  In
addition, Mintty is only a terminal.  Basically, it draws your command
prompt.  It does not know how to speak to remote machines using the SSH
protocol, and it cannot draw the graphical interfaces for X client
applications such as gnuplot.

To do what you want to do, you start Mintty to get your local bash
prompt.  Then, if you haven't already done so, you start the X server.
Finally, run ssh with the -X option in order to start gnuplot on a
remote machine and have its interface drawn by your X server running on
your Windows desktop.

It's also possible to create a shortcut that will directly run ssh -X
without the need to start Mintty.  That way, you can have something that
is pretty much point and click.  You'll still need to make sure that
your X server is running first however, and you may still need to handle
entering a password for the remote machine.  There are various solutions
for this, but you should make sure that you can get the most basic,
manual case going first.

-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: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread Andy Koppe
On 22 September 2010 00:11, Cyrille Lefevre wrote:
>
> Le 21/09/2010 23:53, Eric Blake a écrit :
>>
>> Use mintty or rxvt instead of the windows console.
>>
>
> I like puttycyg which also support utf-8.
>
> PS : mintty do paste à la Xwindows (middle button),
> while putty may do it as you wich (middle or right
> button), both may copy on select w/ left button.

That's optional in mintty too:

Options->Mouse->Right Click Action->Paste/Extend/Show Menu

Andy

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



Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread Andy Koppe
On 22 September 2010 01:54, SJ Wright wrote:
> New on me. I'll  start using mintty asap. Must be better than Terminator. I
> did a cutesy thing with an echo-ed ellipse to mark time while a script
> iterated over some lines in a list: rxvt wrapped each unbroken string to 80
> characters while Terminator ran them off the right-hand side of the window
> before doing so. You set it as many times as you want to 80x24 or 80x40 (or
> whatever) and it still does what it pleases. Except that Console2 unerringly
> preferred my old MinGW .bashrc file to my Cygwin one, I wouldn't recommend
> it to anyone looking for a tabbed terminal emulator.
>
> How's mintty on that btw?

It'll start your Cygwin shell unless told otherwise on the command
line. Lines wrap at the screen edge. There are no tabs (but you can
switch among mintty windows with Ctrl+Tab).

Andy

--
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: Instead of a gripe, a memory-jog.

2010-09-21 Thread Andy Koppe
On 22 September 2010 00:29, SJ Wright wrote:
>> Yes. I noticed where I had the territory mis-cased the next time I ran
>> wget. In the line that identified the file and URL for each download,
>> double-quotes and other punctuation became garbage characters, where they
>> hadn't been when I either had *no* LANG variable set or a correctly-written
>> one. So now it's fixed. Thanks again.

If LANG (and also LC_ALL and LC_CTYPE) aren't set, Cygwin defaults to
UTF-8. It's better to have it set though, because some programs such
as emacs default to plain ol' ASCII if the locale isn't set. That's
why LANG is set to C.UTF-8 during login shell startup (by
/etc/defaults/etc/profile.d/lang.sh). In other words, you shouldn't
have to worry about it.

> Spoke too soon on the wget matter. Since setting a LANG variable in the
> first place (and evidently the right place, or else this wouldn't be a
> "matter"), I've been seeing garbage text -- I prefer to call it "drone text"
> -- in place of quotation marks during normal (non-verbose and not set to
> "quiet") downloads. Here's a sample:
>>
>> Saving to: “gae77-7748-244-958stck.jpgâ€

That looks like wget is using UTF-8 yet your terminal is using
ISO-8859-1. The Cygwin console as well as all the terminals shipped
with Cygwin (except for rxvt) use UTF-8 by default. With other
terminals, you might have to select it somewhere in their options.

Andy

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