Re: Setup: lesson learned and suggestion

2005-01-26 Thread Max Bowsher
Dameron, Gregg wrote:
Running setup.exe version 2.427 on Windows 2000.
When the option Install from Local Directory is selected, the screen 
titled
Select Local Package Directory prompts the user as follows:

Select a directory where you want Setup to store the installation 
files it
downloads.  The directory will be created if it does not already 
exist.

The prompt didn't (doesn't) make sense in the context of a local directory
install.  The first few times I ran it, I interpreted this prompt to mean
select a directory where you want Setup to store the installation files 
it
_generates_.  I took it to mean (1) Setup needed a place to write
installation log files; and (2) I would be prompted later for the 
directory
containing all the packages I downloaded (or else Setup had already found
them).  Consequently, I gave Setup a path to a new directory and picked 
Next.
Setup died with the infamous Application Error dialog, stating:

The instruction at 0x00485fbd referenced memory at 0x.
The memory could not be written.
[FYI - the setup logs showed nothing unusual, post-mortem.  I did notice 
that
new (mostly empty) cygwin registry entries were created.]

A few false starts later, I figured out what Setup wanted; namely, the
directory where I had placed all the downloaded packages.  They installed
without incident.
My suggestion is twofold:  First, I'd change the prompt to make it more
context-appropriate.
Unfortunately, it's a bit of a pain to change this dependent on installation 
mode.

Anyone got a any good ideas how to phrase this so it will cater to both 
download and local modes?

Second, I'd handle an honest mistake (like mine) a bit
more gracefully.
Bug reproduced, thanks for the report.
Max.


Setup download adjustments

2005-01-26 Thread Max Bowsher
1) Concious of the fact that http://cygwin.com/setup-snapshots/ generally 
contains release candidates, old versions, and source, but no snapshots I've 
renamed it to http://cygwin.com/setup/.

2) Disliking the way setup.exe provides a severe lack of indication that 
source-only packages are source-only, and finding it a little bizarre that 
the source and binary of setup.exe are distributed in different ways, I've 
moved the setup source from the package area to the above URL, too. (And 
updated http://sources.redhat.com/cygwin-apps/setup.html).

[Attn CGF: Could you drop the remnant stub entry from setup.ini, please.]
Max.


Re: Apache/PHP maintainership

2005-01-26 Thread Stipe Tolj
Corinna Vinschen wrote:
On Jan 24 23:55, Brian Dessent wrote:
So, unfortunately I throw in the towel on this one.  I think I've posted
the patches to this list that I had made, which would be a starting
point if anyone else feels up to the task.  At the point where I
stopped, the PHP modules would at least all build as dynamic shared
modules but some of them would not load or would cause segfaults.  So,
there's still some work to be done there to find out why.

Are you also laying down Apache maintainership?  That would be a pity.
I don't see why Apache should depend on PHP.  Webserver also work fine
without PHP scripts from what I can tell :-)
now, agree'ing to Corinna here.
As I am still on the list and yes, still work on Apache for Cygwin... I'd like 
to pick-up the opportunity to bring up some new packages with the apache-1.3 
tree and the httpd-2.0 tree - on which I worked already in trying to get it 
build in DSO/DLL fashion mode - for upload. At least re-building the latest 
apache-1.3 should be a very quick shot to go for.

Stipe
mailto:stolj_{at}_wapme.de
---
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany
phone: +49.211.74845.0
fax: +49.211.74845.299
mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
---


Re: Setup: lesson learned and suggestion

2005-01-26 Thread Dave
 From: Max Bowsher [EMAIL PROTECTED]
 To: Dameron, Gregg [EMAIL PROTECTED],
   cygwin-apps@cygwin.com
 Subject: Re: Setup:  lesson learned and suggestion
 Date: Wed, 26 Jan 2005 15:57:49 -
 
 Dameron, Gregg wrote:
  Running setup.exe version 2.427 on Windows 2000.
 
  When the option Install from Local Directory is selected, the screen 
  titled
  Select Local Package Directory prompts the user as follows:
 
  Select a directory where you want Setup to store the installation 
  files it
  downloads.  The directory will be created if it does not already 
  exist.
 
  The prompt didn't (doesn't) make sense in the context of a local directory
  install.  The first few times I ran it, I interpreted this prompt to mean
  select a directory where you want Setup to store the installation files 
  it
  _generates_.  I took it to mean (1) Setup needed a place to write
  installation log files; and (2) I would be prompted later for the 
  directory
  containing all the packages I downloaded (or else Setup had already found
  them).  Consequently, I gave Setup a path to a new directory and picked 
  Next.
  Setup died with the infamous Application Error dialog, stating:
 
  The instruction at 0x00485fbd referenced memory at 0x.
  The memory could not be written.
 
  [FYI - the setup logs showed nothing unusual, post-mortem.  I did notice 
  that
  new (mostly empty) cygwin registry entries were created.]
 
  A few false starts later, I figured out what Setup wanted; namely, the
  directory where I had placed all the downloaded packages.  They installed
  without incident.
 
  My suggestion is twofold:  First, I'd change the prompt to make it more
  context-appropriate.
 
 Unfortunately, it's a bit of a pain to change this dependent on installation 
 mode.
 
 Anyone got a any good ideas how to phrase this so it will cater to both 
 download and local modes?

How about something like Select local package cache directory?

Might also try and provide an explantaion in a tooltip...


Dave




__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 



Hungarian keyboard under cygwin-X

2005-01-26 Thread Szabó Bence
Hello,

I tried to set up hungarian keyboard under cygwin/X in my winXP box. 

If I use only console bash shell (without X) it works after I 
run these commands:

bind 'set output-meta on'
bind 'set meta-flag on'
bind 'set convert-meta off'
bind 'set input-meta on'


After trying start X server, in xterm window it doesn't work correctly. If I 
use latin1 font, the 
'Odoubleacute' and 'Udoubleacute' keys isn't work.
If I tried some iso8859-2 font in my xterm it isn't work too.
If I open a file with these letters both look good.

I read some useful tips on your FAQ and tried check if it works for 'hu' keymap:

$ xkbcomp -w 3 -xkm -m hu /etc/X11/xkb/keymap/xfree86 localhost:0.0
Fatal Error:  No map named hu in /etc/X11/xkb/keymap/xfree86
  Exiting

$ setxkbmap.exe -v 10 -rules xfree86 -model pc105 -layout hu

Setting verbose level to 10
locale is C
Warning! Multiple definitions of rules file
 Using command line, ignoring X server
Warning! Multiple definitions of keyboard model
 Using command line, ignoring X server
Warning! Multiple definitions of keyboard layout
 Using command line, ignoring X server
Applied rules from xfree86:
model:  pc105
layout: hu
Trying to build keymap using the following components:
keycodes:   xfree86+aliases(qwerty)
types:  complete
compat: complete
symbols:en_US(pc105)+hu
geometry:   pc(pc105)


Any suggestions?
THX.


--
Szab Bence
szabobe at t-mobile dot hu 
 


Re: How to read a unicode file created in windows?

2005-01-26 Thread Alexander Gottwald
On Wed, 26 Jan 2005, Duong Dang wrote:

 I mean Ican't read unicode file when programming. I use QFile and
 QTextStream to read unicode file but the read text is wrong.

a) This is not a question. It's just a statement. I can only guess
   what you try to achive. Editing in vim is likely to work.

b) Your statement does not include anything that could help solving
   your problem. Which program created the file? How is the text wrong?

c) Why are you sending this to me and not to the mailing list?

bye
ago 
BTW: redirecting this to the mailing list
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Application in linux and cygwin

2005-01-26 Thread Alexander Gottwald
On Wed, 26 Jan 2005, Duong Dang wrote:

 I use source code created in linux to rebuild in cygwin. It is
 x-unikey (I attach it with this mail)
 I run ./configure, it's OK. But when I run make , compiler show some
 error. I don't know why.

Me neither. Without the error messages it's impossible to guess what
went wrong.

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


Re: Hungarian keyboard under cygwin-X

2005-01-26 Thread Alexander Gottwald
On Wed, 26 Jan 2005, [iso-8859-2] Szabó Bence wrote:

 Hello,
 
 I tried to set up hungarian keyboard under cygwin/X in my winXP box. 
 
 After trying start X server, in xterm window it doesn't work correctly. If I 
 use latin1 font, the 
 'Odoubleacute' and 'Udoubleacute' keys isn't work.
 If I tried some iso8859-2 font in my xterm it isn't work too.
 If I open a file with these letters both look good.

By default xterm starts in latin1 mode. If you use the utf8 mode it can handle 
the characters properly. 

xterm -u8

Other programs will require setting the LANG environment variable

LANG=hu xev

without: 
KeyPress event, serial 26, synthetic NO, window 0x262,
root 0x53, subw 0x0, time 167925784, (114,90), root:(423,228),
state 0x0, keycode 51 (keysym 0x1fb, udoubleacute), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

with:
KeyPress event, serial 26, synthetic NO, window 0x262,
root 0x53, subw 0x263, time 167967494, (40,57), root:(368,233),
state 0x0, keycode 51 (keysym 0x1fb, udoubleacute), same_screen YES,
XLookupString gives 1 bytes: (fb) û
XmbLookupString gives 1 bytes: (fb) û
XFilterEvent returns: False

it is still printed wrong because of the latin1 charset of the mail.

BTW: can you please send me the information listed in 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-submit-layout

I can add the hungarian layout to the table of autodetected layouts

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


Re: Hungarian keyboard under cygwin-X

2005-01-26 Thread Thomas Dickey
On Wed, 26 Jan 2005, Alexander Gottwald wrote:
On Wed, 26 Jan 2005, [iso-8859-2] Szabó Bence wrote:
Hello,
I tried to set up hungarian keyboard under cygwin/X in my winXP box.
After trying start X server, in xterm window it doesn't work correctly. If I 
use latin1 font, the
'Odoubleacute' and 'Udoubleacute' keys isn't work.
If I tried some iso8859-2 font in my xterm it isn't work too.
If I open a file with these letters both look good.
By default xterm starts in latin1 mode. If you use the utf8 mode it can 
handle
the characters properly.
xterm can, but the last I saw regarding cygwin is that it doesn't provide
the necessary locale support.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Cygwin 1.5.12 (Cygwin/X on Window NT vs Window XP)

2005-01-26 Thread Al . Amerin
Hi,

I have noticed the following when running startxwin.bat on Windows XP:

  1. Calling startxwin.bat on the bash command line, I get the following 
messages:
 3 [main] run 3544 tty_list::allocate_tty: No tty allocated
 3 [main] run 904 tty_list::allocate_tty: No tty allocated

  Everything comes up normally though. I just want to know why this 
comes up only on
  Windows XP and if there are any side-effects.
 
  2. After starting startxwin.bat, every X application (excluding the 
xterm that startxwin.bat started up) does not
  get focus. It always goes in the background below any application 
(X or native Win32). This is true for each and
  every app that gets started until you close one of the X apps. 
After that, everything is back to normal. That is, every
  X app you start will now get the focus and will be the top-level 
window. The problem never comes back after that.
  

Has anyone seen this? Is there a workaround? These problems do not show 
up on Windows NT using the same Cygwin/XWin
version.

Thanks!

Al-




[ANN] X11R6.8.2 Release Candidate 3 is out! (fwd)

2005-01-26 Thread Alexander Gottwald
Hi,

I've prepared cygwin packages for Release Candidate 3 of the
upcoming Xorg 6.8.2 release. They are available from the usual
cygwin mirrors once they arrive there and are marked as test
in the setup and named xorg-x11-*-6.8.1.903.

Please test them and report bugs if you find any. The announcement
from X.org is enclosed below. 

I'll remove the 6.8.1.902 packages from the cygwin server and the
freedesktop.org download site.

bye
ago

From: Roland Mainz [EMAIL PROTECTED]
Subject: [ANN] X11R6.8.2 Release Candidate 3 is out!


  X11R6.8.2 Release Candidate 3 (RC3) of the X Window System
  

 X.Org Foundation Releases Maintaince Update
For X Window System Version X11R6.8.x

The third release candidate for X11R6.8.2 is ready for testing.  The
upcoming X11R6.8.2 release is intended to be a stable bug fix release
and we would very much appreciate your help to build and test this
release candidate.  Please report any problems you find in Xorg's
bugzilla (https://bugs.freedesktop.org/enter_bug.cgi?product=xorg).

## IMPORTANT: This is likely the LAST release canidate and therefore the
last chanche to do testing before the FINAL version will be shipped! ##

This release candidate is currently labeled experimental and is only
made available for testing and evaluation purposes.

* Notes for testers:
- Various drivers, modules and other infrastructure got
  significant updates and need to be thoroughly tested by the
  community, including:
  - radeon video driver
  - nv (nvidia) video driver
  - ATI Rage128 video driver
  - ATI R100 video driver
  - Intel i810 video driver
  - neomagic video driver
  - Postscript print driver
  - Xprint infrastructure update
  - Mesa (OpenGL) update to release 6.2
  - libXpm security update (CAN-2004-0914)
  ... and many many other things...

- The full changelog for the X11R6.8.x stable branch can be found under
http://cvs.freedesktop.org/xorg/xc/ChangeLog?only_with_tag=XORG-6_8-branchview=log

- The X11R6.8.2 RC3 source code can be obtained as follows:
  - Source tarballs are available from
http://xorg.freedesktop.org/X11R6.8.2/xorg-x11-6.8.1.903.tar.bz2
http://xorg.freedesktop.org/X11R6.8.2/xorg-x11-6.8.1.903.tar.gz
http://xorg.freedesktop.org/X11R6.8.2/xorg-x11-6.8.1.903.tar.Z [1]

md5 checksums are:
MD5 (xorg-x11-6.8.1.903.tar.bz2) = d3008407381364a3e8a6e0cce5620d37  
MD5 (xorg-x11-6.8.1.903.tar.gz)  = 4c72bb3346722621d09a9b60b5ae1fb0  
MD5 (xorg-x11-6.8.1.903.tar.Z)   = 26ede25a29bbf0d072bb87ee94508a7c  

[1]=The xorg-x11-6.8.1.903.tar.Z source tarball was created with
Solaris /usr/bin/tar for those platforms who can't deal with the GNU tar
format (which was used to package xorg-x11-6.8.1.903.tar.bz2 and
xorg-x11-6.8.1.903.tar.gz).

  - Anonymous CVS:
  % export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs/xorg
  % cvs -z6 checkout -r XORG-6_8_1_903 xc

  - For people with SSH access to the CVS repository:
  % export CVSROOT=:ext:[EMAIL PROTECTED]:/cvs/xorg
  % export CVS_RSH=ssh
  % cvs -z6 checkout -r XORG-6_8_1_903 xc

* Next step is to get the final version out in (more or less) two weeks
unless serious showstoppers will be found.

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



Strange XWin startup problem.

2005-01-26 Thread Donald R. Ziesig
Hi all!
I have a clean (brand new, just downloaded, ...) installation of Cygwin/X.
I perform the following steps:
1) Start cygwin by double clicking desktop icon.
2) In cygwin window:  cd /usr/X11R6/bin
3) In cygwin window:  startxwin.bat
I get the X icon in the system tray, but nothing else (no xterm, nothing 
:(  ).
After some searching I discovered that there are two XWin.exe images in 
the processes tab of the windows task manager.

This has happened on three attempts of clean all cygwin directories, 
download and install on this particular machine.  To check myself and 
the system, I downloaded the same software on a second machine and it 
worked fine the first time.

The machine I am having trouble with has one peculiarity:  the system 
disk is G:, not C: (its a long, long story).  I have tried installing 
cygwin/X on C:, D: and G: with the same results.

The system is an AMD 2100+ with 2GB ram and lotsa disk space, running 
Windows 2000 Pro.

Has anyone reported a problem of this nature?
Thanks in advance.
donz



Strange XWin startup problem v2.0

2005-01-26 Thread Donald R. Ziesig
Hi all!
I have a clean (brand new, just downloaded, ...) installation of Cygwin/X.
I perform the following steps:
1) Start cygwin by double clicking desktop icon.
2) In cygwin window:  cd /usr/X11R6/bin
3) In cygwin window:  startxwin.bat
I get the X icon in the system tray, but nothing else (no xterm, nothing 
:(   ).
After some searching I discovered that there are two XWin.exe images in 
the processes tab of the windows task manager.

This has happened on three attempts of clean all cygwin directories, 
download and install on this particular machine.  To check myself and 
the system, I downloaded the same software on a second machine and it 
worked fine the first time (there is only one copy of XWin.exe in Task 
Manager)..

The machine I am having trouble with has one peculiarity:  the system 
disk is G:, not C: (its a long, long story).  I have tried installing 
cygwin/X on C:, D: and G: with the same results.

The system is an AMD 2100+ with 2GB ram and lotsa disk space, running 
Windows 2000 Pro.

Attached is XWin.log
Has anyone reported a problem of this nature?
Thanks in advance.
donz


Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.1.0-9

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -multiwindow -clipboard -silent-dup-error 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
(WW) /tmp mounted int textmode
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
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: 0409 (0409) 
(--) Using preset keyboard for English (USA) (409), type 4


Re: Strange XWin startup problem v2.0

2005-01-26 Thread Alexander Gottwald
On Wed, 26 Jan 2005, Donald R. Ziesig wrote:

 I get the X icon in the system tray, but nothing else (no xterm, nothing 
 :(   ).
 After some searching I discovered that there are two XWin.exe images in 
 the processes tab of the windows task manager.

seems like the ZoneAlarm problem.

Uninstall Zonealarm or disable XKB extension (add -kb to XWin commandline)

bye
ago

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


Re: [unsolicited] Re: Strange XWin startup problem v2.0

2005-01-26 Thread Donald R. Ziesig
Dear Alexander:
-kb worked.  But I don't have ZoneAlarm... I'm using the Norton 
Internet Security  firewall.
(and, the second system that did not give me problems IS using 
ZoneAlarm).  Strange.

Thanks!
donz
Alexander Gottwald wrote:
On Wed, 26 Jan 2005, Donald R. Ziesig wrote:
 

I get the X icon in the system tray, but nothing else (no xterm, nothing 
:(   ).
After some searching I discovered that there are two XWin.exe images in 
the processes tab of the windows task manager.
   

seems like the ZoneAlarm problem.
Uninstall Zonealarm or disable XKB extension (add -kb to XWin commandline)
bye
ago
 




Re: startxwin.bat failing

2005-01-26 Thread Brian Dessent
Jon wrote:

 I'm trying to run startxwin.bat on a Windows XP system. When I do, the
 Cygwin/X Server starts however when the terminal window comes up, I get the
 two following error messages:
 
 xterm: Can't execvp /usr/bin/bash: No such file or directory
 xterm: Could not exec /bin/sh: No such file or directory.
 
 These look like things you would typically find on a unix box so it's not
 suprising to get these errors. However, xterm runs for others in my office on
 windows, but they don't know how it works or what to do to get around this.

Questions about X11 belong in a different mailing list.  cygwin-xfree AT
cygwin.com.  Please use that list for replies to this thread.

I would say you also need to review http://cygwin.com/problems.html
for how to ask for help.  Especially heed the part about attaching the
cygcheck output to your post.  It sounds like you have a simple PATH or
mounts problem but you've not given nearly enough information for anyone
to be able to diagnose it, which the cygcheck output will provide.

Brian


src/winsup/cygwin ChangeLog syscalls.cc

2005-01-26 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2005-01-26 13:07:49

Modified files:
winsup/cygwin  : ChangeLog syscalls.cc 

Log message:
* syscalls.cc (setpriority): Implement PRIO_PGRP, PRIO_USER and
setting priority in other Cygwin processes.
(getpriority): Implement PRIO_PGRP, PRIO_USER and getting nice value
from other processes.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2679r2=1.2680
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=srcr1=1.358r2=1.359



winsup/cygwin ChangeLog pinfo.cc

2005-01-26 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-01-26 18:21:25

Modified files:
cygwin : ChangeLog pinfo.cc 

Log message:
* pinfo.cc (pinfo::init): Avoid a compiler warning.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.2680r2=1.2681
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaumr1=1.153r2=1.154



src/winsup/mingw ChangeLog include/malloc.h

2005-01-26 Thread dannysmith
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2005-01-27 00:34:43

Modified files:
winsup/mingw   : ChangeLog 
winsup/mingw/include: malloc.h 

Log message:
2005-01-26  Oliver Stoeneberg  [EMAIL PROTECTED]

* include/malloc.h: Add missing return code defines for
_heapwalk()

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog.diff?cvsroot=srcr1=1.253r2=1.254
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/malloc.h.diff?cvsroot=srcr1=1.10r2=1.11



Re: Problem uninstalling/deleting cygwin - Solved

2005-01-26 Thread Neven Luetic
 after a (stupid) attempt to install an older version of cygwin over my
 current installation (using the cygwin time machine mentioned some
 days ago) I just wanted to throw it away and start anew, but the cygwin
 directory is undeletable. 
 
 This is due to some symbolic links from versions of uninstalled programs
 pointing to nowhere (i.e. /usr/autotool/devel/bin/automake, which is a
 symlink to automake-1.9). 
 I am able to change owner and permissions of these files to whatever I
 want, but I can not delete them (Permission denied).
 
 What should I do, to get a clean new install?

Although I am sure to have installed both versions as the same user (I
always use a domain login), those links are owned by my computer login.
When I change ownership via windows explorer and set the permissions I
need, everything can be deleted. 

This didn't work with cygwin. Although I was able to change the
ownership of the links to any user I wanted, I was not able to delete
them. 

Thanks for the help

Neven


--
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: cygwin bughunt (FAQ alert?)

2005-01-26 Thread David Dindorp

Igor Pechtchanski wrote:
 Umm, that was my bad.  The thing is, --enable-debugging really
produces
 a developer debug version, with extra tracing, etc.  If all you want
is a
 version of DLL with all the symbols (i.e., unstripped), the regular
build
 produces that as well.

Cristopher Faylor wrote:
 ...and now you get to repeat these facts endlessly as people find your
 words in the archives and assume that they need use this option
regardless
 of follow-on discussion or the FAQ.

How about adding a line in the FAQ to the how to build cygwin (104)
entry
stating that the configure ; make mentioned does produce a Cygwin with
all
debugging symbols?

And the link in the FAQ is wrong:

How can I debug cygwin (entry 105) says:

To build a debugging version of the Cygwin DLL,
 you will need to follow the instructions at
 http://cygwin.com/faq/faq_3.html#SEC102.;

The above should point to entry 104, not 102.



--
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: cygwin bughunt (FAQ alert?)

2005-01-26 Thread David Dindorp
Ack!
Apologies for the formatting.
The company I'm employed at uses Outlook (thereby MS-WORD) for e-mail.

Here's what I wanted to say:

The FAQ entry 105 links to entry 102 under how to compile.
Shouldn't this point to 104 instead?



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



Re: Problem uninstalling/deleting cygwin - Solved

2005-01-26 Thread Igor Pechtchanski
On Wed, 26 Jan 2005, Neven Luetic wrote:

  after a (stupid) attempt to install an older version of cygwin over my
  current installation (using the cygwin time machine mentioned some
  days ago) I just wanted to throw it away and start anew, but the cygwin
  directory is undeletable.
 
  This is due to some symbolic links from versions of uninstalled programs
  pointing to nowhere (i.e. /usr/autotool/devel/bin/automake, which is a
  symlink to automake-1.9).
  I am able to change owner and permissions of these files to whatever I
  want, but I can not delete them (Permission denied).
 
  What should I do, to get a clean new install?

 Although I am sure to have installed both versions as the same user (I
 always use a domain login), those links are owned by my computer login.
 When I change ownership via windows explorer and set the permissions I
 need, everything can be deleted.

 This didn't work with cygwin. Although I was able to change the
 ownership of the links to any user I wanted, I was not able to delete
 them.

Cygwin's chown can only change ownership to those users that are in the
/etc/passwd file.  If you had two users with the same name or id in it
(e.g., local and domain), the one that appears earlier will hide the one
that appears later.

AFAIU, if you'd made sure that your /etc/passwd is up-to-date, you could
have changed the ownership.  One guess as to why the links were owned by
the local user is that some script may have done a chown $USER, and if
the local and the domain user have the same names, and the local appears
earlier in /etc/passwd...  well, you get the picture.

FWIW, we should probably look at all scripts to see which ones do chown
$USER, and change it to chown `id -u` instead, which should be safer...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

--
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: Cygwin Time Machine

2005-01-26 Thread Christopher Faylor
On Tue, Jan 25, 2005 at 10:58:18PM -0500, Charles Wilson wrote:
Actually, I think this is a neat idea.  I tried to do something like it 
for personal use about 18 months ago -- I wanted a one-time snapshot of 
the cygwin-1.3.x baseline just prior to the 1.5.x transition.

But I waited too long (e.g. after packages which required 1.5.x had 
polluted the server), and couldn't untangle what was old/what was 
new well enough for my taste.  So I gave up.

Your mechanism is much better.  I, too, hope you don't regret it. :-)

While I think it is a nifty idea too (I actually used this yesterday), I
suspect that we'll all have some heartburn over this as people stumble
onto it, try to update their distro to older versions and end up with
bloody stumps where their feet used to be.

However, because I'm a masochist, I'm wondering if it wouldn't be a good
idea to advertise this as cygwin news on the front page of
http://cygwin.com/.

Also, (oh boy, what fun!) it would be nice if snapshots were archived, too.

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/



Installer question

2005-01-26 Thread Chuck
Is there a way to tell the installer never to update findutils? The 
current version of that package is still broken and every time I update 
other packages, it installs the newer findutils by default. I want it to 
ignore findutils while still updating other packages.

TIA
--
To reply by email remove _nospam
--
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: Installer question

2005-01-26 Thread Max Bowsher
Chuck wrote:
Is there a way to tell the installer never to update findutils? The
current version of that package is still broken and every time I update
other packages, it installs the newer findutils by default. I want it to
ignore findutils while still updating other packages.
Unfortunately, no.
It would be nice.
No-ones coded such behaviour, though.
Max.
--
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: Installer question

2005-01-26 Thread Warren Young
Max Bowsher wrote:
Unfortunately, no.
I seem to recall that the setup hint file mechanism allows you to set an 
older version to be the current, while still allowing the newer version 
to be downloaded on request.  If the package is broken for lots of 
people, perhaps findutils' maintainer should do that.

--
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: Cygwin Time Machine

2005-01-26 Thread Peter A. Castro
On Tue, 25 Jan 2005, Charles Wilson wrote:

 Actually, I think this is a neat idea.  I tried to do something like it
 for personal use about 18 months ago -- I wanted a one-time snapshot of
 the cygwin-1.3.x baseline just prior to the 1.5.x transition.

 But I waited too long (e.g. after packages which required 1.5.x had
 polluted the server), and couldn't untangle what was old/what was
 new well enough for my taste.  So I gave up.

 Your mechanism is much better.  I, too, hope you don't regret it. :-)

Thanks Chuck!  We'll see about the regret part :)  Feel free to use it.

-- 
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: Problem uninstalling/deleting cygwin

2005-01-26 Thread Peter A. Castro
On Tue, 25 Jan 2005, Neven Luetic wrote:

 Hello,

Greetings Neven,

 after a (stupid) attempt to install an older version of cygwin over my
 current installation (using the cygwin time machine mentioned some
 days ago) I just wanted to throw it away and start anew, but the cygwin
 directory is undeletable.

Hmm... I see my site is causing some confusion.  I'll update the doc
concerning downgrading issues.  In the mean time, the Cygwin FAQ does
describe how to completely remove Cygwin from your machine if that's what
you feel needs to be done.  If you do feel you need a specific, older,
version of Cygwin, then I'd recommend wiping and installing a base
image of the older version, rather than trying to downgrade a current
install.

It might be useful to understand why you did the downgrade in the first
place.  If there is something broken in Cygwin, then getting on the most
current release gives you a more likely condition to get help fixing it.

 This is due to some symbolic links from versions of uninstalled programs
 pointing to nowhere (i.e. /usr/autotool/devel/bin/automake, which is a
 symlink to automake-1.9).
 I am able to change owner and permissions of these files to whatever I
 want, but I can not delete them (Permission denied).

 What should I do, to get a clean new install?

Wipe Cygwin using the instructions in the FAQ.  Again, make sure any
cygwin processes or services are stopped  removed first.

I see from later email that you are having problems removing some files
(specifically symlinks).  I'd check who actually owns those files, using
the Windows Explorer, (right-click on file) Properties-Security tab.
See who owns it.  You might need to take ownership of the file, or login
as the real owner if it was someone else (Administrator?).

-- 
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: Problem uninstalling/deleting cygwin

2005-01-26 Thread Peter A. Castro
On Tue, 25 Jan 2005, Larry Hall wrote:

 At 01:34 PM 1/25/2005, Dave Korn wrote:

  This subject is really off-topic for this list.  The cygwin
  time machine is not a service supported by this list.
 
   Larry, you're being too harsh there!  The how to uninstall procedure is
 standard advice and fully backwardly compatible.  If we would give the 
 uninstall
 advice to someone who never upgraded beyone 1.3.x, there's no reason not to 
 give
 it to someone who has downgraded; we wouldn't tell the first person Oh,
 uninstalling 1.3.x is not supported, so first update your entire 
 installation to
 1.5.12, then follow this procedure., now would we?

 No, that's true.  The uninstall procedure is documented in the FAQ.
 Anyone that wants it can find it there.  But I didn't read Neven's
 request as a simple inquiry of how to uninstall Cygwin (which the
 FAQ does cover) but rather how do I fix this now that I installed
 an old version from the cygwin time mmachine and trying to uninstall
 it didn't work.  I don't know why Neven had a problem but if the

The removal instructions in the FAQ should apply, reguardless of which
version of Cygwin he has.  The instructions do cover most situations, but
not in detail (eg: How do I uninstall inetd?), and, arguably, that's
not something the FAQ needs to specifically address.

 prescribed approach given by the FAQ didn't work for him, then it
 seems reasonable to consult Peter's site with further questions.
 While I would agree that we cannot say that we don't support uninstalling
 of old versions, Neven says that he installed some old version over his
 current, which really isn't a supported option for Cygwin setup.  There's
 the ability to downgrade an existing installation to the version just
 previous or there's the ability to install the previous version for the
 first time.  But installing a previous version over a current installation
 isn't a recommended way of using setup even if you're not using the
 cygwin time machine.  And if you are, well then there's a whole set

In reality there's not a whole lot of difference between install the
previous version and installing an older snapshot image.  Setup runs the
preremove scripts, removes all files from the package, then puts down the
new/old files and runs the postinstll scripts.  It's really more of an
individual package compatability and dependency issue.  But then, package
compatability and dependency issues exist reguardless of weither your
talking about Cygwin or Linux or AIX or HP-UX, etc.  I've had situations
where I was upgrading an old clean image to the latest stuff (from one of
the official mirrors) and had Bad Things(tm) happen trying to revert a
single package to it's official previous version afterwards.  It's par
for the course that packages are imperfect and cleaning up after yourself
is never as simple and creating the mess in the first place.  I, myself,
recently added code to the zsh package to install a profile if not
already present, and compare and remove that profile on deinstall.
That's a new feature, where previously the package would just plop the
file down and not care about it on deinstall.  So, if you installed the
previous version, de-installed it and installed the latest version, you'd
still be stuck with the old version of that profile, and it would never
get upgraded unless manual intervention is taken.

 of variations and options available that were not there heretofore.
 This is the reason I directed Neven back to Peter's site.  Clearly,
 though, if Neven and others that use the cygwin time machine can get
 what they need from the cygwin.com web pages to help them with any problems
 they have after using the cygwin time machine, then that's great.  But
 my position is that folks that have a problem after using Peter's site need
 to consult Peter, at least at first, the same as any other 3rd party site.

I completely agree with Larry here.  I've provided the rope for people
to hang themselves, the least I can do is help them out when they are
just dangling there (umm...sorry for the metaphor :).  I will be adding
doc to the webpage talking about the perils of downgrading, but in truth
this subject should be noted in the normal FAQ concerning reverting to
the previous version as well.

 Obviously, those who disagree with me are still free to answer the
 inevitable posts that we'll get here about the cygwin time machine
 anyway.  With any luck, those posts will be few and far between so there
 will be little need to discuss how much noise of this kind is too much.

Oh, come now, Larry.  We had a hugh thread going concering the *content*
of the fortune data files, which was totally off-topic for Cygwin, yet we
all kept on beating that horse.  Off-topic doesn't stop it from being
discussed anyways. :)

 --
 Larry Hall  http://www.rfk.com

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

--

Re: Problem uninstalling/deleting cygwin

2005-01-26 Thread Christopher Faylor
On Wed, Jan 26, 2005 at 11:10:49AM -0800, Peter A. Castro wrote:
On Tue, 25 Jan 2005, Larry Hall wrote:
Obviously, those who disagree with me are still free to answer the
inevitable posts that we'll get here about the cygwin time machine
anyway.  With any luck, those posts will be few and far between so
there will be little need to discuss how much noise of this kind is too
much.

Oh, come now, Larry.  We had a hugh thread going concering the
*content* of the fortune data files, which was totally off-topic for
Cygwin, yet we all kept on beating that horse.  Off-topic doesn't stop
it from being discussed anyways.  :)

*Bzt* Wrong answer.

It was certainly on-topic to discuss the contents of files that are
distributed in the cygwin package.

However, even if it wasn't, pointing to previous behavior which you
consider inappropriate and using it as an excuse to do the same is
really a rather unpersuasive way to make a point.

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: Cygwin Time Machine

2005-01-26 Thread Peter A. Castro
On Wed, 26 Jan 2005, Christopher Faylor wrote:

 On Tue, Jan 25, 2005 at 10:58:18PM -0500, Charles Wilson wrote:
 Actually, I think this is a neat idea.  I tried to do something like it
 for personal use about 18 months ago -- I wanted a one-time snapshot of
 the cygwin-1.3.x baseline just prior to the 1.5.x transition.
 
 But I waited too long (e.g. after packages which required 1.5.x had
 polluted the server), and couldn't untangle what was old/what was
 new well enough for my taste.  So I gave up.
 
 Your mechanism is much better.  I, too, hope you don't regret it. :-)

 While I think it is a nifty idea too (I actually used this yesterday), I
 suspect that we'll all have some heartburn over this as people stumble
 onto it, try to update their distro to older versions and end up with
 bloody stumps where their feet used to be.

Well, I do warn people not taunting Happy-Fun Ball :)

Seriously, the time machine should be used prudently.  I am beefing up
the doc (which no-one ever reads, right? :) to try and head off as many
problems as possible.  Knowledge is power.

And, I humbly offer free antacids and bandages to everyone on the list
who suffers at the hands (feet?) of the time machine.

 However, because I'm a masochist, I'm wondering if it wouldn't be a good
 idea to advertise this as cygwin news on the front page of
 http://cygwin.com/.

Gosh, Chris, I'm flattered you'd consider it news worthy (well,
flattered, shocked, amazed and confused...no, wait, confused is my
normal state of being :).  Obviously it's up to you all.

 Also, (oh boy, what fun!) it would be nice if snapshots were archived, too.

Hmm... I think I can do that too.  Lemme look into it.

 cgf

-- 
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: Problem uninstalling/deleting cygwin

2005-01-26 Thread Peter A. Castro
On Wed, 26 Jan 2005, Christopher Faylor wrote:

 On Wed, Jan 26, 2005 at 11:10:49AM -0800, Peter A. Castro wrote:
 On Tue, 25 Jan 2005, Larry Hall wrote:
 Obviously, those who disagree with me are still free to answer the
 inevitable posts that we'll get here about the cygwin time machine
 anyway.  With any luck, those posts will be few and far between so
 there will be little need to discuss how much noise of this kind is too
 much.
 
 Oh, come now, Larry.  We had a hugh thread going concering the
 *content* of the fortune data files, which was totally off-topic for
 Cygwin, yet we all kept on beating that horse.  Off-topic doesn't stop
 it from being discussed anyways.  :)

 *Bzt* Wrong answer.

I didn't know there was a question...wait, what show am I on? :)

 It was certainly on-topic to discuss the contents of files that are
 distributed in the cygwin package.

I disagree on that.  For the fortune related thread(s), it was not so
much what was going into the package, but weither that content should be
censored or not.  Gary and several others were trading barbs concering
potty-mouth language and religious/political views.  Should
moral/religious/political discussions be consider on-topic, then?  I
really want to know.

 However, even if it wasn't, pointing to previous behavior which you
 consider inappropriate and using it as an excuse to do the same is
 really a rather unpersuasive way to make a point.

It was more an observation than a point.  And, while there are plenty of
examples of this excuse in the archives, this kind of thing *does*
continue to occur on this list, time and again.  It's tantamount to
saying no talking in class, yet whispers are traded none-the-less.  I'm
not justifying it, mind you.  Meerly pointing out the reality of it.
Sorry if I ruffle your feathers over it.

 cgf

-- 
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: Problem uninstalling/deleting cygwin

2005-01-26 Thread Neven Luetic
 I see from later email that you are having problems removing some files
 (specifically symlinks).  I'd check who actually owns those files, using
 the Windows Explorer, (right-click on file) Properties-Security tab.
 See who owns it.  You might need to take ownership of the file, or login
 as the real owner if it was someone else (Administrator?).
 

I should have tried your advice earlier.
It took me really long to figure this out, because I actually installed
both versions under my domain login, so that all should have belonged to
the same user. This was not the case; those symbolic links were owned by
my computer login - in contrast to everything else, that could cleanly
be deleted. 

However, installation over the current version of cygwin happened just
by accident. The reason for the downgrade as such is the ssh hangs
problem (aka Windows XP piping issue), that doesn't occur in 1.5.10-3.

After having wiped out the installed version properly I have now been
able to install the last 1.5.10-3 version without problems. 

Greetings
Neven




--
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: Cygwin Time Machine

2005-01-26 Thread Christopher Faylor
On Wed, Jan 26, 2005 at 12:25:45PM -0800, Peter A. Castro wrote:
On Wed, 26 Jan 2005, Christopher Faylor wrote:
However, because I'm a masochist, I'm wondering if it wouldn't be a
good idea to advertise this as cygwin news on the front page of
http://cygwin.com/.

Gosh, Chris, I'm flattered you'd consider it news worthy (well,
flattered, shocked, amazed and confused...no, wait, confused is my
normal state of being :).  Obviously it's up to you all.

This is actually up to you.  If you think it's a good idea, then feel
free to submit an article using the link at http://cygwin.com/ .

I have no problems with people using whatever version they want as far
as cygwin is concerned.  They just have to understand that we're not
supporting old versions here.  That policy, aside from being just
deliciously mean, is a pragmatic decision whose basis should be
fairly obvious.

It helps tremendously that someone like you is willing to behave
responsibly, think about the problems with offering services like this,
and make adjustments to deal with them so that users will be aware of
issues and hopefully will impact on us minimally here.

I think you're showing a true open source spirit in providing this
service -- particularly since I know you understand the risks and the
amount of work involved.

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: Problem uninstalling/deleting cygwin

2005-01-26 Thread Larry Hall
At 02:10 PM 1/26/2005, you wrote:
On Tue, 25 Jan 2005, Larry Hall wrote:

 of variations and options available that were not there heretofore.
 This is the reason I directed Neven back to Peter's site.  Clearly,
 though, if Neven and others that use the cygwin time machine can get
 what they need from the cygwin.com web pages to help them with any problems
 they have after using the cygwin time machine, then that's great.  But
 my position is that folks that have a problem after using Peter's site need
 to consult Peter, at least at first, the same as any other 3rd party site.

I completely agree with Larry here.  I've provided the rope for people
to hang themselves, the least I can do is help them out when they are
just dangling there (umm...sorry for the metaphor :).  I will be adding
doc to the webpage talking about the perils of downgrading, but in truth
this subject should be noted in the normal FAQ concerning reverting to
the previous version as well.


It's true that installing an old version over a current version isn't a 
faux-pas that can happen simply because the cygwin time machine is 
used, though it's probably more likely to occur (but maybe not... I hope
not! :-) )  The Cygwin FAQ doesn't seem to be the right place for the Cygwin
version of this information though.  Maybe the UG is?  Joshua, what's your 
thoughts on this?



 Obviously, those who disagree with me are still free to answer the
 inevitable posts that we'll get here about the cygwin time machine
 anyway.  With any luck, those posts will be few and far between so there
 will be little need to discuss how much noise of this kind is too much.

Oh, come now, Larry.  We had a hugh thread going concering the *content*
of the fortune data files, which was totally off-topic for Cygwin, yet we
all kept on beating that horse.  Off-topic doesn't stop it from being
discussed anyways. :)


Off-topic things will always be at least attempted here.  You and I are
saying the same thing.  But just because the reality is that there will
be off-topic discussions in the future does not mean that we shouldn't 
discourage them when they occur.  Rules are made to be broken or bent.  
But if no attempt is ever made to enforce the rules, then why have them?
(I'm hoping that's a rhetorical question! :-) ).

FWIW, I can see that you're taking your responsibility as cygwin time 
machine maintainer seriously.  None of my comments in this thread are 
meant to criticize your efforts in this vein.



--
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: Lynx - Unable to Shell

2005-01-26 Thread Joshua Daniel Franklin
 On Jan 25 09:08, Steven Read wrote:
   Really I did read the FAQ. By the way
  could I persuade you to release the API in PDF format?)

You can easily create your own PDF from the DocBook XML files
(available in CVS or the cygwin-doc src package) on linux with a
command like:

xmlto pdf  cygwin-api.sgml

I have not created PDFs since it is not possible to do so on Cygwin right now
(no passivetex package). 

I may merge the API Reference into the User's Guide as an appendix
soon, in which case it would be updated with the User's Guide.

--
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: cygwin bughunt (FAQ alert?)

2005-01-26 Thread Joshua Daniel Franklin
On Wed, 26 Jan 2005 14:29:29 +0100, David Dindorp wrote:
 How about adding a line in the FAQ to the how to build cygwin (104)
 entry
 stating that the configure ; make mentioned does produce a Cygwin with
 all
 debugging symbols?
 
 And the link in the FAQ is wrong:
 
 How can I debug cygwin (entry 105) says:
 
 To build a debugging version of the Cygwin DLL,
  you will need to follow the instructions at
  http://cygwin.com/faq/faq_3.html#SEC102.;
 
 The above should point to entry 104, not 102.

Sorry, I'll fix this.

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



startxwin.bat failing

2005-01-26 Thread Jon
Hi:

I'm trying to run startxwin.bat on a Windows XP system. When I do, the 
Cygwin/X Server starts however when the terminal window comes up, I get the 
two following error messages:

xterm: Can't execvp /usr/bin/bash: No such file or directory
xterm: Could not exec /bin/sh: No such file or directory.

These look like things you would typically find on a unix box so it's not 
suprising to get these errors. However, xterm runs for others in my office on 
windows, but they don't know how it works or what to do to get around this.

Any thoughts?

Jon


--
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: startxwin.bat failing

2005-01-26 Thread Brian Dessent
Jon wrote:

 I'm trying to run startxwin.bat on a Windows XP system. When I do, the
 Cygwin/X Server starts however when the terminal window comes up, I get the
 two following error messages:
 
 xterm: Can't execvp /usr/bin/bash: No such file or directory
 xterm: Could not exec /bin/sh: No such file or directory.
 
 These look like things you would typically find on a unix box so it's not
 suprising to get these errors. However, xterm runs for others in my office on
 windows, but they don't know how it works or what to do to get around this.

Questions about X11 belong in a different mailing list.  cygwin-xfree AT
cygwin.com.  Please use that list for replies to this thread.

I would say you also need to review http://cygwin.com/problems.html
for how to ask for help.  Especially heed the part about attaching the
cygcheck output to your post.  It sounds like you have a simple PATH or
mounts problem but you've not given nearly enough information for anyone
to be able to diagnose it, which the cygcheck output will provide.

Brian

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



RE: Problem uninstalling/deleting cygwin

2005-01-26 Thread Peter A. Castro
On Wed, 26 Jan 2005, Larry Hall wrote:

 At 02:10 PM 1/26/2005, you wrote:
 On Tue, 25 Jan 2005, Larry Hall wrote:
 
  of variations and options available that were not there heretofore.
  This is the reason I directed Neven back to Peter's site.  Clearly,
  though, if Neven and others that use the cygwin time machine can get
  what they need from the cygwin.com web pages to help them with any problems
  they have after using the cygwin time machine, then that's great.  But
  my position is that folks that have a problem after using Peter's site need
  to consult Peter, at least at first, the same as any other 3rd party site.
 
 I completely agree with Larry here.  I've provided the rope for people
 to hang themselves, the least I can do is help them out when they are
 just dangling there (umm...sorry for the metaphor :).  I will be adding
 doc to the webpage talking about the perils of downgrading, but in truth
 this subject should be noted in the normal FAQ concerning reverting to
 the previous version as well.

I've update the document in an attempt to further clarify the position
and intent of the Time Machine and it's relation to the Cygwin project.

 It's true that installing an old version over a current version isn't a
 faux-pas that can happen simply because the cygwin time machine is
 used, though it's probably more likely to occur (but maybe not... I hope
 not! :-) )  The Cygwin FAQ doesn't seem to be the right place for the Cygwin
 version of this information though.  Maybe the UG is?  Joshua, what's your
 thoughts on this?

The UG might be a better place at that.  I, myself, never know quite
where a good place for these kinds of things would be.

  Obviously, those who disagree with me are still free to answer the
  inevitable posts that we'll get here about the cygwin time machine
  anyway.  With any luck, those posts will be few and far between so there
  will be little need to discuss how much noise of this kind is too much.
 
 Oh, come now, Larry.  We had a hugh thread going concering the *content*
 of the fortune data files, which was totally off-topic for Cygwin, yet we
 all kept on beating that horse.  Off-topic doesn't stop it from being
 discussed anyways. :)

 Off-topic things will always be at least attempted here.  You and I are
 saying the same thing.  But just because the reality is that there will
 be off-topic discussions in the future does not mean that we shouldn't
 discourage them when they occur.  Rules are made to be broken or bent.
 But if no attempt is ever made to enforce the rules, then why have them?
 (I'm hoping that's a rhetorical question! :-) ).

But that... oh, wait, you said rhetorical... never mind :)

 FWIW, I can see that you're taking your responsibility as cygwin time
 machine maintainer seriously.  None of my comments in this thread are
 meant to criticize your efforts in this vein.

None taken.  But, if you would like to critic it, please do.  I try to
take seriously all comments and suggestions.

 --
 Larry Hall  http://www.rfk.com

-- 
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: cygwin bughunt (FAQ alert?)

2005-01-26 Thread Joshua Daniel Franklin
On Wed, 26 Jan 2005 14:36:50 -0800, Joshua Daniel Franklin wrote:
 On Wed, 26 Jan 2005 14:29:29 +0100, David Dindorp wrote:
  And the link in the FAQ is wrong:
 
  How can I debug cygwin (entry 105) says:
 
  To build a debugging version of the Cygwin DLL,
   you will need to follow the instructions at
   http://cygwin.com/faq/faq_3.html#SEC102.;
 
  The above should point to entry 104, not 102.
 
 Sorry, I'll fix this.

Fixed. By the way, does anyone know exactly what Devel packages are required
to build Cygwin?  I used to just think install everything but now
there's a lot of
new X or GNOME related stuff. I know I've got more than I need
installed, but I'm
thinking that would be useful information for the FAQ and/or a README in CVS. 

binutils
gcc
make
gettext-devel
??

--
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: Cygwin Time Machine

2005-01-26 Thread Jon A. Lambert
Peter A. Castro wrote:
might find it useful or interesting.  Unfortinately, it only goes
back to April of 2002, though I actually have package versions going
back further, but not the setup.ini to go with them.
You didn't mention the b20/20.1 release.  If you and anyone doesn't have it 
and wants it for some odd reason...

ftp://jlsysinc.gotdns.com/pub/cygwin-b20/
Access might be slow and flaky.
--
J. Lambert
--
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: cygwin bughunt (FAQ alert?)

2005-01-26 Thread Brian Dessent
Joshua Daniel Franklin wrote:

 Fixed. By the way, does anyone know exactly what Devel packages are required
 to build Cygwin?  I used to just think install everything but now
 there's a lot of
 new X or GNOME related stuff. I know I've got more than I need
 installed, but I'm
 thinking that would be useful information for the FAQ and/or a README in CVS.
 
 binutils
 gcc
 make
 gettext-devel
 ??

I was actually a little curious about this, so I did a little
experiment.  I sequestered away my normal Cygwin installation and
started with a fresh install.  Aside from the default base packages
that setup.exe intstalls out of the gate, I found that I only had to
actually select three packages in setup: gcc, make, and perl.  (and Perl
was required only for gendef it seems.)

After doing that I was able to build the Cygwin DLL from the source
package.  Additional things may be required to build from a CVS
checkout, I'm not sure.  And of course the dependencies of those
packages are required (i.e. gcc brings in w32api, binutils,
mingw-runtime, ...; perl brings in crypt, expat, ...) but from a user
standpoint if you're using setup those are apparently the only three
individual packages you need to select.

If you want an absolute list, here is my cygcheck -c for this test
environment, which was the result of default install plus selecting
gcc, make, and perl:

Cygwin Package Information
Package  VersionStatus
_update-info-dir 00231-1OK
ash  20040127-1 OK
base-files   3.2-1  OK
base-passwd  2.1-1  OK
bash 2.05b-16   OK
binutils 20041229-1 OK
bzip21.0.2-6OK
coreutils5.2.1-5OK
crypt1.1-1  OK
cygutils 1.2.5-1OK
cygwin   1.5.12-1   OK
cygwin-doc   1.4-1  OK
diffutils2.8.7-1OK
editrights   1.01-1 OK
expat1.95.8-1   OK
findutils20041227-1 OK
gawk 3.1.4-3OK
gcc  3.3.3-3OK
gcc-core 3.3.3-3OK
gcc-g++  3.3.3-3OK
gcc-mingw-core   20040810-1 OK
gcc-mingw-g++20040810-1 OK
gdbm 1.8.3-7OK
grep 2.5-1  OK
groff1.18.1-2   OK
gzip 1.3.5-1OK
less 381-1  OK
libbz2_1 1.0.2-6OK
libcharset1  1.9.2-1OK
libdb4.2 4.2.52-1   OK
libgdbm  1.8.0-5OK
libgdbm-devel1.8.3-7OK
libgdbm3 1.8.3-3OK
libgdbm4 1.8.3-7OK
libiconv 1.9.2-1OK
libiconv21.9.2-1OK
libintl1 0.10.40-1  OK
libintl2 0.12.1-3   OK
libintl3 0.14.1-1   OK
libncurses5  5.2-1  OK
libncurses6  5.2-8  OK
libncurses7  5.3-4  OK
libncurses8  5.4-1  OK
libpcre  4.1-1  OK
libpcre0 4.5-1  OK
libpopt0 1.6.4-4OK
libreadline4 4.1-2  OK
libreadline5 4.3-5  OK
libreadline6 5.0-1  OK
login1.9-7  OK
make 3.80-1 OK
man  1.5o1-1OK
mingw-runtime3.7-1  OK
mktemp   1.5-3  OK
ncurses  5.4-1  OK
perl 5.8.6-2OK
readline 5.0-1  OK
sed  4.1.2-1OK
tar  1.13.25-5  OK
termcap  20021106-2 OK
terminfo 5.4_20041009-1 OK
texinfo  4.7-2  OK
w32api   3.2-1  OK
which1.6-1  OK
zlib 1.2.2-1OK

Brian


--
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: Help! Need B.20.1 src

2005-01-26 Thread John Mellor
On Sun, 2005-23-01 at 16:03 +0100, Corinna Vinschen wrote:
 On Jan 23 09:28, John Mellor wrote:
  On Sat, 2005-22-01 at 20:22 -0500, Christopher Faylor wrote:
   On Sat, Jan 22, 2005 at 05:17:44PM -0800, Brian Dessent wrote:
   I don't know if the ancient Bxx series was LGPL, but the current Cygwin
   source is GPL which means you must provide not only the Cygwin DLL
   source but also all the source of your app that links to it.
   
   There is a mailing list to discuss this: cygwin-licensing at cygwin dot
   com.
   
   I think that cygwin has been GPL since early 1997.
   
   So, you're right.  I can't believe I missed this.  Anything that uses the
   Cygwin DLL is GPLed.
  
  In fact, I cannot ship the source for the app if I wanted to, as that
  would then publish some of the Customer's proprietary trade secrets.
 
 If you linked your application against the Cygwin DLL, then this
 application *is* GPL'd.  Full stop up to this point.  You don't
 have to publish the sources to the world, but you have to publish
 your sources to your customer.  Your customer has the right to
 get the source code of your application and the Cygwin DLL.  If
 you didn't do this so far, you're violating the license.
 
  However, if I read the specific version of the GPL that is being used
  for cygwin correctly, then it says:
  
   In accordance with section 10 of the GPL, Red Hat permits programs
   whose sources are distributed under a license that complies with the
   Open Source definition to be linked with libcygwin.a/cygwin1.dll
   without libcygwin.a/cygwin1.dll itself causing the resulting program
   to be covered by the GNU GPL.
   [...]
  
  I believe that my app meets this criteria, and this then prevents me
  from being between a rock and a hard place;^)
 
 I don't see how that applies to your application.  The above paragraph
 only mentions that open source applications are excempted from that rule,
 not proprietary software as yours.
 
 You have two choices:
 
 - Comply with the GPL in one way or the other, which always means your
   application is also GPLed and you have to open the source code to
   your customer.
 
 - Or, you ask Red Hat for a special Cygwin License according to this
   paragraph on http://cygwin.com/licensing.html:
 
 Red Hat sells a special Cygwin License for customers who are unable
 to provide their application in open source code form. For more
 information, please see: http://www.redhat.com/software/cygwin/,
 or call +1-866-2REDHAT ext. 45300 (toll-free in the US)

Thanks for the clarification.  Yes, I read that incorrectly.

I have no problem passing on the full source code to the Customer (after
all, that's what they paid me to work on), but I can't pass it on to
other parties as it contains some code fragments that implement their
trade secrets, and doing so would violate the trade secrecy laws.

So, am I safe if I give the Customer the source for an app that is
linked against cygwin1.dll, but not also publish it to the whole world?



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



Help Needed!!!

2005-01-26 Thread Amit dattatraya Bhandar


Hello,

I am running cygwin on a Win2k machine. I have a C
program that I am compiling using gcc. Upon execution
from the prompt, the program just exits without any
output. When I run gdb on the executable,I
set the first breakpoint at main() and run the
program. However, the program segfaults before getting
to main. Upon backtrace,I get the following output:

(gdb) b main
Breakpoint 1 at 0x4013d6: file iclsn_main.c, line 201.
(gdb) r
Starting program: /cygdrive/c/prm60_0/proj/geni600/bin/iclsn_main.exe

Program received signal SIGSEGV, Segmentation fault.
0x61071dbb in cygwin_split_path () from /usr/bin/cygwin1.dll
(gdb) bt
#0  0x61071dbb in cygwin_split_path () from /usr/bin/cygwin1.dll
#1  0x610718f2 in cygwin_split_path () from /usr/bin/cygwin1.dll
#2  0x61071a44 in cygwin_split_path () from /usr/bin/cygwin1.dll
#3  0x61005b94 in getprogname () from /usr/bin/cygwin1.dll


My machine details are-
CYGWIN_NT-5.0 ABHANDAR01 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown
unknown Cygwin

Any help will be appreciated!

Thanks in advance,
Amit

The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

--
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: Cygwin Time Machine

2005-01-26 Thread Larry Hall
At 11:05 PM 1/26/2005, you wrote:
Peter A. Castro wrote:

might find it useful or interesting.  Unfortinately, it only goes
back to April of 2002, though I actually have package versions going
back further, but not the setup.ini to go with them.

You didn't mention the b20/20.1 release.  If you and anyone doesn't have it 
and wants it for some odd reason...

ftp://jlsysinc.gotdns.com/pub/cygwin-b20/

Access might be slow and flaky.


Almost time for me to go dig up my zip disks with B19 and B18 as well as 
my boatload of diskettes with b17, b16, and b14.  Sorry, I didn't save
b13 or b12.  Someone else will have to recoup those and continue the 
march into the 'b' single digits. ;-)

Larry

Trivia alert: Who else remembers why there was no b15 release? 


--
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: Cygwin Time Machine

2005-01-26 Thread Peter A. Castro
On Wed, 26 Jan 2005, Jon A. Lambert wrote:

 Peter A. Castro wrote:
 
  might find it useful or interesting.  Unfortinately, it only goes
  back to April of 2002, though I actually have package versions going
  back further, but not the setup.ini to go with them.

 You didn't mention the b20/20.1 release.  If you and anyone doesn't have it
 and wants it for some odd reason...

Hmm... How complete is it?  Did you pull all the source packages as well?
Did you keep the setup.ini with it?  What about the setup.exe itself?

 ftp://jlsysinc.gotdns.com/pub/cygwin-b20/
 Access might be slow and flaky.

Yep, I can't seem to get there right now.  I'll try again later.

 --
 J. Lambert

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



script program

2005-01-26 Thread jurgen . defurne
Hello,

I know this question has only been recently on this list, but I can't
seem to find the answer anymore, and the cygwin mail archive
is dead slow this morning, so here I go :

In which package is the 'script' utility located, or is it a package
which is outside the standard Cygwin repository ?

Regards,

Jurgen Defurne

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