Re: [Patch] Resizeable main window

2003-10-19 Thread Igor Pechtchanski
On Thu, 16 Oct 2003, Igor Pechtchanski wrote:

 On Thu, 16 Oct 2003, Frank Richter wrote:

  On 16.10.2003 22:29, Robert Collins wrote:
   Before further review, I'd like you to correct
   such abuses of C++.
 
  Done.
 
  Also, this patch is a bit more useful than the last one - the Chooser
  now sizes with the window.
 
  - f.r.

 Okay, this does indeed give us a resizeable chooser -- yuppee!!!  The
 header row still behaves weirdly under Win2k (i.e., it fixes on a
 particular size and won't bulge until a scroll bar is touched after
 switching views), but it's something that can be lived with.

 Once this gets accepted, it would be relatively easy to make most other
 dialogs resizeable.  One problem, as I mentioned before, would be with
 items that need to be centered.

 Frank, thank you *very much* for doing this.
 Igor

Rob, BTW, when this patch gets accepted, I have an idea on how to modify
this code to allow more intuitive control over the elements (e.g.,
centering).  I'll also be able to make most of the other dialogs
resizeable.
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Generic rootless

2003-10-19 Thread Kensuke Matsuzaki
Hello,

This uses miext/rootless. rootless mode create Windows window for each toplevel X 
window.
The remote X apps's reorder/maximize/minimize performance is improved.
And to click one X window doesn't raise all X window together.

Known problem:
 When using twm, I click window then that window raise top in Windows but it stay
previous position in X. I don't know how to avoid clicking Windows window raise
window.

Kensuke Matsuzaki


rootless.tar.bz2
Description: Binary data


can not open display

2003-10-19 Thread Philip D
I want to get x connection to remote server: run the programme in the server
and display in local pc.

My pc got a local IP: 192.168.0.3,
external IP 81.152.*.*
(my homenetworking with 3 pcs connectting to the internet through a router)

it does not work when I set DISPLAY=127.0.0.1:0 or any of the above.

what I should do to OPEN DISPLAY?

Thanks in advance
Philip D.


Re: a problem with X connection to HPC server-------local computer IP name

2003-10-19 Thread Alexander Gottwald
Thomas Chadwick wrote:

 The one thing I'm not sure abouit is what would happen to XDM after the SSH
 tunnel ended.  Will it continuously loop trying to start an X session on the
 defunct DISPLAY?

It will try a few (5 afair) times and then disable the entry for 30 minutes.

bye
ago

NP: JBO - Bimber Bumber Dödel Dei
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: Enabling cygwin.rules/SharedLibFont

2003-10-19 Thread Alexander Gottwald
Harold L Hunt II wrote:

 gcc -shared -Wl,--out-implib=libXfont-1.dll.a -Wl,--enable-auto-import
 --def Xfont.def -Wl,--exclude-libs,ALL -o cygXfont-1.dll bitmap/?*.o
 fontfile/?*.o fc/?*.o fontcache/?*.o  Speedo/?*.o Type1/?*.o
   FreeType/?*.o util/?*.o

No libs. I think -lXp -lX11 -lXext -lz -lfreetype will help.

NP: JBO - Meister der Musik (Teil 2)
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: can not open display

2003-10-19 Thread Alexander Gottwald
Philip D wrote:

 I want to get x connection to remote server: run the programme in the server
 and display in local pc.

 My pc got a local IP: 192.168.0.3,
 external IP 81.152.*.*
 (my homenetworking with 3 pcs connectting to the internet through a router)

 it does not work when I set DISPLAY=127.0.0.1:0 or any of the above.

 what I should do to OPEN DISPLAY?

use ssh.

DISPLAY=127.0.0.1:0.0 ssh -X server

after login you can start any X11 program and ssh automagicly forwards the
output to your local xserver.

If it does not work, see the troubleshooting section of the faq.

bye
ago
NP: JBO - Ein klassischer Tag zum Sterbe
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Window focus problem with new releases

2003-10-19 Thread quarto
I installed relaeses XFree86-bin-4.3.0-5.tar.bz2,
XFree86-prog-4.3.0-8.tar.bz2 and
XFree86-xserv-4.3.0-20.tar.bz2 and have noticed the following problem
while running
Fluxbox: A window (e.g. xterm) that has the focus but does not have the
cursor in
the window cannot recieve keyboard input. This has not been a problem
prior
to installation of the named releases.

Not a big issue, just an issue.

Paul



Re: Generic rootless

2003-10-19 Thread David Fraser
Kensuke Matsuzaki wrote:

Hello,

This uses miext/rootless. rootless mode create Windows window for each toplevel X 
window.
The remote X apps's reorder/maximize/minimize performance is improved.
And to click one X window doesn't raise all X window together.

Known problem:
When using twm, I click window then that window raise top in Windows but it stay
previous position in X. I don't know how to avoid clicking Windows window raise
window.
Kensuke Matsuzaki
 

