Re: Question about ash and getopts

2004-01-29 Thread Peter Seebach
In message <[EMAIL PROTECTED]>, Larry Hall writes:
>I provided my suggestion, which Peter followed.  It's the ash maintainer 
>that has the final word on what, if anything, happens next and/or what
>the criteria should be.

Just a follow-up on this:  I'm doing an article on "portable scripting",
so if anything is happening, I'd like to know about it so I can tell people
whether or not this affects them.  Since getopts is portable to everything
else anyone's been able to name that shipped since 1990 or earlier, this
is gonna stick out like a sore thumb.

-s

--
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: perlcc does not work on my cygwin-please help

2004-01-29 Thread Franz Wolfhagen




zzapper wrote :

>perlcc works fine for me on XP but what's the point of it if it
>requires cygwin1.dll to run an executable???

Well - I think this is a more generic question : whenever you compile a
program the relies on cygwin1.dll (or other cygwin dlls) and wants to
distribute them.

I believe that whenever you do this to an uncontrolled audience the only
decent way is to create a cygwin package and have the users install it via
setup.exe - else your setup is bound to create problems for some in the
audience.

For the specific case I believe it only makes sense to use in cygwin
environments where you do not want to have the users rely on the
installation of the cygwin perl package

Med venlig hilsen / Regards
Franz Wolfhagen



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



what the steps for be a mirror

2004-01-29 Thread Yalcin Cekic

Hi,

I want to be a mirror for cygwin,
I could not find any contact information on
http://cygwin.com/mirrors.html page.

Is there any contac address or documentation for it.
Thx for your helps,

Yalcin


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



[ANNOUNCEMENT] New package suite: openldap-2.1.25-1 - Lightweight Directory Access Protocol clients and libraries

2004-01-29 Thread Dr. Volker Zell
Hi

The LDAP libraries, clients and runtime from the openldap package are now 
available with the Cygwin distribution:

 * http://www.openldap.org/(Homepage)
 * http://www.openldap.org/software/download/  (Download location) 
 
Although the LDAP server seems to run fine and passes all tests it's not 
bundeled with this packages suite. If somebody wants to take over this 
part please stand up...
 
DESCRIPTION:


Lightweight Directory Access Protocol clients and libraries. The libs can 
for example be used to LDAP enable the upcoming XEmacs package or the already 
distributed pine package.

The LDAP clients (ldapadd/-delete/-modify/-search/-compare/-modrdn) are 
useful to talk to standard LDAP servers not only the OpenLDAP one.


Enjoy
Volker

--

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Libs"
and then click on the appropriate fields until the above announced
version numbers appear if they are not displayed already.

If your mirror doesn't yet have the latest version of this package after
24 hours, you can either continue to wait for that site to be updated or
you can try to find another mirror.

Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED]

If you want to subscribe go to:
http://cygwin.com/ml/cygwin/

I would appreciate if you would use this mailing list rather than
emailing me directly.  This includes ideas and comments about the setup
utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


--
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: SCP doesn't complete transfers of large files

2004-01-29 Thread Dirk Sondermann
Igor Pechtchanski wrote:
> Can anyone in this thread who can actually reproduce this problem attach
> to the hung scp process with gdb/strace and see where it hangs (and what
> it's doing)?
The attachment is the output of strace which was produced after
the state of the scp process had changed to 'stalled'.
At that time, 280,743,936 of a total of 280,751,683 bytes had been
transferred from a remote host to the local host.
Dirk

4   4 [win] scp 156 wndproc 275 WM_TIMER 1 0
  200 204 [win] scp 156 kill: kill (156, 14)
   53 257 [win] scp 156 sig_send: pid 156, signal 14, its_me 1
   52 309 [win] scp 156 sig_send: Waiting for pack.wakeup 0x75C
   62 371 [sig] scp 156 sig_handle: signal 14 processing
   41 412 [sig] scp 156 sig_handle: signal 14, about to call 0x404F10
   41 453 [sig] scp 156 proc_subproc: args: 3, 1
   49 502 [sig] scp 156 proc_subproc: clear waiting threads
   36 538 [sig] scp 156 proc_subproc: finished clearing
   35 573 [sig] scp 156 proc_subproc: returning 1
   53 626 [sig] scp 156 _threadinfo::interrupt_setup: armed signal_arrived 0x768, 
sig 14, res 1
   36 662 [sig] scp 156 setup_handler: interrupted known cygwin routine
  114 776 [sig] scp 156 setup_handler: signal 14 delivered
   29 805 [sig] scp 156 sig_handle: returning 1
   39 844 [win] scp 156 sig_send: returning 0x0 from sending signal 14
   29 873 [win] scp 156 kill_worker: 0 = kill_worker (156, 14), process_state 0x4C9
  1811054 [main] scp 156 reset_signal_arrived: reset signal_arrived
   321086 [main] scp 156 set_signal_mask: oldmask 0x0, newmask 0x2000, mask_bits 
0x0
   281114 [main] scp 156 set_signal_mask: not calling sig_dispatch_pending
   341148 [main] scp 156 tcgetpgrp: 156 = tcgetpgrp (1)
   351183 [main] scp 156 time: 1075369195 = time (0)
   551238 [main] scp 156 writev: writev (1, 0x22E200, 1)
   291267 [main] scp 156 fhandler_console::write: 22E280, 161
   291296 [main] scp 156 fhandler_console::write: at 13(0x20) state is 0
   771373 [main] scp 156 fhandler_console::write: at 109(m) state is 0
  1711544 [main] scp 156 fhandler_console::write: 161 = write_console (,..161)
   361580 [main] scp 156 writev: 161 = write (1, 0x22E200, 1), errno 4
   311611 [main] scp 156 sigaction: signal 14, newact 0x0, oldact 0x22E470
   521663 [main] scp 156 set_signal_mask: oldmask 0x2000, newmask 0x0, mask_bits 
0x2000
   291692 [main] scp 156 readv: -1 = readv (7, 0x22E570, 1), errno 4
   331725 [main] scp 156 readv: readv (7, 0x22E570, 1) blocking, sigcatchers 5
1003460 1005185 [win] scp 156 wndproc 275 WM_TIMER 1 0
   89 1005274 [win] scp 156 kill: kill (156, 14)
   33 1005307 [win] scp 156 sig_send: pid 156, signal 14, its_me 1
   39 1005346 [win] scp 156 sig_send: Waiting for pack.wakeup 0x75C
   35 1005381 [sig] scp 156 sig_handle: signal 14 processing
   27 1005408 [sig] scp 156 sig_handle: signal 14, about to call 0x404F10
   29 1005437 [sig] scp 156 proc_subproc: args: 3, 1
   27 1005464 [sig] scp 156 proc_subproc: clear waiting threads
   24 1005488 [sig] scp 156 proc_subproc: finished clearing
   25 1005513 [sig] scp 156 proc_subproc: returning 1
   25 1005538 [sig] scp 156 _threadinfo::interrupt_setup: armed signal_arrived 0x768, 
sig 14, res 1
   25 1005563 [sig] scp 156 setup_handler: interrupted known cygwin routine
   25 1005588 [sig] scp 156 setup_handler: signal 14 delivered
   24 1005612 [sig] scp 156 sig_handle: returning 1
   37 1005649 [win] scp 156 sig_send: returning 0x0 from sending signal 14
   28 1005677 [win] scp 156 kill_worker: 0 = kill_worker (156, 14), process_state 0x4C9
  185 1005862 [main] scp 156 reset_signal_arrived: reset signal_arrived
   33 1005895 [main] scp 156 set_signal_mask: oldmask 0x0, newmask 0x2000, mask_bits 
0x0
   28 1005923 [main] scp 156 set_signal_mask: not calling sig_dispatch_pending
   33 1005956 [main] scp 156 tcgetpgrp: 156 = tcgetpgrp (1)
   34 1005990 [main] scp 156 time: 1075369196 = time (0)
   54 1006044 [main] scp 156 writev: writev (1, 0x22E200, 1)
   30 1006074 [main] scp 156 fhandler_console::write: 22E280, 161
   29 1006103 [main] scp 156 fhandler_console::write: at 13(0x20) state is 0
   82 1006185 [main] scp 156 fhandler_console::write: at 109(m) state is 0
  166 1006351 [main] scp 156 fhandler_console::write: 161 = write_console (,..161)
   35 1006386 [main] scp 156 writev: 161 = write (1, 0x22E200, 1), errno 4
   30 1006416 [main] scp 156 sigaction: signal 14, newact 0x0, oldact 0x22E470
  158 1006574 [main] scp 156 set_signal_mask: oldmask 0x2000, newmask 0x0, mask_bits 
0x2000
   35 1006609 [main] scp 156 readv: -1 = readv (7, 0x22E570, 1), errno 4
   33 1006642 [main] scp 156 readv: readv (7, 0x22E570, 1) blocking, sigcatchers 5
997727 2004369 [win] scp 156 wndproc 275 WM_TIMER 1 0
   98 2004467 [win] scp 156 kill: kill (156, 14)
   29 2004496 [win] scp 156 sig_send: pid 156, signal 14, its_me 1
   39 2004535 [win] scp 156 sig_s

Ofkfer of 21 CENTUKRY buttresses

2004-01-29 Thread Cygron
Be gaware that now the peak of your segxual activigty is realgy accessibleg!

Thanks to the proprietary blend of unigque hergbs the four wondergful efgfects are 
achievedg:

bglood stream to the pengis is resgtored
stored tesgtosterone is ungleashed
acgtivation of the bogdy's nagtural hogrmone producgtion heightgens your sensatiogn 
the pegnis does englarge, the changegs are being permanengt!

At lgast you can engjoy  your segxual ligfe in full measugre without any risgk for 
your healgth!

http://rxeasymeds.com/mx/index.php?pid=genviag

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: Question about ash and getopts

2004-01-29 Thread Corinna Vinschen
On Jan 29 01:32, Peter Seebach wrote:
> In message <[EMAIL PROTECTED]>, Larry Hall writes:
> >I provided my suggestion, which Peter followed.  It's the ash maintainer 
> >that has the final word on what, if anything, happens next and/or what
> >the criteria should be.
> 
> Just a follow-up on this:  I'm doing an article on "portable scripting",
> so if anything is happening, I'd like to know about it so I can tell people

http://cygwin.com/ml/cygwin/2004-01/msg01160.html

Corinna

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

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



[ANNOUNCEMENT] New package: xemacs-21.4.14-1 - A powerful, highly customizable open source text editor and application development system

2004-01-29 Thread Dr. Volker Zell
Hi

The package XEmacs is now available with the Cygwin distribution:

 * http://xemacs.org/ (Homepage)
 * http://ftp.us.xemacs.org/ftp/pub/  (Download location) 

See the following announcements for XEmacs lisp packages and packages which 
will handle conflicts between the emacs and ctags package.
 

DESCRIPTION:


XEmacs is a powerful, highly customizable open source text editor and
application development system, with full GUI support.  It is protected
under the GNU Public License and related to other versions of Emacs, in
particular GNU Emacs.  Its emphasis is on modern graphical user
interface support and an open software development model, similar to
Linux.  XEmacs has an active development community numbering in the
hundreds (and thousands of active beta testers on top of this), and runs
on all versions of MS Windows, on Linux, and on nearly every other
version of Unix in existence.  Support for XEmacs has been supplied by
Sun Microsystems, University of Illinois, Lucid, ETL/Electrotechnical
Laboratory, Amdahl Corporation, BeOpen, and others, as well as the
unpaid time of a great number of individual developers.

CYGWIN version:
===

This version of XEmacs can be used in an X and native Windows environment.
If the DISPLAY variable is set the X version is used, when unset the
native Windows version is used.

See the following for the included features:

uname -a: CYGWIN_NT-5.0 vzell-de 1.5.6s(0.94/3/2) 20030923 00:06:32 i686 unknown 
unknown Cygwin

   ./configure  '--pdump' 
'--srcdir=/usr/src/xemacs-21.4.14' 
'--prefix=/usr' 
'--datadir=/usr/share' 
'--statedir=/var' 
'--libdir=/usr/lib' 
'--infodir=/usr/share/xemacs-21.4.14/info' 
'--mandir=/usr/share/man/man1' 

'--package-path=/usr/local/share/xemacs/site-packages:/usr/share/xemacs/site-packages:/usr/share/xemacs/xemacs-packages:/usr/share/xemacs/mule-packages'
 
'--with-mule' 
'--with_file_coding=yes' 
'--with_msw=yes' 
'--with-modules=no' 
'--with-dragndrop' 
'--with-offix'


XEmacs 21.4.14 "Reasonable Discussion" configured for `i686-pc-cygwin'.


Compilation / Installation:
  Source code location:  /usr/src/xemacs-21.4.14
  Installation prefix:   /usr
  Operating system description file: `s/cygwin32.h'
  Machine description file:  `m/intel386.h'
  Compiler:  gcc -g -O3 -Wall -Wno-switch -Winline 
-Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow -Wpointer-arith
  Relocating allocator for buffers:  no
  GNU version of malloc: yes

Window System:
  Compiling in support for the Microsoft window system.
  Compiling in support for the X window system:
- X Windows headers location: /usr/X11/include
- X Windows libraries location:   /usr/X11R6/lib
- Handling WM_COMMAND properly.
  Compiling in support for Motif.
  *WARNING*  Many versions of Motif are buggy, requiring workarounds.
 You are likely to experience slow redisplay.
 You may need to install vendor patches to Motif.
 See PROBLEMS for more information.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Motif dialog boxes.
  Compiling in support for Drag'n'Drop (EXPERIMENTAL).
-  Drag'n'Drop prototype:  msw OffiX.

TTY:
  Compiling in support for ncurses.

Images:
  Compiling in support for GIF  images (builtin).
  Compiling in support for XPM  images.
  Compiling in support for PNG  images.
  Compiling in support for JPEG images.
  Compiling in support for TIFF images.
  Compiling in support for X-Face message headers.

Sound:
  Compiling in support for sound (native).

Databases:
  Compiling in support for Berkeley database.
  Compiling in support for LDAP.
  Compiling in support for PostgreSQL.
- Using PostgreSQL header file:  libpq-fe.h
- Using PostgreSQL V7 bindings.

Internationalization:
  Compiling in support for Mule (multi-lingual Emacs).
  Compiling in support for file coding.
  Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.

Mail:
  Compiling in support for POP mail retrieval.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Using the new portable dumper.


Enjoy
Volker

--

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Editors"
and then click on the appropriate fields until the above announced
version numbers appear if they are not displayed already.

If your mirror doesn't yet have the latest version of this package after
24 hours, you can either continue to wait for that site to be updated

[ANNOUNCEMENT] New package: xemacs-emacs-common-21.4.14-1 - Programs in common with the emacs package

2004-01-29 Thread Dr. Volker Zell
Hi

The package xemacs-emacs-common is now available with the Cygwin distribution:

 * http://xemacs.org/ (Homepage)
 * http://ftp.us.xemacs.org/ftp/pub/  (Download location) 

 
DESCRIPTION:

Programs (b2m/rcs-checkin) in common with the emacs package. They are 
unbundeled because of conflicts with the already released emacs package.


Enjoy
Volker

--

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Editors"
and then click on the appropriate fields until the above announced
version numbers appear if they are not displayed already.

If your mirror doesn't yet have the latest version of this package after
24 hours, you can either continue to wait for that site to be updated or
you can try to find another mirror.

Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED]

If you want to subscribe go to:
http://cygwin.com/ml/cygwin/

I would appreciate if you would use this mailing list rather than
emailing me directly.  This includes ideas and comments about the setup
utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


--
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: H069T.35324.doc

2004-01-29 Thread S R Blake
Friday morning is fine

-Original Message-
From: Mark Himsley [mailto:[EMAIL PROTECTED] 
Sent: 28 January 2004 22:58
To: [EMAIL PROTECTED]
Subject: Re: H069T.35324.doc

Dear Susan,

Thank you for turning round my tax return. I am reading it now and will 
bring it to you on Friday morning - I am exceedingly busy at the BBC until 
then. I hope that is ok!

Thank you for adding the HBOS shares. You are right, I still have them. 
Thanks for your diligence.

-- 
Mark Himsley

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



[ANNOUNCEMENT] New package: xemacs-mule-sumo-2003-11-13-1 - XEmacs MULE (MUlti Lingual Emacs) lisp packages

2004-01-29 Thread Dr. Volker Zell
Hi

The package xemacs-mule-sumo is now available with the Cygwin distribution:

 * http://xemacs.org/Develop/packages.html(Homepage)
 * ftp://ftp.xemacs.org/pub/xemacs/packages/  (Download location) 

!!   Download size 4.8 MB !
 
DESCRIPTION:


XEmacs MULE (MUlti Lingual Emacs) lisp packages


Enjoy
Volker

--

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Editors"
and then click on the appropriate fields until the above announced
version numbers appear if they are not displayed already.

If your mirror doesn't yet have the latest version of this package after
24 hours, you can either continue to wait for that site to be updated or
you can try to find another mirror.

Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED]

If you want to subscribe go to:
http://cygwin.com/ml/cygwin/

I would appreciate if you would use this mailing list rather than
emailing me directly.  This includes ideas and comments about the setup
utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


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



[ANNOUNCEMENT] New package: xemacs-tags-21.4.14-1 - e/ctags programs and man pages from the xemacs distribution

2004-01-29 Thread Dr. Volker Zell
Hi

The package xemacs-tags is now available with the Cygwin distribution:

 * http://xemacs.org/ (Homepage)
 * http://ftp.us.xemacs.org/ftp/pub/  (Download location) 


DESCRIPTION:

These are just the etags and ctags programs and man pages from the standard 
xemacs distribution. They are unbundeled because of conflicts with the 
already released ctags package.


Enjoy
Volker

--

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Editors"
and then click on the appropriate fields until the above announced
version numbers appear if they are not displayed already.

If your mirror doesn't yet have the latest version of this package after
24 hours, you can either continue to wait for that site to be updated or
you can try to find another mirror.

Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED]

If you want to subscribe go to:
http://cygwin.com/ml/cygwin/

I would appreciate if you would use this mailing list rather than
emailing me directly.  This includes ideas and comments about the setup
utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


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



[ANNOUNCEMENT] New package: xemacs-sumo-2003-11-13-1 - XEmacs standard lisp packages

2004-01-29 Thread Dr. Volker Zell
Hi

The package xemacs-sumo is now available with the Cygwin distribution:

 * http://xemacs.org/Develop/packages.html(Homepage)
 * ftp://ftp.xemacs.org/pub/xemacs/packages/  (Download location) 
 
!!   Download size 22 MB !
 
DESCRIPTION:


XEmacs standard lisp packages.


Enjoy
Volker

--

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Editors"
and then click on the appropriate fields until the above announced
version numbers appear if they are not displayed already.

If your mirror doesn't yet have the latest version of this package after
24 hours, you can either continue to wait for that site to be updated or
you can try to find another mirror.

Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED]

If you want to subscribe go to:
http://cygwin.com/ml/cygwin/

I would appreciate if you would use this mailing list rather than
emailing me directly.  This includes ideas and comments about the setup
utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


--
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: perl cygwin weird thing ..

2004-01-29 Thread Peter J. Acklam
pokley <[EMAIL PROTECTED]> wrote:
>
> perl will core dump when parsing file contain
> printf "%s",'a' x 0x;
>
> does anybody got the same problem ?

Looks just fine...

   $ perl -c < printf "%s",'a' x 0x;
   > EOF
   - syntax OK

Peter

-- 
Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam


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



Re: Re[4]: 'bash --login -i' takes 9 secs !

2004-01-29 Thread Andrew Schulman


> IP> (...) this is not a Cygwin problem at all. (...)
> 
> Thank you Igor,
> you were very helpful, indeed.
> Of course, this was not a cygwin problem,
> and narrowing it down to the cygwin_gethostname call
> directed me to some old thread:
> http://www.cygwin.com/ml/cygwin/2003-03/msg00097.html
> (I was not alone :-)
> 
> Novell client problem, solved by applying novell client patch.
> Thanks again,
> Pawel

Hallelujah.  I had this problem for a long time, and it just went away on
its own-- and my admins recently patched my Novell client.



--
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: H069T.35324.doc

2004-01-29 Thread Dave Korn
 

> -Original Message-
> From: cygwin-owner On Behalf Of S R Blake
> Sent: 29 January 2004 10:06
> 
> Friday morning is fine
> 

  Sorry, I can't make it.  How about Friday afternoon?



  LOL :)  Is this meant to be a contribution to the great Reply-To and
accidentally-sending-private-mail-to-a-public-list debate ?



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: (now OT) cygwin processes and system'ed processes using 100% CPU

2004-01-29 Thread Yitzchak Scott-Thoennes
On Wed, 28 Jan 2004, Hughes, Bill wrote:
> I'll have to check the rfcs about mailing list protocols sometime.

This may be a starting place:
http://search.cpan.org/~mstevens/Mail-ListDetector-0.29/MANIFEST

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



ftp crashes when nmap command is used

2004-01-29 Thread Thomas Mellman
ftp crashes intermittently when the nmap option is used:

nmap $1;$2 $1

Here's the traceback:

Exception: STATUS_ACCESS_VIOLATION at eip=610AB7B0
eax=611489D4 ebx=0038 ecx=6C697562 edx=611489D4 esi=0A045730 
edi=0020
ebp=0022E9E8 esp=0022E9C8 program=c:\cygwin\bin\ftp.exe
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
0022E9E8  610AB7B0  (611489A0, 0010, 0023B418, 0148)
0022EA28  610AB597  (, 0001, 0022EA78, 610552C8)
0022EA38  610ABC65  (, 0022EAE4, 74F43289, 012C)
0022EA78  610552C8  (0001, 3028, 0022EAC8, 610830F0)
0022EA88  61001CA9  (3028, 0022EBA0, 0022EBE8, 0023B418)
0022EAC8  610830F0  (0A046988, 0022ECD0, 0022EF68, 74FAE5D0)
0022EC18  6107FF66  (0022ECD0, 0022EC64, 0022EC54, 0022EC44)
0022ED28  6107F8EB  (0006, 0022ED50, 0022EC84, 0022EC74)
0022ED78  6105C278  (0005, 0022EDA0, 0022ED9C, 00401981)
0022EDB8  61086751  (004010C3, 004060FB, 0A0462D0, 0001)
0022EE88  00402ECC  (004060FB, 0A046960, 0A0462D0, 0040604C)
0022EEB8  0040668A  (0002, 00413DB0, 611106B0, 0001)
0022EED8  0040ABF2  (0001, 0040A9E0, 0040A550, 00410210)
0022EF40  0040A99D  (0001, 61673E90, 0A041318, 0022EF98)
0022EF80  61005D05  (0022EF98, , , )
0022FF90  61005DF8  (, , , )
End of stack trace (more stack frames may be present)

CYGWIN_NT-5.0 venedig 1.5.6(0.108/3/2) 2004-01-19 00:43 i686 unknown 
unknown Cygwin

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


Re: [PATCH] Fix for broken package-grep.cgi (Attn: CGF)

2004-01-29 Thread Christopher Faylor
On Wed, Jan 28, 2004 at 09:54:39PM -0500, Igor Pechtchanski wrote:
>On Wed, 28 Jan 2004, Christopher Faylor wrote:
>> On Wed, Jan 28, 2004 at 07:38:26PM -0500, Igor Pechtchanski wrote:
>> [snip]
>> >ChangeLog:
>> >2004-01-28  Igor Pechtchanski  <[EMAIL PROTECTED]>
>> >
>> >   * package-grep.cgi (findheader): Quote raw filename in pattern.
>
>Whoops, this was missing another piece.  The files with '+'s are now
>properly displayed, but the links to the contents are screwed up, due to
>'+' being translated into ' ' by the URL encoding/decoding.  Something
>like

Ok.  I guess I will have to take a look at this when I get back from a
trip.

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



Can cygwin be configured to always use mixed path output types?

2004-01-29 Thread Cohen Dan
Hi,

I have a project that requires me to use both cygwin
and MKS.. MKS primarily uses paths like "c:/temp" and
cygwin has the path "/cygdrive/c/temp".  I know I can
use cygpath (cygpath -m /cygdrive/c/temp) to convert
the cygwin path to "c:/temp" but that solution will be
very time consuming to implement in the very large
application I need to convert. I was wondering if
there was a way to configure cygwin to work with the
mixed path mode instead of using cygpath in my
scripts.  

Thanks in advance.

Dan

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

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



csh color codes

2004-01-29 Thread gobo
Dear all,

I am running the latest Cygwin on my Win2k and I'm using csh as the
standard shell. The color mode for XTerm is enabled and works fine, e.g.
with "ls --color".

However I have a problem to figure out how to generate the appropriate
control (escape) sequences to included colors in shell script outputs. I
have some shell scripts here which originate from a HP-UX based csh.
There, the escape sequences are generated by pressing "Ctrl + V" + "Esc" +
"[" + 'code', where 'code' is e.g. "1m" for bold or "32m" for green (=
^[[32m).
However, these codes don't work within the Cygwin-csh. 

Does anyone know the correct sequences here?

Thanks,
Jochen =8-)

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



Re: [PATCH] Fix for broken package-grep.cgi

2004-01-29 Thread Igor Pechtchanski
On Thu, 29 Jan 2004, Christopher Faylor wrote:

> On Wed, Jan 28, 2004 at 09:54:39PM -0500, Igor Pechtchanski wrote:
> >On Wed, 28 Jan 2004, Christopher Faylor wrote:
> >> On Wed, Jan 28, 2004 at 07:38:26PM -0500, Igor Pechtchanski wrote:
> >> [snip]
> >> >ChangeLog:
> >> >2004-01-28  Igor Pechtchanski  <[EMAIL PROTECTED]>
> >> >
> >> >   * package-grep.cgi (findheader): Quote raw filename in pattern.
> >
> >Whoops, this was missing another piece.  The files with '+'s are now
> >properly displayed, but the links to the contents are screwed up, due to
> >'+' being translated into ' ' by the URL encoding/decoding.  Something
> >like
>
> Ok.  I guess I will have to take a look at this when I get back from a
> trip.

Sure.  In the meantime, people should note that they will be unable to
view the contents of the gcc-g++ package via the packages page.

Additionally, when searching for something like "g++", they should be sure
to quote the '+'s with backslashes ('\'), i.e., search for "g\+\+".  In
general, the expression they're searching for is a full-blown perl RE
(perhaps we should add a note about that to "packages/index.html" -- is
the template somewhere in CVS?).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: stderr issues when running bat scripts

2004-01-29 Thread Igor Pechtchanski
On Wed, 28 Jan 2004, Clint Bennion wrote:

> Although this appears on the surface to be a windows issue I am bringing
> this to the cygwin group for two reasons.
> 1 - It only fails when I run it from a bash shell.
> 2 - It recently started failing.  I re-installed an older version of the
> cygwin package and the problem goes away.
>
> Version that failed:
> Cygwin 1.5.6-1
>
> Tested working version:
> Cygwin 1.5.5-1
>
> OS
> Windows 2000 Professional
> 5.0.2195 Service Pack 4 Build 2195

There's more to your Cygwin configuration than the version of the DLL.
Please read and follow .  Attaching the
output of "cygcheck -svr" is not optional.

> Here are two scripts for a test case.  The bat script calls the cscript in a for 
> loop.  The for
> loop catches the last line from stdout and puts it in the variable out.  The cscript 
> simply puts
> the text "STDOUT" to stdout and "STDERR" to stderr.
>
> ==Start tst.bat
> rem echo "" 1>&2
> echo ""
> set CMD=cscript /nologo tst.wsf
> FOR /F "delims=#" %%A IN ('%CMD%') DO set OUT=%%A
> echo %OUT%
> ==End tst.bat
> ==Start tst.wsf
> 
> 
> 
> WScript.stderr.writeLine( "STDERR" );
> WScript.stdout.writeLine( "STDOUT" );
> 
> 
> 
> ==End tst.wsf
>
> ==Start output
> m:\class\cmd>rem echo "" 1>&2
>
> m:\class\cmd>echo ""
> ""
>
> m:\class\cmd>set CMD=cscript /nologo tst.wsf
>
> m:\class\cmd>FOR /F "delims=#" %A IN ('cscript /nologo tst.wsf') DO set OUT=%A
>
> m:\class\cmd>set OUT=CScript Error: Execution of the Windows Script Host failed.
>  (Unspecified error
>
> m:\class\cmd>set OUT=)
>
> m:\class\cmd>echo )
> =End Output
>
> There are multiple things that I can do to get the scripts to run.
> 1) Uncomment the first echo line.  This line redirects a return to stderr.
> 2) Don't ever send to stderr in the cscript
> 3) Redirect either stdout or stderr to a file when running tst.bat
>
> Another interesting test case that I will describe.  Adding a line with
> "%CMD%" before and after the for loop causes the cscript to be called
> directly.  In this case the first call succeeds.  The for loop fails and
> the next call to cscript fails.
>
> I probably shouldn't do this, since I know so little about the inner
> workings, but here is my musings. It would seem that the for loop causes
> special problems.  Possibly because it is doing a form of redirection,
> stdout to the set commands and stderr should go to the screen.
> Although this causes problems for future calls to cscript I don't know
> why.  It must be that adding the echo to stderr at the first causes the
> plumbing for stderr to be setup properly and all future commands
> succeed.  There is no need to respond to this paragraph.  I wrote it
> just to help get the thought process going if it is needed.
>
> Clint

Did you try the latest snapshot?  There were some problems with 1.5.6 that
were fixed in CVS.  See .
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



RE: csh color codes

2004-01-29 Thread Peter J. Acklam
>
> I am running the latest Cygwin on my Win2k and I'm using csh as
> the standard shell. The color mode for XTerm is enabled and
> works fine, e.g.  with "ls --color".
>
> However I have a problem to figure out how to generate the
> appropriate control (escape) sequences to included colors in
> shell script outputs. I have some shell scripts here which
> originate from a HP-UX based csh.  There, the escape sequences
> are generated by pressing "Ctrl + V" + "Esc" + "[" + 'code',
> where 'code' is e.g. "1m" for bold or "32m" for green (=
> ^[[32m).  However, these codes don't work within the Cygwin-csh.
>
> Does anyone know the correct sequences here?

Why not use printf and \033 for the escape character?  The
following prints "xxx yyy zzz" where "yyy" is green:

printf 'xxx \033[32myyy\033[m zzz'

Here is a list showing other escape sequences

# foreground colours
printf '\033[30m black \033[m'
printf '\033[31m red \033[m'
printf '\033[32m green \033[m'
printf '\033[33m yellow \033[m'
printf '\033[34m blue \033[m'
printf '\033[35m magenta \033[m'
printf '\033[36m cyan \033[m'
printf '\033[37m white \033[m'

# background colours
printf '\033[40m black \033[m'
printf '\033[41m red \033[m'
printf '\033[42m green \033[m'
printf '\033[43m yellow \033[m'
printf '\033[44m blue \033[m'
printf '\033[45m magenta \033[m'
printf '\033[46m cyan \033[m'
printf '\033[47m white \033[m'

# other
printf '\033[0m default \033[m'
printf '\033[1m bold \033[m'
printf '\033[2m faint \033[m'
printf '\033[3m italic \033[m'
printf '\033[4m underlined \033[m'
printf '\033[5m slowblink \033[m'
printf '\033[6m rapidblink \033[m'
printf '\033[7m negative \033[m'

Peter

-- 
Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam


--
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: Can cygwin be configured to always use mixed path output types?

2004-01-29 Thread Igor Pechtchanski
On Thu, 29 Jan 2004, Cohen Dan wrote:

> Hi,
>
> I have a project that requires me to use both cygwin and MKS.. MKS
> primarily uses paths like "c:/temp" and cygwin has the path
> "/cygdrive/c/temp".  I know I can use cygpath (cygpath -m
> /cygdrive/c/temp) to convert the cygwin path to "c:/temp" but that
> solution will be very time consuming to implement in the very large
> application I need to convert. I was wondering if there was a way to
> configure cygwin to work with the mixed path mode instead of using
> cygpath in my scripts.
>
> Thanks in advance.
> Dan

FWIW, Cygwin's file manipulation routines will understand the regular
Win32-style paths (make sure to quote the backslashes in your shell).
Programs that don't attempt to manipulate the paths themselves should work
just fine with Windows paths.  I believe (though I'm not as sure of it)
that a 'single-letter-followed-by-a-colon-followed-by-a-slash' pattern is
also used to indicate a Windows path and the DLL acts accordingly (i.e.,
mixed mode should also work).  If you want to make sure, look in the
latest version of winsup/cygwin/path.cc.

Of course, if some program does attempt to process the path itself (e.g.,
walk through directories, etc), all bets are off.  Also note that you will
lose the benefit of Cygwin mounts and symlinks if you stick to Windows
paths.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: csh color codes

2004-01-29 Thread Igor Pechtchanski
On Thu, 29 Jan 2004 [EMAIL PROTECTED] wrote:

> Dear all,
>
> I am running the latest Cygwin on my Win2k and I'm using csh as the
> standard shell. The color mode for XTerm is enabled and works fine, e.g.
> with "ls --color".
>
> However I have a problem to figure out how to generate the appropriate
> control (escape) sequences to included colors in shell script outputs. I
> have some shell scripts here which originate from a HP-UX based csh.
> There, the escape sequences are generated by pressing "Ctrl + V" + "Esc" +
> "[" + 'code', where 'code' is e.g. "1m" for bold or "32m" for green (=
> ^[[32m).
> However, these codes don't work within the Cygwin-csh.
>
> Does anyone know the correct sequences here?
> Thanks,
> Jochen =8-)

csh does nothing to interpret the sequences; it simply echoes them.  The
sequences are processed by the terminal program (either the console or the
xterm).  You only need to make sure the sequences are encoded correctly.
You might want to let some library do the encoding for you depending on
the value of TERM...

Check if the same sequences work from the HPUX bash/sh.  If they do, then
look for a problem in the way you encode the sequences in your csh
scripts.  If they don't, you're probably echoing the wrong sequences.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



RE: csh color codes

2004-01-29 Thread gobo
Thanks a lot, this works perfectly!

Best regards,
Jochen =8-)
 
> Why not use printf and \033 for the escape character?  The
> following prints "xxx yyy zzz" where "yyy" is green:
> 
> printf 'xxx \033[32myyy\033[m zzz'
> 
> Here is a list showing other escape sequences
> 
> # foreground colours
> printf '\033[30m black \033[m'
> printf '\033[31m red \033[m'
> printf '\033[32m green \033[m'
> printf '\033[33m yellow \033[m'
> printf '\033[34m blue \033[m'
> printf '\033[35m magenta \033[m'
> printf '\033[36m cyan \033[m'
> printf '\033[37m white \033[m'
> 
> # background colours
> printf '\033[40m black \033[m'
> printf '\033[41m red \033[m'
> printf '\033[42m green \033[m'
> printf '\033[43m yellow \033[m'
> printf '\033[44m blue \033[m'
> printf '\033[45m magenta \033[m'
> printf '\033[46m cyan \033[m'
> printf '\033[47m white \033[m'
> 
> # other
> printf '\033[0m default \033[m'
> printf '\033[1m bold \033[m'
> printf '\033[2m faint \033[m'
> printf '\033[3m italic \033[m'
> printf '\033[4m underlined \033[m'
> printf '\033[5m slowblink \033[m'
> printf '\033[6m rapidblink \033[m'
> printf '\033[7m negative \033[m'
> 
> Peter
> 
> -- 
> Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam
> 
> 

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



please take 5 mins & look thank you

2004-01-29 Thread jay
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=2886535438&category=11866&sspagename=STRK%3AMESSE%3AIT&rd=1




http://home.mchsi.com/~jayseibert  
--
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: csh color codes

2004-01-29 Thread Peter J. Acklam
> csh does nothing to interpret the sequences; it simply echoes them.

I think the problem was how to *enter* the escape sequences in csh.

Peter

-- 
Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam


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



Rsync, Cygwin and ACL support

2004-01-29 Thread alaslavic




My life would be much easier if I could use Rsync on Cygwin, to go from
windows to linux, and preserve POSIX acls along the way.  Rsync does not
support this, without a patch.  This patch works fine in linux, and applies
correctly in Cygwin, but I am unable to get Cygwin past the ./configure
stage.

I have applied the patch to the rsync source, and run ./configure
--with-acl-support=yes.
There is a failure during configure that is killing acl support  --->

Checking whether to support ACLS... checking for acl_get_file in -lacl...
no
checking for ACL support... no

I suppose my question for the list is, is the POSIX acl support in Cygwin
complete enough that this should work, or am I wasting my time?  If anyone
knows a way around this, I would be most appreciative.

Alex Laslavic
Havertys Tech Services


--
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: csh color codes

2004-01-29 Thread Igor Pechtchanski
On Thu, 29 Jan 2004, Peter J. Acklam wrote:

> > csh does nothing to interpret the sequences; it simply echoes them.
>
> I think the problem was how to *enter* the escape sequences in csh.
>
> Peter

I believe you missed the following bit in your quoting:

> > You only need to make sure the sequences are encoded correctly.

Cryptic, perhaps, but that's exactly what I meant.  :-)
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: stderr issues when running bat scripts

2004-01-29 Thread Clint Bennion
I have downloaded the latest snapshot and the issue remains.  Also attached is the 
cygcheck -srv
output.
Clint

--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> On Wed, 28 Jan 2004, Clint Bennion wrote:
> 
> > Although this appears on the surface to be a windows issue I am bringing
> > this to the cygwin group for two reasons.
> > 1 - It only fails when I run it from a bash shell.
> > 2 - It recently started failing.  I re-installed an older version of the
> > cygwin package and the problem goes away.
> >
> > Version that failed:
> > Cygwin 1.5.6-1
> >
> > Tested working version:
> > Cygwin 1.5.5-1
> >
> > OS
> > Windows 2000 Professional
> > 5.0.2195 Service Pack 4 Build 2195
> 
> There's more to your Cygwin configuration than the version of the DLL.
> Please read and follow .  Attaching the
> output of "cygcheck -svr" is not optional.
> 
> > Here are two scripts for a test case.  The bat script calls the cscript in a for 
> > loop.  The
> for
> > loop catches the last line from stdout and puts it in the variable out.  The 
> > cscript simply
> puts
> > the text "STDOUT" to stdout and "STDERR" to stderr.
> >
> > ==Start tst.bat
> > rem echo "" 1>&2
> > echo ""
> > set CMD=cscript /nologo tst.wsf
> > FOR /F "delims=#" %%A IN ('%CMD%') DO set OUT=%%A
> > echo %OUT%
> > ==End tst.bat
> > ==Start tst.wsf
> > 
> > 
> > 
> > WScript.stderr.writeLine( "STDERR" );
> > WScript.stdout.writeLine( "STDOUT" );
> > 
> > 
> > 
> > ==End tst.wsf
> >
> > ==Start output
> > m:\class\cmd>rem echo "" 1>&2
> >
> > m:\class\cmd>echo ""
> > ""
> >
> > m:\class\cmd>set CMD=cscript /nologo tst.wsf
> >
> > m:\class\cmd>FOR /F "delims=#" %A IN ('cscript /nologo tst.wsf') DO set OUT=%A
> >
> > m:\class\cmd>set OUT=CScript Error: Execution of the Windows Script Host failed.
> >  (Unspecified error
> >
> > m:\class\cmd>set OUT=)
> >
> > m:\class\cmd>echo )
> > =End Output
> >
> > There are multiple things that I can do to get the scripts to run.
> > 1) Uncomment the first echo line.  This line redirects a return to stderr.
> > 2) Don't ever send to stderr in the cscript
> > 3) Redirect either stdout or stderr to a file when running tst.bat
> >
> > Another interesting test case that I will describe.  Adding a line with
> > "%CMD%" before and after the for loop causes the cscript to be called
> > directly.  In this case the first call succeeds.  The for loop fails and
> > the next call to cscript fails.
> >
> > I probably shouldn't do this, since I know so little about the inner
> > workings, but here is my musings. It would seem that the for loop causes
> > special problems.  Possibly because it is doing a form of redirection,
> > stdout to the set commands and stderr should go to the screen.
> > Although this causes problems for future calls to cscript I don't know
> > why.  It must be that adding the echo to stderr at the first causes the
> > plumbing for stderr to be setup properly and all future commands
> > succeed.  There is no need to respond to this paragraph.  I wrote it
> > just to help get the thought process going if it is needed.
> >
> > Clint
> 
> Did you try the latest snapshot?  There were some problems with 1.5.6 that
> were fixed in CVS.  See .
>   Igor
> -- 
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Jan 29 10:00:38 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   .\
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\WINNT\MS\SMS\CORE\BIN
m:\class\dcmd
m:\class\cmdsite
m:\class\cmd
m:\class\cmd\support
m:\OrbixWeb\bin
c:\JBuilderX\jdk1.4\bin
c:\perl\bin
c:\oracle\ora92\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\Program Files\Starbase\StarGate SDK\Lib
C:\cygwin\bin
.
C:\cygwin\usr\X11R6\bin
  

cygwin 1.5.6-1: CTRL-C freezes bash

2004-01-29 Thread Brandon Nelson

I've looked all over for an answer to this problem, but haven't seen any reference to 
it in such a basic form.

Pressing CTRL-C in bash freezes the shell. I get this error (examples of varying 
numbers in curly brackets):

{10, 8} [main] bash {1312} sig_send: wait for sig_complete event failed, 
signal {-33, 2}, rc 258, Win32 error {2, 3}

Sometimes followed by:

Terminate batch job (Y/N)?

I've tried the latest snapshot, in addition to the current installer, and still 
encounter this problem. Below is my cygcheck -svr output. Has anyone else seen this?

Brandon



Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Jan 29 12:04:01 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 12882(brandon.nelson) GID: 10545(mkgroup-l-d)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 12882(brandon.nelson) GID: 10545(mkgroup-l-d)
0(root)544(Administrators)
545(Users) 10545(mkgroup-l-d)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

HOME = `c:\Documents and Settings\brandon.nelson'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/Documents and Settings/brandon.nelson'
USER = `brandon.nelson'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\brandon.nelson\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `ISFLOAT005'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\brandon.nelson'
HOSTNAME = `ISFLOAT005'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
LOGONSERVER = `\\CNIBAD2'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0803'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\BRANDO~1.NEL\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\BRANDO~1.NEL\LOCALS~1\Temp'
USERDNSDOMAIN = `org.cnib.ca'
USERDOMAIN = `ORG'
USERNAME = `brandon.nelson'
USERPROFILE = `C:\Documents and Settings\brandon.nelson'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS   18747Mb  13% CP CS UN PA FC 
d:  cd  CDFS 640Mb 100%CS UN   040115_2340
e:  hd  FAT  721Mb   1% CPUN   
q:  net NTFS   833158Mb  94% CP CS UN PA FC USER DATA
s:  net NTFS   242998Mb 100% CP CS UN PA FC DATA
t:  net NTFS   242998Mb 100% CP CS UN PA FC DATA
u:  net NTFS   242998Mb 100% CP CS UN PA FC DATA

C:\cygwin  / system  textmode
C:\cygwin/bin  /usr/bin  system  textmode
C:\cygwin/lib  /usr/lib  system  textmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.  /cygdrive system  textmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Fou

error cygwin

2004-01-29 Thread Skippy the Kangoo
Hi,
My english is very bad, sorry.
After closed my program, cygwin me say :

$ -42462723 [main] bash 1612 sig_send: wait for sig_complete event 
failed, signa
l 2, rc 258, Win32 error 3
Terminer le programme de commandes (O/N) ?

What is it???

Thank you for your Reponses.

Skippy the Kangoo

--
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: error cygwin

2004-01-29 Thread Brian Ford
On Thu, 29 Jan 2004, Skippy the Kangoo wrote:

> After closed my program, cygwin me say :
>
> $ -42462723 [main] bash 1612 sig_send: wait for sig_complete event
> failed, signal 2, rc 258, Win32 error 3
> Terminer le programme de commandes (O/N) ?
>
> What is it???
>

Please follow the bug reporting directions here:

> Problem reports:   http://cygwin.com/problems.html
>
especially the part about attaching cygcheck output.

WAG: you're using Cygwin 1.5.6.  Don't.  It's fairly broken.  Use 1.5.5 or
the latest snapshot.  See http://cygwin.com/snapshots/ for details.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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 1.5.6-1: CTRL-C freezes bash

2004-01-29 Thread Igor Pechtchanski
On Thu, 29 Jan 2004, Brandon Nelson wrote:

> I've looked all over for an answer to this problem, but haven't seen any
> reference to it in such a basic form.
>
> Pressing CTRL-C in bash freezes the shell. I get this error (examples of
> varying numbers in curly brackets):
>
> {10, 8} [main] bash {1312} sig_send: wait for sig_complete event failed, 
> signal {-33, 2}, rc 258, Win32 error {2, 3}
>
> Sometimes followed by:
>
> Terminate batch job (Y/N)?
>
> I've tried the latest snapshot, in addition to the current installer,
> and still encounter this problem. Below is my cygcheck -svr output. Has
> anyone else seen this?
>
> Brandon

I believe  sums it up
pretty nicely.  BTW, your cygcheck output below does not show you using
the latest snapshot.  See  for instructions
on installing and using snapshots.
Igor
P.S. Next time, please attach the cygcheck output as an uncompressed text
*attachment*, as per .

>  1085k 2004/01/19 C:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
>   "cygwin1.dll" v0.0 ts=3D2004/1/19 0:43
> Cygwin DLL version info:
> DLL version: 1.5.6
  ^^
> DLL epoch: 19
> DLL bad signal mask: 19005
> DLL old termios: 5
> DLL malloc env: 28
> API major: 0
> API minor: 108
> Shared data: 3
> DLL identifier: cygwin1
> Mount registry: 2
> Cygnus registry name: Cygnus Solutions
> Cygwin registry name: Cygwin
> Program options name: Program Options
> Cygwin mount registry name: mounts v2
> Cygdrive flags: cygdrive flags
> Cygdrive prefix: cygdrive prefix
> Cygdrive default prefix:
> Build date: Mon Jan 19 00:43:36 EST 2004
> CVS tag: cr-0x9d
> Shared id: cygwin1S3

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: Question about ash and getopts

2004-01-29 Thread Peter Seebach
In message <[EMAIL PROTECTED]>, Corinna Vinschen writes
:
>On Jan 29 01:32, Peter Seebach wrote:
>> In message <[EMAIL PROTECTED]>, Larry Hall writes:
>> >I provided my suggestion, which Peter followed.  It's the ash maintainer 
>> >that has the final word on what, if anything, happens next and/or what
>> >the criteria should be.
>> 
>> Just a follow-up on this:  I'm doing an article on "portable scripting",
>> so if anything is happening, I'd like to know about it so I can tell people
>
>http://cygwin.com/ml/cygwin/2004-01/msg01160.html

Thanks much!  Missed that one.

-s

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



"Error when trying to run ls or rm commands"

2004-01-29 Thread Jorge Soto
To who it may read this,

I recently installed cygwin in my pc, but trying to run 'ls' or 'rm'
commands I get a command not found response from the program, then I used
the complete path /bin/ls and then I get a new message with a permission
denied response and a window message saying .DLL file not found, required
CYGICONV-2.DLL.

If only this detail was my problem then I assume I was doing something very
wrong, but for my surprise I can run the 'cd' and 'pwd' commands with no
problems.

I hope someone can guide me if something is wrong with my installation or if
I made a mistake, thnx a lot

Greetings from Mexico

Jorge Soto


--
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: SCP doesn't complete transfers of large files

2004-01-29 Thread Elliott Wilcoxon
Bill C. Riemers wrote:

ssh -T foo "tar cfz - somedirectoryorfile"|tar xvvfz -

I'm not much of a unix expert, could you explain what that's doing?  I 
know a bit about tar, so I recognize the arguments to it, but I'm not 
sure how they're interacting.  It looks like it might run tar on the 
remote machine, and tar up all the desired files, the output of which is 
streamed over to a local copy of tar that un-tars them.  I'm not 
familiar at all with the -T option for ssh, and the man page entry isn't 
illuminating for one such as I.  Would an example command be:

remote machine abc has sshd running, and has file xyz that I want locally.
ssh -T abc "tar cfz - xyz"|tar xvvfz -
--
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: "Error when trying to run ls or rm commands"

2004-01-29 Thread Brian Ford
On Thu, 29 Jan 2004, Jorge Soto wrote:

> I recently installed cygwin in my pc, but trying to run 'ls' or 'rm'
> commands I get a command not found response from the program,
>
http://cygwin.com/faq/faq_toc.html#TOC36

> then I used the complete path /bin/ls and then I get a new message with
> a permission denied response and a window message saying .DLL file not
> found, required CYGICONV-2.DLL.
>
Something probably went wrong with the package dependency mechanism used
by the setup program.  This has been a relatively frequently reported
issue.

In general, to solve this kind of problem, visit:

http://cygwin.com/packages/

enter cygiconv-2.dll, and you would see that it is part of
libiconv2/libiconv2-1.9.1-3.  Please install this package via Cygwin's
setup program.

> If only this detail was my problem then I assume I was doing something very
> wrong, but for my surprise I can run the 'cd' and 'pwd' commands with no
> problems.
>
cd and pwd are built into the bash shell that Cygwin runs by default.

> I hope someone can guide me if something is wrong with my installation or if
> I made a mistake, thnx a lot
>
In general, it is common courtesy to read the 1.) FAQ and 2.)
documentation as well as 3.) searching the mailing list archives before
posting.  If you had done 1.) and 3.), you would not have needed to post.

Also, please read:

> Problem reports:   http://cygwin.com/problems.html
>

before posting next time, especially the part about attaching cygcheck
output.  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

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



[Fwd: Cygwin NFS Server]

2004-01-29 Thread Sam Robb
Rich,

  I've redirected this to the Cygwin mailing list -
other folks may have these questions as well.
> Sorry if this is a particularly boneheaded question,
> but where can I find some documentation to help me
> set up NFS Server on Cygwin?
You can find documentation for most packages under
/usr/share/doc.
Cygwin-specific documentation (including the nfs-server
docs) are located under /usr/share/doc/Cygwin.
Man pages are also provided - 'man nfsd', 'man mountd',
etc.
> I am new to Cygwin, but I have successfully installed
> in on my Win2K machine, including NFS Server. I ran
> nfs-server-config and although it complained about my
> mounts being non-system (they are system, so I ignored the
> warning) it seemed to start the services OK.
Could you please post the output from running mount?

> I edited the /etc/exports file to add a single entry
> to export a subdirectory, but now what?
>
> Usually I would run exportfs (I think, I am not an NFS
> expert either) but there doesn't seem to be such a beast.
You can restart mountd and nfsd, ex:

  cygrunsrv --stop "mountd"
  cygrunsrv --stop "nfsd"
  cygrunsrv --start "mountd"
  cygrunsrv --start "nfsd"
Or you can just send the processes a SIGHUP to tell them
to reread the exports file:
  kill -s 1 
  kill -s 1 
> SO... I looked for a man page or README or something, but
> I couldn't find it (I did not install all the source...so
> I have to?)
Location of docs and man pages I've already described.
No, you shouldn't need to install the source, unless
you want to work on providing a patch for something :-)
HTH,

-Samrobb

--
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: Insecure Dependency in Net::DNS with Cygwin (WAS: Cygwin, win98, SA, Perl IO::Socket (Insecure dependency))

2004-01-29 Thread Rafael Kitover
Chris Reinhardt fixed the problem, which turned out to be something related to
the configuration parser in Net/DNS/Resolver/Cygwin.pm, and it works now!

If you were having problems with SpamAssassin+Cygwin before, or other strange
Net::DNS problems, please try this snapshot:

http://www.net-dns.org/snaps/2004/01/Net-DNS-2004-01-29.tar.gz 

-- 
Rafael

--
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: Can cygwin be configured to always use mixed path output types?

2004-01-29 Thread Cohen Dan
Hi Igor et al.,

Here is what I am seeing the cygwin command prompt:

$ pwd
/cygdrive/c/temp

Here is what I would like to see:

$ pwd
c:/temp

I am fairly new to cygwin and am not entirely certain
about the solution you are proposing.. (For example,
what do you mean by "check the latest version of
winsup/cygwin/path.cc."?)  

In any case, If there is no solution to this, then I
know my course of action and would only ask in the
future that cygwin environment and tools support the
two modes (Even if that means losing some symbolic
link and Cygwin mounting capabilities).

If I am wrong, I would appreciate an example of how to
set this up.. Thank you in advance.

Dan


--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> On Thu, 29 Jan 2004, Cohen Dan wrote:
> 
> > Hi,
> >
> > I have a project that requires me to use both
> cygwin and MKS.. MKS
> > primarily uses paths like "c:/temp" and cygwin has
> the path
> > "/cygdrive/c/temp".  I know I can use cygpath
> (cygpath -m
> > /cygdrive/c/temp) to convert the cygwin path to
> "c:/temp" but that
> > solution will be very time consuming to implement
> in the very large
> > application I need to convert. I was wondering if
> there was a way to
> > configure cygwin to work with the mixed path mode
> instead of using
> > cygpath in my scripts.
> >
> > Thanks in advance.
> > Dan
> 
> FWIW, Cygwin's file manipulation routines will
> understand the regular
> Win32-style paths (make sure to quote the
> backslashes in your shell).
> Programs that don't attempt to manipulate the paths
> themselves should work
> just fine with Windows paths.  I believe (though I'm
> not as sure of it)
> that a
>
'single-letter-followed-by-a-colon-followed-by-a-slash'
> pattern is
> also used to indicate a Windows path and the DLL
> acts accordingly (i.e.,
> mixed mode should also work).  If you want to make
> sure, look in the
> latest version of winsup/cygwin/path.cc.
> 
> Of course, if some program does attempt to process
> the path itself (e.g.,
> walk through directories, etc), all bets are off. 
> Also note that you will
> lose the benefit of Cygwin mounts and symlinks if
> you stick to Windows
> paths.
>   Igor
> -- 
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski,
> Ph.D.
> '---''(_/--'  `-'\_) fL   a.k.a
> JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between
> your mentor and his route
> to the bathroom is a major career booster."  --
> Patrick Naughton
> 
> --
> Unsubscribe info: 
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:  
> http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

--
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: Can cygwin be configured to always use mixed path output types?

2004-01-29 Thread Igor Pechtchanski
Dan,

My message was meant to say that Cygwin will accept Windows-style paths as
input (the comment about path.cc was to make sure mixed-style paths were
also accepted).  If you want Cygwin to *generate* Win32-style paths,
that's unlikely to happen.  In fact, I can tell you right now that Cygwin
is not going to be changed for better interoperability with either MKS or
SFU.

The best solution for you might be to create aliases (or exported
functions) for each of the necessary commands that would invoke 'cygpath'
on the output of the corresponding command (something like

pwd() {
  cygpath -m "`command pwd`"
}
export pwd

might do it).  Hope this helps,
Igor

On Thu, 29 Jan 2004, Cohen Dan wrote:

> Hi Igor et al.,
>
> Here is what I am seeing the cygwin command prompt:
>
> $ pwd
> /cygdrive/c/temp
>
> Here is what I would like to see:
>
> $ pwd
> c:/temp
>
> I am fairly new to cygwin and am not entirely certain about the solution
> you are proposing.. (For example, what do you mean by "check the latest
> version of winsup/cygwin/path.cc."?)
>
> In any case, If there is no solution to this, then I know my course of
> action and would only ask in the future that cygwin environment and
> tools support the two modes (Even if that means losing some symbolic
> link and Cygwin mounting capabilities).
>
> If I am wrong, I would appreciate an example of how to set this up..
> Thank you in advance.
>
> Dan
>
>
> --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> > On Thu, 29 Jan 2004, Cohen Dan wrote:
> >
> > > Hi,
> > >
> > > I have a project that requires me to use both cygwin and MKS.. MKS
> > > primarily uses paths like "c:/temp" and cygwin has the path
> > > "/cygdrive/c/temp".  I know I can use cygpath (cygpath -m
> > > /cygdrive/c/temp) to convert the cygwin path to "c:/temp" but that
> > > solution will be very time consuming to implement in the very large
> > > application I need to convert. I was wondering if there was a way to
> > > configure cygwin to work with the mixed path mode instead of using
> > > cygpath in my scripts.
> > >
> > > Thanks in advance.
> > > Dan
> >
> > FWIW, Cygwin's file manipulation routines will understand the regular
> > Win32-style paths (make sure to quote the backslashes in your shell).
> > Programs that don't attempt to manipulate the paths themselves should
> > work just fine with Windows paths.  I believe (though I'm not as sure
> > of it) that a 'single-letter-followed-by-a-colon-followed-by-a-slash'
> > pattern is also used to indicate a Windows path and the DLL acts
> > accordingly (i.e., mixed mode should also work).  If you want to make
> > sure, look in the latest version of winsup/cygwin/path.cc.
> >
> > Of course, if some program does attempt to process the path itself
> > (e.g., walk through directories, etc), all bets are off.  Also note
> > that you will lose the benefit of Cygwin mounts and symlinks if you
> > stick to Windows paths.
> >   Igor

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: Can cygwin be configured to always use mixed path output types?

2004-01-29 Thread Erik Zeek
On Thu, 29 Jan 2004 12:16:08 -0800, Cohen Dan wrote:

> Hi Igor et al.,
> 
> Here is what I am seeing the cygwin command prompt:
> 
> $ pwd
> /cygdrive/c/temp
> 
> Here is what I would like to see:
> 
> $ pwd
> c:/temp
> 

Try the following instead:

> cygpath -w `pwd`
C:\cygwin\home\zeekec

Erik


--
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: Rsync, Cygwin and ACL support

2004-01-29 Thread Rafael Kitover
It seems there's no posix acl support in Cygwin, as far as I could see.

The libraries are here if anyone wants to try porting them to Win32 acls:

ftp://oss.sgi.com/projects/xfs/latest/cmd_tars/acl-2.2.15.src.tar.gz 
ftp://oss.sgi.com/projects/xfs/latest/cmd_tars/attr-2.4.8.src.tar.gz 

-- 
Rafael

>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
>[EMAIL PROTECTED]
>Sent: Thursday, January 29, 2004 8:12 AM
>To: [EMAIL PROTECTED]
>Subject: Rsync, Cygwin and ACL support
>
>
>
>
>
>My life would be much easier if I could use Rsync on Cygwin, to go from
>windows to linux, and preserve POSIX acls along the way.  Rsync does not
>support this, without a patch.  This patch works fine in linux, and applies
>correctly in Cygwin, but I am unable to get Cygwin past the ./configure
>stage.
>
>I have applied the patch to the rsync source, and run ./configure
>--with-acl-support=yes.
>There is a failure during configure that is killing acl support  --->
>
>Checking whether to support ACLS... checking for acl_get_file in -lacl...
>no
>checking for ACL support... no
>
>I suppose my question for the list is, is the POSIX acl support in Cygwin
>complete enough that this should work, or am I wasting my time?  If anyone
>knows a way around this, I would be most appreciative.
>
>Alex Laslavic
>Havertys Tech Services


--
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: csh color codes

2004-01-29 Thread Hannu E K Nevalainen
> From: Igor Pechtchanski
> Sent: Thursday, January 29, 2004 4:00 PM

> On Thu, 29 Jan 2004 [EMAIL PROTECTED] wrote:
>
> > Dear all,
> >
> > I am running the latest Cygwin on my Win2k and I'm using csh as the
> > standard shell. The color mode for XTerm is enabled and works fine, e.g.
> > with "ls --color".
> >
> > However I have a problem to figure out how to generate the appropriate
> > control (escape) sequences to included colors in shell script outputs. I
> > have some shell scripts here which originate from a HP-UX based csh.
> > There, the escape sequences are generated by pressing "Ctrl +
> V" + "Esc" +
> > "[" + 'code', where 'code' is e.g. "1m" for bold or "32m" for green (=
> > ^[[32m).
> > However, these codes don't work within the Cygwin-csh.
> >
> > Does anyone know the correct sequences here?
> > Thanks,
> > Jochen =8-)
>
> csh does nothing to interpret the sequences; it simply echoes them.

 i.e. Jochen needs to find a way to get e.g. echo to actually print an ESC
where it is apropriate. NOTE, for bash:

$ /bin/echo -e "\033[36;7m Reversed colors \033[m Standard colors"
 Reversed colors  Standard colors
$ type -a echo
echo is a shell builtin
echo is /usr/bin/echo
echo is /bin/echo
$ echo -e "\e[36;7m Reversed colors \e[m Standard colors"
 Reversed colors  Standard colors

>  The
> sequences are processed by the terminal program (either the console or the
> xterm).  You only need to make sure the sequences are encoded correctly.

 e.g. as in the /bin/echo example above...

> You might want to let some library do the encoding for you depending on
> the value of TERM...
>
> Check if the same sequences work from the HPUX bash/sh.  If they do, then
> look for a problem in the way you encode the sequences in your csh
> scripts.  If they don't, you're probably echoing the wrong sequences.
>   Igor

Help for checking; $ man od
e.g:  $ echo TEST | od -t x1z


 Example of color code use from bash/rxvt:

$ echo -e "\e[7m Reversed colors \e[m Standard colors"

-- fgtab --
#!/bin/bash

echo "Foreground/Background table"

for (( f=0; f<8 ; f++ ));do
for (( b=0; b<8 ; b++ ));do
echo -en "\e[3${f};4${b}m $f/$b \e[m";
done;
echo -e "\e[m";
done
-- eof --


 I'm not sure this works in anything else than a rxvt and cmd/command
*window* (ANSI.SYS activates the same for old "DOS").
I believe the codes are for some sort of ANSI terminal (I learnt them on the
Amiga
where they work in the Shell/CON window and at least in part for the
printer).


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E

** on a mailing list; please keep replies on that particular 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: Can cygwin be configured to always use mixed path output types?

2004-01-29 Thread Graucsh
Igor Pechtchanski wrote:
Dan,

My message was meant to say that Cygwin will accept Windows-style paths as
input (the comment about path.cc was to make sure mixed-style paths were
also accepted).  If you want Cygwin to *generate* Win32-style paths,
that's unlikely to happen.  In fact, I can tell you right now that Cygwin
is not going to be changed for better interoperability with either MKS or
SFU.
The best solution for you might be to create aliases (or exported
functions) for each of the necessary commands that would invoke 'cygpath'
on the output of the corresponding command (something like
pwd() {
  cygpath -m "`command pwd`"
}
export pwd
might do it).  Hope this helps,
Igor
On Thu, 29 Jan 2004, Cohen Dan wrote:


Hi Igor et al.,

Here is what I am seeing the cygwin command prompt:

$ pwd
/cygdrive/c/temp
Here is what I would like to see:

$ pwd
c:/temp
I am fairly new to cygwin and am not entirely certain about the solution
you are proposing.. (For example, what do you mean by "check the latest
version of winsup/cygwin/path.cc."?)
In any case, If there is no solution to this, then I know my course of
action and would only ask in the future that cygwin environment and
tools support the two modes (Even if that means losing some symbolic
link and Cygwin mounting capabilities).
If I am wrong, I would appreciate an example of how to set this up..
Thank you in advance.
Dan

--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:

On Thu, 29 Jan 2004, Cohen Dan wrote:


Hi,

I have a project that requires me to use both cygwin and MKS.. MKS
primarily uses paths like "c:/temp" and cygwin has the path
"/cygdrive/c/temp".  I know I can use cygpath (cygpath -m
/cygdrive/c/temp) to convert the cygwin path to "c:/temp" but that
solution will be very time consuming to implement in the very large
application I need to convert. I was wondering if there was a way to
configure cygwin to work with the mixed path mode instead of using
cygpath in my scripts.
Thanks in advance.
Dan
FWIW, Cygwin's file manipulation routines will understand the regular
Win32-style paths (make sure to quote the backslashes in your shell).
Programs that don't attempt to manipulate the paths themselves should
work just fine with Windows paths.  I believe (though I'm not as sure
of it) that a 'single-letter-followed-by-a-colon-followed-by-a-slash'
pattern is also used to indicate a Windows path and the DLL acts
accordingly (i.e., mixed mode should also work).  If you want to make
sure, look in the latest version of winsup/cygwin/path.cc.
Of course, if some program does attempt to process the path itself
(e.g., walk through directories, etc), all bets are off.  Also note
that you will lose the benefit of Cygwin mounts and symlinks if you
stick to Windows paths.
 Igor


Or, if you want to keep your cygwin space unix-y and only have 
windows-style paths when mucking around under /cygdrive (one 
line)(requires sed):

alias pwd='pwd | sed "-es/^\/cygdrive\//:/" -eTz "-e s/\(:\)\(.\)/\2\1/" 
-e:a "-es/\//\\\/" -eta -e:z'

Hope That's Of Use

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


Cygwin nfs-server

2004-01-29 Thread John_Bailey3
I am currently working in an environment with Solaris, Linux, and 
Windows machines.  I use Cygwin on my Windows machine all the time and I 
have very little issues.  I am currently using Cygwin's nfs-server to 
create shares to mount on the Solaris and Linux machines.  

The nfs-server works great on my Windows 2000 Pro box, but will not run 
on Windows 2000 Server or Windows 2003 Server.  portmap starts correctly 
and can be run as a server, but the rpc.nfsd and mountd.rpc both fail 
when they are started.  



When starting the services 'rpc.nfsd -F' or 'rpc.mountd -F' The error is 
as follows:

Cannot register service: RPC: Unable to send; errno = Cannot assign 
requested address
nfsd[3248] 01/29/104 16:09 rpcmisc.c 92 : unable to register (nfsd, 2, 
udp).

Cannot register service: RPC: Unable to send; errno = Cannot assign 
requested address
mountd[2404] 01/29/104 16:11 rpcmisc.c 92 : unable to register (mountd, 
1, udp).

I have seen a couple posts like this in the past and I am wondering if 
anyone has any more information.

Thanks for your help.
John



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

2004-01-29 Thread Robb, Sam
> When starting the services 'rpc.nfsd -F' or 'rpc.mountd -F' 
> The error is 
> as follows:
> 
> Cannot register service: RPC: Unable to send; errno = Cannot assign 
> requested address
> nfsd[3248] 01/29/104 16:09 rpcmisc.c 92 : unable to register 
> (nfsd, 2, 
> udp).
> 
> Cannot register service: RPC: Unable to send; errno = Cannot assign 
> requested address
> mountd[2404] 01/29/104 16:11 rpcmisc.c 92 : unable to 
> register (mountd, 
> 1, udp).
> 
> I have seen a couple posts like this in the past and I am 
> wondering if 
> anyone has any more information.

John,

  I've been doing my best to pay attention to issues like
this, but it's been difficult finding time to try and track
down these problems.  In this particular case, it's also
frustrating in that I can't seem to reproduce the problem.

  If you (or anyone else) experiencing these problems could
take the time to try and identify the root cause, I'd be
very grateful.

-Samrobb

--
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: Can cygwin be configured to always use mixed path output types?

2004-01-29 Thread Igor Pechtchanski
On Thu, 29 Jan 2004, Graucsh wrote:

> Igor Pechtchanski wrote:
> > Dan,
> >
> > My message was meant to say that Cygwin will accept Windows-style paths as
> > input (the comment about path.cc was to make sure mixed-style paths were
> > also accepted).  If you want Cygwin to *generate* Win32-style paths,
> > that's unlikely to happen.  In fact, I can tell you right now that Cygwin
> > is not going to be changed for better interoperability with either MKS or
> > SFU.
> >
> > The best solution for you might be to create aliases (or exported
> > functions) for each of the necessary commands that would invoke 'cygpath'
> > on the output of the corresponding command (something like
> >
> > pwd() {
> >   cygpath -m "`command pwd`"
> > }
> > export pwd
> >
> > might do it).  Hope this helps,
> >   Igor
> >
> > On Thu, 29 Jan 2004, Cohen Dan wrote:
> >
> >
> >>Hi Igor et al.,
> >>
> >>Here is what I am seeing the cygwin command prompt:
> >>
> >>$ pwd
> >>/cygdrive/c/temp
> >>
> >>Here is what I would like to see:
> >>
> >>$ pwd
> >>c:/temp
> >>
> >>I am fairly new to cygwin and am not entirely certain about the solution
> >>you are proposing.. (For example, what do you mean by "check the latest
> >>version of winsup/cygwin/path.cc."?)
> >>
> >>In any case, If there is no solution to this, then I know my course of
> >>action and would only ask in the future that cygwin environment and
> >>tools support the two modes (Even if that means losing some symbolic
> >>link and Cygwin mounting capabilities).
> >>
> >>If I am wrong, I would appreciate an example of how to set this up..
> >>Thank you in advance.
> >>
> >>Dan
> >>
> >>
> >>--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> >>
> >>>On Thu, 29 Jan 2004, Cohen Dan wrote:
> >>>
> >>>
> Hi,
> 
> I have a project that requires me to use both cygwin and MKS.. MKS
> primarily uses paths like "c:/temp" and cygwin has the path
> "/cygdrive/c/temp".  I know I can use cygpath (cygpath -m
> /cygdrive/c/temp) to convert the cygwin path to "c:/temp" but that
> solution will be very time consuming to implement in the very large
> application I need to convert. I was wondering if there was a way to
> configure cygwin to work with the mixed path mode instead of using
> cygpath in my scripts.
> 
> Thanks in advance.
> Dan
> >>>
> >>>FWIW, Cygwin's file manipulation routines will understand the regular
> >>>Win32-style paths (make sure to quote the backslashes in your shell).
> >>>Programs that don't attempt to manipulate the paths themselves should
> >>>work just fine with Windows paths.  I believe (though I'm not as sure
> >>>of it) that a 'single-letter-followed-by-a-colon-followed-by-a-slash'
> >>>pattern is also used to indicate a Windows path and the DLL acts
> >>>accordingly (i.e., mixed mode should also work).  If you want to make
> >>>sure, look in the latest version of winsup/cygwin/path.cc.
> >>>
> >>>Of course, if some program does attempt to process the path itself
> >>>(e.g., walk through directories, etc), all bets are off.  Also note
> >>>that you will lose the benefit of Cygwin mounts and symlinks if you
> >>>stick to Windows paths.
> >>>  Igor
> >
> >
> Or, if you want to keep your cygwin space unix-y and only have
> windows-style paths when mucking around under /cygdrive (one
> line)(requires sed):
>
> alias pwd='pwd | sed "-es/^\/cygdrive\//:/" -eTz "-e s/\(:\)\(.\)/\2\1/" -e:a 
> "-es/\//\\\/" -eta -e:z'
>
> Hope That's Of Use

Hmm, I believe the OP didn't want "/home/blah", he wanted
"C:/cygwin/home/blah".  And for the /cygdrive/* cases, that's what cygpath
does.  Also, cygpath comes with the cygwin package, and sed requires
installing a separate one.

Besides, you can do it much simpler in sed, something like

alias pwd='pwd | sed -e"s,^/cygdrive/\(.\),\1:," -eTz -e"s,/,\\\,g" -e:z'

Or, since the OP wanted the mixed style ('/' instead of '\') even this

alias pwd='pwd | sed -e"s,^/cygdrive/\(.\),\1:,"'

:-)
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: Cygwin nfs-server

2004-01-29 Thread Igor Pechtchanski
On Thu, 29 Jan 2004 [EMAIL PROTECTED] wrote:

> I am currently working in an environment with Solaris, Linux, and
> Windows machines.  I use Cygwin on my Windows machine all the time and I
> have very little issues.  I am currently using Cygwin's nfs-server to
> create shares to mount on the Solaris and Linux machines.
>
> The nfs-server works great on my Windows 2000 Pro box, but will not run
> on Windows 2000 Server or Windows 2003 Server.  portmap starts correctly
> and can be run as a server, but the rpc.nfsd and mountd.rpc both fail
> when they are started.
>
> When starting the services 'rpc.nfsd -F' or 'rpc.mountd -F' The error is
> as follows:
>
> Cannot register service: RPC: Unable to send; errno = Cannot assign requested address
> nfsd[3248] 01/29/104 16:09 rpcmisc.c 92 : unable to register (nfsd, 2, udp).
>
> Cannot register service: RPC: Unable to send; errno = Cannot assign requested address
> mountd[2404] 01/29/104 16:11 rpcmisc.c 92 : unable to register (mountd, 1, udp).
>
> I have seen a couple posts like this in the past and I am wondering if
> anyone has any more information.
>
> Thanks for your help.
> John

John,

Some things to check:

Are you running these services as SYSTEM?  Separately, or through inetd?
If the former, do you have problems with any other services (e.g., sshd)?
If the latter, do other inetd services (e.g., ftpd) run ok? Do you get the
same errors in the logs (either in /var/log/*, or in the Windows Event
Log)?  Do you have the appropriate entries in /etc/services?  Are you
running any firewall software?

Oh, and please attach your cygcheck output as requested in the Cygwin
problem reporting guidelines at .
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: Can cygwin be configured to always use mixed path output types?

2004-01-29 Thread Graucsh
Igor Pechtchanski wrote:

Besides, you can do it much simpler in sed, something like

alias pwd='pwd | sed -e"s,^/cygdrive/\(.\),\1:," -eTz -e"s,/,\\\,g" -e:z'

Or, since the OP wanted the mixed style ('/' instead of '\') even this

alias pwd='pwd | sed -e"s,^/cygdrive/\(.\),\1:,"'

:-)
Igor
I see I have much to learn about sed, beyond the obvious of combining
steps I missed.  Thanks; that will help clean up another tidbit I've
done to check the path for multiple copies of cygwin1.dll.
Apparently, I have much to learn about Thunderbird, too, as I thought I
had it configured to wrap lines for me at 72 characters, which my prior
post obviously didn't.
John

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


C COM objects?

2004-01-29 Thread Brian Ford
I admit to know almost nothing about COM objects, but I have been tasked
to find out if they can be built from code that uses cygwin1.dll services.

Searching for Cygwin and COM on the web, and in the archives, is difficult
for the obvious .com reason.

What I think I do know is that C++ COM objects are probably out because of
name mangling and vtable issues.  I am still unclear about whether the
libs that implement COM use msvcrt*.dll.  I assume if that is true, then
all COM objects are out because of the newlib conflict.

Any pointers to C COM object examples or information about using Cygwin
based code in them would be *greatly* appreciated.  If you feel this
subject is too far OT, then please feel free to ignore my Reply-To header
and send me personal email.  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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 change this year?

2004-01-29 Thread Rutten, Mark

Is there something different about the way that "setup" runs since Christmas?

I have a local mirror of the cygwin packages (neatened up using Michael Chase's 
clean_setup perl script) which I access across the local network.  I always call setup 
with the "-5" option (no md5 checks).

All was working fine last year, now setup bogs down my machine (excessive processor 
usage by the "system" process) after parsing the setup.ini file.  My first impression 
is that setup is doing the md5 checks without telling me that it is, but I can't be 
sure.  My main confusion stems from the fact that there hasn't been any changes in the 
setup program since last October(ish) - I'm using version 2.416.

If anyone could please give me some hints, that would be fantastic.

Thanks,
Mark.

--
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 change this year?

2004-01-29 Thread Larry Hall
At 06:38 PM 1/29/2004, Rutten, Mark you wrote:

>Is there something different about the way that "setup" runs since Christmas?
>
>I have a local mirror of the cygwin packages (neatened up using Michael Chase's 
>clean_setup perl script) which I access across the local network.  I always call 
>setup with the "-5" option (no md5 checks).
>
>All was working fine last year, now setup bogs down my machine (excessive processor 
>usage by the "system" process) after parsing the setup.ini file.  My first impression 
>is that setup is doing the md5 checks without telling me that it is, but I can't be 
>sure.  My main confusion stems from the fact that there hasn't been any changes in 
>the setup program since last October(ish) - I'm using version 2.416.
>
>If anyone could please give me some hints, that would be fantastic.


Sounds like a local network problem if you're actually just using a local 
mirror and not just using it in addition to other mirrors on the Internet.
That's just a WAG though.  Perhaps you want to visit:



You can pull down 2.418 (really just adds resizable controls) and see if
it acts differently.  You can also pull down the debug version of 2.415.
If it acts similarly, it would give you a quick basis to debug from, 
without having to rebuild 2.416.  But if you're really serious about 
finding your problem, building 2.416 as debug locally is probably your
best course of action.



--
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: setup change this year?

2004-01-29 Thread Robert Collins
On Fri, 2004-01-30 at 10:38, Rutten, Mark wrote:
> Is there something different about the way that "setup" runs since Christmas?

No. No releases for quite a while actually. Larrys suggestion is
probably your best bet to id the problem.

Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part


Re: C COM objects?

2004-01-29 Thread Larry Hall
At 06:43 PM 1/29/2004, Brian Ford you wrote:
>I admit to know almost nothing about COM objects, but I have been tasked
>to find out if they can be built from code that uses cygwin1.dll services.
>
>Searching for Cygwin and COM on the web, and in the archives, is difficult
>for the obvious .com reason.
>
>What I think I do know is that C++ COM objects are probably out because of
>name mangling and vtable issues.  I am still unclear about whether the
>libs that implement COM use msvcrt*.dll.  I assume if that is true, then
>all COM objects are out because of the newlib conflict.
>
>Any pointers to C COM object examples or information about using Cygwin
>based code in them would be *greatly* appreciated.  If you feel this
>subject is too far OT, then please feel free to ignore my Reply-To header
>and send me personal email.  Thanks.


COM doesn't require MSVCRT, though it doesn't preclude it either.  So,
depending on what you're doing and what you're using in COM-land, it's 
possible to dodge the MSVCRT bullet.

COM is language independent, which means it's possible to use COM
objects from C code.  I've never done this though.  I remember some
rumblings about people successfully "working with COM" under Cygwin
but it was long ago and I don't remember any details.

Sorry.


--
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: C COM objects?

2004-01-29 Thread Michael D. Crawford
I tried a couple of times to get ZooLib (http://www.zoolib.org/) to build with 
Cygwin.  ZooLib is a cross-platform application framework, and on Windows uses 
COM to handle the clipboard and drag and drop.

I believe that actually you CAN get COM to work with gcc, even from C++, but 
you're going to need to build gcc and its libraries a different way than the way 
it's normally built by the Cygwin developers.  I'm afraid I don't remember what 
is needed, but it has something to do with vtable thunking.  You need to set 
whatever option deals with that differently than the way it's built normally by 
the cygwin folks.

I'm sorry I can't be more specific, but it's been a while.  Maybe if you search 
for my email address or the word "zoolib" in the list archives you can find 
where I asked about this before.

It's actually not very hard at all to do COM programming in C.  A COM interface 
is little more than a structure full of pointers to functions.  I have some 
sample code from when I gave a talk on writing Mac OS X user clients at MacHack 
last year.  Yes, Apple's Mac OS X actually uses COM!  Who would have thought. 
I've been meaning for months to post the source on my website but I got to fix 
it up before I do.  I'll go have a look and maybe I can post some snippets as a 
reply to this thread.

Mike
--
Michael D. Crawford
GoingWare Inc. - Expert Software Development and Consulting
http://www.goingware.com
[EMAIL PROTECTED]
  Tilting at Windmills for a Better Tomorrow.

"I give you this one rule of conduct. Do what you will, but speak
 out always. Be shunned, be hated, be ridiculed, be scared,
 be in doubt, but don't be gagged."
 -- John J. Chapman, "Make a Bonfire of Your Reputations"
http://www.goingware.com/reputation/
--
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: C COM objects?

2004-01-29 Thread Rafael Kitover
Hi Michael, I remembered your sig from a Slashdot article :)

If COM and OLE are similar beasties, I think you mean -fvtable-thunks. GCC 2.95
required -fvtable-thunks to build OLE stuff, like the Win32::OLE module in the
perl-libwin32 package, but since GCC 3.x it works fine as it is, and that
option no longer exists.

It seems most of the OLE/COM stuff should work more or less fine in Cygwin with
a bit of tweaking.

Now, if only we could get a Cygwin version of tchar.h... I guess I could write
one :)

-- 
Rafael

>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
>Michael D. Crawford
>Sent: Thursday, January 29, 2004 5:29 PM
>To: [EMAIL PROTECTED]
>Subject: Re: C COM objects?
>
>I tried a couple of times to get ZooLib (http://www.zoolib.org/) to build with
>Cygwin.  ZooLib is a cross-platform application framework, and on Windows uses
>COM to handle the clipboard and drag and drop.
>
>I believe that actually you CAN get COM to work with gcc, even from C++, but
>you're going to need to build gcc and its libraries a different way than the
>way
>it's normally built by the Cygwin developers.  I'm afraid I don't remember
>what
>is needed, but it has something to do with vtable thunking.  You need to set
>whatever option deals with that differently than the way it's built normally
>by
>the cygwin folks.
>
>I'm sorry I can't be more specific, but it's been a while.  Maybe if you
>search
>for my email address or the word "zoolib" in the list archives you can find
>where I asked about this before.
>
>It's actually not very hard at all to do COM programming in C.  A COM
>interface
>is little more than a structure full of pointers to functions.  I have some
>sample code from when I gave a talk on writing Mac OS X user clients at
>MacHack
>last year.  Yes, Apple's Mac OS X actually uses COM!  Who would have thought.
>I've been meaning for months to post the source on my website but I got to fix
>it up before I do.  I'll go have a look and maybe I can post some snippets as
>a
>reply to this thread.
>
>Mike
>--
>Michael D. Crawford
>GoingWare Inc. - Expert Software Development and Consulting
>http://www.goingware.com
>[EMAIL PROTECTED]
>
>   Tilting at Windmills for a Better Tomorrow.
>
> "I give you this one rule of conduct. Do what you will, but speak
>  out always. Be shunned, be hated, be ridiculed, be scared,
>  be in doubt, but don't be gagged."
>  -- John J. Chapman, "Make a Bonfire of Your Reputations"
> http://www.goingware.com/reputation/




--
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: C COM objects?

2004-01-29 Thread Michael D. Crawford
Hi Michael, I remembered your sig from a Slashdot article :)
How nice!

If COM and OLE are similar beasties,
OLE is built on top of COM.  Historically, Microsoft came up with OLE to do 
component GUI stuff, but had to find a way for programs to use components from 
other programs, and COM is the solution they found.  I don't think OLE is 
considered all that important anymore, but COM has found uses quite far beyond 
its inventors' original purposes.

It seems most of the OLE/COM stuff should work more or less fine in Cygwin with
a bit of tweaking.
I'll give ZooLib another try.  If I can build ZooLib with Cygwin, that will mean 
that ZooLib can be built with gcc on all the platforms that ZooLib supports (Mac 
OS, Windows, Linux and BeOS).  I think that would encourage its acceptance as a 
framework for writing open source software, if one isn't required to use an 
expensive compiler to build Windows software with it.

Mike
--
Michael D. Crawford
GoingWare Inc. - Expert Software Development and Consulting
http://www.goingware.com
[EMAIL PROTECTED]
  Tilting at Windmills for a Better Tomorrow.

"I give you this one rule of conduct. Do what you will, but speak
 out always. Be shunned, be hated, be ridiculed, be scared,
 be in doubt, but don't be gagged."
 -- John J. Chapman, "Make a Bonfire of Your Reputations"
http://www.goingware.com/reputation/
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


gdb/ddd problem

2004-01-29 Thread Lester Ingber
I have all the latest current Cygwin files.  I just tried ddd on an
executable.  The DDD: Debugger Console came up, but I got a blank screen
with messages about problems with gdb:

% ddd run_trd.exe
gdb: access /dev/tty3: No such file or directory
gdb: cannot open master pty: No such file or directory
gdb: communication setup failed

I'm not sure if this a gdb or an xfree problem, so I'm cross-posting this.

Any suggestions?

Thanks.

Lester



--
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 : gdb/ddd problem

2004-01-29 Thread Dirk.Fassbender
> I have all the latest current Cygwin files.  I just tried ddd on an
> executable.  The DDD: Debugger Console came up, but I got a blank screen
> with messages about problems with gdb:
> % ddd run_trd.exe
> gdb: access /dev/tty3: No such file or directory
> gdb: cannot open master pty: No such file or directory
> gdb: communication setup failed
> I'm not sure if this a gdb or an xfree problem, so I'm cross-posting this.
> Any suggestions?
> Thanks.
> Lester

The problem is solved in the latest snapshot of the cygwin DLL.
 
See : 
http://cygwin.com/ml/cygwin/2004-01/msg00796.html
http://www.cygwin.com/ml/cygwin/2004-01/msg01036.html
http://cygwin.com/snapshots/
 
Regards
Dirk
 

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