Re: setup: wants to install emacs?

2004-09-27 Thread Gerrit P. Haase
Christopher schrieb:

 On Mon, Sep 27, 2004 at 02:28:31PM -0400, Igor Pechtchanski wrote:
On Mon, 27 Sep 2004, Christopher Faylor wrote:

 On Mon, Sep 27, 2004 at 08:13:03PM +0200, Gerrit P. Haase wrote:
 some application requires emacs to be installed, but I don't want it
 cause I don't use it.  And I doubt that I have an application in use
 that really requires emacs.

 Which applications?

AFAICS from
ftp://mirrors.kernel.org/sources.redhat.com/cygwin/setup.ini,
the only package that doesn't have emacs in its name and requires emacs
is gtypist.

 Right.  That's what I saw, too but gtypist doesn't qualify as some
 packages so I thought I was missing something.

Hmm, it shouldn't require emacs, it runs well from the command line
where I use it sometimes to get rid of my annoying typos.

Happy Typing!
Gerrit
-- 
=^..^=



setup: current setup version crashes on XP

2004-09-27 Thread Gerrit P. Haase
Hallo,

I'm running XP SP2, setup.exe crashes, I cannot install the latest
packages.

So currently I cannot use my XP box to work on new packages.

Sorry if this doesn't help to track down the problem.  Is a debugging
version of setup available for Download?


Gerrit
-- 
=^..^=



[ITP] lablgtk2-2.4.0-1 [repost]

2004-09-27 Thread Andrew Schulman
I want to package and maintain LablGTK2 for Cygwin.  LablGTK2 is an OCaml 
interface to GTK2.

I posted this message a week ago, and got no response.  Maybe people are busy, 
which I understand.  OTOH if people groaned and pushed it out of their minds 
when they read about the screwy license terms below, I'd appreciate it if 
you'd take another look and tell me your opinions.  I don't think there's 
anything insurmountable there.

My proposed unison-gtk2 package is waiting (I think) for lablgtk2 to be 
available, since I use lablgtk2 to build it.

Thanks,
Andrew.

Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html

License:  Specified separately for three parts of the supplied source code.  
Here is what the file COPYING from the source distribution says:

src/ directory: This library is made available under the LGPL, with the same 
exception as specified in the Objective Caml distribution, to allow freely 
static linking.  You should have got a copy of the LGPL and this exception 
with Objective Caml.  Since OCaml is now part of the Cygwin distribution, I 
assume that these terms are acceptable.

examples/ directory: you may freely take inspiration from the code, and copy 
parts of it in your application.  This is a vague and apparently semi-free 
license (since it permits copying of only part, not all, of the source code.)

applications/ directory: free for personal use; redistribution only as is; 
Binary distribution and bug fixes are allowed, but you cannot extensively 
modify the code without asking the authors.  Clearly non-free; but see below.

I am not building anything in either the examples or applications directories, 
so I don't think these licenses should present a problem.  However if it 
would be preferable, I can simply remove either or both of them from the 
source package, and add an explanatory note for users.

URLs:
http://home.comcast.net/~andrex/cygwin/lablgtk2/setup.hint
http://home.comcast.net/~andrex/cygwin/lablgtk2/lablgtk2-2.4.0-1.tar.bz2
http://home.comcast.net/~andrex/cygwin/lablgtk2/lablgtk2-2.4.0-1-src.tar.bz2

setup.hint:
sdesc: OCaml interface to GTK2
ldesc: LablGTK2 is an Objective Caml interface to GTK2.  It uses the
rich type system of Objective Caml 3 to provide a strongly typed yet
comfortable object-oriented interface to GTK2.  All widgets but one
are available, with almost all their methods.  Objective Caml threads
are supported, including for the top level, which allows for interactive
use of the library.
category: Devel
requires: cygwin ocaml atk-runtime gtk2-x11-runtime glib2-runtime pango

Andrew Schulman.


Re: setup: wants to install emacs?

2004-09-27 Thread Igor Pechtchanski
On Mon, 27 Sep 2004, Christopher Faylor wrote:

 On Mon, Sep 27, 2004 at 08:13:03PM +0200, Gerrit P. Haase wrote:
 some application requires emacs to be installed, but I don't want it
 cause I don't use it.  And I doubt that I have an application in use
 that really requires emacs.

 Which applications?

AFAICS from ftp://mirrors.kernel.org/sources.redhat.com/cygwin/setup.ini,
the only package that doesn't have emacs in its name and requires emacs
is gtypist.
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!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw


please upload: unison-2.10.2-2 and unison-2.9.20-1

2004-09-27 Thread Andrew Schulman
Changes from unison-2.10.2-1 to -2:
- corrected build instructions in /usr/local/share/doc/Cygwin/unison-*.README.
- added /usr/share/doc/unison/NEWS.Cygwin (Cygwin version file).

In addition, if it's possible I'd like to request that unison-2.10.2-1 be 
_removed_ from the archive, and unison-2.9.20-1 be uploaded.  Then the user 
will be able to choose between versions 2.9.20-1 or 2.10.2-2.

The reason I want to do this is because version 2.9.x and 2.10.x use different 
archive formats, and hence won't talk to each other.  If a user has version 
2.10.x on his or her Cygwin box, but only version 2.9.x is available on 
another host, then s/he will be unable to synchronize files between those two 
hosts.  Providing version 2.9.x as well will make it easier for users to 
install a version that will work with other hosts.

Since the setup utility only supports two different versions at a time of a 
package, I'd like to remove version 2.10.2-1 and substitute 2.9.20-1 for it.  

Thank you,
Andrew.

http://home.comcast.net/~andrex/cygwin/unison/setup.hint
http://home.comcast.net/~andrex/cygwin/unison/unison-2.10.2-2.tar.bz2
http://home.comcast.net/~andrex/cygwin/unison/unison-2.10.2-2-src.tar.bz2
http://home.comcast.net/~andrex/cygwin/unison/unison-2.9.20-1.tar.bz2
http://home.comcast.net/~andrex/cygwin/unison/unison-2.9.20-1-src.tar.bz2


Re: setup: wants to install emacs?

2004-09-27 Thread Yaakov Selkowitz
Igor Pechtchanski wrote:
AFAICS from ftp://mirrors.kernel.org/sources.redhat.com/cygwin/setup.ini,
the only package that doesn't have emacs in its name and requires emacs
is gtypist.
gtypist is my package, and it includes an emacs major-mode for 
creating/editing gtypist lessons.  In any case, it's not required for 
running gtypist itself, and I thought I asked that to be removed a long 
time ago.  If it's still there, could someone remove it from setup.hint?

Yaakov


Re: setup: wants to install emacs?

2004-09-27 Thread Christopher Faylor
On Mon, Sep 27, 2004 at 04:13:52PM -0400, Yaakov Selkowitz wrote:
Igor Pechtchanski wrote:
AFAICS from ftp://mirrors.kernel.org/sources.redhat.com/cygwin/setup.ini,
the only package that doesn't have emacs in its name and requires emacs
is gtypist.

