Re: regression code in in the latest cygwin versions

2005-06-20 Thread Brian Dessent
hugues henocq wrote:

 I wanted to upgrade my cygwin version  from 1.3.17 to 1.5.17 and, then,
 I tried
 to compil and link my software using X/lesstif GUI. The link works but I
 get some new messages like this:
 ...
 Then, when I run the software, it fails down with a segmentation fault.
 The problem happens in an Xm
 function and I think that aoto-mport doesn't run correctly ?
 
 Linked under the previous version (1.3.17) or under linux, my software
 works very well.
 So, I think that there is a regression between these 2 versions.

Between 1.3.17 and 1.5.17 there have been something like 22 intermediate
releases and 30 months of time, so I don't think it's very fair to
expect that not much has changed. :-) That said, the entire Cygwin/X
suite
works fine so if there was a problem linking to lesstif I think it would
have affected other packages too.

If you were using a Cygwin that old chances are the gcc and binutils
used were also ancient as well, and things do change there too.  For
example, starting in 3.3.3-3 gcc places const structures in .rdata, and
this will cause a fault if the structure contains a pointer to an object
imported from another DLL since that requires a relocation fixup.  I
don't mean to imply that's the problem you're facing (esp since that
results in a windows error and not a segfault), but your report doesn't
really give enough information to know what's going on.  All we really
have is that it used to work, and now it segfaults.  We don't know what
the code is trying to do, or how it was compiled or linked, etc.  I
think that you'll have to either provide a testcase that reproduces the
fault, or try to narrow down the problem some more.

Brian


Re: Xorg DMX functionality in the Cygwin X Server?

2005-06-20 Thread Lucractius
Ill test out the XDMX server youve built on my machine and see how it runs.
 Did you test it out?
 Any other info you have on how you tested and built it would help for
my testing.

 

On 6/19/05, Alexander Gottwald [EMAIL PROTECTED] wrote: 
 Lucractius wrote:
 
  After reviewing the Xorg archives ive discovered that the DMX
   extentions have been apart of the main Xorg tree since 6.8.0,
  Are these extentions ( XDMX ) incorporated into the current Cygwin X
  server or were they left out at some point? perhaps due to porting
   problems.
 
  Does anyone know whats up with the Cygwin X server and DMX ( XDMX ) At all?
 
 I've built Xdmx for cygwin http://www.tu-chemnitz.de/~goal/xfree/Xdmx.exe.bz2 
 
 But I don't know how to setup nor do I now much about the whole dmx 
 architecture
 It seems the dmx extension is only available from the Xdmx server which can
 be run on top of any regular xserver.
 
 bye 
 ago
 NP: X-Fusion - Psycho Maniac
 --
  [EMAIL PROTECTED]
  http://www.gotti.org   ICQ: 126018723 



Re: Xorg DMX functionality in the Cygwin X Server?

2005-06-20 Thread Alexander Gottwald
On Mon, 20 Jun 2005, Lucractius wrote:

 Ill test out the XDMX server youve built on my machine and see how it runs.
  Did you test it out?
  Any other info you have on how you tested and built it would help for
 my testing.

For building: Add #define BuildDmx YES to xc/config/cf/host.def and rebuild
the xserver with make World

running:
I've only tested if it would startup properly. 

Xdmx -display host1:0.0 -display host2:0.0

created the gray hatch pattern on the two xserver and garbled the keyboard 
settings :( Since I don't know how dmx actually works I did not test it 
further. It's up to you :-)

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Mouse button copy/paste not working

2005-06-20 Thread Igor Pechtchanski
On Mon, 20 Jun 2005, Charles Packer wrote:

 As a Unix veteran but first-time Cygwin user, I've discovered that I
 can't paste selected text with the middle button under these
 circumstances: I have logged into a remote Unix system and start some X

Wrong list.  Please follow-up to cygwin-xfree at cygwin dot com (I've
set the Reply-To: accordingly).

 window from there -- an xterm, say, or xedit. I select text in one of
 those windows (by dragging with the left button down) and then try to
 paste somewhere else in the window. It will paste only if the selected
 text is still highlighted. This is not right; it should have been copied
 to some buffer that is still available to the middle button even if the
 originally selected text is no longer highlighted.

 Oddly enough, the problem doesn't exist with the local Cygwin xterms and
 xedit -- only with those that the remote system creates. For what it's
 worth, the .xinitrc script that Cygwin uses in this installation runs
 xwinclip and then wmaker. The invocation of twm has been commented out.
 When I do a ps, I see that wmaker appears twice.

 Incidentally, occasionally the middle button does worse than merely not
 paste; it kills the window. The error message showing in the main Cygwin
 xterm is: BadAtom(invalid Atom parameter); Major opcode of failed
 request: 18(X_Change Property).

See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read
the whole section).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