Hi Kensuke

Wow, you keep on coming up with brilliant improvements

Thanks!
David


Re: Enabling cygwin.rules/SharedLibFont

2003-10-19 Thread Harold L Hunt II
Alexander,

I got this to work by modifying our SharedXfontReqs in 
xc/config/cf/cygwin.tmpl as follows:

#define SharedXfontReqs $(LDPRELIB) $(FONTSTUBLIB) GzipLibrary \ 
$(FREETYPE2LIB)

I then rebuilt all clients, but it looks like only 'luit', 'xfs', 
'mkfontscale', and the servers depend on the Xfont lib.  Neither of 
'luit' or 'xfs' seem to work on Cygwin.  'mkfontscale' works, right? 
But the servers don't link to the shared Xfont lib unless you define 
XserverStaticFontLib as YES.

I did a build of the servers with XserverStaticFontLib set to YES. 
XWin.exe crashed on startup and I didn't look into it any further.

Also, when SharedLibFont is YES, both the shared and static versions get 
built, since the servers need the static version by default and don't 
seem to work with the shared version.

This all gets down to one question: does it make any sense and is there 
any benefit to building a shared Xfont lib?  I can't see any good 
reasons for it.  Well, the one good reason is that the size of XWin.exe 
drops by about 600 KiB, but that is about it.

Please send you input,

Harold

Alexander Gottwald wrote:
Harold L Hunt II wrote:


gcc -shared -Wl,--out-implib=libXfont-1.dll.a -Wl,--enable-auto-import
--def Xfont.def -Wl,--exclude-libs,ALL -o cygXfont-1.dll bitmap/?*.o
fontfile/?*.o fc/?*.o fontcache/?*.o  Speedo/?*.o Type1/?*.o
 FreeType/?*.o util/?*.o


No libs. I think -lXp -lX11 -lXext -lz -lfreetype will help.

NP: JBO - Meister der Musik (Teil 2)



Re: Generic rootless

2003-10-19 Thread Harold L Hunt II
Kensuke,

Looks cool.  I really like the idea of doing this.  I had talked to 
Torrey about how to do this, but I never got around to it.

One problem I noticed right away:

Your diff for hw/xwin thinks it is creating the Imakefile as a new file 
because there was no xwin-20031017-1340/Imakefile file on your system. 
I think I can probably figure out what you were trying to do here 
(adding a few source and object files I assume).

Very impressive.

I won't have a chance to build this until a day or two from now.  I will 
give more feedback then.

Harold

Kensuke Matsuzaki wrote:

Hello,

This uses miext/rootless. rootless mode create Windows window for each toplevel X 
window.
The remote X apps's reorder/maximize/minimize performance is improved.
And to click one X window doesn't raise all X window together.

Known problem:
 When using twm, I click window then that window raise top in Windows but it stay
previous position in X. I don't know how to avoid clicking Windows window raise
window.
Kensuke Matsuzaki



Can Not Install Font Packages

2003-10-19 Thread Joshua Rubin
Hi,
I just had my hard drive with my cygwin installation die.  I am now installing cygwin 
on a new hard drive.  However, when doing the setup, it freezes on 5 packages:
XFree86-f100
XFree86-fcyr
XFree86-fenc
XFree86-fnts
XFree86-fscl
Subsequently, I can not run my X server since it can not find the fonts.  Can someone 
either tell me how to install these packages manually, or explain why it is failing 
with the cygwin setup?
Thanks,
Joshua

__
Joshua Rubin
Assistant Team Lead
UltraViolet Imaging Spectrograph (UVIS) Team
Cassini Mission to Saturn
Laboratory for Atmospheric and Space Physics
University of Colorado
1234 Innovation Drive
Boulder, Colorado 80303
Hillel Shabbat Committee Chair
[EMAIL PROTECTED] 
(303) 909-6199
Gravity can not be held responsible for people falling in love.
  -Albert Einstein





Re: Can Not Install Font Packages

2003-10-19 Thread Harold L Hunt II
Joshua,

Try another mirror.  The mirror you downloaded from may have corrupt or 
missing font packages.  There have not been other reports of problems 
with the font packages.

Harold

Joshua Rubin wrote:

Hi,
I just had my hard drive with my cygwin installation die.  I am now installing cygwin 
on a new hard drive.  However, when doing the setup, it freezes on 5 packages:
XFree86-f100
XFree86-fcyr
XFree86-fenc
XFree86-fnts
XFree86-fscl
Subsequently, I can not run my X server since it can not find the fonts.  Can someone 
either tell me how to install these packages manually, or explain why it is failing 
with the cygwin setup?
Thanks,
Joshua
__
Joshua Rubin
Assistant Team Lead
UltraViolet Imaging Spectrograph (UVIS) Team
Cassini Mission to Saturn
Laboratory for Atmospheric and Space Physics
University of Colorado
1234 Innovation Drive
Boulder, Colorado 80303
Hillel Shabbat Committee Chair
[EMAIL PROTECTED] 
(303) 909-6199
Gravity can not be held responsible for people falling in love.
  -Albert Einstein






Re: Generic rootless

2003-10-19 Thread Harold L Hunt II
Kensuke,

I did a quick build test of the generic rootless code.  hw/xwin builds 
fine, but nothing is getting built in miext/rootless, nor has rootless 
extension been added to the XWin.exe link command (so there are 
unresolved references to rootless* symbols).  I am guessing that you had 
to modify Xserver/Imakefile or config/cf/cygwin.*, but forgot to send a 
diff for those.  Could you send that diff please?

Is the next step in this to pull the multi-window window manager back 
out of XWin.exe and make it a stand-alone executable, like XDarwin?  Or, 
is our current setup with the integrated multi-window wm the best solution?

Thanks for contributing,

Harold

Kensuke Matsuzaki wrote:

Hello,

This uses miext/rootless. rootless mode create Windows window for each toplevel X 
window.
The remote X apps's reorder/maximize/minimize performance is improved.
And to click one X window doesn't raise all X window together.

Known problem:
 When using twm, I click window then that window raise top in Windows but it stay
previous position in X. I don't know how to avoid clicking Windows window raise
window.
Kensuke Matsuzaki



RE: can not open display

2003-10-19 Thread Narasimha Reddy K
Try with xhost + local pc ip address on server and run calc ot any X Dispaly
on server and try.

rgs,
NR
-Original Message-
From: Philip D [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 18, 2003 9:26 PM
To: [EMAIL PROTECTED]
Subject: can not open display


I want to get x connection to remote server: run the programme in the server
and display in local pc.

My pc got a local IP: 192.168.0.3,
external IP 81.152.*.*
(my homenetworking with 3 pcs connectting to the internet through a router)

it does not work when I set DISPLAY=127.0.0.1:0 or any of the above.

what I should do to OPEN DISPLAY?

Thanks in advance
Philip D.


DISCLAIMER: Information contained and transmitted by this E-MAIL is
proprietary to iGATE Global Solutions Limited  and is intended for use only
by the individual or entity to which it is addressed, and may contain
information that is privileged, confidential or exempt from disclosure under
applicable law. If this is a forwarded message, the content of this E-MAIL
may not have been sent with the authority of the Company. If you are not the
intended recipient, an agent of the intended recipient or a person
responsible for delivering the information to the named recipient, you are
notified that any use, distribution, transmission, printing, copying or
dissemination of this information in any way or in any manner is strictly
prohibited. If you have received this communication in error, please delete
this mail  notify us immediately at [EMAIL PROTECTED] Before
opening attachments, please scan for viruses. 




Re: Generic rootless

2003-10-19 Thread Kensuke Matsuzaki
Harold,

 I did a quick build test of the generic rootless code.  hw/xwin builds 
 fine, but nothing is getting built in miext/rootless, nor has rootless 
 extension been added to the XWin.exe link command (so there are 
 unresolved references to rootless* symbols).  I am guessing that you had 
 to modify Xserver/Imakefile or config/cf/cygwin.*, but forgot to send a 
 diff for those.  Could you send that diff please?
Sorry. I forgot it.

 Is the next step in this to pull the multi-window window manager back 
 out of XWin.exe and make it a stand-alone executable, like XDarwin?  Or, 
 is our current setup with the integrated multi-window wm the best solution?
If possible, stand-alone executable seems better.
I read OroborOSX source some month ago. But I didn't know MacOS API so
I couldn't understand it. But I felt it is implemented Aqua like skin.
Their site say new v0.9 have many new features. I will read it.
I want someone who is familiar with XDarwin to comment.


By the way, Greg Parker's xroot.c is very useful when I use rootless mode.
http://sealiesoftware.com/

Kensuke Matsuzaki


Imakefile.patch
Description: Binary data


Re: Can Not Install Font Packages

2003-10-19 Thread Joshua Rubin
Thanks.  I tried several other mirrors and they have not worked either.
Any other ideas?
Joshua




Re: Patch for building libcrypt.a as a DLL

2003-10-19 Thread Corinna Vinschen
On Sat, Oct 18, 2003 at 05:21:27PM -0400, Charles Wilson wrote:
 This should make life a little simpler for those apps that use libtool 
 to build DLLs and depend on libcrypt -- since libtool tries very hard to 
 ensure that all dependencies of a DLL are themselves DLLs.
 
 Corinna, please consider this patch.

Sure, thanks for the patch.  I've changed the Makefile a bit, using
`install -d' instead of the `if [ -d ...' expressions and adding the
installation of a crypt.README file.

Just one question: Does an additional libcrypt.la file make sense?

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



isntallation-problem

2003-10-19 Thread Unternhrer Thomas, uth
Hi,
 
I have some questions about installing cygwin for using XEmacs.
 
I installed the newest versions of Texlive, Cygwin and XEmacs. During the installation 
of Cygwin with the following packages
 
the default ones, crypt, gettext, groff, jpeg, less, libdb3.1, libntl, libpcre0, 
libpng10, libpng12, libPropList, make, man, mktemp, ncftp, openssh, pcre, perl, 
perl_manpages, rpm, rpm-doc, tiff, unzip, wget, WindowMaker and xpm-nox
 
I get the following error-message:
 
rpmd.exe - Component not found
the application can't be started, because cygbz2-1.dll couldn't be found. (translated 
from german)
 
I try to reinstall with the same error-message (from an other mirror).
 
Is it true that cygbz2-1.dll comes with the package libz2_1?
 
I was looking in the setup.log if there is an error or something, couldn't found 
anything (couldn't found the package at all).
Then I was looking in the setup.log.full, there I found the package but without any 
errors. There are no errors at all.
 
I installed then XEmacs (in Cygwin mode) and want to use the packages preview-latex. 
If I run latex in XEmacs, XEmacs hangs (started in Cygwin).
 
I'm not sure that XEmacs hangs because of this error while installing Cygwin, but 
could anybody give me a hint?
 
(I was following the instruction under http://home.imf.au.dk/hellmund/xemacs.html)
 
(I was reading the FAQ, searching the mailing-list and so on, but couldn't found 
anything about this) 
 
and sorry for my terrible english
 
Thank a lot 
 
Thomas
 

Content Security by MailMarshal


Windows file permissions

2003-10-19 Thread Krzysztof Duleba
Is there a way to change file access permissions that are used by Windows
2000 pro having only ssh account?

Regards
Krzysztof Duleba



--
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: Windows file permissions

2003-10-19 Thread Thorsten Kampe
* Krzysztof Duleba (2003-10-19 13:02 +0200)
 Is there a way to change file access permissions that are used by Windows
 2000 pro having only ssh account?

chmod, cacls

Thorsten
-- 
 Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
 Content-Transfer-Warning: message contains innuendos not suited for
 children under the age of 18


--
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: sshd and cat

2003-10-19 Thread Thorsten Kampe
* Asif Iqbal (2003-10-19 01:45 +0200)
 Today is the first time I am using cygwin in my XP.

You've just discovered the real thing. Improve your experience by
reading the FAQ and the User's Guide.

 I am trying to run cat and it says command not found

Well, these dumb computers. This could mean that either the package
containing 'cat' is not installed or the executable is not in $PATH.

A search for the package at
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=cat.exe

leads to the conclusion that you have to have textutils installed.

 Also when I try to start sshd it fails not finding /etc/sshd_config
 file

Please follow the installation guidelines at
/usr/share/doc/Cygwin/openssh-3.7.1p2-1.README

 The third thing I just noticed I can't copy using my mouse.

Yes, you can. If you are using the windows console you can enable this
in the properties dialog and if you are using rxvt you just have to
select the text.

Thorsten
-- 
 Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
 Content-Transfer-Warning: message contains innuendos not suited for
 children under the age of 18


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



mouse: (was Re: sshd and cat)

2003-10-19 Thread Suresh Venkatasubramanian

On Sun, 19 Oct 2003, Thorsten Kampe wrote:

 * Asif Iqbal (2003-10-19 01:45 +0200)
  The third thing I just noticed I can't copy using my mouse.

 Yes, you can. If you are using the windows console you can enable this
 in the properties dialog and if you are using rxvt you just have to
 select the text.


Moreover, using xwinclip can allow you to copy from cygwin windows to
Windows. However, I am still trying to get the reverse to work: namely,
transferring something from the Windows clipboard to a cygwin window.

--
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: Windows file permissions

2003-10-19 Thread Krzysztof Duleba
Thorsten Kampe wrote:

 Is there a way to change file access permissions that are used by Windows
 2000 pro having only ssh account?

 chmod

I knew that, but it affects only the Cygwin permissions.

 cacls

And that's what I need - thank you very much.

Regards
Krzysztof Duleba



--
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: Patch for building libcrypt.a as a DLL

2003-10-19 Thread Charles Wilson
Corinna Vinschen wrote:

Sure, thanks for the patch.  I've changed the Makefile a bit, using
`install -d' instead of the `if [ -d ...' expressions and adding the
installation of a crypt.README file.
Just one question: Does an additional libcrypt.la file make sense?
Meh.  It might, but simply providing the shared version of the library 
will solve the issue I was addressing.  libtoolizing the package would 
be a far more intrusive change (autoconf, Makefile.am, ... etc) so I 
didn't want to go there.  But it's up to you.

--
Chuck
--
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: Windows file permissions

2003-10-19 Thread Thorsten Kampe
* Krzysztof Duleba (2003-10-19 17:22 +0200)
 Thorsten Kampe wrote:
 Is there a way to change file access permissions that are used by Windows
 2000 pro having only ssh account?

 chmod

 I knew that, but it affects only the Cygwin permissions.

No, Cygwin doesn't have its own permissions - they directly affect the
NT ACLs.

Thorsten
-- 
 Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
 Content-Transfer-Warning: message contains innuendos not suited for
 children under the age of 18


--
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: (was Re: sshd and cat)

2003-10-19 Thread Hannu E K Nevalainen
 From: Suresh Venkatasubramanian
 Sent: Sunday, October 19, 2003 3:40 PM

 On Sun, 19 Oct 2003, Thorsten Kampe wrote:

  * Asif Iqbal (2003-10-19 01:45 +0200)
   The third thing I just noticed I can't copy using my mouse.
 
  Yes, you can. If you are using the windows console you can enable this
  in the properties dialog and if you are using rxvt you just have to
  select the text.
 

 Moreover, using xwinclip can allow you to copy from cygwin windows to
 Windows. However, I am still trying to get the reverse to work: namely,
 transferring something from the Windows clipboard to a cygwin window.

Just FYI... ;-)

Assumption:
You're running bash in rxvt (I personally do reccommend doing so, unless you
have a very specific reason not to, e.g. running a number of DOS/Windows
console programs).

 1 - Use your middle mouse button. (inserts all of it)
 (note: Disable Mouse support, if you use nano)
 2 - Hit the insert key (inserts first line, prerequisite below)

$ grep paste .inputrc
\M-[2~: paste-from-clipboard # Insert first line of (Win) clip

$ man readline  # tells more about possibilities.
$ man bash  # as does this
/readline

$ man rxvt  # also tells more...
/insertion


/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf(Timezone: %s\n, (DST)?UTC+02:UTC+01); --
--END OF MESSAGE--


--
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: 1.5.5: Problem with Convert::ASN1 module and Perl 5.8.0

2003-10-19 Thread Gerrit P. Haase
Hallo Russell,

you wrote:
 An indicator of trouble is:

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 $ perl -e 'use POSIX;print POSIX::HUGE_VAL, \n;'
 -6.77154008269804e-229
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 It should be something like:

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 $ perl -e 'use POSIX;print POSIX::HUGE_VAL, \n;'
 Inf
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 It appears that the perl-5.8.0-5.tar.bz2 package that Cygwin 1.5.5
 installs was compiled with GCC 3.2 while GCC 3.3.1 comes with
 the 1.5.5 distribution.  Recompiling Perl 5.8.0 using the
 perl-5.8.0-5-src.tar.bz2 source package resulted in Convert::ASN1
 passing its tests.

[...]

 I'm not sure what differences there are between the versions of
 GCC used but I noticed that the lseeksize is different with
 GCC 3.2 saying 4 while GCC 3.3.1 says 8.

 I didn't try the perl-5.8.0-5.tar.bz2 binary package with Cygwin
 1.3.22 which it was compiled under.  Nor did I try the
 perl-5.8.1-2.tar.bz2 binary packae from Cygwin 1.5.5.

 While the perl-5.8.0-5.tar.bz2 binary package does run under
 Cygwin 1.5.5, other Perl modules may not fare as well.


Many thanks for the detailed report.  One more point for 5.8.1 which
is already available, 5.8.1-2 seems to return the correct value with
your testcase, please consider upgrading to 5.8.1-2, though it is
still delivered as test it shold be much better than 5.8.0-5.


Gerrit
-- 
=^..^=


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



AW: Patch for building libcrypt.a as a DLL

2003-10-19 Thread Ralf Habacker
Hi Charles,

this is very suprising. I have noted for the next to make a note exactly of
this library. The reason for this is, that KDE had upgrades their libtool
release to on to the newest cvs release and file_magic dependency style is
not the default.

Thanks very much for your effort.

BTW: There is another lib, libutil.a in the inetutils package, which causes
same libtool problems

Ralf



 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag
 von Charles Wilson
 Gesendet: Samstag, 18. Oktober 2003 23:21
 An: [EMAIL PROTECTED]
 Betreff: Patch for building libcrypt.a as a DLL


 This should make life a little simpler for those apps that use libtool
 to build DLLs and depend on libcrypt -- since libtool tries very hard to
 ensure that all dependencies of a DLL are themselves DLLs.

 Corinna, please consider this patch.

 --
 Chuck



--
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: Patch for building libcrypt.a as a DLL

2003-10-19 Thread Corinna Vinschen
On Sun, Oct 19, 2003 at 12:54:35PM -0400, Charles Wilson wrote:
 Corinna Vinschen wrote:
 
 Sure, thanks for the patch.  I've changed the Makefile a bit, using
 `install -d' instead of the `if [ -d ...' expressions and adding the
 installation of a crypt.README file.
 
 Just one question: Does an additional libcrypt.la file make sense?
 
 Meh.  It might, but simply providing the shared version of the library 
 will solve the issue I was addressing.  libtoolizing the package would 
 be a far more intrusive change (autoconf, Makefile.am, ... etc) so I 
 didn't want to go there.  But it's up to you.

Uh, no.  I was just thinking of providing a hand-crafted version
of libcrypt.la.  Never mind.  I've upload the new crypt package as is.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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: Patch for building libcrypt.a as a DLL

2003-10-19 Thread Corinna Vinschen
On Sun, Oct 19, 2003 at 09:31:44PM +0200, Ralf Habacker wrote:
 BTW: There is another lib, libutil.a in the inetutils package, which causes
 same libtool problems

Please don't use libutil.a anymore.  All functionality intentionally
exported from libutil.a is now exported genuinely by the Cygwin DLL
itself, beginning with release 1.5.5.  These functions are

  getusershell
  setusershell
  endusershell
  daemon
  forkpty
  login_tty
  logwtmp
  openpty
  revoke

Additionally, Cygwin exports updwtmp now, too.

Libutil.a is deprecated and will not be part of future inetutils
releases anymore.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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: Windows file permissions

2003-10-19 Thread Corinna Vinschen
On Sun, Oct 19, 2003 at 01:47:33PM +0200, Thorsten Kampe wrote:
 * Krzysztof Duleba (2003-10-19 13:02 +0200)
  Is there a way to change file access permissions that are used by Windows
  2000 pro having only ssh account?
 
 chmod, cacls

getfacl/setfacl.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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: ssmtp 2.38.7-4 reads headers from message body.

2003-10-19 Thread Corinna Vinschen
On Sat, Oct 18, 2003 at 09:08:48PM +0200, Frank Slootweg wrote:
   Anything else you need?

Your /etc/ssmtp/ssmtp.conf file would be interesting.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



[ANNOUNCEMENT] new package: fltk-1.1.4

2003-10-19 Thread A.R. Burgers
I have packaged the fltk package. The home page for fltk is
http://www.fltk.org/

FLTK is a cross-platform C++ GUI toolkit for UNIX(R)/Linux(R) X11,
Microsoft(R) Windows(R), and MacOS(R) X. FLTK provides modern GUI
functionality and supports 3D graphics via OpenGL(R) and its built-in
GLUT emulation.
FLTK also includes an excellent UI builder called
FLUID that can be used to create applications in minutes.

Included with the binary package are three demo programs: mandelbrot,
glpuzzle and checkers. More demos demonstrating fltk programming
techniques can be found in the
source package.

To update your installation, click on the Install Cygwin now link
on the http://cygwin.com/ web page. This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select Devel
and then select fltk.

If you have questions or comments related to the cygwin port of fltk,
please send them to the Cygwin mailing list at: [EMAIL PROTECTED]
If you want to make a point or ask a question, the Cygwin mailing list
is the appropriate place. Fltk related question should go to one of the
Fltk mailing lists.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=

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:
[EMAIL PROTECTED]

Teun Burgers


--
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: Program too big to fit in memory - Previous hints didn't work

2003-10-19 Thread Elkin
Thanks all you guys for your help.

Gerrit has solved the problem -thanks a lot Gerrit- and the program runs in
my pc

I'm afraid the error prompt was a bit misleading but I don't understand yet
why it was raised.

Elkin

E G [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 I have the latest Cygwin/cygnome environment (Cygwin 1.5.5.1 dll)
installed
 two weeks ago for compiling a working program already tested in linux and
 solaris. The program uses the X libraries Xt, Xpm, Xaw and X11 in an
 interface window written in C and runs a program written in Fortran.

 I compiled the interface program written in C (xgraph.c) using gcc -x -o
 xgraph.o xgraph.c -I/usr/X11R6/include and it created the object file
 without problems.

 I then compiled the fortran code and linked the libraries and required
 object files -including the C program- as I did in Linux (I just changed
the
 paths for the includes and the libraries) and the names of the libraries

 -lXpm - -lXpm.dll, -lX11 --lX11.dll). It compiled fine and I got my
object
 dependencies ok and the exe file without problems. But, when I tried to
run
 the program I got a Program too big to fit in memory error message and
it
 didn't run. The program is 1.4 MB and my computer has 256 MB RAM and 9 GB
 hard disk free space (defragmented, i.e., single chunk).

 I run the max_memory program included in Chapter 3 of the users manual I
 think, and it reports 1560 kB. So I'm discarding real memory problems.


 I have tried:
 1. increasing Cygwin memory restriction using regtool  for
 memory_chunk_in_mb to set 2048 kB. Nope.
 2. compiling the code with -fconserve-space, -fno-inline, -Wl... heap and
 stack They Reduce the exe file size a bit, but still didn't work.
 Program too big to fit in memory.
 3. stripping the exe file using strip -s exe_file. Reduces the size of
the
 executable by 1/3 but still getting the same error message.

 I run out of options, so I hope someone can give a hint what to do to make
 my program run.

 Thanks,

 Elkin
 4rd Yr Aerospace Eng student @ Ryerson.ca

 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus






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



Problem with recent GNU ld packages

2003-10-19 Thread Edouard Gomez
Hello,

I  am experiencing  problems  with  recent GNU  ld  packages. The  short
version is that  the COFF object file reader seems  to not determine the
.text  section correct  size, thus  ld panics,  complaining about  a bad
relocation.

I have also to make clear, that though i experience this using cross
compiling tools (linux-win32), cygwin users have the same problems,
that's why i post this bug report here (the binutils-bug list seems to
be a spam list)

Here is a more detailed report:


The  buggy  coff  file can  be  obtained  thanks  to the  assembly  file
attached. This  is the most  reduced code i  could do that  triggers the
bug.
 $ nasm -f elf -DPREFIX -o ld-bug.obj ld-bug.asm

When trying to link that file, i always have this error with GNU ld
2.14 (no errors with GNU ld 2.13):
ld-bug.obj: bad reloc address 0xa1 in section `.text'

So here we go, with a GNU ld 2.13, objdump -x reports that (only
relevent parts):
$ i386-mingw32-objdump -x ld-bug.obj
[...]
Sections:
Idx Nom   TailleVMA   LMA   Fich off  Algn
  0 .data 000c      0064  2**2
  CONTENTS, ALLOC, LOAD, DATA
  1 .text 00f3      0070  2**4
  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
[...]

But GNU ld 2.14 (and current head cvs as well):
[...]
Sections:
Idx Nom   TailleVMA   LMA   Fich off  Algn
  0 .data 000c      0064  2**2
  CONTENTS, ALLOC, LOAD, DATA
  1 .text 000c      0070  2**4
  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
[...]

Note that the .text section is wrong in the second case.

I triedtodebug GNUld tofind wherethe
(section_type_struct)-_raw_size field was set...  but no luck. Is there
in this list a GNU ld (coff)  guru wanting to help me spot and crush the
bug ?

--
Edouard Gomez
BITS 32

;;
;; Macros
;;

%macro cglobal 1
%ifdef PREFIX
global _%1
%define %1 _%1
%else
global %1
%endif
%endmacro

%define CPUID_TSC   0x0010
%define CPUID_MMX   0x0080
%define CPUID_SSE   0x0200
%define CPUID_SSE2  0x0400

%define EXT_CPUID_3DNOW0x8000
%define EXT_CPUID_AMD_3DNOWEXT 0x4000
%define EXT_CPUID_AMD_MMXEXT   0x0040

%define XVID_CPU_MMX  (1 0)
%define XVID_CPU_MMXEXT   (1 1)
%define XVID_CPU_SSE  (1 2)
%define XVID_CPU_SSE2 (1 3)
%define XVID_CPU_3DNOW(1 4)
%define XVID_CPU_3DNOWEXT (1 5)
%define XVID_CPU_TSC  (1 6)

;; CHECK_FEATURE
;;   arg1: cpu feature bit as defined by the cpu spec
;;   arg2: cpu feature bit as defined in XviD
;;   arg3: register where to store the result
%macro  CHECK_FEATURE 3

mov ecx, %1
and ecx, edx
neg ecx
sbb ecx, ecx
and ecx, %2
or  %3, ecx

%endmacro

;;
;; Data
;;

SECTION .data

vendorAMD:
db AuthenticAMD

;;
;; Code
;;

SECTION .text

;;
;; uint32_t do_cpuid(void)
;; returns cpuid info

ALIGN 16
cglobal do_cpuid
do_cpuid:

pushebx
pushesi
pushedi
pushebp

xor ebp, ebp

; CPUID command ?
pushfd
pop eax
mov ecx, eax
xor eax, 0x0020
pusheax
popfd
pushfd
pop eax
cmp eax, ecx

jz  near .cpu_quit ; no CPUID command - exit


; get vendor string, used later
xor eax, eax
cpuid
mov [esp-12], ebx   ; vendor string
mov [esp-12+4], edx
mov [esp-12+8], ecx
testeax, eax

jz  near .cpu_quit

mov eax, 1
cpuid

; RDTSC command ?
CHECK_FEATURE CPUID_TSC, XVID_CPU_TSC, ebp

; MMX support ?
CHECK_FEATURE CPUID_MMX, XVID_CPU_MMX, ebp

; SSE support ?
CHECK_FEATURE CPUID_SSE, (XVID_CPU_MMXEXT|XVID_CPU_SSE), ebp

; SSE2 support?
CHECK_FEATURE CPUID_SSE2, XVID_CPU_SSE2, ebp

; extended functions?
mov eax, 0x8000
cpuid
cmp eax, 0x8000
jbe near .cpu_quit  ; No extended features, quit

; Yes there is
mov eax, 0x8001
cpuid

; Compare 

Re: [ANNOUNCEMENT] new package: fltk-1.1.4

2003-10-19 Thread Eric Hanchrow
Great!  I sometimes used to build flwm for Cygwin; I assume it will
now be easier for me to do that.
-- 
The whole point of loud music is to make it possible
to date without talking.
-- Roger Ebert

--
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: Problem with recent GNU ld packages

2003-10-19 Thread Christopher Faylor
On Mon, Oct 20, 2003 at 03:16:15AM +0200, Edouard Gomez wrote:
Hello,

I  am experiencing  problems  with  recent GNU  ld  packages. The  short
version is that  the COFF object file reader seems  to not determine the
.text  section correct  size, thus  ld panics,  complaining about  a bad
relocation.

I have also to make clear, that though i experience this using cross
compiling tools (linux-win32), cygwin users have the same problems,
that's why i post this bug report here (the binutils-bug list seems to
be a spam list)

Check http://sourceware.org/lists.html for the binutils list.

--
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: long timeouts on shutdown/log off

2003-10-19 Thread Christopher Faylor
On Mon, Oct 20, 2003 at 10:53:54AM +0900, Dylan Cuthbert wrote:
Stranger and stranger.

As there are only 3 in the task list it means that quite a few of the
cron jobs are finishing ok.  (I run it every hour)

But more importantly, why can't winxp kill those tasks properly when I
log off or shutdown?  And why has it only started happening in this
latest version of cygwin?

I'm glad to see that cygwin is so powerful that it can create unkillable
processes.  It warms my heart to see that it is gaining in strength and
ability.  Soon, you won't be able to turn off your machine at all if
cygwin is running on it.  At that point, cygwin's true insidious purpose
will finally be revealed.

cgf

--
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: long timeouts on shutdown/log off

2003-10-19 Thread Dylan Cuthbert
those damn double-bluffs again

;-)



Christopher Faylor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Mon, Oct 20, 2003 at 10:53:54AM +0900, Dylan Cuthbert wrote:

 I'm glad to see that cygwin is so powerful that it can create unkillable
 processes.  It warms my heart to see that it is gaining in strength and
 ability.  Soon, you won't be able to turn off your machine at all if
 cygwin is running on it.  At that point, cygwin's true insidious purpose
 will finally be revealed.

 cgf




--
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: long timeouts on shutdown/log off

2003-10-19 Thread Karl M
Hi All...

Now Chris, you promised to stop with taking over the computers. I think that 
taking over the users' brai

click

Yes Chris, you are correct. Everything is as it should be. Sorry to disturb 
you.

Thanks,

...Karl


From: Christopher Faylor [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: long timeouts on shutdown/log off
Date: Sun, 19 Oct 2003 22:34:28 -0400
On Mon, Oct 20, 2003 at 10:53:54AM +0900, Dylan Cuthbert wrote:
Stranger and stranger.

As there are only 3 in the task list it means that quite a few of the
cron jobs are finishing ok.  (I run it every hour)

But more importantly, why can't winxp kill those tasks properly when I
log off or shutdown?  And why has it only started happening in this
latest version of cygwin?
I'm glad to see that cygwin is so powerful that it can create unkillable
processes.  It warms my heart to see that it is gaining in strength and
ability.  Soon, you won't be able to turn off your machine at all if
cygwin is running on it.  At that point, cygwin's true insidious purpose
will finally be revealed.
cgf

--
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/
_
Concerned that messages may bounce because your Hotmail account has exceeded 
its 2MB storage limit? Get Hotmail Extra Storage! 
http://join.msn.com/?PAGE=features/es

--
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: long timeouts on shutdown/log off

2003-10-19 Thread Christopher Faylor
On Sun, Oct 19, 2003 at 08:33:18PM -0700, Karl M wrote:
Hi All...

Now Chris, you promised to stop with taking over the computers.  I
think that taking over the users' brai

click

Yes Chris, you are correct.  Everything is as it should be.  Sorry to
disturb you.

Thanks,

...Karl

It's working!  It's working!  Oh, boy.  This is nifty!

Wait.  Nifty isn't a properly fiendish term.

.
.
.

Exxxccelllenttt...

cgf

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



gdb startup error

2003-10-19 Thread peter garrone
Hi,
 
Whenever I type gdb from the bash command line, a little window immediately pops up
Window title: gdb.exe Application Error
and text is: The application failed to initialize properly(0xc07b)
The gdb executable is Sep 20 12:45 2365952 bytes.

This also happens for the insight command. But everything else is OK.

I believe gdb was working until I recently upgraded my system. cygcheck
says I have gdb package version 20030919-1 and that it is OK.

To list my own debugging attempts,

My search of the net says that the only possible cause of c07b, standing for 
STATUS_INVALID_IMAGE_FORMAT,
is a failure of the function _CorValidateImage, for xp systems. I am running xp. Also 
a DLL stuffup could be the cause.

Any help appreciated.
-- 
__
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

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