gtypist is my package, and it includes an emacs major-mode for 
creating/editing gtypist lessons.  In any case, it's not required for 
running gtypist itself, and I thought I asked that to be removed a long 
time ago.  If it's still there, could someone remove it from setup.hint?

Done.

cgf


Re: setup: wants to install emacs?

2004-09-27 Thread Yaakov Selkowitz
Gerrit P. Haase wrote:
Hmm, it shouldn't require emacs, it runs well from the command line
where I use it sometimes to get rid of my annoying typos.
Happy Typing!
Gerrit
Well at least it's good to hear that the package is in use. :-)
Yaakov


Re: please upload: unison-2.10.2-2 and unison-2.9.20-1

2004-09-27 Thread Gerrit P. Haase
Hallo Andrew,

Am Montag, 27. September 2004 um 21:48 schriebst du:

 Changes from unison-2.10.2-1 to -2:
 - corrected build instructions in
 /usr/local/share/doc/Cygwin/unison-*.README.
 - added /usr/share/doc/unison/NEWS.Cygwin (Cygwin version file).

 In addition, if it's possible I'd like to request that unison-2.10.2-1 be
 _removed_ from the archive, and unison-2.9.20-1 be uploaded.  Then the user
 will be able to choose between versions 2.9.20-1 or 2.10.2-2.

Yes, ok, though shouldn't have the packages entirely different names?
E.g. unison-2.9  unison2-2.10...
In either case, I introduced a 'prev:' tag in setup.hint, so the 2.9.20
version is tagged as 'prev' and will always be available, regardless
which other versions are in the same directory.
$ cat setup.hint
sdesc: Synchronize collections of files on different hosts (text interface)
ldesc: Unison is a file synchronizer for Unix and Windows. It 
allows two replicas of a collection of files and directories to be 
stored on different hosts (or different disks on the same host), 
modified separately, and then brought up to date by propagating the 
changes in each replica to the other.
category: Utils
requires: cygwin
prev: 2.9.20-1


 http://home.comcast.net/~andrex/cygwin/unison/setup.hint
 http://home.comcast.net/~andrex/cygwin/unison/unison-2.10.2-2.tar.bz2
 http://home.comcast.net/~andrex/cygwin/unison/unison-2.10.2-2-src.tar.bz2
 http://home.comcast.net/~andrex/cygwin/unison/unison-2.9.20-1.tar.bz2
 http://home.comcast.net/~andrex/cygwin/unison/unison-2.9.20-1-src.tar.bz2


Uploaded.

Gerrit
-- 
=^..^=




Re:

2004-09-27 Thread Gerrit P. Haase
Hallo Andrew,

Am Montag, 27. September 2004 um 21:32 schriebst du:

 I want to package and maintain LablGTK2 for Cygwin.  LablGTK2 is an OCaml
 interface to GTK2.

 I posted this message a week ago, and got no response.  Maybe people are busy,
 which I understand.  OTOH if people groaned and pushed it out of their minds
 when they read about the screwy license terms below, I'd appreciate it if
 you'd take another look and tell me your opinions.  I don't think there's
 anything insurmountable there.

 My proposed unison-gtk2 package is waiting (I think) for lablgtk2 to be
 available, since I use lablgtk2 to build it.

I got problems rebuilding it with Igors shared O'Caml version.  Since
your package is linked satically against O'Caml libs it is no
showstopper.

I'll upload the package now, however, I would appreciate if you could
switch to using the generic-build-script, I posted the LablGTK2
package including the g-b-s earlier, just use it, please;)
http://194.95.224.180/cygwin/lablgtk/test/
there is the original source package, my pacth and the script.  Give
it a try, it is so much easier to build with the script.
Just call it several times:
./lablgtk-2.4.0-1.sh prep
./lablgtk-2.4.0-1.sh conf
./lablgtk-2.4.0-1.sh build
./lablgtk-2.4.0-1.sh install
./lablgtk-2.4.0-1.sh pkg
./lablgtk-2.4.0-1.sh spkg
and everything is finished. Oh, well, you may run also
./lablgtk-2.4.0-1.sh finish
to have absolutely finished.  There are also other tasks the script
handles: 'check', 'depend', 'list', 'mkpatch', just play around with
it to get used to it.


Gerrit
-- 
=^..^=




Re: [ITP] clamav-0.75.1-1 - A GPL virus scanner

2004-09-27 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Reini Urban wrote:
 Why do we need a windows UI?  Why isn't the *nix one sufficient?
 And then the pythonwin stuff from www.clamwin.net, which is based on
 cygwin. (they do have the cygwin src there)

If only all the great programs out there that use cygwin DIDN'T use a
local copy of the cygwin1.dll but at least they checked for an existing
cygwin installation from the installed itself... (the check is
straightforward I guess, ccecking the registry for the correct keys).
Maybe an example program that only check for CygWin installations and
lists for the installed DLLs could help convince some of them... (just
ranting - PTC: I know, I know)

OT PS: I will *soon* try and catch up with all the messages from
beginning of august till now, the-packages-I-maintain-related first, of
course...

Way OT PS: Thuderbird is finally up to par with MozMail, for my
regard... just switched to it (let's hope this messages get through
correct, complete with signature ;) )

Not so much OT: shouldn't we begin to use SHA256 as a file signature
instead of MD5, gived that collisions are starting to be found? ;-)
http://www.schneier.com/crypto-gram-0409.html#3

- --
L a p o   L u c h i n i
l a p o @ l a p o . i t
w w w . l a p o . i t /
http://www.megatokyo.it
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkFYmgIACgkQaJiCLMjyUvsGjQCcDKSsgqd988VFJwlZnJxGtF+u
4J0AmQGZVP69/qELqmkwZdLNW6rl5DZw
=k+nc
-END PGP SIGNATURE-


Re: please upload: unison-2.10.2-2 and unison-2.9.20-1

2004-09-27 Thread Andrew Schulman
 In addition, if it's possible I'd like to request that unison-2.10.2-1 be
 removed from the archive, and unison-2.9.20-1 be uploaded.  Then the
 user will be able to choose between versions 2.9.20-1 or 2.10.2-2.
 
 Yes, ok, though shouldn't have the packages entirely different names?
 E.g. unison-2.9  unison2-2.10...

Yes, I hadn't thought of it, but that might work.  But first I'll have to
look more carefully into which versions are incompatible with which other
versions.  I think it's actually more complicated than I described in my
post.

 In either case, I introduced a 'prev:' tag in setup.hint, so the 2.9.20
 version is tagged as 'prev' and will always be available, regardless
 which other versions are in the same directory.
 $ cat setup.hint
 sdesc: Synchronize collections of files on different hosts (text
 interface) ldesc: Unison is a file synchronizer for Unix and Windows. It
 allows two replicas of a collection of files and directories to be
 stored on different hosts (or different disks on the same host),
 modified separately, and then brought up to date by propagating the
 changes in each replica to the other.
 category: Utils
 requires: cygwin
 prev: 2.9.20-1
 
 Uploaded.

Thank you.
Andrew.


Re: [ITP] clamav-0.75.1-1 - A GPL virus scanner