FW: Installation issues (newbie)

2005-06-20 Thread David Masterson
Someone on the Cygwin list suggested I post this here.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of David Masterson
Sent: Friday, June 17, 2005 4:43 PM
To: cygwin@cygwin.com
Subject: Installation issues (newbie)


I used to use Cygwin a long time ago and am now coming back to it.

My setup:

*   Dell Precision Workstation 370
*   MS-Windows XP Pro v5.1.2600

Step 1: Install Cygwin

*   I used setup.exe to first download all of Cygwin to my local hard
drive.  I do this so that, if I install it a few times, I don't have to hit
the Internet after the first time.  Somewhat faster.
*   After downloading everything, I used setup.exe to install the
Default.  A couple of times, this gave me errors in the postinstall steps
about some DLL, but it didn't repeat consistently, so...
*   After I installed, I brought up Bash and got the usual message about
/etc/passwd  /etc/group.  I used mkpasswd and mkgroup to fill them in.
*   Default (I believe) doesn't install MAN pages or editors, so
figuring out what mkpasswd/mkgroup did and/or adjusting it is kind of
difficult.  This should be fixed or documented better.

Step 2: Get an X server working

*   Default doesn't install any X, so I reran setup.exe to do an All
install (I have room).  This got me a Cygwin/X menu in the Start menu list,
but didn't provide any obvious way of starting an X server.
*   Suggestion: Have setup.exe add an icon for startxwin.bat to the
Desktop.  I manually did that.
*   Double-clicking startxwin.bat brings up an X server and xterm with
the root window hidden.  Xclock also seems to work properly.

Step 3: Get an editor running

*   Starting emacs from the xterm window brings up emacs, but it
immediately crashes when you try to do anything in it.
*   Starting xemacs from the xterm window seems a little better as you
can do things in it, but it crashes when you try to exit from XEmacs.
*   I then did an xhost + to disable access control.
*   Running emacs from an RHEL3 system with the display pointed at my
Cygwin system brought up a window, but immediately crashed.
*   Running xemacs from the RHEL3 system with the display pointed to my
Cygwin system worked much better and seemed normal (most times!).  I tested
this a few times and XEmacs did crash once.

So what's wrong with the X server in Cygwin?  Since I'm just getting going, I
posted this to the cygwin mailing list -- later I may move to the
cygwin-xfree mailing list.

David Masterson


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



Re: Mouse button copy/paste not working

2005-06-20 Thread Charles Packer

Igor Pechtchanski wrote:


See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read

the whole section).
Igor
 

Typical Unix-head response (Read the whole book...). There is nothing 
in the FAQ that deals with this problem. However, perusing the Cygwin/X 
installation instructions, under the section on logging on to remote 
clients, I noticed the suggested ssh command: ssh -Y -l username 
hostdomain. I checked to see what our PC guy had set me up with under 
the alias he had given me: ssh -X -l myname $1. Changing -X to -Y made 
all the difference and solved the problem. Returning to the FAQ, there 
is a question X forwarding does not work does not work with OpenSSH 
under Cygwin in which the answer I needed is embedded as an 
afterthought. Suggestion: Add to the FAQ a question specifically 
mentioning the symptoms I described.




Re: Mouse button copy/paste not working

2005-06-20 Thread Igor Pechtchanski
On Mon, 20 Jun 2005, Charles Packer wrote:

 Igor Pechtchanski wrote:

  See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read
  the whole section).
  Igor

 Typical Unix-head response (Read the whole book...).

I initially wrote please read the whole section 5 (which is only one
printed page long, BTW), but then omitted the section number because I
thought it was self-evident.  Apparently not.

 There is nothing in the FAQ that deals with this problem. However,
 perusing the Cygwin/X installation instructions, under the section on
 logging on to remote clients, I noticed the suggested ssh command: ssh
 -Y -l username hostdomain. I checked to see what our PC guy had set me
 up with under the alias he had given me: ssh -X -l myname $1. Changing
 -X to -Y made all the difference and solved the problem. Returning to
 the FAQ, there is a question X forwarding does not work does not work
 with OpenSSH under Cygwin

That is the exact question I pointed you to.

 in which the answer I needed is embedded as an afterthought. Suggestion:
 Add to the FAQ a question specifically mentioning the symptoms I
 described.

The symptoms are there (i.e., the BadAtom message).  True, they are not
in the form of a question -- the FAQ maintainer reads this list and I'm
sure will see your suggestion.
Igor
--
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT