Re: [bug] /etc/profile.d/defines MANPATH (affected: XFree, openssl)

2004-03-25 Thread Corinna Vinschen
On Mar 24 23:20, Jari Aalto+mail.linux wrote:
 
 Could the Xfree maintainer, Harold?, remove this from profile.d.
 The 'man' command no longer work id MANPATH is set.
 
 root AT example.com# grep MANPATH /etc/profile.d/*.sh
 /etc/profile.d/XFree86-man.sh:# NOTE: MANPATH is special, it requires a leading : in 
 order to 
 /etc/profile.d/XFree86-man.sh:# search its default paths in addition to those 
 specified in MANPATH.
 /etc/profile.d/XFree86-man.sh:export MANPATH=${MANPATH}:/usr/X11R6/man
 /etc/profile.d/openssl.sh:export MANPATH=${MANPATH}:/usr/ssl/man

Works fine for me.

Corinna

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


Re: ANNOUNCE: cygbug - generic bug reporting tool (like Debian reportbug)

2004-03-25 Thread Reini Urban
Jari Aalto+mail.linux schrieb:
wget --non-verbose  \
  http://tierra.dyndns.org:81/cygwin/cygbug/cygbug-20040422-1.tar.bz2 \
  http://tierra.dyndns.org:81/cygwin/cygbug/cygbug-20040422-1.tar.bz2.sig \
The sig has 317789 byte and is the same as the bz2.
Obviously the sig verification fails therefore also.
Comments:
The SMTPSERVER should be read from /etc/ssmtp/ssmtp.conf
cygwin has no /usr/bin/ypcat
BTW:
I'd like xemacs to be supported also. Should be no major effort.
I'll try it by myself.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


RE: ANNOUNCE: cygbug - generic bug reporting tool (like Debian reportbug)

2004-03-25 Thread Chris January
 * Tue 2004-03-23 Christopher Faylor
 cgf-no-personal-reply-please-rDBXBDvO6BXQT0dZR+AlfA AT
 public.gmane.org
 *
 | On Tue, Mar 23, 2004 at 05:10:03PM +0200, Jari Aalto+mail.linux wrote:
 |
 | It can be used to deliver messages to upstream developers concerning
 | cygwin related bugs.  It can also be used to send patches to other
 | Cugwin developer (I just sent one to ssmtp maintainer).
 |
 | The ssmtp maintainer?  So in other words, you're sending private email
 | to people whom you deem to be the maintainer?  That's really counter to
 | policy.

 The maintainer information is read from installed *README files. If there
 is some better way, let me know.

I'm not happy with something that e-mails the maintainers directly lest this
be mistaken for policy.

Chris J



Re: setup.exe development stalled?

2004-03-25 Thread Reini Urban
Robert Collins schrieb:
On Sat, 2004-03-13 at 08:07, Christopher Faylor wrote:
At the very least, it would be nice to get out a new release which
resized correctly.  I know that the current implementation isn't perfect
but I wonder if it is better than the alternative of having a new user a
week sending in a suggestion that the browser should be resizeable.
Why don't you just release the current snapshot?

Resizing works fine for most of the cases, and the simple
remaining problems are no showstoppers to me. Just a few required 
feature enhancements.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/



Re: setup.exe development stalled?

2004-03-25 Thread Corinna Vinschen
On Mar 25 13:29, Reini Urban wrote:
 Robert Collins schrieb:
 On Sat, 2004-03-13 at 08:07, Christopher Faylor wrote:
 At the very least, it would be nice to get out a new release which
 resized correctly.  I know that the current implementation isn't perfect
 but I wonder if it is better than the alternative of having a new user a
 week sending in a suggestion that the browser should be resizeable.
 
 Why don't you just release the current snapshot?

I second that.

Corinna

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


Re: setup.exe development stalled?

2004-03-25 Thread Thomas . Wolff
If there is going to be an update of setup.exe, I'd like to add 
the following remark:
I absolutely dislike setup.exe's habit of suggesting to 
create a desktop item everytime I install anything.
I run an icon-free desktop, I don't want any new icons there, 
and I don't want to have to click this off every time. It would 
be respectful of setup.exe to remember my choice.

Kind regards,
Thomas Wolff


Re: ANNOUNCE: cygbug - generic bug reporting tool (like Debian reportbug)

2004-03-25 Thread Christopher Faylor
On Thu, Mar 25, 2004 at 12:28:09PM -, Chris January wrote:
 * Tue 2004-03-23 Christopher Faylor
 cgf-no-personal-reply-please-rDBXBDvO6BXQT0dZR+AlfA AT
 public.gmane.org
 *
 | On Tue, Mar 23, 2004 at 05:10:03PM +0200, Jari Aalto+mail.linux wrote:
 |
 | It can be used to deliver messages to upstream developers concerning
 | cygwin related bugs.  It can also be used to send patches to other
 | Cugwin developer (I just sent one to ssmtp maintainer).
 |
 | The ssmtp maintainer?  So in other words, you're sending private email
 | to people whom you deem to be the maintainer?  That's really counter to
 | policy.

 The maintainer information is read from installed *README files. If there
 is some better way, let me know.

I'm not happy with something that e-mails the maintainers directly lest this
be mistaken for policy.

Thank you.

Please consider this package officially vetoed.

cgf


Re: setup.exe development stalled?

2004-03-25 Thread Christopher Faylor
On Thu, Mar 25, 2004 at 01:29:36PM +0100, Reini Urban wrote:
Robert Collins schrieb:
On Sat, 2004-03-13 at 08:07, Christopher Faylor wrote:
At the very least, it would be nice to get out a new release which
resized correctly.  I know that the current implementation isn't
perfect but I wonder if it is better than the alternative of having a
new user a week sending in a suggestion that the browser should be
resizeable.

Why don't you just release the current snapshot?

It's hard to see who you is in this case since Robert's name is quoted
but there isn't anything else from Robert in your reply, but that was
kinda my point.

cgf


Re: XWin 4.3.0-50 crashes with -multiwindow (ping Earle)

2004-03-25 Thread fabrizio . ge
Thanks for the good debug Fabrizio!

You're welcome!

The 24bpp icon handling was
something I never could test: I couldn't find any apps that had
24bpp icons, all I found were 1- 15-, 16-, or 32-bit ones.
I was assuming the X server always used a packed format, but
PixmapBytePad() looks to be the proper way of handling this.
(Can I ask how you knew?  I did a Google on the macro and didn't
come up with anything of interest, I only found stuff in the
header files themselves...)

Actually I only noticed MiGetImage did that, I was not sure it was right.

I tried version 4.3.0-60 and it worked without crashing in 24bpp mode. There
is a minor glitch left: in 24bpp mode, the icon at the upper left corner
has wrong colours, while the colours are right in 16bpp mode. I'm sending
you PNG files to show what's happening.

Congratulations for the great work!

Fabrizio


__
ADSL Senza Canone 640Kbps:
attivala entro il 31 marzo e avrai GRATIS il costo di adesione,
quello di attivazione e il modem per tutto il 2004.
E per i primi 3 mesi navighi a 1,5 euro l'ora! Affrettati!
http://point.tiscali.it/adsl/prodotti/senzacanone/



attachment: 16bpp.pngattachment: 24bpp.png

Antwort: Clipboard fix - Please test

2004-03-25 Thread Andreas_Vogler
Hallo,
I have had an freeze with the .60 Cygx Relase and IBM Personal 
Communication, it has freezed when Coping somthing in IBM PC just after 
copying somting in cygwin. (IBM PM Was freezed completly, Cygwin wasnt 
able zu shutdown.)

Now with the 61 Release IBM PM freeze for about 2-3 Sek than all works 
again normaly, so i coult say it has gotten better.

An the vim -g bug i mentioned earlier  email still exists.

See yo
Andreas



Pathnames for X server app-defaults etc.

2004-03-25 Thread Dr.D.J.Picton
Earlier this week, I re-installed Cygwin from scratch.  The current version 
of the X server is 4.3.0-60.

I noticed various oddities - in particular, application default files
were ignored and the keyboard map was incorrect (for example, '#' produced
a '\').  Then I realized that the server now expects to find all the config
files under /usr/X11R6/lib/X11.  Installing a few symlinks fixed all 
the problems:

cd /usr/X11R6/lib/X11; ln -s /etc/X11 .

Now everything works properly.   However, it seems to me that something is
wrong with the package installation scripts which should either install all
the files in /usr/X11R6/lib/X11, or create the relevant symlinks in this
directory.







Re: Pathnames for X server app-defaults etc.

2004-03-25 Thread Dr.D.J.Picton
From: Dr.D.J.Picton dave at aps5 dot ph dot bham dot ac dot uk 
To: cygwin-xfree at cygwin dot com 
Date: Thu, 25 Mar 2004 12:22:01 + (GMT) 
Subject: Pathnames for X server app-defaults etc. 
Reply-to: cygwin-xfree at cygwin dot com 
Reply-to: Dr.D.J.Picton dave at aps5 dot ph dot bham dot ac dot uk 

I noticed various oddities - in particular, application default files
were ignored and the keyboard map was incorrect (for example, '#' produced
a '\').  Then I realized that the server now expects to find all the config
files under /usr/X11R6/lib/X11.  Installing a few symlinks fixed all 
the problems:

cd /usr/X11R6/lib/X11; ln -s /etc/X11 .

Sorry - spot the deliberate mistake!  That should have been

cd /usr/X11R6/lib/X11; ln -s /etc/X11/* .



RE: Pathnames for X server app-defaults etc.

2004-03-25 Thread Ruth Ivimey-Cook
 
Would the following issue:

Earlier this week, I re-installed Cygwin from scratch.  The current version
of the X 
server is 4.3.0-60.

Be why my X server doesn't start up any more?

I get the following Xwin.log after running X :0 from the cygwin shell:

(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winScreenInit - dwWidth: 1600 dwHeight: 1200
winSetEngine - Using Shadow DirectDraw NonLocking
winAllocateFBShadowDDNL - Not changing video mode
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 6400
winAllocateFBShadowDDNL - Created shadow pitch: 6400
winAllocateFBShadowDDNL - Created shadow stride: 1600
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowDDNL - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp
32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winFinishScreenInitFB - returning
winScreenInit - returning
InitOutput - Returning.
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of
shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0809 (0809) 
(--) Using preset keyboard for English (United Kingdom) (809), type 4
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc105 Layout = gb Variant = (null) Options =
(null)
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
XDM: too many retransmissions
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winProcQueryTree - Clipboard is not enabled, returning.
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Blt reported that the
primary surface was lost, trying to restore, retry: 1
winBltExposedRegionsShadowDDNL - IDirectDrawSurface4_Restore returned:
OsVendorReset - Hello
winDeinitMultiWindowWM - Noting shutdown in progress




RE: Pathnames for X server app-defaults etc.

2004-03-25 Thread Alexander Gottwald
On Thu, 25 Mar 2004, Ruth Ivimey-Cook wrote:

 XDM: too many retransmissions

There is a problem with the xdmcp server.

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


Re: Changes to multiwindow mode and always-on-top (ping Takuma)

2004-03-25 Thread Takuma Murakami
Earle,

At 07:56 PM 3/20/2004 +0900, Takuma Murakami wrote:
You give me a good insight to improve Z order handling.
I believe we can approach to better solutions.  The attached
is my latest code which should fix all problems on restacking
and a-o-t windows without using fAlwaysOnTop flag.  Could you
try and review this?
 
 After 48 hours of continuous running in a mixed environment of both
 X and Windows apps I haven't noticed any problems at all, and I've seen
 from the logfile that the fRestacking flag has captured and killed
 some recursive restacks as expected from looking at your code.

Thank you very much for the hard test, I cleaned the code and
commited it.  I'm glad to see the result of our cooperative
development.

 The only glitch I have seen, and this is NOT new, is that when the
 Win32 Z order changes because of a right-click system menu or a
 click-and-drag to move a window, the X window is only restacked
 at the end of the menu or move operation.

I'm also aware of this bug but I won't fix it for now.

As a note for the commit, I just commented out your code on
PreserveWin32Stack() by '#if 0' because it is nice for use
from wm thread.  We can utilize it in the future.

There are still some possibilities to optimization, one of
which is the performance of winReorderWindowsMultiWindow()
as you pointed out before.  However more optimizations need
detailed examination into DIX code (to understand X's Restack
operation) despite relatively little speed-up.  So I finish
the series of my optimizations to -multiwindow mode.
Of course any enhancement is welcome.

Takuma Murakami



Gtk programming

2004-03-25 Thread

Using the Cygwin setup program, I have installed GTK+; looking for the 
'gtk.h' file I found one in '/usr/include/gtk-2.0/gtk/gtk.h' and another 
at '/usr/X11R6/include/gtk-2.0/gtk/gtk.h', why is this? 
Most importantly, when I try to compile a program using: 
gcc example.c -Wall -o example `gtk-config --libs --cflags` 
I get a message saying that gtk-config was not found and that there is 
no such a file as 'gtk/gtk.h'! 

Can someone tell me how to solve this problem? 

TIA  



Entérate de las noticias más actualizadas de El Salvador y el mundo en 
www.elsalvador.com


BadWindow Error on Solaris Textedit startup

2004-03-25 Thread Charles E. Cooper
I'm using cygwin to window into a Solaris box.

I have this setup on my desktop computer (Windows 2000) and it works fine.
I attempted to do the same thing on my laptop and it fails if I try to 
bring up the textedit editor.
however it works for xterm, and some other applications.

I'm using startxwin.bat to startup the X-session.
   it's doing a:
start XWin -multiwindow -clipboard
  run xterm -s1 1000 -sb -rightbar -ms -red -fg yellow -bg black 
-e /usr/bin/bash -l



the error I see is:

X Error (intercepted): BadWindow (invalid Window parameter)
Major Request Code:   7
Minor Request Code:   0
Resource ID (XID):   58
Error Serial Number:48
XView warning:  invalid object (not a pointer), xv_get
finished; X Error of failed request:  BadWindow (invalid Window parameter)
   Major opcode of failed request:   7 (X_ReparentWindow)
   Resource id in failed request:  0x3a
   Serial number of failed request:  48
   Current serial number in output stream:  57
-
this also works someones and fails other times.
We've reloaded cygwin a couple times to make sure we had the latest software.
Chuck
Charles E. Cooper
Swift Program
Applied Research Laboratory
The Pennsylvania State University
(814) 865-6829
[EMAIL PROTECTED]


Re: BadWindow Error on Solaris Textedit startup

2004-03-25 Thread Takuma Murakami
Charles,

I guess you are using SSH.  Please see the following FAQ entry.
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding

Hope this helps.

Takuma Murakami


 I'm using cygwin to window into a Solaris box.
 
 I have this setup on my desktop computer (Windows 2000) and it works fine.
 I attempted to do the same thing on my laptop and it fails if I try to 
 bring up the textedit editor.
 however it works for xterm, and some other applications.
 
 I'm using startxwin.bat to startup the X-session.
 it's doing a:
  start XWin -multiwindow -clipboard
run xterm -s1 1000 -sb -rightbar -ms -red -fg yellow -bg black 
 -e /usr/bin/bash -l
 
 
 
 the error I see is:
 
 X Error (intercepted): BadWindow (invalid Window parameter)
 Major Request Code:   7
 Minor Request Code:   0
 Resource ID (XID):   58
 Error Serial Number:48
 XView warning:  invalid object (not a pointer), xv_get
 finished; X Error of failed request:  BadWindow (invalid Window parameter)
 Major opcode of failed request:   7 (X_ReparentWindow)
 Resource id in failed request:  0x3a
 Serial number of failed request:  48
 Current serial number in output stream:  57
 
 -
 this also works someones and fails other times.
 
 We've reloaded cygwin a couple times to make sure we had the latest software.
 Chuck



RE: XWin 4.3.0-50 crashes with -multiwindow (ping Earle)

2004-03-25 Thread Phil Betts
Hi All,

It seems that this may have been resolved already, but FWIW...

Earle F. Philhower III wrote:
 To fix it we can reinstate the if()...
 if (pixmap-drawable.bitsPerPixel == 15)
   effXBPP = 16;
 else
   effXBPP = pixmap-drawable.bitsPerPixel;
 if (pixmap-drawable.depth == 15)
   effXDepth = 16;
 else
   effXDepth = pixmap-drawable.depth;
 Or get rid of the effX* variables completely, but modify (~line 218)
  if (effxdepth==16) into
 into
   if (xdepth==16 || xdepth==15)
 
 and modify all of the X image ptr walking
  ptr += posX * (effXBPP / 8);
 into
   ptr += (xbpp==15)?(posX * (16/8):(posX * (xbpp/ 8));

Why not just replace (bpp/8) with ((bpp+1)/8) ?

More generally you could use ((bpp+7)/8) which will round up any bit
depth to a whole number of bytes (always assuming that bpp is an
integral type).

This works for all of the multi-bit depths mentioned by Earle. (I
haven't got the source so I don't know if 1-bit images would be
affected)

Although it's probably not important in this context, the above
approach is generally preferable for performance since, as well as
being intrinsically quicker, it removes any conditional code which
plays havoc with CPU branch prediction.  I only mention this because I
imagine that this scenario is replayed a lot throughout the server and
there may be useful gains to be made.  (Also, you could try replacing
the '/8' with '3', but I'm pretty certain that gcc is smart enough to
do that anyway.)

Cheers,
   Phil


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**



Re: Final solution on using AltGr keyboard definitions with HP-UX CDE/Motif/ X11R6 and Linux/ Cygwin

2004-03-25 Thread Franz Roters
Hi Hans and all the rest,

while this solution works for cde and the applications, I still have 
no AltGr-functionality in the login-screen.

Any ideas, suggestions?

Greetings

Franz


 Using Cygwin with HP-UX CDE:
 
 When you are using CDE on HP-UX you can use the following procedure,
 which I found on the Internet. Check the solution at
 http://aa11.cjb.net/hpux_admin/2000/12/0212.html that came from the
 community:
 
 
 Create the file /etc/dt/config/Xsession.d/0050.disable_xkb with the
 following content:
 
 
 #!/usr/bin/ksh
 # ###
 File: 0050.disable_xkb ### ### Purpose: disable the XKEYBOARD extension in
 all R6 ### client software.
 #
 export XKB_DISABLE=1
 
 
 and give it the 755 protection.
 
 Then put in the .dtprofile of a user the command to change his/her
 keyboard layout:
 
 
 xmodmap /etc/xmodmap.es.hpux
 
 which contains a copy of the enclosed keyboard mapping.

---
Dr. Franz Roters
Max-Planck-Institut fuer Eisenforschung
Abteilung Mikrostrukturphysik und Umformtechnik
Max-Planck-Str. 1
40237 Duesseldorf
Germany
Tel.: +49 (0)211-6792-393
FAX:  +49 (0)211-6792-333



RE: Pathnames for X server app-defaults etc.

2004-03-25 Thread Ruth Ivimey-Cook
 
Ago wrote:
There is a problem with the xdmcp server.

As I said, I ran the command as X :0, which IIRC should not require an
xdmcp server. Even if it did, I have another machine which can log in to the
same server fine.

Regards,

Ruth




KDE3.1 fails to run from a clean install.

2004-03-25 Thread Crescioli, Phil
Last night I did a FULL and COMPLETE download of cygwin from
http://kde-cygwin.sourcefroge.net

This morning I installed ALL of cygwin and tried to bring up KDE3.1
using startx -multiwindow .
KDE came up and allowed me to tweak the desktop environment, then 
failed to load a library, etc.  The log file is below. When I run KDE,
I have about 100MB free RAM of the 256 totall memory in my PC.  
When the first library fails to load, I have about 60MB free RAM. 
Is my prob not enough free memory, or do I need to tweak a file
somewhere
To get KDE up and running?  FYI-I only set KDE desktop environment to
load half the eye candy stuff during the initial setup so as not to
have a memory issue.
Thanks,
[EMAIL PROTECTED]



RE: Pathnames for X server app-defaults etc.

2004-03-25 Thread Alexander Gottwald
On Thu, 25 Mar 2004, Ruth Ivimey-Cook wrote:

  
 Ago wrote:
 There is a problem with the xdmcp server.
 
 As I said, I ran the command as X :0, which IIRC should not require an
 xdmcp server. Even if it did, I have another machine which can log in to the
 same server fine.

The xserver is called XWin.exe. Maybe X is a custom script that starts the 
xserver with xdmcp parameters. The first lines of the log should contain
the commandline parameters. Unfortunately you stripped them

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


RE: KDE3.1 fails to run from a clean install.

2004-03-25 Thread Crescioli, Phil
Ooops, I forgot to insert my KDE_Log File.  Here it is.

Last night I did a FULL and COMPLETE download of cygwin from
http://kde-cygwin.sourcefroge.net

This morning I installed ALL of cygwin and tried to bring up KDE3.1
using startx -multiwindow .
KDE came up and allowed me to tweak the desktop environment, then 
failed to load a library, etc.  The log file is below. When I run KDE,
I have about 100MB free RAM of the 256 totall memory in my PC.  
When the first library fails to load, I have about 60MB free RAM. 
Is my prob not enough free memory, or do I need to tweak a file
somewhere
To get KDE up and running?  FYI-I only set KDE desktop environment to
load half the eye candy stuff during the initial setup so as not to
have a memory issue.
Thanks,

[EMAIL PROTECTED] ~
$ startx -multiwindow 
[1] 3028

[EMAIL PROTECTED] ~
$ + test -f '/cygdrive/c/Documents and
Settings/pcrescioli/.kde_mountchecked'
++ mount
++ grep ' / .*textmode'
+ test -n ''
+ touch /cygdrive/c/Documents and Settings/pcrescioli/.kde_mountchecked
touch: creating `/cygdrive/c/Documents': Permission denied
touch: creating `Settings/pcrescioli/.kde_mountchecked': No such file or
directo
ry
+ IPC_PID=2228
+ client_opt=-multiwindow
+ server_opt=-multiwindow
+ xinit /opt/kde3/bin/startkde -multiwindow -- /usr/X11R6/bin/XWin :0
-noreset -
ac -nowinkill -multiwindow
+ ipc-daemon2

+ export SHELL=/bin/bash
+ SHELL=/bin/bash
+ export KDEINIT_KIO_EXEC=1
+ KDEINIT_KIO_EXEC=1
+ test -n 1
+ export
'PATH=/opt/kde3/lib/kde3:/opt/qt/3.2/bin:/opt/kde3/bin:/opt/kde3/lib:/o
pt/kde3/lib/kde3:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c
/WINDOWS
/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdriv
e/c/Prog
ram Files/Common Files/Adaptec
Shared/System:/usr/bin:/usr/bin:/usr/X11R6/bin'
+
PATH=/opt/kde3/lib/kde3:/opt/qt/3.2/bin:/opt/kde3/bin:/opt/kde3/lib:/opt
/kde3/
lib/kde3:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS
/system3
2:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Prog
ram File
s/Common Files/Adaptec Shared/System:/usr/bin:/usr/bin:/usr/X11R6/bin
+ rm -f /cygdrive/c/Documents and Settings/pcrescioli/.ICEauthority
+ kdehome=/cygdrive/c/Documents and Settings/pcrescioli/.kde31
+ '[' -z /opt/qt/3.2 ']'
+ '[' -z /opt/kde3 ']'
+ '[' -z /opt/kde3/home ']'
+ '[' -e /opt/kde3/home/share/mimelnk ']'
+ '[' -e /opt/kde3/home/share/applnk ']'
+ '[' -e /opt/kde3/home/share/services ']'
+ '[' -e /opt/kde3/home/share/servicetypes ']'
+ test -multiwindow '!=' -multiwindow
+ test -n ''
+ export
LD_LIBRARY_PATH=/opt/kde3/lib:/opt/kde3/bin:/opt/qt/3.2/lib:/opt/qt/3.2
/bin
+
LD_LIBRARY_PATH=/opt/kde3/lib:/opt/kde3/bin:/opt/qt/3.2/lib:/opt/qt/3.2/
bin
+ test -n ''
+ export
LTDL_LIBRARY_PATH=/opt/kde3/lib:/opt/kde3/bin:/opt/qt/3.2/lib:/opt/qt/3
.2/bin
+
LTDL_LIBRARY_PATH=/opt/kde3/lib:/opt/kde3/bin:/opt/qt/3.2/lib:/opt/qt/3.
2/bin
++ xdpyinfo
++ grep dimensions:
++ cut -d ' ' -f 7
++ cut -d x -f 1
+ export X=1024
+ X=1024
++ xdpyinfo
++ grep dimensions:
++ cut -d ' ' -f 7
++ cut -d x -f 2
+ export Y=767
+ Y=767
++ xdpyinfo
++ awk '/depths/ {print $NF}'
+ export D=32
+ D=32
+ '[' -e '/cygdrive/c/Documents and Settings/pcrescioli/.skel/kdebase'
']'
+ INITIAL=--force
+ rm -rf /tmp/ksocket-pcrescioli /opt/kde3/home/tmp-DSR1003187
+ lnusertemp tmp
+ lnusertemp socket
+ dcopserver_shutdown
+ echo 'startkde: Starting up mode -multiwindow ... '
startkde: Starting up mode -multiwindow ...
+ kreadconfig --file kpersonalizerrc --group General --key FirstLogin
--default
true --type bool
+ test -multiwindow '!=' -multiwindow
++ xdpyinfo
++ awk '/depths/ {print $NF}'
+ '[' 32 -gt 8 ']'
+ ksplash --test
+ AUTOSTART_DIR=autostart-multiwindow
+ KDEWM=unknown
+ KDEINIT_APPS=+kcminit +knotify
+ rm /opt/kde3/home/share/autostart
+ ln -fs /opt/kde3/share/autostart-multiwindow
/opt/kde3/home/share/autostart
+ kdeinit +kcminit +knotify
kdeinit: entering main
KDEINIT_KIO_EXEC
Could not load library! Trying exec
kdeinit: Launched DCOPServer, pid = 2960 result = 0
_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
KDEINIT_KIO_EXEC
kdeinit: Launched KLauncher, pid = 1640 result = 0
C:\cygwin\opt\kde3\bin\kdeinit.exe (1756): *** unable to remap
C:\cygwin\bin\cyg
z.dll to same address as parent(0xD3) != 0xD4
  5 [main] kdein   1640 sync_with_child: child 1756(0x668) died
before initi
alization with status code 0x1
834 [main] kdein   1640 sync_with_child: *** child state child
loading dlls
KDEINIT_KIO_EXEC
Could not load library! Trying exec
kdeinit: Launched KDED, pid = 1872 result = 0
kdeinit: Communication error with launcher. Exiting!
+ test -n unknown
+ KDEWM=--windowmanager unknown
+ kwrapper ksmserver --windowmanager unknown
Warning: connect() failed: : Connection refused
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
--

[Phil's Reply: ] 
[EMAIL PROTECTED]



Re: Antwort: Clipboard fix - Please test

2004-03-25 Thread Harold L Hunt II
Andreas,

[EMAIL PROTECTED] wrote:
Hallo,
I have had an freeze with the .60 Cygx Relase and IBM Personal 
Communication, it has freezed when Coping somthing in IBM PC just after 
copying somting in cygwin. (IBM PM Was freezed completly, Cygwin wasnt 
able zu shutdown.)

Now with the 61 Release IBM PM freeze for about 2-3 Sek than all works 
again normaly, so i coult say it has gotten better.
Okay, that is pretty much how it should work.

I set the timeout to 3 seconds when we don't get the reply that we are 
looking for.  I will probably tune that now down to 1 or 2 seconds... in 
fact, I can probably drop it to 0.5 seconds since we do call XSync 
before waiting for events, so our reply should always be waiting for us 
when we look for it.

Harold


RE: Antwort: Clipboard fix - Please test

2004-03-25 Thread Ben Jackson
Yep, this stop's things from hanging indefinitely (ie they now only hang for
3 secs) but after the 3 secs it still doesn't paste into the app. This is
only broken for pasting from X-Windows and NOT vice versa. Win-X is fine
(as is X-X) and works a treat, but X-win hangs for 3 seconds ...

I guess this is an improvement, but doesn't resolve the issue of it not
pasting the text. 
Here's my XWin.log now:
winClipboardProc - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened
the display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the
display.
winClipboardProc - XOpenDisplay () returned and successfully opened the
display.
winClipboardWindowProc - WM_DRAWCLIPBOARD - Initializing - Returning.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window
Parameter)
winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window
parameter)
winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window
parameter)
winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window
parameter)
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window
parameter)
winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window
parameter)
(END)

thanks for looking at this.

Ps: I was copying text from nedit to any windows app, ill try some other
apps and other datatypes.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Harold L Hunt II
Sent: 25 March 2004 16:11
To: [EMAIL PROTECTED]
Subject: Re: Antwort: Clipboard fix - Please test

Andreas,

[EMAIL PROTECTED] wrote:
 Hallo,
 I have had an freeze with the .60 Cygx Relase and IBM Personal 
 Communication, it has freezed when Coping somthing in IBM PC just after 
 copying somting in cygwin. (IBM PM Was freezed completly, Cygwin wasnt 
 able zu shutdown.)
 
 Now with the 61 Release IBM PM freeze for about 2-3 Sek than all works 
 again normaly, so i coult say it has gotten better.

Okay, that is pretty much how it should work.

I set the timeout to 3 seconds when we don't get the reply that we are 
looking for.  I will probably tune that now down to 1 or 2 seconds... in 
fact, I can probably drop it to 0.5 seconds since we do call XSync 
before waiting for events, so our reply should always be waiting for us 
when we look for it.

Harold



Re: Pathnames for X server app-defaults etc.

2004-03-25 Thread Harold L Hunt II
Ruth Ivimey-Cook wrote:

 
Would the following issue:


Earlier this week, I re-installed Cygwin from scratch.  The current version
of the X 

server is 4.3.0-60.


Be why my X server doesn't start up any more?
Does not appear to be.  In addition to what Alexander said, if the 
XWin.log you sent was complete, then you are running an old version of 
the XFree86-xserv package since there is no version or command line 
information printed at the top of the file.

Please run 'cygcheck -c XFree86-xserv' and report your results.  If you 
think you have been updating regularly, then you may be pointing to a 
stale mirror and you need to reselect a different mirror from the mirror 
list.  Note: If you selected a mirror that eventually became stale, it 
would be dropped from the downloaded mirror list, but it would still be 
your default mirror and would be added to the mirror list as a user 
entry.  This isn't quite the way it should be (a mirror from the list 
being removed from the list should be distinct from a user entry) 
handled but that is the way it will continue to be until someone puts 
forth the effort on setup.exe.

Harold


Re: Pathnames for X server app-defaults etc.

2004-03-25 Thread Harold L Hunt II
Dr.D.J.Picton wrote:

Earlier this week, I re-installed Cygwin from scratch.  The current version 
of the X server is 4.3.0-60.

I noticed various oddities - in particular, application default files
were ignored and the keyboard map was incorrect (for example, '#' produced
a '\').  Then I realized that the server now expects to find all the config
files under /usr/X11R6/lib/X11.  Installing a few symlinks fixed all 
the problems:

cd /usr/X11R6/lib/X11; ln -s /etc/X11 .

Now everything works properly.   However, it seems to me that something is
wrong with the package installation scripts which should either install all
the files in /usr/X11R6/lib/X11, or create the relevant symlinks in this
directory.
What are you talking about?  The postinstall script for the lib package 
does exactly what you did... your installation must have barfed for some 
reason because those symlinks have been created by that script for 
months now, if not for longer than a year.  Nothing has changed with 
that script that I know of, unless I royally broke something.

Harold


RE: Pathnames for X server app-defaults etc.

2004-03-25 Thread Ruth Ivimey-Cook
On Thu, 2004-03-25 at 15:36, Alexander Gottwald wrote:
 On Thu, 25 Mar 2004, Ruth Ivimey-Cook wrote:
 The xserver is called XWin.exe. Maybe X is a custom script that starts the 
 xserver with xdmcp parameters. The first lines of the log should contain
 the commandline parameters. Unfortunately you stripped them

Whatever X is, it is part of the cygwin install, as I have not created
any programs.
% which X
/usr/X11R6/bin/X
%

I didn't strip *anything* from the file I posted.

Indeed, running XWin :0 has the same behaviour and the same log file.


Ruth



Re: Antwort: Clipboard fix - Please test

2004-03-25 Thread Harold L Hunt II
Ben,

Ben Jackson wrote:

Yep, this stop's things from hanging indefinitely (ie they now only hang for
3 secs) but after the 3 secs it still doesn't paste into the app. This is
only broken for pasting from X-Windows and NOT vice versa. Win-X is fine
(as is X-X) and works a treat, but X-win hangs for 3 seconds ...
I guess this is an improvement, but doesn't resolve the issue of it not
pasting the text. 
Well, that wasn't the goal, was it?  :)

The first part of this problem is that I need more detailed information 
from people about what apps are causing problems.  In fact, I really 
need a package that is freely available on debian unstable that I can 
install and have an easily reproducible test case with.  I'll leave that 
legwork to the folks affected by this since I have been unable to 
reproduce it until now.

We may just find out that the X app that owned the selection no longer 
has the data and that we need to clear the bit that says X owns the 
clipboard contents.  The apps having trouble may be notifying us of 
their relinquished ownership in a way that is either not handled by us 
or not reliably handled by us.

Waiting for a test case,

Harold


Re: Pathnames for X server app-defaults etc.

2004-03-25 Thread Harold L Hunt II
Please look at my message about your installation being out of date.

Harold

Ruth Ivimey-Cook wrote:

On Thu, 2004-03-25 at 15:36, Alexander Gottwald wrote:

On Thu, 25 Mar 2004, Ruth Ivimey-Cook wrote:
The xserver is called XWin.exe. Maybe X is a custom script that starts the 
xserver with xdmcp parameters. The first lines of the log should contain
the commandline parameters. Unfortunately you stripped them


Whatever X is, it is part of the cygwin install, as I have not created
any programs.
% which X
/usr/X11R6/bin/X
%
I didn't strip *anything* from the file I posted.

Indeed, running XWin :0 has the same behaviour and the same log file.

Ruth




Re: KDE3.1 fails to run from a clean install.

2004-03-25 Thread Ralf Habacker
On Thursday 25 March 2004 16:39, Crescioli, Phil wrote:
 Ooops, I forgot to insert my KDE_Log File.  Here it is.

 Last night I did a FULL and COMPLETE download of cygwin from
 http://kde-cygwin.sourcefroge.net

 This morning I installed ALL of cygwin and tried to bring up KDE3.1
 using startx -multiwindow .
 KDE came up and allowed me to tweak the desktop environment, then
 failed to load a library, etc.  The log file is below. When I run KDE,
 I have about 100MB free RAM of the 256 totall memory in my PC.
 When the first library fails to load, I have about 60MB free RAM.
 Is my prob not enough free memory, or do I need to tweak a file

 somewhere

 To get KDE up and running?  FYI-I only set KDE desktop environment to

 load half the eye candy stuff during the initial setup so as not to
 have a memory issue.

snip
 + touch /cygdrive/c/Documents and Settings/pcrescioli/.kde_mountchecked

 touch: creating `/cygdrive/c/Documents': Permission denied

There are spaces in your home directory. kde 3.1.4 does not like this. 
try 

HOME=/opt/kde3/home startx -multiwindow 



Re: uxterm from xterm-185-3 and xfontsel crashing when running under cygserver support

2004-03-25 Thread Dr. Volker Zell
 Corinna == Corinna Vinschen writes:

Corinna Did you read /usr/share/doc/Cygwin/cygserver.README? 

Yes

Corinna I guess you know that there are a bunch of settings you can change in
Corinna /etc/cygserver.conf and also that cygserver has a debugging option, right?

yes, but I forgot about them.

Corinna So, have you tried to debug this situation?  For instance, is it possible
Corinna that the bigfont extension tries to allocate more shared memory than
Corinna cygserver is by default restricted to?  The default values (which are not
Corinna arbitrary but taken from the defualt BSD settings) are:

Ok here my debug attempts. Following is the output of
/var/log/cygserver.log when starting xfontsel. After the -- snip --
you'll find the lines which showed up when xfontsel crashed. For this
run I started the XWin server without the env variable XF86BIGFONT_DISABLE.
Doesn't seem very useful so.



cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 694:
Set kern.log.debug to yes

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 694:
Set kern.log.syslog to yes

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 676:
Set kern.log.level to 7

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 676:
Set kern.ipc.shmmaxpgs to 32767

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 676:
Set kern.ipc.shmmni to 32767

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 676:
Set kern.ipc.shmseg to 32767

  --- snip --

cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 807: Try 
locking mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 807: Locked   
   mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 187: Try 
enter critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 187: 
Entered   critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 193: Left   
   critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 829: Unlocked 
   mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 104: Try 
enter critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 104: 
Entered   critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/bsd_helper.cc, line 113: Left   
   critical section(0x41B090)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 349: Try 
locking mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 349: Locked   
   mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 427: Unlocked 
   mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/process.cc, line 63: got handle 
0x294 for new cache process 660(1624)
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 527: Try 
locking mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 527: Locked   
   mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/sysv_shm.cc, line 609: Unlocked 
   mutex Giant
cygserver: /netrel/src/cygwin-1.5.9-1/winsup/cygserver/process.cc, line 295: waiting 
on 4 objects in total (2 processes)


D:\tmpD:\tmp\cygdeb\gdb.exe -nw D:/usr/X11R6/bin/xfontsel.exe 1624
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i686-pc-cygwin...(no debugging symbols found)...
Attaching to program `/usr/X11R6/bin/xfontsel.exe', process 1624

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type return to continue, or q return to quit---


06:26 PM [400] echo $CYGWIN
binmode title ntsec server error_start=D:\tmp\cygdeb\debug_wrapper.cmd



Ciao
  Volker



Re: uxterm from xterm-185-3 and xfontsel crashing when running under cygserver support

2004-03-25 Thread Harold L Hunt II
Volker,

Using the Cygwin Way-Back Machine 
(http://cygwin.get-software.com/release/XFree86/XFree86-xserv/)
I have retrieved a copy of XFree86-xserv-4.3.0-55 which is immediately 
prior to the change from cygserver to cygipc.  I would like you to test 
this version and verify whether you can or cannot reproduce the problem 
with cygipc.  It is always possible that this is just a bug in the big 
font extension that we have not noticed before.

To retrieve the -55 version, point setup.exe to:

http://www.egr.msu.edu/~huntharo/cygwin_old/

Harold


New to-do items (comments, takers?)

2004-03-25 Thread Harold L Hunt II
About: Links to ChangeLog, User's Guide, etc.
=
Create an About dialog box that has links to open the ChangeLog
(/usr/X11R6/share/doc/XFree86-xserv/changelog.html), /tmp/XWin.log,
and, if they are present, the User's Guide, Contributor's Guide, and
Frequently Asked Questions using cygwin_conv_to_win32_path() and
ShellExecute().  See the cygstart source in the cygutils package if you 
need a simple example of how to do this.

FatalError Dialog Box
=
Change the FatalError message box to a dialog box with links to
open the same files described in the About box topic.
These are both so easy and useful that I might just do them myself 
unless someone beats me to them.

Harold


XDMCP

2004-03-25 Thread Allen Jasewicz
I have been working on this for 3 days and am unable to find an answer.  I suspect it 
has to do with networking.  I am trying to replace Exceed and xvision and use XFree86. 
 I am unable to connect to a remote host.  Here are some of the tries and error logs 
that resulted.

KDE and all other Xtools work locally

XWin.exe -query 172.20.12.254:0.0 -from 172.20.14.74

XFree86-Bigfont extension local-client optimization disabled due to lack of shar
ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(EE) Keyboardlayout US (0409) is unknown
Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = (n
ull)
winPointerWarpCursor - Discarding first warp: 573 405
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned

Fatal server error:
XDMCP fatal error: Session failed Session 18 failed for display yazaki-7841199a.
yazaki.local:0: Cannot open display

$ XWin.exe -query 172.20.12.254:0.0 -fp tcp/172.20.12.254:7100  -from 172.20.14.74

Fatal server error:
XDMCP fatal error: Session failed Session 19 failed for display cadclass:0: Cann
ot open display

winDeinitMultiWindowWM - Noting shutdown in progress

$ echo $DISPLAY
172.20.12.74:0


$ fslsfonts -server 172.20.12.254:7100
fslsfonts: pattern * unmatched


I am trying to connect to a Sun Solaris 8 with CDE .  when I run  fslsfonts -server 
172.20.12.254:7100 from a unix hosts it returns the available fonts.  

I have no ideas where yazaki-7841199a.yazaki.local:0 comes from or how it is assigned.

If I can be steered in the right direction it would be greatly appreciated

Allen




Allen Jasewicz
Yazaki North America
Mail Stop 2667w
6801 Haggerty Rd
Canton MI, 48187
734-983-2134
[EMAIL PROTECTED]




Re: PATH in startxwin.sh

2004-03-25 Thread Harold L Hunt II
Fabio,

Fabio Somenzi wrote:

Recent versions of startxwin.sh contain the following line:

export PATH=/usr/X11R6/bin:$PATH

I have changed it to

export PATH=/usr/X11R6/bin:$PATH

to avoid problems with PATHs containing spaces.  Maybe this is of
general interest.
Thanks, this is now in X-startup-scripts-1.0.5-1, which I have just 
uploaded.

Harold


test case for clipboard hang?

2004-03-25 Thread Lev Bishop
Harold: you wanted a test case for the clipboard hang. I can do it this 
way, using only xterm and notepad:

1) open xterm and notepad
2) type some stuff in the xterm
3) left click and drag to select text in the xterm (it gets highlighted) - 
let go of the mouse, and the text stays highlighted in reverse video.
4) single left click somewhere else in the xterm - the reverse video 
highlighting of the selection is removed
5) bring the focus to notepad and ^V to paste: it hangs for 3secs and 
doesn't paste (previously it would have hung completely).

Note 1: if in between steps 3 and 4 you paste into notepad, it works, and 
even if you continue to step 5 it still works, you have to do it in that 
order.

Note 2: Even after step 5 you can still paste X-X, ie middle-click in a 
different xterm and the paste goes through. (Maybe now it gets it from the 
CUT_BUFFER0 instead of from PRIMARY, the xterm manual states that 
selecting text puts it in both PRIMARY and in CUT_BUFFER0 -- presumably 
step 4 removes PRIMARY but does nothing to CUT_BUFFER0).

Lev



xterm 185-3 freetype

2004-03-25 Thread Lev Bishop
xterm 185-3 doesn't seem to have freetype/xft/fontconfig/etc support. it
ignores the faceName resource, and doesn't recognize the -fa command line
option. also cygcheck shows no dependence on
C:\cygwin\usr\X11R6\bin\cygXft-2.dll. however, version 185-2 is fine.

Lev




Re: xterm 185-3 freetype

2004-03-25 Thread Harold L Hunt II
Lev,

Lev Bishop wrote:

xterm 185-3 doesn't seem to have freetype/xft/fontconfig/etc support. it
ignores the faceName resource, and doesn't recognize the -fa command line
option. also cygcheck shows no dependence on
C:\cygwin\usr\X11R6\bin\cygXft-2.dll. however, version 185-2 is fine.
Hmm... nice catch.  This seems to have been caused by some test packages 
I have been building and installing.  185-4 is uploaded now.

Harold


Re: test case for clipboard hang?

2004-03-25 Thread Harold L Hunt II
Lev,

Lev Bishop wrote:

Harold: you wanted a test case for the clipboard hang. I can do it this 
way, using only xterm and notepad:

1) open xterm and notepad
2) type some stuff in the xterm
3) left click and drag to select text in the xterm (it gets highlighted) - 
let go of the mouse, and the text stays highlighted in reverse video.
4) single left click somewhere else in the xterm - the reverse video 
highlighting of the selection is removed
5) bring the focus to notepad and ^V to paste: it hangs for 3secs and 
doesn't paste (previously it would have hung completely).

Note 1: if in between steps 3 and 4 you paste into notepad, it works, and 
even if you continue to step 5 it still works, you have to do it in that 
order.

Note 2: Even after step 5 you can still paste X-X, ie middle-click in a 
different xterm and the paste goes through. (Maybe now it gets it from the 
CUT_BUFFER0 instead of from PRIMARY, the xterm manual states that 
selecting text puts it in both PRIMARY and in CUT_BUFFER0 -- presumably 
step 4 removes PRIMARY but does nothing to CUT_BUFFER0).
I can't reproduce this at all.

The behavior I get is that in step 5 if you press Ctrl+V nothing happens 
(no delay, no pasting) and if you right click the context menu entry for 
Paste is greyed out (since X released ownership of the selection).

So, what version of Windows are you running and are you doing anything 
with multiple languages or locales?

Harold


Re: xterm 185-3 freetype

2004-03-25 Thread Harold L Hunt II
Thomas Dickey wrote:

On Thu, 25 Mar 2004, Lev Bishop wrote:


xterm 185-3 doesn't seem to have freetype/xft/fontconfig/etc support. it
ignores the faceName resource, and doesn't recognize the -fa command line
option. also cygcheck shows no dependence on
C:\cygwin\usr\X11R6\bin\cygXft-2.dll. however, version 185-2 is fine.


That would be because the configure script didn't find the libraries -
I assume, since the configure script normally tries to check for those.
It looks for xft-config (the script that tells how to compile/link).
Perhaps that has been renamed?
I think I had another xft-config in /opt/... without actually having 
libXft and friends in the path that that script pointed to.  I have 
uninstalled those test packages now (which were modifying the PATH 
through profile.d scripts) and the rebuild of 185-4 seemed to find 
libXft and friends just fine.

Harold


Pre-remove scripts for -lib and -xserv?

2004-03-25 Thread Harold L Hunt II
Is it about time I create a preremove script to remove the symlinks 
created by the -lib and -xserv postinstall scripts?  If we had these we 
would be removing all files installed by our packages, without them we 
leave a handful of symlinks after an uninstall of all of our packages.

Course, if somebody wrote them for me in the next hour I would 
appreciate it...

Harold


Re: test case for clipboard hang?

2004-03-25 Thread Lev Bishop
 I can't reproduce this at all.
 
 The behavior I get is that in step 5 if you press Ctrl+V nothing happens 
 (no delay, no pasting) and if you right click the context menu entry for 
 Paste is greyed out (since X released ownership of the selection).
 
 So, what version of Windows are you running and are you doing anything 
 with multiple languages or locales?

Microsoft Windows XP
Home Edition
Version 5.1 (Build 2600.xpsp2.030422-1633: Service Pack 1)

As for languages  locales, not aware that I'm doing anything strange. How
can I tell for sure? I have got the Standards and Formats, under the
regional options tab of the regional and language options control
panel applet set to english(UK) forcurrency, date,... formatting, but
that's all that I know of.

Any other info you'd like?

Lev



Re: test case for clipboard hang?

2004-03-25 Thread Harold L Hunt II
Lev Bishop wrote:

I can't reproduce this at all.

The behavior I get is that in step 5 if you press Ctrl+V nothing happens 
(no delay, no pasting) and if you right click the context menu entry for 
Paste is greyed out (since X released ownership of the selection).

So, what version of Windows are you running and are you doing anything 
with multiple languages or locales?


Microsoft Windows XP
Home Edition
Version 5.1 (Build 2600.xpsp2.030422-1633: Service Pack 1)
As for languages  locales, not aware that I'm doing anything strange. How
can I tell for sure? I have got the Standards and Formats, under the
regional options tab of the regional and language options control
panel applet set to english(UK) forcurrency, date,... formatting, but
that's all that I know of.
Hmm... nothing weird about any of that.  Please tell me you have 
rebooted since installing the new version... I want to make sure that 
there is no funkiness left over from the previous XWin.exe crashing 
and/or screwing up the clipboard viewer chain.

Harold


Re: test case for clipboard hang?

2004-03-25 Thread Jack Tanner
Harold L Hunt II wrote:
I can't reproduce this at all.

The behavior I get is that in step 5 if you press Ctrl+V nothing happens 
(no delay, no pasting) and if you right click the context menu entry for 
Paste is greyed out (since X released ownership of the selection).
I confirm that I can reproduce the bug using the procedure Lev outlined. 
If you right-click the context menu, Paste is enabled.

Suggestion: Harold, if you think it'll help, feel free to post an 
instrumented build that writes to a log file things that may help to 
track down this bug. I volunteer to run this build, and send in the log 
whenever a crash occurs.



Re: Clipboard fix - Please test

2004-03-25 Thread Peter Graf

Harold L Hunt II wrote:
 I have just uploaded XFree86-xserv-4.3.0-61 and I think it will fix the 
 clipboard related hangs.  
 Harold
 

Hello Harold

I still think that my problem with running the remote KDE on
Cygwin X has sth to do with the clipboard. Because the only way
to get it running is to select text in a xterm window, and thus
copy it into the clipboard.

I just downloaded 4.3.0-61, it did not improve anything
for me. Starting the remote KDE still hangs, until I select
some text in an xterm window. Starting any application inside
KDE, the application will only appear after I again select
some text in a window. Once an application like Konqueror
is running it works fine, a little slower than I am used to
maybe.

I hope that post helps a little bit with improving things.

Peter
--
--
Peter Graf, http://mission.base.com


Re: Garbled task-bar icon

2004-03-25 Thread haro
Hi list,

I'm sorry for the late responce, but I've been very busy for the
last week or so. ;-(

The Garbled task-bar icon problem seems to have been fixed
with the recent changes in XFree86-xserv. :-)
I'm sorry I cannot tell which version fixed it, because I skipped
few and updated directly to XFree86-xserv-4.3.0-60.

Anyway, BIG THANKS to everyone who've looked into help solving my problem.

Thank you,
 Haro

From: Nahor nahor at bravobrava dot com
Date: Tue, 16 Mar 2004 10:22:22 -0800
::[EMAIL PROTECTED] wrote:
:: I tried booting my system with VGA mode, and icon is still garbled.
:: I also tried installing FireFox that seems to work just fine.
::
::What about the attached file. I created it with another icon editor. 
::There is a slight change in the binary file so maybe it will work on 
::your NT machine.
::
::
:: Another data point that I found are, if I setup shortcut to the XWin.exe
:: binary then try changing the icon for the shortcut, icon select window
:: show both garbled icon and X on white icon.
:: I've attached the screen dump as: icon_select.bmp.gz
::
::That's normal, there are two icons in the exe file now: mine and benjamin's.

=---
   _ _Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Kubota Graphics Technology Inc.
 /|\ |_|  |_|_|   2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan
  Tel: +81-3-3225-0767  Fax: +81-3-3225-0740
  Email: [EMAIL PROTECTED]


Ibqa we value you.

2004-03-25 Thread peter kacynski
cdcsjn  creepozoids  featherw  dmorgan  dbmv

The most effective PAIN RELIEVERS directly to your home!

V`ic0-din ES 7.5 Fast

FedEx next day, 24/7 phone support

http://wuwnmm.net.amine3.com/?p=8097

Get it Today

Quit:  bjxt.h.ds130a.com/a.html

A mother was preparing pancakes for her sons, Kevin, 5, Ryan, 3.  The boys 
began to argue over who would get the first pancake.  Their mother saw the
opportunity for a moral lesson.  If Jesus were sitting here, He would say 
'Let my brother have the first pancake, I can wait.'Kevin turned to his
younger brother and said, Ryan, you be Jesus!
The LAPD, The FBI, and the CIA are all trying to prove that they are the
best at apprehending criminals. The President decides to give them a test. 
He releases a rabbit into afforest and has each of them try to catch it. The
CIA goes in. They place animal informants throughout the forest. They
question all plant and mineral witnesses. After three months of extensive
investigations they conclude that rabbits do not exist. Then the FBI goes
in. After two weeks with no leads they burn the forest, filling everything
in it, including the rabbit, and they make no apologies. The rabbit had it
coming. Then the LAPD goes in. They come out two hours later with a badly
beaten raccoon. The raccoon is yelling: Okay! Okay! I¡¯m a rabbit! I'm a
rabbit!
rimitta7kaiinyuu01sensoufu,takigaha otomes. 



twm dying with multi-byte font handling?

2004-03-25 Thread haro
Hi list,

With the recent update to XFree86-base and related libraries,
twm and X-clients I compiled my self started to fail.

I't seems as though, they are failing due to some problems with
multi-byte fonts.

twm is dying on startup with following:
  Program received signal SIGSEGV, Segmentation fault.
  0x00448e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll
  (gdb) where
  #0  0x00448e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll
  #1  0x00448418 in cygX11-6!XLoadQueryFont () from /usr/X11R6/bin/cygX11-6.dll
  #2  0x0050410f in cygX11-6!_Xutf8DefaultDrawImageString ()

kterm (xterm like client with japanese capability) starts up OK, but 
dies when I type 'ls' in a directory which has files with Japanese names:
  Program received signal SIGSEGV, Segmentation fault.
  0x004c8e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll
  (gdb) where
  #0  0x004c8e84 in cygX11-6!XFreeFont () from /usr/X11R6/bin/cygX11-6.dll
  #1  0x004c8418 in cygX11-6!XLoadQueryFont () from /usr/X11R6/bin/cygX11-6.dll
  #2  0x0040be0a in cygSM-6!_SmsNewClientData ()

FYI, I've attached complete output of 'where' FWIW.

Thank you,
 Haro
=---
   _ _Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Kubota Graphics Technology Inc.
 /|\ |_|  |_|_|   2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan
  Tel: +81-3-3225-0767  Fax: +81-3-3225-0740
  Email: [EMAIL PROTECTED]
libXft  2.1.6-1OK
libXft1 1.0.0-1OK
libXft2 2.1.6-1OK
X-start-menu-icons  1.0.1-1OK
X-startup-scripts   1.0.5-1OK
XFree86-base4.3.0-9OK
XFree86-bin 4.3.0-19   OK
XFree86-etc 4.3.0-11   OK
XFree86-f1004.3.0-1OK
XFree86-fcyr4.3.0-1OK
XFree86-fenc4.3.0-1OK
XFree86-fnts4.3.0-1OK
XFree86-fscl4.3.0-1OK
XFree86-lib 4.3.0-2OK
XFree86-lib-compat  4.3.0-2OK
XFree86-man 4.3.0-8OK
XFree86-startup-scripts 4.3.0-1OK
XFree86-xserv   4.3.0-61   OK

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 4.3.0.61
Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

XWin -clipboard -rootless -emulate3buttons 50 -lesspointer 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Returning, supported engines 0003
winScreenInit - dwWidth: 1152 dwHeight: 864
winSetEngine - Using Shadow DirectDraw
winAdjustVideoModeShadowDD - Using Windows display depth of 16 bits per pixel
winCreateBoundingWindowWindowed - User w: 1152 h: 864
winCreateBoundingWindowWindowed - Current w: 1152 h: 864
winAdjustForAutoHide - Original WorkArea: 0 0 864 1152
winAdjustForAutoHide - Taskbar is auto hide
winAdjustForAutoHide - Found BOTTOM auto-hide taskbar
winAdjustForAutoHide - Adjusted WorkArea: 0 0 863 1152
winCreateBoundingWindowWindowed - WindowClient w 1152 h 863 r 1152 l 0 b 863 t 0
winCreateBoundingWindowWindowed -  Returning
winFinishScreenInitFB - Masks: f800 07e0 001f
winInitVisualsShadowDD - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winFinishScreenInitFB - returning
winScreenInit - returning
InitOutput - Returning.
(--) Setting autorepeat to delay=500, rate=31
(II) Loading US keyboard layout.
(--) winConfigKeyboard - Layout: e0200411 (0411) 
(--) Using preset keyboard for Japanese (411), type 7
Rules = xfree86 Model = jp Layout = jp Variant = (null) Options = (null)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winPointerWarpCursor - Discarding first warp: 576 431
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winClipboardWindowProc - WM_DRAWCLIPBOARD - Initializing - Returning.
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.

Re: test case for clipboard hang?

2004-03-25 Thread Lev Bishop
Harold: Yes, I did reboot. I've rebooted again and found a variety of
peculiar clipboard related behaviours that are somewhat tricky to
reproduce reliably (just using xterm and notepad here). Simply doing the
procedure I descibed before, immediately after a reboot, doesn't work the
way I described, it works the way you described. However, after the
reboot, after a bit of playing around with clipboard stuff during which
time various odd things happen, it seems to settle down into a state where
the previous procedure works the way I described. Some of the things I've
observed before it settles down are: not being able to paste windows-X;
xterm hanging for a few seconds, apparently until I select text in
windows and copy to clipboard in windows; xterm not responding to
pastes for quite a while but then later doing all the pastes it
should have done earlier; etc. I haven't been able to reproduce any of 
these behaviours in a reliable way.

However, I've repeated the following procedure 3 times and it worked the
same each time -- probably not a minimal test case but it shows the
problem. I have to follow the steps precisely in order, though:

1) Reboot
2) start a fresh xwin, xterm, notepad, and put some text in the xterm and 
notepad
3) select, ^C copy from notepad, middle-click in xterm. it pastes 
successfully
4) select in xterm, leave the text reverse-videoed
5) ^V paste into notepad (successfully)
6) drop the selection in xterm (by left clicking somewhere)
7) ^V paste into notepad (successfully, even though the selection is 
dropped)
8) select a different piece of text in xterm.
9) drop the selection in xterm
10) ^V paste into notepad: it hangs for a few seconds and doesn't paste. 
(The paste menu option is NOT greyed out at this point).

I hope this is now reproducible for you. Let me know if there's any other 
info you need, or anything you want me to try doing.

Lev




About box

2004-03-25 Thread Harold L Hunt II
Okay, I did it myself.  We now have an About box that can be opened from 
the tray icon menu.  The About box contains four buttons that link to 
our website (x.cygwin.com), our User's Guide on the website, our FAQ on 
the website, and our ChangeLog that is installed locally with the 
XFree86-xserv package.

I would like to modify this slightly in the future to check if the 
User's Guide and FAQ have been installed locally (via the cygwin-x-doc 
package) and to open those local documents instead of going out to the 
web everytime.

The About box is neat, check it out in XFree86-xserv-4.3.0-62 when it 
hits mirrors soon.

Harold


Re: XWin 4.3.0-50 crashes with -multiwindow (ping Earle)

2004-03-25 Thread Earle F. Philhower III
Howdy Fabrizio,

At 09:34 AM 3/25/2004 +0100, you wrote:
I tried version 4.3.0-60 and it worked without crashing in 24bpp mode. There
is a minor glitch left: in 24bpp mode, the icon at the upper left corner
has wrong colours, while the colours are right in 16bpp mode. I'm sending
you PNG files to show what's happening.
That's an easy fix, what's going on is we're still assuming packed format
in the X icon crawling, but it's really got 1/4 of the bytes unused
(32bits per pixel, not 24bpp = the whole cause of the crash in the
first place!).
We crawl over each line of the X icon with x=x+(effXbpp/8).
We should be doing something like x=x+(BytesPerPixel(ximage)) or
make effxbpp=32 when xbpp=24...
I'll look at it tonite unless Harold has beaten me to it again!

-Earle F. Philhower, III
 [EMAIL PROTECTED]
 cdrlabel - ZipLabel - FlpLabel
 http://www.cdrlabel.com


Re: XWin 4.3.0-50 crashes with -multiwindow (ping Earle)

2004-03-25 Thread Harold L Hunt II
Earle,

Earle F. Philhower III wrote:

Howdy Fabrizio,

At 09:34 AM 3/25/2004 +0100, you wrote:

I tried version 4.3.0-60 and it worked without crashing in 24bpp mode. 
There
is a minor glitch left: in 24bpp mode, the icon at the upper left corner
has wrong colours, while the colours are right in 16bpp mode. I'm sending
you PNG files to show what's happening.


That's an easy fix, what's going on is we're still assuming packed format
in the X icon crawling, but it's really got 1/4 of the bytes unused
(32bits per pixel, not 24bpp = the whole cause of the crash in the
first place!).
We crawl over each line of the X icon with x=x+(effXbpp/8).
We should be doing something like x=x+(BytesPerPixel(ximage)) or
make effxbpp=32 when xbpp=24...
I'll look at it tonite unless Harold has beaten me to it again!
Nope, not going to beat you to it.  This issue is what I was referring 
to when I said that Earle should probably look at the PixmapBytePad 
patch to make sure it was complete.  :)

Also, I think you mentioned that 1 bit pixmaps were messed up.  If that 
is still the case, it is because the GDI DIB 1 bit bitmap has a reversed 
byte order.  So, you'll have to swap the byte order for 1 bit pixmaps 
when you convert them.  Give that a try and let me know if it works... 
ping me as soon as you look into it cause I'm really wondering if that 
will fix it.

Harold


scalable fonts

2004-03-25 Thread Lev Bishop
Scalable fonts don't seem to be working:

$ xset fp= /usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/
$ xset fp rehash
$ xfontsel
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  11
  Current serial number in output stream:  22

This stuff did work once upon a time (I haven't been messing around with X 
fonts for a while - did I miss something?)

PS: This is different to this problem, which was brought up earlier this 
month by the good Doctor Zell:
$ xset fp= /usr/X11R6/lib/X11/fonts/TTF/
xset:  bad font path element (#58), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
Lev



Re: scalable fonts

2004-03-25 Thread Harold L Hunt II
Lev,

Lev Bishop wrote:
Scalable fonts don't seem to be working:

$ xset fp= /usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/
$ xset fp rehash
$ xfontsel
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  11
  Current serial number in output stream:  22
This stuff did work once upon a time (I haven't been messing around with X 
fonts for a while - did I miss something?)
Do you have libXft-2.1.6-1?  Keith's ChangeLog entry was:

* xftfreetype.c: (_XftSetFace):
Rework bitmap instance selection code to make it look prettier.
Also, try both y_ppem/x_ppem *and* width/height to see
which values will actually manage to load a font -- FreeType
2.1.7 has broken bdf/pcf loaders.
Don't know if that is related or not, but I would hope that you have the 
latest libXft, fontconfig, and freetype2 packages installed.  Let us know.

Harold


Re: About box

2004-03-25 Thread Christopher Faylor
On Thu, Mar 25, 2004 at 10:44:42PM -0500, Harold L Hunt II wrote:
Okay, I did it myself.  We now have an About box that can be opened from 
the tray icon menu.  The About box contains four buttons that link to 
our website (x.cygwin.com), our User's Guide on the website, our FAQ on 
the website, and our ChangeLog that is installed locally with the 
XFree86-xserv package.

I would like to modify this slightly in the future to check if the 
User's Guide and FAQ have been installed locally (via the cygwin-x-doc 
package) and to open those local documents instead of going out to the 
web everytime.

The About box is neat, check it out in XFree86-xserv-4.3.0-62 when it 
hits mirrors soon.

Sounds cool.

Any chance that it could also contain a link to the main cygwin web
site, too?

cgf


Re: XWin 4.3.0-50 crashes with -multiwindow (ping Earle)

2004-03-25 Thread Earle F. Philhower III
Howdy Harold,

At 12:00 AM 3/26/2004 -0500, Harold wrote:
Nope, not going to beat you to it.  This issue is what I was referring to 
when I said that Earle should probably look at the PixmapBytePad patch to 
make sure it was complete.  :)
There's a saying I've learned from my verification engineers:  If you don't 
test it, it won't work!

WinXP doesn't list 24bpp mode anymore, VICE doesn't compile under cygwin 
w/o work, and I'm not likely to shell out $$M to buy an Oracle DB. :)  To 
top it off, freedesktop's CVS /tmp disk is out of space so CVS isn't 
working.  Ouch!

I did some unit-testing of the undocumented BitsPerPixel() macro, and it 
seems to be what's needed.  Changing line 74 to
  effXBPP = BitsPerPixel(pixmap-drawable.depth);
will set it to 32 when given a 24-bpp drawable, giving a pixel stride of 4 
bytes as desired.  It also doesn't break any of the 1-, 16-, or 32-bit 
icons that I was able to test (the return values of BPP() match expected 
there too), but I still have no 24-bpp icons to try.

I'll try the commit again tomorrow morning, but if Fabrizio wants to beat 
up his local copy before then and report back it'd be appreciated!

Also, I think you mentioned that 1 bit pixmaps were messed up.  If that is 
still the case, it is because the GDI DIB 1 bit bitmap has a reversed byte 
order.  So, you'll have to swap the byte order for 1 bit pixmaps when you 
convert them.  Give that a try and let me know if it works... ping me as 
soon as you look into it cause I'm really wondering if that will fix it.
This was way back when I was first writing it, IIRC.  I don't think I've 
seen any 1-bit icon problems or heard of any (except for the complaint that 
xcalc's scaled icon was ugly) since.  If someone has a specific problem 
I'll look into it, but 1-bit is working 100% AFAIK...

-Earle F. Philhower, III
 [EMAIL PROTECTED]
 cdrlabel - ZipLabel - FlpLabel
 http://www.cdrlabel.com


Start saving now

2004-03-25 Thread Serena Hadley
Today is a new day for your residence. With levels 
at their headline-making historic lows, our programs 
are better now than ever before. Even if you've recently 
closed on a property, now is the time to check your 
numbers.

Our advisors are here to help you decide your options.
In fact, did you know that a 30 year fixed program may 
not always be the best option? 

There are other ways to do it, and we would like to tell 
you about it.

Find out what all your neighbors are talking about:

http://activesaving.com/?partid=98235



Future reference options:
http://activesaving.com/st.html



src/winsup/w32api ChangeLog

2004-03-25 Thread papadopo
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-25 10:02:06

Modified files:
winsup/w32api  : ChangeLog 

Log message:
Typo.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.552r2=1.553



src/winsup/w32api ChangeLog include/GL/glu.h

2004-03-25 Thread papadopo
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-25 10:17:29

Modified files:
winsup/w32api  : ChangeLog 
winsup/w32api/include/GL: glu.h 

Log message:
2004-03-25  Dimitri Papadopoulos  [EMAIL PROTECTED]

* include/GL/glu.h (GLU_AUTO_LOAD_MATRIX, GLU_CULLING,
GLU_SAMPLING_TOLERANCE, GLU_DISPLAY_MODE, GLU_PARAMETRIC_TOLERANCE,
GLU_SAMPLING_METHOD, GLU_U_STEP, GLU_V_STEP): Define.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.553r2=1.554
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/GL/glu.h.diff?cvsroot=srcr1=1.6r2=1.7



src/winsup/cygwin ChangeLog path.cc signal.cc ...

2004-03-25 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-25 15:15:28

Modified files:
winsup/cygwin  : ChangeLog path.cc signal.cc sigproc.cc 
 sigproc.h 

Log message:
* path.cc (normalize_posix_path): Reorganize to short circuit to DOS path
handling whenever a '\' is detected.
* signal.cc (sigaction): Make strace output more informative.
* sigproc.cc (pending_signals::add): Just index directly into signal array
rather than treating the array as a heap.
(pending_signals::del): Ditto.
(wait_sig): Don't send signal if we already have a similar signal queued.
* sigproc.h (call_signal_handler_now): Remove obsolete declaration.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2372r2=1.2373
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=srcr1=1.289r2=1.290
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/signal.cc.diff?cvsroot=srcr1=1.60r2=1.61
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=srcr1=1.194r2=1.195
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.h.diff?cvsroot=srcr1=1.68r2=1.69



src/winsup/mingw ChangeLog include/stdio.h inc ...

2004-03-25 Thread dannysmith
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-25 20:30:20

Modified files:
winsup/mingw   : ChangeLog 
winsup/mingw/include: stdio.h tchar.h 

Log message:
* include/stdio.h (_fsopen): Add prototype.
* include/tchar.h (_tfsopen): Add defines.
Thanks to Gerik gerikr at users dot sourceforge dot net

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog.diff?cvsroot=srcr1=1.181r2=1.182
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/stdio.h.diff?cvsroot=srcr1=1.21r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/tchar.h.diff?cvsroot=srcr1=1.18r2=1.19



src/winsup/cygwin ChangeLog sigproc.cc

2004-03-25 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-26 05:43:12

Modified files:
winsup/cygwin  : ChangeLog sigproc.cc 

Log message:
* sigproc.cc (wait_sig): Report if not trying to send signal due to queued
signal.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2373r2=1.2374
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sigproc.cc.diff?cvsroot=srcr1=1.195r2=1.196



Re: [RFA]: Thread safe stdio again

2004-03-25 Thread Christopher Faylor
On Sun, Mar 14, 2004 at 08:28:02PM +0100, Thomas Pfaff wrote:
This time i am using the non portable mutex initializers, therefore
moving __sinit is no longer needed. And i added calls to newlibs
__fp_lock_all and __fp_unlock_all at fork.

2004-03-14 Thomas Pfaff [EMAIL PROTECTED]

   * include/cygwin/_types.h: New file.
   * include/sys/lock.h: Ditto.
   * include/sys/stdio.h: Ditto.
   * thread.cc: Include sys/lock.h
   (__cygwin_lock_init): New function.
   (__cygwin_lock_init_recursive): Ditto.
   (__cygwin_lock_fini): Ditto.
   (__cygwin_lock_lock): Ditto.
   (__cygwin_lock_trylock): Ditto.
   (__cygwin_lock_unlock): Ditto.
   (pthread::atforkprepare): Lock file pointer before fork.
   (pthread::atforkparent): Unlock file pointer after fork.
   (pthread::atforkchild): Ditto.

This is ok to check in.  If you hurry, it will show up in 1.5.10.

Thanks,
cgf


test -c com1 hangs on some WinXP systems

2004-03-25 Thread H. Henning Schmidt
A question slightly besides your point ... but very interesting to me:

What is the benefit of using /dev/ttyS0 instead of com1 on Cygwin?
Do you have a short explanation for me, or perhaps a pointer to some
more detailed info?
Thanks a lot,
;Henning
On Wed, 24 Mar 2004, Curt, WE7U wrote:

Our application runs on multiple OS'es.  A few of our WinXP users
(and perhaps Win2k, can't remember) have had if test -c com1 hang
during our configure stage.
We've already figured out that we should be using /dev/ttyS0
instead of com1, and have switched to that.  Because of the hang
we're trying if test -d /proc/registry as the test.  If
/proc/registry is found, we skip the file test for the serial device
on Cygwin boxes, thereby avoiding the hang.
Excerpt (the version that hangs sometimes):

  AC_DEFUN([XASTIR_DETECT_DEVICES],
  [
  AC_MSG_CHECKING([for devices])
  if test -c com1 ; then
  ac_tnc_port=com1
  ac_gps_port=com2
  elif test -c /dev/cuaa0 ; then
  ac_tnc_port=/dev/cuaa0
  ac_gps_port=/dev/cuaa1
New improved version:

  AC_DEFUN([XASTIR_DETECT_DEVICES],
  [
  AC_MSG_CHECKING([for devices])
  if test -d /proc/registry ; then
  ac_tnc_port=/dev/ttyS0
  ac_gps_port=/dev/ttyS1
  elif test -c /dev/cuaa0 ; then
  ac_tnc_port=/dev/cuaa0
  ac_gps_port=/dev/cuaa1
Should if test -c com1 or if test -c /dev/ttyS0 work on Cygwin
across all Windows platforms it supports?
We'd rather do if test -c /dev/ttyS0 if possible, so that it's
similar across all platforms we support.


--
H. Henning Schmidt
email: [EMAIL PROTECTED]
phone: +49 (0) 6155 / 899 283
fax:   +49 (0) 6155 / 899 284


--
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: lstat on FAT - Was: Problem with find on FAT drives

2004-03-25 Thread Corinna Vinschen
On Mar 24 23:15, Christopher Faylor wrote:
 On Wed, Mar 24, 2004 at 09:39:29PM -0500, Pierre A. Humblet wrote:
 On Wed, Mar 24, 2004 at 04:42:39PM -0500, Christopher Faylor wrote:
 On Wed, Mar 24, 2004 at 04:30:57PM -0500, Pierre A. Humblet wrote:
 
 I also had a look at the code and reached pretty much the same conclusion
 as Volker. Replacing all 'isslash (*src)' and 'isslash (src[x])' in
 normalize_posix_path by isdirsep () would yield more consistent results.
 I know this code is delicate but the possible drawback isn't obvious.
 
 speed disadvantage for nebulous gain.
  
 As you know isdirsep would take 1 extra compare per character.
 
 FWIW I see one place where we could avoid the kind of loop that Volker had.
 
 I wonder if 
   char *p = strrchr (src, '\0');
   /* Detect if the user was looking for a directory.  We have to strip the
 should be inside the symlink loop or outside. I guess that depends if
 symlink contents ending with / are special (on Sun the final / is stripped in
 symlinks, dunno about other Unix flavors).
 
 Also normalize_posix_path strips the final /, except when it calls 
 normalize_win32_path. That makes the code go through extra hoops
 when resolving c:/the/symlink/, it looks for c:/the/symlink/.lnk
 
 Corinna!  Did I predict this or what?
 
 I'm quitting my job and getting a job as a psychic in the carnival!

Naaah, that prediction trick was a bit too obvious.

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: OpenLDAP server

2004-03-25 Thread Corinna Vinschen
On Mar 25 08:31, Joost Kraaijeveld wrote:
 Hi all,
 
 Is there anyone succeeded in compiling OpenLDAP with Cygwin? If so, which version?

Yes, I succeeded weeks ago building version 2.1.22.  But by default
you only get static libs since libtool is a bit old.  Playing with
libtoolize and setting the -no-undefined flag for libtool should do
do the trick.

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: sshd authentication question

2004-03-25 Thread Dave Korn

 -Original Message-
 From: cygwin-owner On Behalf Of Matt Berney
 Sent: 24 March 2004 21:41

 To follow up on this thread, I have added the 'Domain 
 Administrator' to the local 'Administrators' group and the 
 original problem with the ssh session not having 'admin 
 privileges', went away
 
 Does this mean the problem was fixed?  Or that we aren't 
 experiencing this 'intermittent symptom' today?  More 
 extensive testing will be required to make sure.
 
 In the mean time, the 'Domain Admin' will be added to each 
 server's 'local Admin group' to work around this problem.


  That indicates something's gone badly wrong with your domain setup.  

  Domain admins should already be part of the Local Admins group by default;
when you joined the computer to the domain, DOMAIN\Domain Admins should have
been added to the local admin group during that process.

  Strange.  You might want to investigate further.  The fix should be robust
and should solve the problem reliably, but there may be other similar quirks
in your setup that may cause other problems.  However this is now becoming
an NT sysadmin issue and as such getting a bit OT for the cygwin list.



cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



Creating a custom package installer?

2004-03-25 Thread Hitanshu Gandhi
Dear all,

I have a question. Im on a project which involves LipSync on 
Linux. Now, in the final phase, we're porting it to Windows. We're curious 
to know how to create binary packages like tar.bz2 files. I took the 
URL:http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII2.0/cygwin.htm
and used 
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII2.0/cygwinBasic.exe
This file unzipped to a setup.exe file
packages\setup.ini - which contains hints and is auto-gen
packages\releases\{package}\{package}.tar.bz2 - package files

Now for our project, if we need say, bash, less, and some more utils and 
my own package, how can we make setup see those files? Could you point me 
to some tutorial? http://cygwin.com/setup.html isnt clear in a step by 
step fashion.

Thanks in advance 

PS: If its been asked in the past,excuse my ignorance but please point me 
to the link.
-- 
Regards,

Hitanshu
-*-*-*-*-
'Ars est celare artem'




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



Anybody packaging leafnode?

2004-03-25 Thread A . Alper ATICI
It seems feasible to have a leafnode package, maybe after tweaking a
few lines about filename conventions, any comments?


--
Alper Atc
PGP key @ http://sks.dnsalias.net:11371/pks/lookup?op=indexsearch=0xB824F550


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



Sonunda olan oldu ve özlem bitti...

2004-03-25 Thread Merkez Haber
Gncel haberleri ayr? bir internet sitesiden, ekonomi, siyaset ve medya haberlerini 
ayr? ayr? internet sitelerinden okumak s?k?nt? veriyor de?il mi? Evet hakl?s?n?z ayn? 
s?k?nt?y? biz de ekti?imiz iin, tm haberleri ayn? portal alt?nda toplamaya karar 
verdik. Bu amala ba?latt???m?z al??malar?n sonucu http://www.merkezhaber.com 
internet haber portal?n?
olu?turduk.

http://www.merkezhaber.com internet portal?nda ekonomi, gncel, siyaset ve medyadan 
haberleri ayn? anda bulabileceksiniz. Tarafs?z, ilkeli ve do?ru habercilik 
anlay???m?zla internet medyas?na yeni bir soluk getirece?imize inan?yoruz. 'Kulak 
t?kayan' de?il, nerilere a?k; 'dedi?im dedik' de?il ara?t?rmac? bir mant?ktan 
hareketle sizlerin neri ve ele?tirileri, bizim gren gzmz olacakt?r. ay?n?z? 
yudumlarken bize buyrun, merak etmeyin biz sizi haberdar ederiz...



--
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: Failure of 'setup.exe': Rational Rose path stuff, blue screen of death.

2004-03-25 Thread Christopher M. Balz
I just tried cd'ing from a Win2K command prompt to the directory of 
Cygwin's 'setup.exe', and set the path like this:

  PATH C:\WinNT\system32;C:\WinNT;C:\WinNT\system32\Wbem

Then I ran 'setup.exe' and as usual 'setup.exe' finished 99% of its task 
but stopped on a postinstall file (this time, and emacs-related file).  
After 'setup.exe''s usual soft hang here, I clicked cancel.  There was 
nothing to install in the setup, and 'setup' notified me of this.  Then 
the screen went black and flashed a blue screen of death and my machine 
went down.  I rebooted and all was fine, but still same Cygwin 
performance problem (3 minutes between commands).

- CB

 Original Message 
From: 	- Wed Mar 24 23:12:24 2004
X-UIDL: 	27577d0c24ef7ee5c72008144567d279
X-Mozilla-Status: 	0011
X-Mozilla-Status2: 	
X-Apparently-To: 	[EMAIL PROTECTED] via 216.109.117.224; Wed, 24 
Mar 2004 23:01:58 -0800
Return-Path: 	[EMAIL PROTECTED]
Received: 	from 67.72.78.213 (HELO sources.redhat.com) (67.72.78.213) by 
mta121.mail.scd.yahoo.com with SMTP; Wed, 24 Mar 2004 23:01:57 -0800
Received: 	(qmail 31770 invoked by alias); 25 Mar 2004 07:01:35 -
Mailing-List: 	contact [EMAIL PROTECTED]; run by ezmlm
Precedence: 	bulk
List-Unsubscribe: 
mailto:[EMAIL PROTECTED]
List-Subscribe: 	mailto:[EMAIL PROTECTED]
List-Archive: 	http://sources.redhat.com/ml/cygwin/
List-Post: 	mailto:[EMAIL PROTECTED]
List-Help: 	mailto:[EMAIL PROTECTED], 
http://sources.redhat.com/ml/#faqs
Sender: 	[EMAIL PROTECTED]
Mail-Followup-To: 	[EMAIL PROTECTED]
Delivered-To: 	mailing list [EMAIL PROTECTED]
Received: 	(qmail 31753 invoked from network); 25 Mar 2004 07:01:30 -
Received: 	from unknown (HELO smtp2.andrew.cmu.edu) (128.2.10.82) by 
sources.redhat.com with SMTP; 25 Mar 2004 07:01:30 -
Received: 	from andrew.cmu.edu (ext194.west.cmu.edu [209.172.121.194]) 
(user=cbalz mech=PLAIN (0 bits)) by smtp2.andrew.cmu.edu 
(8.12.10/8.12.10) with ESMTP id i2P71TcD001103 (version=TLSv1/SSLv3 
cipher=RC4-MD5 bits=128 verify=NOT) for [EMAIL PROTECTED]; Thu, 25 Mar 
2004 02:01:30 -0500
Message-ID: 	[EMAIL PROTECTED]
Date: 	Wed, 24 Mar 2004 23:03:34 -0800
From: 	Christopher M. Balz [EMAIL PROTECTED]
Reply-To: 	[EMAIL PROTECTED]
Organization: 	TreeLogic Software Engineering
User-Agent: 	Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) 
Gecko/20031205 Thunderbird/0.4
MIME-Version: 	1.0
To: 	[EMAIL PROTECTED]
Subject: 	Re: More on 'setup' fails and breaks pre-existing Cygwin 
installation: The Rational Rose Files  path stuff.
References: 	[EMAIL PROTECTED]
In-Reply-To: 	[EMAIL PROTECTED]
Content-Type: 	text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 	7bit



Dave,

Well, from the DOS command prompt I tried:
---snip---
cd C:\cygwin
PATH C:\WinNT\system32;C:\WinNT;C:\WinNT\system32\Wbem
bash --login -i
---snip---
and I also tried this in my .bashrc (all one line):

export 
PATH=/cygdrive/c/WinNT/system32:/cygdrive/c/WinNT:/cygdrive/c/WinNT/system32/Wbem:$JAVA_HOME/bin:/home/Administrator/code:/usr/bin:/usr/sbin:/usr/local/bin/.

(which checks out:
TLSWE-LAPTOP-A0  Wed Mar 24 23:00:47
~/echo $PATH
/cygdrive/c/WinNT/system32:/cygdrive/c/WinNT:/cygdrive/c/WinNT/system32/Wbem:/cy
gdrive/c/j2sdk1.4.2_04/bin:/home/Administrator/code:/usr/bin:/usr/sbin:/usr/loca
l/bin/.
TLSWE-LAPTOP-A0  Wed Mar 24 23:00:52
~/
)
and still the same problem: a three minute wait between shell commands.  
Should I try to re-install, setting the PATH in such a way that the 
install would complete correctly (that is my original symptom)?  If so, 
how would I do this?

Thank you very much.

- Chris Balz.

Christopher M. Balz wrote:

I didn't suspect Rational Rose since I've run Cygwin fine when it was 
my previous Cygwin installation and when Rose had already been 
installed.  Apparently however, from your comments, it looks as if the 
MKS system makes breaks the Cygwin installation.  Is there a way (or a 
place I could look to find out) where I could protect the path that 
Cygwin uses?

Thank you so much for your help.

- Chris

Dave Korn wrote:

-Original Message-
From: cygwin-owner On Behalf Of Igor Pechtchanski
Sent: 22 March 2004 13:39
  


On Sun, 21 Mar 2004, Christopher M. Balz wrote:
  


I did run

c:\cygwin\bin\bash --norc

After a couple minutes the command prompt gave me:

   C:\WINNT\SYSTEM32c:\cygwin\bin\bash --norc
   bash-2.05b$
This command prompt cannot find any commands ('ls' is 'not found').



Please re-read the message below.  It says that you'll need to 
explicitly prepend /bin:/usr/bin:/usr/X11R6/bin to your PATH 
before you'll be able to run any commands.
  


 I notice also that there are already directories in Christopher's  path
called 'bin', 'x11', and 'mksnt'.  [ Light bulbs should be appearing 
in the
air above heads about now, upon seeing the dreaded letters 'm', 'k' 
and 's'
in that particular order. ]

 This last one in particular makes me wonder if the Rational tools 
you have
installed maybe 

RE: Failure of 'setup.exe': Rational Rose path stuff, blue screen of death.

2004-03-25 Thread Dave Korn
 

 -Original Message-
 From: cygwin-owner On Behalf Of Christopher M. Balz
 Sent: 25 March 2004 13:54
 To: [EMAIL PROTECTED]
 Subject: Re: Failure of 'setup.exe': Rational Rose  path 
 stuff, blue screen of death.
 
 
 I just tried cd'ing from a Win2K command prompt to the 
 directory of Cygwin's 'setup.exe', and set the path like this:
 
PATH C:\WinNT\system32;C:\WinNT;C:\WinNT\system32\Wbem
 
 Then I ran 'setup.exe' and as usual 'setup.exe' finished 99% 
 of its task but stopped on a postinstall file (this time, and 
 emacs-related file).  

  You didn't address the other settings I mentioned, such as

SHELL = `C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.exe'
TERM = `nutc'
TERMCAP = `C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\etc\termcap'
TERMINFO = `C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\usr\lib\terminfo'

all of which are going to confuse cygwin as well.

 After 'setup.exe''s usual soft hang here, I clicked cancel.  
 There was nothing to install in the setup, and 'setup' 
 notified me of this.  Then the screen went black and flashed 
 a blue screen of death and my machine went down.  I rebooted 
 and all was fine, but still same Cygwin performance problem 
 (3 minutes between commands).
 
  - CB


Your problem is almost certainly not cygwin related then; there's no way any
user-mode program should cause a BSoD.  You may have a faulty network card
driver.  Or are you by any chance running Novell Netware?  That's been known
to interact badly with cygwin in the past as well.  *Particularly* if a
netware-mounted drive is in $PATH.




cheers, 
  DaveK
-- 
Can't think of a witty .sigline today











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



dllwrap fails to find last exported symbol alphabetically

2004-03-25 Thread Peter Stephenson
A problem now seen by two of us with recent Cygwin installations:
mine was updated to `current' status last week.  However, I don't think
this is new since I've been seeing it on my own setup for a while.

Zsh uses `dllwrap --export-all-symbols' to link against it's own DLL's.
On the systems in question, dllwrap failed to identify the last symbol
exported from the main dll (zsh.dll) against which all the other DLL's
are linked.  The symbol in question is `zwarnnam'; we've verified it
really is the last symbol by adding a dummy one later in the alphabet,
and the problem goes away.  (This is an easy workaround so consequently
finding a real fix isn't a high priority for us.)

It sounds like if this is fundamental lots of people would have fallen
over it, but I've no idea what else might be relevant.

Anyway, on systems where it does trigger, it will show up by downloading
zsh 4.2.0 from ftp://ftp.zsh.org/pub/ and trying to compile with default
options.  You will see warnings about failures to find the symbol
zwarnnam when linking DLL's.  (The failure seen by users is a crash on
an attempt to print warning messages form libraries.  Running `vared
nonexistentvar' form the installed shell will do this.)  We haven't
narrowed it down any further.

If you (the Cygwin people) need more information, it's probably best to
prod [EMAIL PROTECTED] (this list runs qconfirm but you only need to
confirm once).

-- 
Peter Stephenson [EMAIL PROTECTED]  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK  Tel: +44 (0)1223 692070


**
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited. 
If you received this in error, please contact the sender and 
delete the material from any computer.
**


--
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: RE: 1.5.5.1 posix conformance for sigaction()

2004-03-25 Thread Christopher Faylor
On Thu, Mar 25, 2004 at 01:37:24PM +, Ghanshyam wrote:
Thanks for your attention. But I found the second result (two SIGCHLD) in
both the cases. I m using the cygwin version 1.5.5.1 

Given that the current version of cygwin is 1.5.10, does that possibly
suggest something to you?
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

--
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: More on 'setup' fails and breaks pre-existing Cygwin installation: The Rational Rose Files path stuff.

2004-03-25 Thread Larry Hall
Try running it under strace and see where it's taking it's time.  This might
take some effort on your part to sift through and interpret the strace 
output but it will usually point a finger at the culprit.

Larry


At 02:03 AM 3/25/2004, you wrote:
Dave,

Well, from the DOS command prompt I tried:
---snip---
cd C:\cygwin
PATH C:\WinNT\system32;C:\WinNT;C:\WinNT\system32\Wbem
bash --login -i
---snip---

and I also tried this in my .bashrc (all one line):

export 
PATH=/cygdrive/c/WinNT/system32:/cygdrive/c/WinNT:/cygdrive/c/WinNT/system32/Wbem:$JAVA_HOME/bin:/home/Administrator/code:/usr/bin:/usr/sbin:/usr/local/bin/.

(which checks out:
TLSWE-LAPTOP-A0  Wed Mar 24 23:00:47
~/echo $PATH
/cygdrive/c/WinNT/system32:/cygdrive/c/WinNT:/cygdrive/c/WinNT/system32/Wbem:/cy
gdrive/c/j2sdk1.4.2_04/bin:/home/Administrator/code:/usr/bin:/usr/sbin:/usr/loca
l/bin/.
TLSWE-LAPTOP-A0  Wed Mar 24 23:00:52
~/
)

and still the same problem: a three minute wait between shell commands.  
Should I try to re-install, setting the PATH in such a way that the install would 
complete correctly (that is my original symptom)?  If so, how would I do this?

Thank you very much.

- Chris Balz.

Christopher M. Balz wrote:

I didn't suspect Rational Rose since I've run Cygwin fine when it was my previous 
Cygwin installation and when Rose had already been installed.  Apparently however, 
from your comments, it looks as if the MKS system makes breaks the Cygwin 
installation.  Is there a way (or a place I could look to find out) where I could 
protect the path that Cygwin uses?

Thank you so much for your help.

- Chris

Dave Korn wrote:

-Original Message-
From: cygwin-owner On Behalf Of Igor Pechtchanski
Sent: 22 March 2004 13:39
  


On Sun, 21 Mar 2004, Christopher M. Balz wrote:
  


I did run

c:\cygwin\bin\bash --norc

After a couple minutes the command prompt gave me:

   C:\WINNT\SYSTEM32c:\cygwin\bin\bash --norc
   bash-2.05b$

This command prompt cannot find any commands ('ls' is 'not found').



Please re-read the message below.  It says that you'll need to explicitly prepend 
/bin:/usr/bin:/usr/X11R6/bin to your PATH before you'll be able to run any 
commands.
  



 I notice also that there are already directories in Christopher's  path
called 'bin', 'x11', and 'mksnt'.  [ Light bulbs should be appearing in the
air above heads about now, upon seeing the dreaded letters 'm', 'k' and 's'
in that particular order. ]

 This last one in particular makes me wonder if the Rational tools you have
installed maybe include or are based around the Mortice Kern Systems Unix
toolset.  It's a well-known problem that if you try and run cygwin while
having MKS tools in the $PATH they can sometimes clash.  I'd want to start a
dos command shell, then remove all the crud and set a minimal $PATH, and try
again: something like this at the command prompt might work...

---snip---
cd C:\cygwin
PATH C:\WinNT\system32;C:\WinNT;C:\WinNT\system32\Wbem
bash --login -i
---snip---

 

Hmm...  I suspect that it takes this long to determine the hostname of your 
machine.
  



 Did you notice that it's the same as his $LOGONSERVER?  It shouldn't take
that long to look up a hostname when you're logged on directly at the
keyboard of the domain controller.

 But of all the environment variables, I think this is the one that's doing
the most damage:

---snip from cygcheck.out---
SHELL = `C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.exe'
---snip---

 Ouch.  So everytime Cygwin bash tries to fork a subprocess, it launches it
using MKS sh.  No wonder it loses!

---snip from cygcheck.out---
TERM = `nutc'
---snip---

 Wouldn't have thought cygwin would make much sense of that either.

   cheers,  DaveK
 



-- 
*Contact Info:*
Christopher M. Balz
Senior Software Engineer
/TreeLogic Software Engineering http://treelogic-swe.com/
160 Lincoln Avenue
Palo Alto, CA 94301-2437 U.S.A.
650.327.0367
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

. . . / This Cabinet is formd of Gold / And Pearl  Crystal shining bright
And within it opens into a World / . . .
Another England there I saw / Another London with its Tower
Another Thames  other Hills / And another pleasant Surrey Bower
. . .
- from /The Crystal Cabinet http://www.bartleby.com/236/59.html/, a poem by 
*William Blake http://www.art4net.com/EXPObl.html* (18th-century English poet) 
where Blake rues England's rule.

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


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

Re: test -c com1 hangs on some WinXP systems

2004-03-25 Thread Larry Hall
At 01:28 AM 3/25/2004, you wrote:
On Wed, 24 Mar 2004, Larry Hall wrote:

 com is a reserved name in Windows.  It's best to steer clear of it in
 any context you can.  You may be catching it in your if test -c com1
 version.

We'd _love_ to steer clear of it, particularly since /dev/ttyS0
works for two of our targeted systems.

We need to know that the if test -c /dev/ttyS0 will work on all
Cygwin boxes from Win95 through WinXP.  The test for com1 was
working just fine except for very recently on a few WinXP systems
(but appears to work on other WinXP boxes).

I'm delaying a new release and staying with the if test -d
/proc/registry bit until we can get that question answered.  That
last works but it's ugly.


You're welcome to peruse the Cygwin DLL code for yourself but I see nothing
that suggests that /dev/ttyS* is Windows version specific.  I can't promise 
that there aren't bugs that will cause you problems on some Windows O/S 
version versus another but AFAICS /dev/ttyS* is just a direct mapping to 
//./com*.  So they look synonymous to me under the covers.



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


--
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: Displaying The Cygwin Version

2004-03-25 Thread Pan Shizhu
Crescioli, Phil wrote:

This is probably already been posted, but I cannot find the answer in
the users guide, FAQ, or google...
I've got Cygwin installed and working fine on my Win XP PC.
I simply want to display the version of Cygwin I currently 
have installed.  How ?
Thanks,
Phil

The command is the same as each Unix and Linux and BSDs etc.

uname -a

I hope you will never forget it.



--
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: RE: 1.5.5.1 posix conformance for sigaction()

2004-03-25 Thread Dave Korn
 

 -Original Message-
 From: cygwin-owner On Behalf Of Christopher Faylor
 Sent: 25 March 2004 15:08

 On Thu, Mar 25, 2004 at 01:37:24PM +, Ghanshyam wrote:
 Thanks for your attention. But I found the second result 
 (two SIGCHLD) 
 in both the cases. I m using the cygwin version 1.5.5.1
 
 Given that the current version of cygwin is 1.5.10, does that 
 possibly suggest something to you?


  When I saw his post, it suggested to me that I should fall out of my chair
laughing!  :P


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today



--
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: Creating a custom package installer?

2004-03-25 Thread Larry Hall
At 07:04 AM 3/25/2004, you wrote:
Dear all,

I have a question. Im on a project which involves LipSync on 
Linux. Now, in the final phase, we're porting it to Windows. We're curious 
to know how to create binary packages like tar.bz2 files. I took the 
URL:http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII2.0/cygwin.htm
and used 
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII2.0/cygwinBasic.exe
This file unzipped to a setup.exe file
packages\setup.ini - which contains hints and is auto-gen
packages\releases\{package}\{package}.tar.bz2 - package files

Now for our project, if we need say, bash, less, and some more utils and 
my own package, how can we make setup see those files? Could you point me 
to some tutorial? http://cygwin.com/setup.html isnt clear in a step by 
step fashion.

Thanks in advance 

PS: If its been asked in the past,excuse my ignorance but please point me 
to the link.


Actually, things very much like this have been asked in the past so there's
a page that talks about creating setup servers.  You should be able to get
a feel for what you need from this and other docs on setup and it's format.
See:

http://sources.redhat.com/cygwin-apps/package-server.html


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


--
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: RE: 1.5.5.1 posix conformance for sigaction()

2004-03-25 Thread Larry Hall
At 10:08 AM 3/25/2004, you wrote:
On Thu, Mar 25, 2004 at 01:37:24PM +, Ghanshyam wrote:
Thanks for your attention. But I found the second result (two SIGCHLD) in
both the cases. I m using the cygwin version 1.5.5.1 

Given that the current version of cygwin is 1.5.10, does that possibly

 ^^^
 should read 1.5.9 (soon to be followed
by 1.5.10 ;-) )

suggest something to you?

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


--
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: RE: 1.5.5.1 posix conformance for sigaction()

2004-03-25 Thread Christopher Faylor
On Thu, Mar 25, 2004 at 10:48:03AM -0500, Larry Hall wrote:
At 10:08 AM 3/25/2004, you wrote:
On Thu, Mar 25, 2004 at 01:37:24PM +, Ghanshyam wrote:
Thanks for your attention. But I found the second result (two SIGCHLD) in
both the cases. I m using the cygwin version 1.5.5.1 

Given that the current version of cygwin is 1.5.10, does that possibly

 ^^^
 should read 1.5.9 (soon to be followed
by 1.5.10 ;-) )

Oops. Right.  Injudicious editing.  I had more words in there about the
planned 1.5.10 release and cut them, leaving in the TBA version.

Thanks for the clarification.

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: Creating a custom package installer?

2004-03-25 Thread Buchbinder, Barry (NIH/NIAID)
The best I can tell, there is no link to
http://sources.redhat.com/cygwin-apps/ on http://cygwin.com/.  During an
admittedly quick look, I couldn't find a link to it anywhere. Presuming
there is a link somewhere, maybe it could be someplace less obscure.

Or is hiding this official policy (WJM)?  :-)

- Barry

-Original Message-
From: Larry Hall [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 25, 2004 10:42 AM
To: Hitanshu Gandhi; [EMAIL PROTECTED]
Subject: Re: Creating a custom package installer?

At 07:04 AM 3/25/2004, you wrote:
Dear all,

I have a question. Im on a project which involves LipSync on 
Linux. Now, in the final phase, we're porting it to Windows. We're curious 
to know how to create binary packages like tar.bz2 files. I took the 
URL:http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII2.0/cygwin.htm
and used 
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII2.0/cygwinBasic.exe
This file unzipped to a setup.exe file
packages\setup.ini - which contains hints and is auto-gen
packages\releases\{package}\{package}.tar.bz2 - package files

Now for our project, if we need say, bash, less, and some more utils and 
my own package, how can we make setup see those files? Could you point me 
to some tutorial? http://cygwin.com/setup.html isnt clear in a step by 
step fashion.

Thanks in advance 

PS: If its been asked in the past,excuse my ignorance but please point me 
to the link.

Actually, things very much like this have been asked in the past so there's
a page that talks about creating setup servers.  You should be able to get
a feel for what you need from this and other docs on setup and it's format.
See:

http://sources.redhat.com/cygwin-apps/package-server.html

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

--
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: dllwrap fails to find last exported symbol alphabetically

2004-03-25 Thread Peter A. Castro
On Thu, 25 Mar 2004, Peter Stephenson wrote:

 A problem now seen by two of us with recent Cygwin installations:
 mine was updated to `current' status last week.  However, I don't think
 this is new since I've been seeing it on my own setup for a while.

 Zsh uses `dllwrap --export-all-symbols' to link against it's own DLL's.

This should be corrected.  I'd changed the Cygwin port to use
'gcc -shared -Wl,--export-all-symbols'
specifically to address export symbol and other loader related issues
under Cygwin.  Apparently my changes never made it back into the source.
I'll have to see why.

 On the systems in question, dllwrap failed to identify the last symbol
 exported from the main dll (zsh.dll) against which all the other DLL's
 are linked.  The symbol in question is `zwarnnam'; we've verified it
 really is the last symbol by adding a dummy one later in the alphabet,
 and the problem goes away.  (This is an easy workaround so consequently
 finding a real fix isn't a high priority for us.)

 It sounds like if this is fundamental lots of people would have fallen
 over it, but I've no idea what else might be relevant.

Don't know.  I've only recently pulled it and started my porting.  I'll
figure out what's happening and feed back.

 Anyway, on systems where it does trigger, it will show up by downloading
 zsh 4.2.0 from ftp://ftp.zsh.org/pub/ and trying to compile with default

4.2.0 has only been out for a few days.  Gimme a little time!

I'll get to the bottom of this.

 options.  You will see warnings about failures to find the symbol
 zwarnnam when linking DLL's.  (The failure seen by users is a crash on
 an attempt to print warning messages form libraries.  Running `vared
 nonexistentvar' form the installed shell will do this.)  We haven't
 narrowed it down any further.

 If you (the Cygwin people) need more information, it's probably best to
 prod [EMAIL PROTECTED] (this list runs qconfirm but you only need to
 confirm once).

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

--
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: OpenLDAP server

2004-03-25 Thread Dr. Volker Zell
 Joost == Joost Kraaijeveld writes:

Joost Hi all,

Joost Is there anyone succeeded in compiling OpenLDAP with Cygwin? If so, which 
version?

It's already in the distribution (2.1.25) but only the clients and the
shared libraries. If you like I can make the server available on my web
page but without support (although they seem to function fine, at least
how I use them)

Joost Groeten,

Joost Joost Kraaijeveld

Ciao
  Volker


--
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: chroot-bug?

2004-03-25 Thread Christopher Faylor
[Boy, what's with the rash of people stymied by the mailing lists lately?]

On Thu, Mar 25, 2004 at 06:51:42PM +0100, Andreas wrote:
I don't get any reply to my adress subscribing the mailing-list cygwin,
so please also answer via EMAIL TO  k009aaka+AT+unet.univie.ac.at  

That's because you mistyped your email address when you tried to subscribe:
k009aaka=unet.univie.a.at

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



Strange problem wiith Cygwin ssh

2004-03-25 Thread Bindaas Guy
Hi,
I'm new to this list...and Cygwin, so sorry if this is
an old problem...bit iguess there's no better place to
get cygwin answers than this list :-)
Here's my problem-  I have 2 Win2K Adv Server machine
with NTFS drives running Cygwin. sshd is running on
both.CYGWIN=ntsec. I have run ssh-keygen to generate
keys and have set up to be able to log in without
password... I CAN log in and run most programs like
cmd etc, but running a certain setup.exe fails with
$?=67However if i use password authentication
instead of the keys for ssh, setup.exe runs
successfully...Note however that both ways of
authentication allow me to run other programs...the
user i use is part of Administrators  and can log
in as service and act as part of OS on both
machines... I then tried creating a local user who is
only part of Users and tried running setup.exe from
that id. It failed with error 67 again. This leads me
to believe there is some problem with the RSA
authenticationHere is what i did to set up
password-less login - On one machine , i ran
ssh-keygen -t rsa -P . then copied id_rsa.pub to
authorized_keys and copied the 3 files to ~/.ssh
directory... Also copied ALL THREE files to ~/.ssh for
same user on the other machine... Also,
StrictHostKeyChecking is set to no in ~/.ssh/config
file.
Thanks in advance for your help.


__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

--
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: Creating a custom package installer?

2004-03-25 Thread Igor Pechtchanski
Please don't feed the spam harvesters by quoting raw e-mail addresses in
your replies.

Yep, there's no link to the top cygwin-apps page, but there is one to
http://sources.redhat.com/cygwin-apps/setup.html from
http://cygwin.com/setup.html.
Igor

On Thu, 25 Mar 2004, Buchbinder, Barry (NIH/NIAID) wrote:

 The best I can tell, there is no link to
 http://sources.redhat.com/cygwin-apps/ on http://cygwin.com/.  During an
 admittedly quick look, I couldn't find a link to it anywhere. Presuming
 there is a link somewhere, maybe it could be someplace less obscure.

 Or is hiding this official policy (WJM)?  :-)

 - Barry

 -Original Message-
 From: Larry Hall [mailto:cygwin-lhatcygwindotcom]
 Sent: Thursday, March 25, 2004 10:42 AM
 To: Hitanshu Gandhi; cygwinatcygwindotcom
 Subject: Re: Creating a custom package installer?

 At 07:04 AM 3/25/2004, you wrote:
 Dear all,
 
 I have a question. Im on a project which involves LipSync on
 Linux. Now, in the final phase, we're porting it to Windows. We're curious
 to know how to create binary packages like tar.bz2 files. I took the
 URL:http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII2.0/cygwin.htm
 and used
 http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII2.0/cygwinBasic.exe
 This file unzipped to a setup.exe file
 packages\setup.ini - which contains hints and is auto-gen
 packages\releases\{package}\{package}.tar.bz2 - package files
 
 Now for our project, if we need say, bash, less, and some more utils and
 my own package, how can we make setup see those files? Could you point me
 to some tutorial? http://cygwin.com/setup.html isnt clear in a step by
 step fashion.
 
 Thanks in advance
 
 PS: If its been asked in the past,excuse my ignorance but please point me
 to the link.

 Actually, things very much like this have been asked in the past so there's
 a page that talks about creating setup servers.  You should be able to get
 a feel for what you need from this and other docs on setup and it's format.
 See:
 http://sources.redhat.com/cygwin-apps/package-server.html
 --
 Larry Hall

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

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



alias: not found

2004-03-25 Thread Chaikin, Yaakov Y (US SSA)
Hi,

I am using WinXP Pro. Created .profile file with the following line:
.bashrc

Then, I created .bashrc file with the following line:
alias cl clear

Restarted cygwin and got the following error message:
alias: not found

Am I missing a package that I should download and install? If so, which
package?

Thanks,
Yaakov.
 


--
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: Strange problem wiith Cygwin ssh

2004-03-25 Thread Igor Pechtchanski
On Thu, 25 Mar 2004, Bindaas Guy wrote:

 Hi,
 I'm new to this list...and Cygwin, so sorry if this is
 an old problem...bit iguess there's no better place to
 get cygwin answers than this list :-)
 Here's my problem-  I have 2 Win2K Adv Server machine
 with NTFS drives running Cygwin. sshd is running on
 both.CYGWIN=ntsec. I have run ssh-keygen to generate
 keys and have set up to be able to log in without
 password... I CAN log in and run most programs like
 cmd etc, but running a certain setup.exe fails with
 $?=67However if i use password authentication
 instead of the keys for ssh, setup.exe runs
 successfully...Note however that both ways of
 authentication allow me to run other programs...the
 user i use is part of Administrators  and can log
 in as service and act as part of OS on both
 machines... I then tried creating a local user who is
 only part of Users and tried running setup.exe from
 that id. It failed with error 67 again. This leads me
 to believe there is some problem with the RSA
 authenticationHere is what i did to set up
 password-less login - On one machine , i ran
 ssh-keygen -t rsa -P . then copied id_rsa.pub to
 authorized_keys and copied the 3 files to ~/.ssh
 directory... Also copied ALL THREE files to ~/.ssh for
 same user on the other machine... Also,
 StrictHostKeyChecking is set to no in ~/.ssh/config
 file.
 Thanks in advance for your help.

Does http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.3 help
explain things?
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

--
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: alias: not found

2004-03-25 Thread Igor Pechtchanski
On Thu, 25 Mar 2004, Chaikin, Yaakov Y (US SSA) wrote:

 Hi,

 I am using WinXP Pro. Created .profile file with the following line:
 .bashrc

It should be . .bashrc, actually...

 Then, I created .bashrc file with the following line:
 alias cl clear

 Restarted cygwin and got the following error message:
 alias: not found

Which shell are you running?  Sounds like sh.

 Am I missing a package that I should download and install? If so, which
 package?

 Thanks,
 Yaakov.

It's usually not a good idea to put bash-specific commands in .profile, as
sh also uses it.  You can use .bash_profile for bash instead.
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

--
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: alias: not found

2004-03-25 Thread Chaikin, Yaakov Y (US SSA)
 -Original Message-
 From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 25, 2004 3:00 PM
 To: Chaikin, Yaakov Y (US SSA)
 Cc: [EMAIL PROTECTED]
 Subject: Re: alias: not found
 
 On Thu, 25 Mar 2004, Chaikin, Yaakov Y (US SSA) wrote:
 
  Hi,
 
  I am using WinXP Pro. Created .profile file with the following line:
  .bashrc
 
 It should be . .bashrc, actually...

I tried that. When I start up cygwin it gives me this error:
Bash: ..bashrc: command not found

 
  Then, I created .bashrc file with the following line:
  alias cl clear
 
  Restarted cygwin and got the following error message:
  alias: not found
 
 Which shell are you running?  Sounds like sh.

I was under the impression that I am using bash shell. I am not
familiar with this.

 It's usually not a good idea to put bash-specific commands in
.profile, as
 sh also uses it.  You can use .bash_profile for bash instead.

I am not sure I am following this. Could you spell it out for me? What
do I put into what file?

Thanks,
Yaakov.


--
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: alias: not found

2004-03-25 Thread Igor Pechtchanski
Yaakov,

Please don't feed the spam harvesters by quoting raw e-mail addresses in
your replies.  More below.

On Thu, 25 Mar 2004, Chaikin, Yaakov Y (US SSA) wrote:

  -Original Message-
  From: Igor Pechtchanski [mailto:pechtchaatcsdotnyudotedu]
  Sent: Thursday, March 25, 2004 3:00 PM
  To: Chaikin, Yaakov Y (US SSA)
  Cc: cygwinatcygwindotcom
  Subject: Re: alias: not found
 
  On Thu, 25 Mar 2004, Chaikin, Yaakov Y (US SSA) wrote:
 
   Hi,
  
   I am using WinXP Pro. Created .profile file with the following line:
   .bashrc
 
  It should be . .bashrc, actually...

 I tried that. When I start up cygwin it gives me this error:
 Bash: ..bashrc: command not found

Note the space between the dots...  In a file destined for bash only, you
can use the source builtin instead of the . command, i.e., use source
.bashrc.

   Then, I created .bashrc file with the following line:
   alias cl clear
  
   Restarted cygwin and got the following error message:
   alias: not found
 
  Which shell are you running?  Sounds like sh.

 I was under the impression that I am using bash shell. I am not
 familiar with this.

How are you invoking the shell?  Via rxvt?  Or via a Cygwin shortcut?  If
the former, rxvt will execute sh by default.  If the latter, what is the
contents of your /cygwin.bat?

  It's usually not a good idea to put bash-specific commands in
  .profile, as sh also uses it.  You can use .bash_profile for bash
  instead.

 I am not sure I am following this. Could you spell it out for me? What
 do I put into what file?

 Thanks,
 Yaakov.

Bash, when invoked as a login shell, will execute ~/.bash_profile, if
present, instead of ~/.profile.  I usually symlink ~/.bash_profile to
~/.bashrc...  Alternatively, make ~/.bash_profile a one-line script with
. .bashrc or source .bashrc.

OTOH, ~/.profile is used by both bash and sh, so you should only put
sh-compatible commands into it.
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

--
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: alias: not found

2004-03-25 Thread Chaikin, Yaakov Y (US SSA)
Igor,

Thanks. This resolved the problem. I was forgetting the space between
the dots of  . .bashrc.

I was starting cygwin using a shortcut.

Thanks.


 -Original Message-
 From: Igor Pechtchanski
 Sent: Thursday, March 25, 2004 3:13 PM
 To: Chaikin, Yaakov Y (US SSA)
 Cc: [EMAIL PROTECTED]
 Subject: RE: alias: not found
 
 Yaakov,
 
 Please don't feed the spam harvesters by quoting raw e-mail addresses
in
 your replies.  More below.
 
 On Thu, 25 Mar 2004, Chaikin, Yaakov Y (US SSA) wrote:
 
   -Original Message-
   From: Igor Pechtchanski [mailto:pechtchaatcsdotnyudotedu]
   Sent: Thursday, March 25, 2004 3:00 PM
   To: Chaikin, Yaakov Y (US SSA)
   Cc: cygwinatcygwindotcom
   Subject: Re: alias: not found
  
   On Thu, 25 Mar 2004, Chaikin, Yaakov Y (US SSA) wrote:
  
Hi,
   
I am using WinXP Pro. Created .profile file with the following
line:
.bashrc
  
   It should be . .bashrc, actually...
 
  I tried that. When I start up cygwin it gives me this error:
  Bash: ..bashrc: command not found
 
 Note the space between the dots...  In a file destined for bash only,
you
 can use the source builtin instead of the . command, i.e., use
source
 .bashrc.
 
Then, I created .bashrc file with the following line:
alias cl clear
   
Restarted cygwin and got the following error message:
alias: not found
  
   Which shell are you running?  Sounds like sh.
 
  I was under the impression that I am using bash shell. I am not
  familiar with this.
 
 How are you invoking the shell?  Via rxvt?  Or via a Cygwin shortcut?
If
 the former, rxvt will execute sh by default.  If the latter, what is
the
 contents of your /cygwin.bat?
 
   It's usually not a good idea to put bash-specific commands in
   .profile, as sh also uses it.  You can use .bash_profile for bash
   instead.
 
  I am not sure I am following this. Could you spell it out for me?
What
  do I put into what file?
 
  Thanks,
  Yaakov.
 
 Bash, when invoked as a login shell, will execute ~/.bash_profile, if
 present, instead of ~/.profile.  I usually symlink ~/.bash_profile to
 ~/.bashrc...  Alternatively, make ~/.bash_profile a one-line script
with
 . .bashrc or source .bashrc.
 
 OTOH, ~/.profile is used by both bash and sh, so you should only put
 sh-compatible commands into it.
   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

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



bash incorrectly determines HOME and HOMEDRIVE

2004-03-25 Thread Ralf G. R. Bergs
[Please CC: me in your replies, since I'm not subscribed to this list. I 
will post a summary if I receive enough response.]

Hi there,

I've a quite unusual setup on my XP box since my profile directory is 
NOT on the XP system drive. I moved it from there onto a separate partition.

ALL Windoze apps are happy and succeed to determine the correct profile 
path when storing application data, but Cygwin fails. :-(

My system drive is E:, and Cygwin incorrectly sets HOMEDRIVE to E: and 
HOME to E:\Documents and Settings\rabe. The correct location of HOME 
is H:\Documents and Settings\rabe, so HOMEDRIVE should be set to H:.

I've manually set the correct values in XP's System Properties - 
Environment Variables. That makes HOME appear correctly in a bash, but 
HOMEDRIVE is still incorrect (E:). I suspect it's a bug in bash.

Can anyone check whether my assumption is correct?

Thanks,

Ralf

--
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: bash incorrectly determines HOME and HOMEDRIVE

2004-03-25 Thread Ken Thompson
I don't think this is really a bash issue.  I think HOMEDRIVE is actually
set by XP and bash is just importing it.  Cygwin has a default for NOME if
it is not set but it is unlikely to be what you desire.  Just set the
environment variable HOMEDRIVE to 'H:' and it will do exactly what you wish.
The correct procedure on Cygwin is to manually set the environment variables
to whatever you wish them to be

Ken


 -Original Message-

 Ralf G. R. Bergs
 Sent: Thursday, March 25, 2004 3:42 PM

 Subject: bash incorrectly determines HOME and HOMEDRIVE


 [Please CC: me in your replies, since I'm not subscribed to this list. I
 will post a summary if I receive enough response.]


 Hi there,

 I've a quite unusual setup on my XP box since my profile directory is
 NOT on the XP system drive. I moved it from there onto a separate
 partition.

 ALL Windoze apps are happy and succeed to determine the correct profile
 path when storing application data, but Cygwin fails. :-(

 My system drive is E:, and Cygwin incorrectly sets HOMEDRIVE to E: and
 HOME to E:\Documents and Settings\rabe. The correct location of HOME
 is H:\Documents and Settings\rabe, so HOMEDRIVE should be set to H:.

 I've manually set the correct values in XP's System Properties -
 Environment Variables. That makes HOME appear correctly in a bash, but
 HOMEDRIVE is still incorrect (E:). I suspect it's a bug in bash.

 Can anyone check whether my assumption is correct?

 Thanks,

 Ralf


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




--
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: bash incorrectly determines HOME and HOMEDRIVE

2004-03-25 Thread Ralf G. R. Bergs
Ken Thompson wrote:

I don't think this is really a bash issue.  I think HOMEDRIVE is actually
set by XP and bash is just importing it.  Cygwin has a default for NOME if
No. On my system, HOMEDRIVE was NOT set (neither for me personally, nor 
for all users.)

it is not set but it is unlikely to be what you desire.  Just set the
environment variable HOMEDRIVE to 'H:' and it will do exactly what you wish.
The correct procedure on Cygwin is to manually set the environment variables
to whatever you wish them to be
As I've already written in my original message, if I change it in XP, 
bash overwrites it. I can't imagine that this is correct behavior?!

Thanks,

Ralf

-Original Message-

Ralf G. R. Bergs
Sent: Thursday, March 25, 2004 3:42 PM
Subject: bash incorrectly determines HOME and HOMEDRIVE

[Please CC: me in your replies, since I'm not subscribed to this list. I
will post a summary if I receive enough response.]
Hi there,

I've a quite unusual setup on my XP box since my profile directory is
NOT on the XP system drive. I moved it from there onto a separate
partition.
ALL Windoze apps are happy and succeed to determine the correct profile
path when storing application data, but Cygwin fails. :-(
My system drive is E:, and Cygwin incorrectly sets HOMEDRIVE to E: and
HOME to E:\Documents and Settings\rabe. The correct location of HOME
is H:\Documents and Settings\rabe, so HOMEDRIVE should be set to H:.
I've manually set the correct values in XP's System Properties -
Environment Variables. That makes HOME appear correctly in a bash, but
HOMEDRIVE is still incorrect (E:). I suspect it's a bug in bash.
Can anyone check whether my assumption is correct?

Thanks,

Ralf

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








--
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: OpenLDAP server

2004-03-25 Thread Reini Urban
Dr. Volker Zell schrieb:
Joost == Joost Kraaijeveld writes:
Joost Is there anyone succeeded in compiling OpenLDAP with Cygwin? If so, which version?

It's already in the distribution (2.1.25) but only the clients and the
shared libraries. If you like I can make the server available on my web
page but without support (although they seem to function fine, at least
how I use them)
Yes Volker, please.
I would be satisfied to download a non-supported slapd and slurpd cygwin 
binary.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
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: bash incorrectly determines HOME and HOMEDRIVE

2004-03-25 Thread Ken Thompson



 -Original Message-
  Larry Hall
 Sent: Thursday, March 25, 2004 5:04 PM

 Subject: Re: bash incorrectly determines HOME and HOMEDRIVE


 Larry Hall WroteK

 HOMEDRIVE is set by Windows.  You don't have to set it.  And bash wouldn't
 know HOMEDRIVE from a hole in the wall. ;-)

That is what I thought but I can definitely reproduce this behaviour on XP.
I set HOMEDRIVE in H: in windows and then run bash and its reset to C:.
Definitely strange. Not that I really care since I don't use it for
anything.  BTW, It is possible to change it in the .bashrc file




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



  1   2   >