2004-09-27 Thread Christopher Faylor
On Tue, Sep 28, 2004 at 12:53:54AM +0200, Lapo Luchini wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Reini Urban wrote:
 Why do we need a windows UI?  Why isn't the *nix one sufficient?
 And then the pythonwin stuff from www.clamwin.net, which is based on
 cygwin. (they do have the cygwin src there)

If only all the great programs out there that use cygwin DIDN'T use a
local copy of the cygwin1.dll but at least they checked for an existing
cygwin installation from the installed itself... (the check is
straightforward I guess, ccecking the registry for the correct keys).

Would you check for registry keys on UNIX?

A fairly straightforward unix-like way to check would be to look for
/bin.  A less straightforward but more foolproof way would be to check
the mount table with getmntent.  If there is no mount table then there's
no cygwin.

Neither of those is going to verify if there are 27 copies of the DLL
sitting around, though.

cgf


Re: [ITP] clamav-0.75.1-1 - A GPL virus scanner

2004-09-27 Thread Brian Dessent
Lapo Luchini wrote:

 Not so much OT: shouldn't we begin to use SHA256 as a file signature
 instead of MD5, gived that collisions are starting to be found? ;-)
 http://www.schneier.com/crypto-gram-0409.html#3

I know you were joking, but there's no need to switch away from MD5.  It
was not broken in any meaningful way for the purposes of integrity
verification, i.e. it is still secure to preimage attacks.

And it's trivial to prove that any hash has an infinite number of
collisions.

Brian


Re:

2004-09-27 Thread Andrew Schulman
 I want to package and maintain LablGTK2 for Cygwin.  LablGTK2 is an OCaml
 interface to GTK2.
 
 I posted this message a week ago, and got no response.  Maybe people are
 busy,
 which I understand.  OTOH if people groaned and pushed it out of their
 minds when they read about the screwy license terms below, I'd appreciate
 it if
 you'd take another look and tell me your opinions.  I don't think there's
 anything insurmountable there.
 
 My proposed unison-gtk2 package is waiting (I think) for lablgtk2 to be
 available, since I use lablgtk2 to build it.
 
 I got problems rebuilding it with Igors shared O'Caml version.  Since
 your package is linked satically against O'Caml libs it is no
 showstopper.

OK.  Yes, I also tried and failed to build lablgtk2 with the shared OCaml
version.  I gave up and used the current official version.
 
 I'll upload the package now, however, I would appreciate if you could
 switch to using the generic-build-script, I posted the LablGTK2
 package including the g-b-s earlier, just use it, please;)
 http://194.95.224.180/cygwin/lablgtk/test/
 there is the original source package, my pacth and the script.  Give
 it a try, it is so much easier to build with the script.
 Just call it several times:
 ./lablgtk-2.4.0-1.sh prep
 ./lablgtk-2.4.0-1.sh conf
 ./lablgtk-2.4.0-1.sh build
 ./lablgtk-2.4.0-1.sh install
 ./lablgtk-2.4.0-1.sh pkg
 ./lablgtk-2.4.0-1.sh spkg
 and everything is finished. Oh, well, you may run also
 ./lablgtk-2.4.0-1.sh finish
 to have absolutely finished.  There are also other tasks the script
 handles: 'check', 'depend', 'list', 'mkpatch', just play around with
 it to get used to it.

OK, I'm somewhat skeptical of the GBS, but will look into it.

Thanks,
Andrew.


RE: setup: current setup version crashes on XP

2004-09-27 Thread Gary R. Van Sickle

 Hallo,
 
 I'm running XP SP2, setup.exe crashes, I cannot install the 
 latest packages.
 
 So currently I cannot use my XP box to work on new packages.
 
 Sorry if this doesn't help to track down the problem.  Is a 
 debugging version of setup available for Download?
 

I've been running SP2 for quite a while now at work and home and haven't had
any trouble with setup.

-- 
Gary R. Van Sickle



Re: gv: Unable to open the display

2004-09-27 Thread Igor Pechtchanski
On Mon, 27 Sep 2004, Igor Pechtchanski wrote:

 On Mon, 27 Sep 2004, Alex Vinokur wrote:

  However
  $ gs foo.tex
  [legitimate Ghostscript error snipped]
  GNU Ghostscript 7.05: Unrecoverable error, exit code 1

 Now, why would ever you do something silly like this?

!sed -e 's/\(ever\) \(you\)/\2 \1/'

#include stdio.h
int main(int ac, char *av[]){
for(int i=0;i500;i++){
printf(I will re-read my messages before hitting SEND\n);}}

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!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw


Re: xemacs: segmentation fault after ctrl-xctrl-c

2004-09-27 Thread Sven Severus
Hi,
 
I think the reason for the xemacs exit crash 
has something to do with the 2004-08-18 
release of xemacs-sumo / xemacs-mule-sumo 
packages.
I replaced them in an all-up-to-date Cygwin 
installation with the old 2004-02-02 releases 
and the exit crash did not occur any more.
 
On the other hand I had a propery running Cygwin 
installation from end june 2004 on my notebook PC 
(XP Pro, SP2). I upgraded only the two sumo 
packages to 2004-08-18 and xemacs crashed on 
exit.
 
So, please:
Can anybody of the experts here tell me, whether 
this is a bug of the 2004-08-18 releases?
If it is not, how can I make it work properly?
Is rebase the tool that helps? If yes, how should 
I apply it in order to avoid any risk for my Cygwin 
installation?
 
Thanks a lot for any answer.
 
Best regards,
Sven
 



Re: Xwin shutdown command line option

2004-09-27 Thread Tim Hubberstey
--- Vijay Kiran Kamuju wrote:

 Hi
 
 is there a way to shutdown the Xserver from command line
 
 rather than using ps and checking for pid of XWin and using kill -9
 
 if u can provide that option from command line it would be gr8
 
 when XWin is started i have to go to the tray icon and shutit down,

You can go to www.sysinternals.com and get 'pskill' in the 'pstools'
package. This allows you to kill a process by either PID or name so
'pskill WXin' should do what you want

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


font problems with xpdf and gv

2004-09-27 Thread Daniel Senderowicz
Hi,

I just installed the latest version of cygwin on an XP system.
Except for a problem which is explained in the FAQ related to the
re-installation of the fonts, everything went quite smoothly.
However, I ran into problems when running 'gv' and 'xpdf'. 'gv'
pops a window saying unknown device x11 and comes back with the
following messages in the standard error:

Warning: Cannot convert string 
-*-Helvetica-Medium-R-Normal--*-140-*-*-p-*-ISO08859-1 to type FontStruct
Warning: Cannot convert string 
-*-Helvetica-Medium-R-Normal--*-120-*-*-p-*-ISO08859-1 to type FontStruct
Warning: Cannot convert string 
-*-Helvetica-Medium-R-Normal--*-100-*-*-p-*-ISO08859-1 to type FontStruct
Warning: Cannot convert string -*-Helvetica-Bold-R-Normal--*-120-*-*-p-*-ISO08859-1 
to type FontStruct

And nothing comes on the window, although it displays the number
of pages.

'xpdf' although works, it says:

Warning: Cannot convert string -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso08859-1 
to type FontStruct
Warning: Cannot convert string -*-times-bold-i-normal--20-*-*-*-*-*-iso08859-1 to 
type FontStruct
Warning: Cannot convert string -*-times-medium-r-normal--16-*-*-*-*-*-iso08859-1 to 
type FontStruct

and after exiting it prints 6 times:

'Warning: XtRemoveGrab asked to remove a widget not on the list'

I should also mention that I didn't have the font problem with
version 1.5.9 that I installed on another machine.

Any help will be greatly appreciated.

Dan


Re: gv: Unable to open the display

2004-09-27 Thread Igor Furlan

--- Igor Pechtchanski [EMAIL PROTECTED] wrote:

 #include stdio.h
 int main(int ac, char *av[]){
 for(int i=0;i500;i++){
 printf(I will re-read my messages before hitting
 SEND\n);}}
 
   Igor


http://sourceforge.net/people/viewprofile.php?user_id=189422




src/winsup/cygwin ChangeLog fhandler_termios.cc

2004-09-27 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-09-28 04:41:43

Modified files:
winsup/cygwin  : ChangeLog fhandler_termios.cc 

Log message:
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Disallow attempts to set
the process group to a nonexistent process group.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2573r2=1.2574
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=srcr1=1.55r2=1.56



Re: cygrunsrv fails to run services

2004-09-27 Thread Igor Pechtchanski
On Mon, 27 Sep 2004, Gerrit P. Haase wrote:

 Igor schrieb:

  On Mon, 27 Sep 2004, Gerrit P. Haase wrote:

  Igor wrote:
 
  Coming back with this now. Today I upgraded cygwin from 1.5.5 to 1.5.11
  at another box, now the same problems here, starting sshd gives me an
  error 1062 or 1067, depending on the way how I start it, via Service
  Control or via cygrunsrv from the prompt.  I have check_case:strict here
  too.  Removing check_case:strict from the environment resolves the
  problem.

  Another workaround is to fix the cases of directories in your PATH. If
  you do that, you can keep the check_case:strict setting.

 I verified that the actual directory names and the settings in PATH are
 the same, is there another place where Windows returns garbage?

Umm, if you have problems with the cygrunsrv command, it's likely that you
used the wrong directory/filename case when you installed the service.  If
so, than the above is expected behavior, and not a bug.

If you really are seeing the bug that I reported earlier (the one with
PATH conversion), it's very easy to reproduce: just start cmd.exe *from*
bash, and echo the PATH -- you'll see that the PATH is cut off at the
directory with the wrong case.

  Now I wonder what was changed in Cygwin so that it doesn't work anymore
  when check_case:strict is defined, it used to work back in the good old
  B20 days up to at least 1.5.5 and now with 1.5.10 it doesn't work
  anymore, sigh!

  That's a good question.  Try as I might, I couldn't see *any* changes in
  the path.cc code that could have caused this behavior to change.  All of
  the relevant code was written as far back as 2001...

 Actually I upgraded to 1.5.11, but I saw the problems also with 1.5.10,
 cannot say when the cut happened, IIRC I used 1.5.5 and then upgraded to
 1.5.10.

It's also possible that some file inadvertently changed case in the
installation tarballs between your old and new versions of Cygwin.  If
that is the case, then again, the above behavior is expected.

 I don't think that it is in the path code.  Must be some other reason.
 E.g. cygserver runs in background, but cygrunsrv thinks it receives an
 error and exits, also sshd is running happily in background without
 cygrunsrv sitting on it.  So it is not the problem that the application
 is not running.

Huh?  The whole point of cygrunsrv is to take a *foreground* application
and turn it into a service.  That's why you specify the -F flag to
httpd, and the -D flag to sshd when you install them as services using
cygrunsrv.

  FWIW, I'm hoping to submit a patch tonight with one possible fix for this.

The this above is the Win32-Cygwin-Win32 path conversion bug, which
apparently isn't what you're seeing.
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!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
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: cygrunsrv fails to run services

2004-09-27 Thread Gerrit P. Haase
Igor schrieb:

 On Mon, 27 Sep 2004, Gerrit P. Haase wrote:

 Igor wrote:

 Coming back with this now. Today I upgraded cygwin from 1.5.5 to 1.5.11
 at another box, now the same problems here, starting sshd gives me an
 error 1062 or 1067, depending on the way how I start it, via Service
 Control or via cygrunsrv from the prompt.  I have check_case:strict here
 too.  Removing check_case:strict from the environment resolves the
 problem.

 Another workaround is to fix the cases of directories in your PATH. If
 you do that, you can keep the check_case:strict setting.

I verified that the actual directory names and the settings in PATH are
the same, is there another place where Windows returns garbage?


 Now I wonder what was changed in Cygwin so that it doesn't work anymore
 when check_case:strict is defined, it used to work back in the good old
 B20 days up to at least 1.5.5 and now with 1.5.10 it doesn't work
 anymore, sigh!

 That's a good question.  Try as I might, I couldn't see *any* changes in
 the path.cc code that could have caused this behavior to change.  All of
 the relevant code was written as far back as 2001...

Actually I upgraded to 1.5.11, but I saw the problems also with 1.5.10,
cannot say when the cut happened, IIRC I used 1.5.5 and then upgraded to
1.5.10.

I don't think that it is in the path code.  Must be some other reason.
E.g. cygserver runs in background, but cygrunsrv thinks it receives an
error and exits, also sshd is running happily in background without
cygrunsrv sitting on it.  So it is not the problem that the application
is not running.


 FWIW, I'm hoping to submit a patch tonight with one possible fix for this.

Gerrit
-- 
=^..^=


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



RE: Program exited with code 0303000

2004-09-27 Thread Dave Korn
 -Original Message-
 From: Bobby McNulty 
 Sent: 27 September 2004 19:33
 To: Dave Korn

 David, his problem is Oracle.
 odbc.dll.
 He needs the old one.

  By he needs the old one, do you mean he needs to use the static link
library instead of the DLL he made from it using libtool and impdef?  And
can you explain why creating a dll from a static link library might go wrong
in this case, or in what other way his methodology was wrong?  Your theory
(if I've guessed correctly what it is you're actually trying to claim from
your insufficiently detailed answer) is plausible, but we haven't had enough
information from Dan to be able to diagnose it that well yet.

 Simple
 That's where his problem is
 Look at the cygcheck.txt in the original post.

  It doesn't even include the letters 'odbc' at any point.  Nor does it
point out any clashes between executables or dlls.  So I'm really curious to
know exactly _what_ in his cygcheck output was supposed to have given me
this information.

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: Convert Word/html/pdf/TeX to Postscript

2004-09-27 Thread Alex Vinokur

Christopher Faylor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 On Mon, Sep 27, 2004 at 08:15:46PM +0200, Alex Vinokur wrote:
 Christopher Faylor wrote in message news:[EMAIL PROTECTED]
 [snip]
  I suppose you could always take this discussion to cygwin-talk and take
  your chances there.
 [snip]
 
 Does cygwin-talk already exist? Where (if it exists)?

 Where would you expect?

In Gmane.


 http://sources.redhat.com/ml/cygwin/2004-09/msg01231.html



-- 
   Alex Vinokur
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn





--
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: which command does not expand ~ in path

2004-09-27 Thread Hannu E K Nevalainen
you wrote:

 script). Igor --
 
 $ u=Hannu;sed -nre s/^$u.*:(.*):.*$/\1/p /etc/passwd
 
 This works only because / is not a valid variable name. :-p

 Ehm.. ;-P  - could that be called a lucky shot?


/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems--72--

** mailing list preference; please keep replies on list **

-- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); --
--END OF MESSAGE--

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



check_case:adjust (RE: cygrunsrv fails to run services)

2004-09-27 Thread Hannu E K Nevalainen
you wrote:

 On Mon, 27 Sep 2004, Gerrit P. Haase wrote:
 
 Igor wrote:
 
 Coming back with this now. Today I upgraded cygwin from 1.5.5 to
 1.5.11 at another box, now the same problems here, starting sshd
 gives me an error 1062 or 1067, depending on the way how I start it,
 via Service Control or via cygrunsrv from the prompt.  I have
 check_case:strict here too.  Removing check_case:strict from the
 environment resolves the problem.
 
 Another workaround is to fix the cases of directories in your PATH. 
 If you do that, you can keep the check_case:strict setting.
 
 Now I wonder what was changed in Cygwin so that it doesn't work
 anymore when check_case:strict is defined, it used to work back in
 the good old B20 days up to at least 1.5.5 and now with 1.5.10 it
 doesn't work anymore, sigh! 
 
 Gerrit
 
 That's a good question.  Try as I might, I couldn't see *any* changes
 in the path.cc code that could have caused this behavior to change. 
 All of the relevant code was written as far back as 2001...
 
 FWIW, I'm hoping to submit a patch tonight with one possible fix for
 this. Igor --

The functionality for adjust here;
 http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

doesn't reflect the following;

$ echo $CYGWIN
notitle glob check_case:adjust server=1
set in cygwin.bat
$ uname -srv
CYGWIN_NT-5.0 1.5.12s(0.116/4/2) 20040924 15:42:01 
$ pwd
/home/Hannu
$ ls
Mail/
SNIP
$ cd mail
$ pwd
/home/Hannu/mail
$ /bin/pwd
/home/Hannu/mail
$ type -a pwd
pwd is a shell builtin
pwd is /usr/bin/pwd
pwd is /bin/pwd

Seems to me that check_case:adjust is a NOP.
Hmm... to be investigated; does bash itself have an adjust mode?

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems--72--

** mailing list preference; please keep replies on list **

-- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); --
--END OF MESSAGE--

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



Re: Convert Word/html/pdf/TeX to Postscript

2004-09-27 Thread Alex Vinokur

Christopher Faylor wrote in message news:[EMAIL PROTECTED]
[snip]
 I suppose you could always take this discussion to cygwin-talk and take
 your chances there.
[snip]

Does cygwin-talk already exist? Where (if it exists)?


-- 
   Alex Vinokur
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn








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



setup.exe q's

2004-09-27 Thread Michael Makuch
i) I read a page on cygwin.com that says $ setup.exe --help will
display
optional command line args, yet it doesn't appear to do so?

ii) Is there any way to skip the md5 checking of packages when setup
starts up? Yes,
I understand the risk of skipping that step but it'd be nice to be able
to get into
setup quickly.

iii) Thankyou for making the chooser resizeable!

Mike



--
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: Convert Word/html/pdf/TeX to Postscript

2004-09-27 Thread Igor Pechtchanski
On Mon, 27 Sep 2004, Alex Vinokur wrote:

 Christopher Faylor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
^^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR, now with more reasons.

  On Mon, Sep 27, 2004 at 08:15:46PM +0200, Alex Vinokur wrote:
  Christopher Faylor wrote in message news:[EMAIL PROTECTED]
  [snip]
   I suppose you could always take this discussion to cygwin-talk and take
   your chances there.
  [snip]
  
  Does cygwin-talk already exist? Where (if it exists)?
 
  Where would you expect?

 In Gmane.

  http://sources.redhat.com/ml/cygwin/2004-09/msg01231.html

Did you see http://cygwin.com/ml/cygwin/2004-09/msg01259.html (in the
above thread)?
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!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
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: font problems with xpdf and gv

2004-09-27 Thread Yaakov Selkowitz
Dr. Volker Zell wrote:
Make sure you have the x11 version of ghostscript installed.
It's about time this is added to the FAQ, don't you think?
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: cygrunsrv fails to run services

2004-09-27 Thread Gerrit P. Haase
Hello Igor,

 I don't think that it is in the path code.  Must be some other reason.
 E.g. cygserver runs in background, but cygrunsrv thinks it receives an
 error and exits, also sshd is running happily in background without
 cygrunsrv sitting on it.  So it is not the problem that the application
 is not running.

 Huh?  The whole point of cygrunsrv is to take a *foreground* application
 and turn it into a service.  That's why you specify the -F flag to
 httpd, and the -D flag to sshd when you install them as services using
 cygrunsrv.

Should be possible to debug it, I could build a debug version of
cygrunsrv, and trace it?


Gerrit
-- 
=^..^=



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



Re: setup.exe q's

2004-09-27 Thread Gerrit P. Haase
Hallo Michael,

Am Montag, 27. September 2004 um 21:33 schriebst du:

 i) I read a page on cygwin.com that says $ setup.exe --help will
 display optional command line args, yet it doesn't appear to do so?

Please submit a patch;)


 ii) Is there any way to skip the md5 checking of packages when setup
 starts up? Yes, I understand the risk of skipping that step but it'd
 be nice to be able to get into setup quickly.

there is an option '-5' which forces setup to start without doing md5
checking.


Gerrit
-- 
=^..^=



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



RE: setup.exe q's

2004-09-27 Thread Buchbinder, Barry (NIH/NIAID)
At Monday, September 27, 2004 5:44 PM, Gerrit P. Haase wrote:
 Hallo Michael,
 
 Am Montag, 27. September 2004 um 21:33 schriebst du:
 
 i) I read a page on cygwin.com that says $ setup.exe --help will
 display optional command line args, yet it doesn't appear to do so?
 
 Please submit a patch;)

Is this already implemented?
http://www.cygwin.com/ml/cygwin-apps/2003-10/msg00348.html

 ii) Is there any way to skip the md5 checking of packages when setup
 starts up? Yes, I understand the risk of skipping that step but it'd
 be nice to be able to get into setup quickly.
 
 there is an option '-5' which forces setup to start without doing md5
 checking.
 
 Gerrit

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



dvips: Couldn't find header file texc.pro

2004-09-27 Thread Alex Vinokur
I tried to invoke dvips.

Here is what I have got.

$ dvips foo.dvi
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
dvips: ! Couldn't find header file texc.pro


Any suggestions?
Thanks,

   Alex Vinokur
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn





--
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: dvips: Couldn't find header file texc.pro

2004-09-27 Thread Larry Hall
At 07:10 PM 9/27/2004, you wrote:
I tried to invoke dvips.

Here is what I have got.

$ dvips foo.dvi
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
dvips: ! Couldn't find header file texc.pro


Any suggestions?



Yes.  Avail yourself of the tools at your disposal (or at least let us know 
why you think this is an issue that you can't find the solution to).

http://cygwin.com/cgi-bin2/package-cat.cgi?file=tetex-bin%2Ftetex-bin-2.0.2-14grep=texc.pro

Seems to me that you either have an installation problem or a configuration
problem, since the file you want is included in the package found with the 
above.  See if you can work out the solution now and if not, please report 
back some details of how you tried to solve the problem so we don't all 
retrace your same steps.



--
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: Program exited with code 0303000

2004-09-27 Thread Cliff Hones
Dave Korn wrote:

   Bobby, your advice is going from bad to worse.  Nothing you have said is
 right, and you keep on repeating things that you have already been told
 don't work.  You don't accurately read the things that are in front of your
 face before you reply.  THAT'S WHY I'M GOING TO BE SHOUTING AT YOU QUITE A
 LOT IN THIS LETTER, BECAUSE YOU DON'T ACTUALLY LISTEN TO ANYTHING ANYONE
 SAYS TO YOU, YOU JUST ASSUME THEY'RE WRONG AND YOU'RE RIGHT AND I HOPE IF I
 SHOUT LOTS YOU'LL ACTUALLY BE ABLE TO HEAR ME.
 ...

Dave, Bobby is not worth getting worked up about.  He has been on the Cygwin
list longer than you, and I expect most people have just learnt to completely
ignore him.  I find him quite fun, actually - I have this slight suspicion
that he may be a very clever troll, but on the whole I'd guess he's just
a half^H^H^H^Hquarter-wit.  It's just that he does seem to have the uncanny
knack of saying exactly the wrong thing every time.

Bobby - I'm not trying to be rude, unpleasant or mean - you really do need
to get a lot more clued up if you ever expect to be taken seriously.

-- Cliff


--
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: dvips: Couldn't find header file texc.pro

2004-09-27 Thread Igor Pechtchanski
On Tue, 28 Sep 2004, Alex Vinokur wrote:

 I tried to invoke dvips.

 Here is what I have got.

 $ dvips foo.dvi
 This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
 dvips: ! Couldn't find header file texc.pro

 Any suggestions?

$ kpsewhich texc.pro
/usr/share/texmf/dvips/base/texc.pro
$ cygcheck -f /usr/share/texmf/dvips/base/texc.pro
tetex-bin-2.0.2-13

What does cygcheck -cv tetex-bin show?
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!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

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



RE: Program exited with code 0303000

2004-09-27 Thread Igor Pechtchanski
On Tue, 28 Sep 2004, Cliff Hones wrote:

 Dave Korn wrote:

Bobby, your advice is going from bad to worse.  Nothing you have said is
  right, and you keep on repeating things that you have already been told
  don't work.  You don't accurately read the things that are in front of your
  face before you reply.  THAT'S WHY I'M GOING TO BE SHOUTING AT YOU QUITE A
  LOT IN THIS LETTER, BECAUSE YOU DON'T ACTUALLY LISTEN TO ANYTHING ANYONE
  SAYS TO YOU, YOU JUST ASSUME THEY'RE WRONG AND YOU'RE RIGHT AND I HOPE IF I
  SHOUT LOTS YOU'LL ACTUALLY BE ABLE TO HEAR ME.
  ...

 Dave, Bobby is not worth getting worked up about.  He has been on the Cygwin
 list longer than you, and I expect most people have just learnt to completely
 ignore him.  I find him quite fun, actually - I have this slight suspicion
 that he may be a very clever troll, but on the whole I'd guess he's just
 a half^H^H^H^Hquarter-wit.  It's just that he does seem to have the uncanny
 knack of saying exactly the wrong thing every time.

 Bobby - I'm not trying to be rude, unpleasant or mean - you really do need
 to get a lot more clued up if you ever expect to be taken seriously.

 -- Cliff

Tittle (a.k.a. TITTTL)?
Igor
P.S. Cliff, your backspaces messed up my screen :-p ];-
-- 
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!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
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: Is setup.exe _supposed_ to delete the cygwin dll before attempting to run shell scripts?

2004-09-27 Thread Brian Dessent
Dave Korn wrote:

  Oh, did I forget to say the graph must be a DAG before starting?  :)
  Anyway, there are heuristics that could be used to find the best
  feedback set of edges for which removal would result in an acyclic
  graph.  e.g. the one described at
  http://www2.toki.or.id/book/AlgDesignManual/BOOK/BOOK4/NODE182.HTM
 
   Deleting edges from a graph won't actually make a package that depends on
 another operate successfully without that other package present!  OTOH what
 I think might work would be to identify loops in the full dependency graph
 and treat them as single packages that must be installed or uninstalled
 together - effectively encapsulating the loop inside a single node and
 thereby reducing the graph to a DAG.

I was really only suggesting it as a way to order installation and
uninstallation, not as a general dependency mechanism.  If you have a
circular dependency there's no way to resolve which preremove /
postinstall should be run first (unless you launch them both in the
background :) so the act of finding the minimal number of edges
necessary to remove the cycles shouldn't cause too much issue.

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/



Wget incorrectly mirroring some web site directories and files.

2004-09-27 Thread L Anderson
When I use 'wget' to mirror some web sites, I notice a peculiar behavior 
I'm unable to find described in the mail archives or with google.  To 
wit(using MSWindows directory notation):

If a web site has something like the following stored on 'host':
...
root\a\u.html
root\a\images\v.jpg
root\a\images\w.gif
...
where the web page 'u.html' contains the references:
'...src=images\v.jpg...'
'...src=images\w.gif...'.
the images 'v.jpg' and 'w.gif' show nicely when browsing the page 
'u.html' at 'host'.  However, mirroring 'host\root' web pages using:

'wget -m -p -np http://host/root/'
results in 'wget' creating on my machine:
	...
	...\host\root\a\u.html
	...\host\root\a\images%5Cv.jpg
	...\host\root\a\images%5Cw.gif
	...\host\root\a\images\...
	...
rather than
	...
	...\host\root\a\u.html
	...\host\root\a\images\v.jpg
	...\host\root\a\images\w.gif
	...
as expected.  Needless to say, this results in the images 'v.jpg' and 
'w.gif' not displaying when browsing 'u.html' locally because they are 
renamed and then stored in their parent directory.

Has anyone else noticed this behavior?
Has it been previously described and I just missed it?
Is it a bug/feature in 'wget'; i.e., 'wget' handles the '\' not as a 
directory thingy but as part of the file name thus converting things 
like 'x\y' to 'x%5Cy' or is it caused by some other part of cygwin?

Also, I seem to remember reading 'wget' as being an orphan--no 
maintainer.  Is this still true and if so, is it because there are 
other/preferred replacements to 'wget'?

Before digging deeper into this problem, I would greatly appreciate any 
insight and information anyone can provide me.

I'm running:Win98SE
Wget 1.9.1-1
Cygwin 1.5.10-cr-0x5e6
Setup: unix, all users
Thanks,
Lowell Anderson

--
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: Wget incorrectly mirroring some web site directories and files.

2004-09-27 Thread Brian Dessent
L Anderson wrote:

 Is it a bug/feature in 'wget'; i.e., 'wget' handles the '\' not as a
 directory thingy but as part of the file name thus converting things
 like 'x\y' to 'x%5Cy' or is it caused by some other part of cygwin?

This is the fault of the web site author.  If he uses img
src=x\y.jpg in his html then the correct behavior of the browser is
to attempt to download x%5Cy.jpg.  That is, backslashes are not valid
path seperators in URLs, and it's only because your browser is allowing
you some leeway and not following the standards that the site works
correctly.  Email the person that created the page and tell them not to
use backslashes in URLs as path seperators.

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/



bash misbehavior

2004-09-27 Thread Pierre A. Humblet
The following command produces an unexpected
result with standard Cygwin and bash  

~: echo 1 | `echo cat` 
[1] 180019
~: 1
Use logout to leave the shell.
[1]+  Doneecho 1 | `echo cat`

If ignoreeof is off, bash goes away.

It looks like fhandler_termios::bg_check returns an error, 
not sure what's going on. I have a trace available.

Pierre

--
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: Wget incorrectly mirroring some web site directories and files.

2004-09-27 Thread L Anderson
Brian Dessent wrote:
L Anderson wrote:

Is it a bug/feature in 'wget'; i.e., 'wget' handles the '\' not as a
directory thingy but as part of the file name thus converting things
like 'x\y' to 'x%5Cy' or is it caused by some other part of cygwin?

This is the fault of the web site author.  If he uses img
src=x\y.jpg in his html then the correct behavior of the browser is
to attempt to download x%5Cy.jpg.  That is, backslashes are not valid
path seperators in URLs, and it's only because your browser is allowing
you some leeway and not following the standards that the site works
correctly.  Email the person that created the page and tell them not to
use backslashes in URLs as path seperators.
Aaaggg!! I was afraid of something like this.  It's amazing how 
many web authors do it.  Your rapid reply certainly saved me from 
chasing a fruitless rabbit down the wrong hole, so to speak.

Thanks much!!!
Lowell Anderson
--
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: [INFO] Adding cygwin here to Windows Explorer

2004-09-27 Thread Jean-Sebastien Trottier
Hi guys,

Just to add my 2 dimes, here's what I use:

Registry:
[HKEY_CLASSES_ROOT\Folder\shell\cygshell]
@=Cygwin Shell Here
[HKEY_CLASSES_ROOT\Folder\shell\cygshell\command]
@=c:\\cygwin\\usr\\x11r6\\bin\\run.exe /usr/bin/sh.exe 
/usr/local/bin/cygwin-shell-here \%l\

Add content of /usr/local/bin/cygwin-shell-here:
#!/bin/sh
cd $(/usr/bin/cygpath --unix $1)
shift
if [ -z $DISPLAY ]; then
exec /usr/bin/rxvt $*
else
exec /usr/bin/uxterm $*
fi

I always have DISPLAY set to :0.0 by default in the windows registry
since I start the X server on boot.
Also, I never use rxvt, always xterm/uxterm so I added the logic above
as an example.
Of course, the $* argument passing is totally wrong since rxvt and
uxterm do not take the same arguments... but again, that's just an
example.

Since it will always start uxterm for me, that means that my preferred
shell (/bin/tcsh) is used instead of bash.

Cheers,
Sebastien

Christopher Faylor wrote:
 Hughes, Bill wrote:
 Reini Urban wrote:
  Henry S. Thompson schrieb:
   1) In the registry entry:
  
 C:\cygwin\bin\rxvt.exe -fn 'Lucida Console-11' -geometry
  80x48 -sl 300 -cr '#8b4513' -bg '#f0' -e /usr/bin/bash -c
  XXX=\%1\ bash --login -i
  
   2) In my .bash_profile
  
if [[ x$XXX != x ]]
then
  cd $XXX
  unset XXX
fi
  
  This is a moderately embarassing/messy hack -- can anyone do better?
  
  I use a similar scheme since the good old b20 days.
  Just not with the XXX name and not with a subshell.
  (I put the $PWD arg into a temp file in the cygwin.bat
  starter, which I
  pickup at .profile)
  And not for the Explorer (which I don't use), but for a
  TotalCmd button.
  To open some shell like bash, rxvt, ksh, 4nt in the current dir
  (optinally specified by some dir arg).
  A keyboard shortcut is also useful.
 
 I don't want to risk cgfs ire but, what's wrong with
 
 [HKEY_CLASSES_ROOT\Directory\shell\rxvt]
 @=rxvt
 [HKEY_CLASSES_ROOT\Directory\shell\rxvt\command]
 @=D:\\cygwin\\bin\\run.exe rxvt -name rxvt0 -e /usr/bin/bash --login -c
 \cd
 '%1' ; exec /bin/bash -rcfile ~/.bashrc\
 
 (obviously with a rxvt0 section in .Xdefaults)
 
 Which doesn't require any changes to scripts?
 
 For what it's worth (not much, I know) I think this is probably better in a
 FAQ once a canonical answer has been agreed.
 
 You're saying that it is better for a user to have to read:
 
   [HKEY_CLASSES_ROOT\Directory\shell\rxvt]
   @=rxvt
   [HKEY_CLASSES_ROOT\Directory\shell\rxvt\command]
   @=D:\\cygwin\\bin\\run.exe rxvt -name rxvt0 -e /usr/bin/bash --login -c
   \cd
   '%1' ; exec /bin/bash -rcfile ~/.bashrc\
 
 and follow detailed instructions rather than just install a package.
 
 It's hard to see why.
 
 But, regardless, I don't see any reason to debate this.  I would like a
 package and would appreciate it if someone would provide one.
 
 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/



Make Utility and DuplicateHandle(In) failed (e=6)

2004-09-27 Thread Jussi Jumppanen
Some time ago luca landi llandi at hotmail dot com wrote:

 problem running make 3.77.94 inside bash

 It appears that new cygwin.dll or bash.exe is causing some 
 problem with console handling. In the case above, bash is 
 run inside a command shell window and then make is launched 
 as a child process of the shell. The error above appears
 to be related to handling of stdin. What should happen is
 that make is trying to duplicate a copy of stdin to pass to
 child process as default stdin for the child. However, the
 call to DuplicateHandle() (a WIN32 API) is failing because
 of an e=6. 

Quite some time later it does appear that the problem or a 
problem similar to this still exists, at least with the make
utility :( 

I had a user report the exact same error message when using 
the Zeus for Windows IDE to run the Gnu make utility. A quick 
search of google shows that other programs have come across 
the same error condition.

After some investigation, it looks like the bug also relates 
to the cmd.exe interpreter. In fact if the command.com is used 
then the problem goes away.

For any one that might be interested, more details on the bug 
and the resulting workaround can be found at the following 
forum topic:

   http://www.zeusedit.com/forum/viewtopic.php?t=38

Jussi Jumppanen

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



LET MAKE THIS TRANSACTION TOGETHER

2004-09-27 Thread BELLO MUSA



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



Re: Program exited with code 0303000

2004-09-27 Thread Bobby McNulty
Cliff Hones wrote:
Dave Korn wrote:

 Bobby, your advice is going from bad to worse.  Nothing you have said is
right, and you keep on repeating things that you have already been told
don't work.  You don't accurately read the things that are in front of your
face before you reply.  THAT'S WHY I'M GOING TO BE SHOUTING AT YOU QUITE A
LOT IN THIS LETTER, BECAUSE YOU DON'T ACTUALLY LISTEN TO ANYTHING ANYONE
SAYS TO YOU, YOU JUST ASSUME THEY'RE WRONG AND YOU'RE RIGHT AND I HOPE IF I
SHOUT LOTS YOU'LL ACTUALLY BE ABLE TO HEAR ME.
...

Dave, Bobby is not worth getting worked up about.  He has been on the Cygwin
list longer than you, and I expect most people have just learnt to completely
ignore him.  I find him quite fun, actually - I have this slight suspicion
that he may be a very clever troll, but on the whole I'd guess he's just
a half^H^H^H^Hquarter-wit.  It's just that he does seem to have the uncanny
knack of saying exactly the wrong thing every time.
Bobby - I'm not trying to be rude, unpleasant or mean - you really do need
to get a lot more clued up if you ever expect to be taken seriously.
I like to have fun. But I can be serious too.

--
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: crontab/mount problem

2004-09-27 Thread Larry Hall
At 08:45 PM 9/27/2004, you wrote:
I have installed the cron. It works fine for all cases
except while trying to do anything across the mounted
filesystem. I realize it might be some permission
problem, not sure what it is. Is the problem because
the k drive is mounted type user. How can I change
it to be a system wide mount or do I need to ?


No, you don't.


Here's the exact problem
$ crontab -l (my crontab)
# DO NOT EDIT THIS FILE - edit the master and
reinstall.
# (/tmp/crontab.1572 installed on Mon Sep 27 17:10:53
2004)
# (Cron version -- $Id: crontab.c,v 1.7 2003/04/15
15:13:41 corinna Exp $)
HOME = /cygdrive/c/Program Files/Sonic
BASE=/cygdrive/k/rekha/runSonic
* * * * * /usr/bin/touch $BASE/foo.txt
1${HOME}/sonicOutput/cron.out 2${HOME
}/sonicOutput/cron.err

Here's the output of cron.err
$ cat cron.err
/usr/bin/touch: creating
`/cygdrive/k/rekha/runSonic/foo.txt': No such file or
directory

NOTE: I can see the contents of cygdrive/k from the
shell. I only have problems while using the cron. So
if I excute this command like follows it works
[EMAIL PROTECTED] /tmp
$ touch /cygdrive/k/rekha/foo.txt

$ ls -ltr /cygdrive/k/rekha
total 92
-rwxr-xr-x1 rbelur   mkgroup-12302 Sep 27
17:07 cron_diagnose.sh
-rw-r--r--1 rbelur   mkgroup-0 Sep 27
17:34 foo.txt


Read this:

http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SWITCH

If you've installed cron as directed, you won't have access to non-publicly
accessible shares.  Your options are to make the shares accessible to all
without authentication or run 'cron' as a service under the same user as 
owns the crontab.  The former opens up your share's permissions 
significantly.  The latter makes 'cron' usable by only you.

There's plenty in the email archives about all this too if you're looking 
for more reading.


--
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: [INFO] Adding cygwin here to Windows Explorer

2004-09-27 Thread Christopher Faylor
On Mon, Sep 27, 2004 at 10:02:28PM -0400, Jean-Sebastien Trottier wrote:
Hi guys,

Just to add my 2 dimes, here's what I use:

You're quoting my email.  Are you volunteering to provide a package?  If
so, the list to send your package information to is cygwin-apps.  People
there can help you pull together what you need.

If not, then one of the main reasons for my sending my original email was
to shut down this interminable and repeated discussion and come up with a
solution for everyone that could be installed via setup.exe.

I don't need *more* discussion about the super special ways that people
do this.  I'd like to see someone stepping up to offer a package.

Christopher Faylor wrote:
But, regardless, I don't see any reason to debate this.  I would like a
package and would appreciate it if someone would provide one.

--
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: Make Utility and DuplicateHandle(In) failed (e=6)

2004-09-27 Thread Christopher Faylor
On Tue, Sep 28, 2004 at 12:13:16PM +1000, Jussi Jumppanen wrote:
Some time ago luca landi llandi at hotmail dot com wrote:
problem running make 3.77.94 inside bash

It appears that new cygwin.dll or bash.exe is causing some problem with
console handling.  In the case above, bash is run inside a command
shell window and then make is launched as a child process of the shell.
The error above appears to be related to handling of stdin.  What
should happen is that make is trying to duplicate a copy of stdin to
pass to child process as default stdin for the child.  However, the
call to DuplicateHandle() (a WIN32 API) is failing because of an e=6.

You're apparently quoting an old message with no attribution and
providing no way of knowing whether this relates to an already fixed bug
or not.

Quite some time later it does appear that the problem or a problem
similar to this still exists, at least with the make utility :(

I had a user report the exact same error message when using the Zeus
for Windows IDE to run the Gnu make utility.  A quick search of google
shows that other programs have come across the same error condition.

After some investigation, it looks like the bug also relates to the
cmd.exe interpreter.  In fact if the command.com is used then the
problem goes away.

For any one that might be interested, more details on the bug and the
resulting workaround can be found at the following forum topic:

http://www.zeusedit.com/forum/viewtopic.php?t=38

I think you're a tad confused.  This is cygwin, not zeusedit.  Cygwin's
make doesn't even contain the string DuplicateHandle(ln).

And, for once, it looks like zeusedit doesn't actually use cygwin at
all.  I'm probably wrong and they are the standard people abusing the
cygwin license in the standard way, but AFAICT, they seem to be
using a windows version of make.

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: bash misbehavior

2004-09-27 Thread Christopher Faylor
On Mon, Sep 27, 2004 at 09:33:08PM -0400, Pierre A. Humblet wrote:
The following command produces an unexpected
result with standard Cygwin and bash  

~: echo 1 | `echo cat` 
[1] 180019
~: 1
Use logout to leave the shell.
[1]+  Doneecho 1 | `echo cat`

If ignoreeof is off, bash goes away.

It looks like fhandler_termios::bg_check returns an error, 
not sure what's going on. I have a trace available.

Are you sure that bash is doing the right thing?  Strace implies that it
is setting the process group of the terminal to a nonexistent pid.  It
is a bug in cygwin that this is allowed but it seems like a bug in bash
that it is doing this at all.

Fixing the bug in cygwin seems to cause bash to behave better but it
still seems strange.  This seems like YA instance of bash assuming that
it can rely on the fact that a recently exited pid will be invalid.

Anyway, thanks for the bug report with simple test case.  The fix is
in CVS.

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: font problems with xpdf and gv

2004-09-27 Thread Dr. Volker Zell
 Yaakov Selkowitz writes:

 Dr. Volker Zell wrote:
 Make sure you have the x11 version of ghostscript installed.

 It's about time this is added to the FAQ, don't you think?

I'm also thinking about releasing a new version of gv with a new
README, if it helps.

 Yaakov

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/