unable to open the display on local machine

2003-11-20 Thread daniel43
Hello,

I have installed cygwin localy on a W2K PC.
I have installed the package ghostview, using the setup.exe utility.
Now, if I try to start ghostview, I type:
$ gv &
I get the error message:
gv: Unable to open the display.

I tried to set the DISPLAY variable:
$setenv DISPLAY localhost:0.0
But the setenv command is not known.
So I tried with set:
$set DISPLAY localhost:0.0
But this does not seem to do anything.
When I echo the variable DISPLAY:
$echo $DISPLAY
I just get a blank line.

Help would be very apreciated.
Thank you,

Daniel.

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++


--
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: unable to open the display on local machine

2003-11-20 Thread Klemens Meyer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
| Hello,
|
| I have installed cygwin localy on a W2K PC.
| I have installed the package ghostview, using the setup.exe utility.
| Now, if I try to start ghostview, I type:
| $ gv &
| I get the error message:
| gv: Unable to open the display.
Do you have installed and started X-Windows?
If not you should do that before starting gv.
| I tried to set the DISPLAY variable:
| $setenv DISPLAY localhost:0.0
| But the setenv command is not known.
| So I tried with set:
| $set DISPLAY localhost:0.0
| But this does not seem to do anything.
| When I echo the variable DISPLAY:
| $echo $DISPLAY
| I just get a blank line.
Cygwin uses the bash shell as default. In bash setting a variable
is done this way:
	export DISPLAY="localhost:0.0"

Klemens
- --
Ever wondered where I work? Try this:
http://www.map-scout.de/myMap.asp?G=332EBA4E8A73442294C50D02C0FB9C7A&S=0
- --

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/vG8MdDBiVZS7P/MRApWiAJ9On572OBvDDyDTln3y8yocaEd0XwCglvSq
VS0b8Ku++aNDs2LQfJvfguc=
=BoR/
-END PGP SIGNATURE-
--
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: ssh: Permission denied

2003-11-20 Thread friedrich_lehn
Sorry, my info was too sparse.
Here is what I could find:

/var/log/sshd.log: no entries on both sides

Windows event log:
The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The
local computer may not have the necessary registry information or message
DLL files to display messages from a remote computer. The following
information is part of the event: sshd : PID 1884 : Failed password for
AdminCCRD from 195.65.184.50 port 26978 ssh2.

Strange thing is that the ip address doesn't match with both sides and I
thought ssh uses port number 22 exclusively (at least that's what out
network guys opened for me).
AdminCCRD is a local account on crdw0157, does he try to access the domain
server? How would I specify a local account then?

AdminCCRD is also the account I configured for the sshd demon when setting
up the Windows service. He has local admin rights.

Here is the log from the client side:

ssh crdw0157 -vvv -l AdminCCRD
...
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug3: userauth_kbdint: disable: no info_req_seen
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred:
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
[EMAIL PROTECTED]'s password:
debug3: packet_send2: adding 48 (len 62 padlen 18 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
Permission denied, please try again.
[EMAIL PROTECTED]'s password:



|-+--->
| |   Larry Hall  |
| |   <[EMAIL PROTECTED]|
| |   n.com>  |
| |   |
| |   19.11.2003 19:49|
| |   Please respond  |
| |   to Cygwin List  |
| |   |
|-+--->
  
>---|
  |
   |
  |To:  [EMAIL PROTECTED], [EMAIL PROTECTED]   
 |
  |cc: 
   |
  |Subject: Re: ssh: Permission denied 
   |
  
>---|




At 12:02 PM 11/19/2003, [EMAIL PROTECTED] you wrote:
>I've installed ssh.
>I managed to get passwordless access via RSA.
>However, I didn't manage to get access via password authentication.
>/etc/passwd seems to be OK, I tried different accounts (local, domain,
>admin) for login and for the sshd service log on account - no success.
>
>TIA for any hints, Friedrich


Since password authentication is generally far easier to configure (i.e.
you generally get it "for free"), I'm going to have to direct you to
 with the added comment that you should
think about what information might be necessary for someone else to see
what your problem might be.  This process may even present the solution
without the need for the repost.  I'd recommend that you scrutinize ssh
and sshd debug output (from their respective debug modes) and log files
too.

Good luck,



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



latex and lyx

2003-11-20 Thread koorapati, koundinya
Cygwin users,
  Has anyone got lyx to work under cygwin with latex (one which is
packaged under cygwin  ?. 

Thanks Koundinya

--
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: latex and lyx

2003-11-20 Thread Thorsten Kampe
* koorapati, koundinya (2003-11-20 09:24 +0100)
>   Has anyone got lyx to work under cygwin with latex (one which is
> packaged under cygwin  ?. 

Yes, works like a charm. There's s package for Cygwin on their
website.

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


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



installing kinput2 and canna with cygwin

2003-11-20 Thread John P. Sutter
Dear Cygwin users,

I am trying to install kinput2 (Version 3.1) and canna (Version 3.6) in
order to input Japanese characters into XFIG, which runs on my copy of
Cygwin/XFree86 on a Windows XP PC. I downloaded both tar files from the
Debian web site and successfully installed and compiled both of them
through Cygwin. However, when I type "kinput2" in Cygwin to start the
program, I see a Windows (not Cygwin!) error stating that the
application could not be started because file libcanna16.dll could not
be found. However, I checked the files extracted from the canna tar file
and found that this dll file actually does exist. Adding the directory
in which this file was stored to the system environment variable PATH
did not help. Neither did making a soft link from the directory in which
kinput2.exe was stored to the file libcanna16.dll. Does anyone know how
to get kinput2 to see this file?

I apologize if this is an old question. I did check the web for
information, but most of it is in Japanese, which I haven't learned well
enough to read yet.

Yours truly,

John P. Sutter
Spring-8/JASRI
1 - 1 - 1 Kouto, Mikazuki-cho, Sayo-gun, Hyogo 679-5198
JAPAN
Tel: +81 791 58 0802 (x3105)
Fax: +81 791 58 1816






--
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: ssh: Permission denied

2003-11-20 Thread Corinna Vinschen
On Thu, Nov 20, 2003 at 09:02:08AM +0100, [EMAIL PROTECTED] wrote:
> AdminCCRD is also the account I configured for the sshd demon when setting
> up the Windows service. He has local admin rights.

Local Admins don't have the right to do this.  You must run sshd under
LocalSystem account to do this.

Again, my suggestions:

/usr/share/doc/Cygwin/openssh.README
/usr/bin/ssh-host-config
/usr/bin/ssh-user-config

Corinna

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

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



Re: latex and lyx

2003-11-20 Thread Demmer, Thomas
Thorsten Kampe wrote:
>* koorapati, koundinya (2003-11-20 09:24 +0100)
>>   Has anyone got lyx to work under cygwin with latex (one which is
>> packaged under cygwin  ?. 
>
>Yes, works like a charm. There's s package for Cygwin on their
>website.
>
>Thorsten

Thorsten, there is no cygwin package that contains lyx, 
that is none I found in the package search, and I didn't find a 
cygwin hint on www.lyx.org, but I may
missed that. Can you give us a pointer? 

Thanks,
Ciao

Tom

Thomas Demmer
Kraft Foods R&D Inc.
Tel.: +49 (0)89 62738-6302
Fax: +49 (0)89 62738-86302

Thought of the day
Sodd's Second Law:
   Sooner or later, the worst possible set of circumstances is
   bound to occur.

--
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 binary works but not from a cygwin shell

2003-11-20 Thread Joerg Fischer
> Now I've built an nedit binary with 1.5.5 and it works fine, only I
> can't start it from the bash or another cygwin shell. I get a
> segfault and a signal 11. However, when I export HOME to a
> directory *outside* the cygwin tree (which I usually do - I have a
> sh script starting up nedit and setting some environment variables
> *including HOME* and handling Windows path names), then it runs.
> 
> Interestingly previously built binaries (with 1.3.22) run also
> under 1.5.5 and HOME set to my home directory inside Cygwin.

The problem has something to do with installing a 1.5 version
over a 1.3 version, I guess.

I've now reinstalled Cygwin 1.5.5 completely, where by the
first invocation of bash runs some scripts. With this 
installation it works with the HOME variable set to
/home/, i.e. inside the cygwin tree.

Cheers,
Jörg

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++


--
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: FW: OpenSSH Problem

2003-11-20 Thread Martin Jones
Thanks,

All looks good now.

Regards

Martin
Liffe @ London

-Original Message-
From: Larry Hall [mailto:[EMAIL PROTECTED] 
Sent: 19 November 2003 19:01
To: Martin Jones; [EMAIL PROTECTED]
Cc: Eric Hanchrow
Subject: RE: FW: OpenSSH Problem


---INTERNET EMAIL NOTIFICATION---
   This email originates from the Internet and therefore may not be from
the apparent sender. Please check any attachments carefully before
opening them as they may not be as they appear. 
If you have any doubts about the origin or content of the email please
contact PC Support on x2288.
---

At 12:18 PM 11/19/2003, Martin Jones you wrote:
>Hi,
>
>I decided to remove the .ssh directory and then do a ssh-user-config to

>set up the directory again. I changed the .ssh directory to 700 and the

>contents to 600. Now I get:
>
>$ ssh localhost
>Last login: Wed Nov 19 17:13:33 2003 from 127.0.0.1
>C:\cygwin\usr\sbin\sshd.exe: *** CreateFileMapping, Win32 error 0. 
>Terminating. Connection to localhost closed.
>
>Any ideas ?


Do you google?



is one related thread on this issue. 


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



---
The information contained in this e-mail is confidential and solely 
for the intended addressee(s). Unauthorised reproduction, disclosure, 
modification, and/or distribution of this email may be unlawful. If you 
have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message 
do not necessarily reflect those of LIFFE Holdings Plc or any of its subsidiary 
companies.
---


--
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: [ANNOUNCEMENT] Updated Cygwin Package: postgresql-7.4-1

2003-11-20 Thread Dr. Volker Zell
> "Jason" == Jason Tishler <[EMAIL PROTECTED]> writes:

Jason> New News:
Jason> === 
Jason> I have updated the version of PostgreSQL to 7.4-1.  The tarballs should
Jason> be available on a Cygwin mirror near you shortly.

Is it by intention that the python dll's are missing relative to the latest version ?

By the way is it possible to exclude the catX (X=1,...,9,m,n...) directories from
the package. They are empty anyway.
According to the man man-page it is possible to specify other mappings from the
man directories to the cat directories.
For example I made the following mappings in /etc/man.config:

MANPATH /usr/man  /var/cache/man
MANPATH /usr/share/man/var/cache/man
MANPATH /usr/ssl/man  /var/cache/man
MANPATH /usr/X11R6/man/var/cache/man/X11R6
MANPATH /usr/local/man/var/cache/man/local
MANPATH /usr/local/share/man  /var/cache/man/local

This way I don't clutter my /usr tree. One problem still persists. I hope the
maintainer of man takes care not to overwrite the man.config each time a new
man package gets installed :-(

Jason> Jason

Ciao
  Volker


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



RE: Problem with noninteractive bash initialization

2003-11-20 Thread Hannu E K Nevalainen
> From: Igor Pechtchanski
> Sent: Wednesday, November 19, 2003 10:15 PM

> On Wed, 19 Nov 2003, Wirawan Purwanto wrote:
>
> > Hi,
> >
> > How should a noninteractive bash begin (i.e. for executing a script)?
> > Should bash read init files like ~/.bashrc, ~/.bash_profile, or
> > /etc/profile? According to bash documentation on
> >
> >   http://www.gnu.org/manual/bash-2.05a/html_mono/bashref.html#SEC62 ,
> >
> > NO initialization files would be read. But cygwin's bash (version
> > 2.05b.0(1)-release) DOES reads and executes ~/.bashrc BEFORE
> executing the
> > actual script itself. Why is this? Is this not a deviation from the
> > prescribed behavior, or what?

> > Can somebody explain what's wrong with this?
> >
> > Wirawan


> Don't know, WFM:
>
> $ echo '#!/bin/bash
> echo "Hellow"' > xyz
> $ bash -x xyz
> + echo Hellow
> Hellow
> $ bash --version
> GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin)
> Copyright (C) 2002 Free Software Foundation, Inc.
> $
>
> BTW, the #! line is redundant if you invoke the script this way -- bash
> (the one you invoked on the command line) simply interprets the commands
> in it, and #! is ignored.
>   Igor

$ man bash
/--login

--8<
   --login
  Equivalent to -l.


   --noprofile
  Do  not read either the system-wide startup file /etc/profile
or
  any  of  the  personal  initialization  files
~/.bash_profile,
  ~/.bash_login,  or  ~/.profile.   By  default,  bash reads
these
  files when it is  invoked  as  a  login  shell  (see
INVOCATION
  below).
--8<

Looks like W.P's bash acts as a login shell by default. Maybe it is compiled
that way, or "bash" might be a (sym)link or something?

/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: latex and lyx

2003-11-20 Thread Thorsten Kampe
* Demmer, Thomas (2003-11-20 10:07 +0100)
> Thorsten Kampe wrote:
>>* koorapati, koundinya (2003-11-20 09:24 +0100)
>>>   Has anyone got lyx to work under cygwin with latex (one which is
>>> packaged under cygwin  ?. 
>>
>>Yes, works like a charm. There's s package for Cygwin on their
>>website.
>>
>>Thorsten

> Thorsten, there is no cygwin package that contains lyx, 
> that is none I found in the package search, and I didn't find a 
> cygwin hint on www.lyx.org, but I may
> missed that. Can you give us a pointer? 

http://wwwserv1.rz.fh-hannover.de/mbau/tim/hentschel/lyx/

Native: http://www.home.zonnet.nl/rareitsma/lyx/

Thorsten


--
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: latex and lyx

2003-11-20 Thread koorapati, koundinya
The thing is that MikTex should be used instead of the the default
tetex/latex that gets installed with cygwin. There are instructions to
uninstall tetex. Am I right in assuming so ?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Thorsten Kampe
Sent: Thursday, November 20, 2003 6:48 PM
To: [EMAIL PROTECTED]
Subject: Re: latex and lyx


* Demmer, Thomas (2003-11-20 10:07 +0100)
> Thorsten Kampe wrote:
>>* koorapati, koundinya (2003-11-20 09:24 +0100)
>>>   Has anyone got lyx to work under cygwin with latex (one which is
>>> packaged under cygwin  ?. 
>>
>>Yes, works like a charm. There's s package for Cygwin on their
>>website.
>>
>>Thorsten

> Thorsten, there is no cygwin package that contains lyx, 
> that is none I found in the package search, and I didn't find a 
> cygwin hint on www.lyx.org, but I may
> missed that. Can you give us a pointer? 

http://wwwserv1.rz.fh-hannover.de/mbau/tim/hentschel/lyx/

Native: http://www.home.zonnet.nl/rareitsma/lyx/

Thorsten


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

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



1.5.5: 'date', 'ls -la' are too slow (2-3 secs on a powerfull PC!)

2003-11-20 Thread Andrei Emelianenko
There are some strange delays happenning in some commands.
Below the output of 'date' and 'ls -la' on an empty directory and the slow calls found 
by strace.
Thank you in advance for giving a feedback.
 
Regards,
Andrei
 

~t> date;date;date;date;date   
 Thu,20 15:45:41
Thu Nov 20 15:45:47 WEST 2003
Thu Nov 20 15:45:49 WEST 2003
Thu Nov 20 15:45:52 WEST 2003
Thu Nov 20 15:45:54 WEST 2003
Thu Nov 20 15:45:57 WEST 2003
~t> strace date > out 2>err
 Thu,20 15:45:57
~t> sed '1,9d' out|awk '{dt=$1; printf("%10d ",dt); print}'|$cw/bin/sort|tail  
 Thu,20 15:46:04
   741   741   67873 [main] date 3104 handle_to_fn: nt name 
'\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume
1\Equalizer\EqDelta\tmp\out'
   956   956   60347 [main] date 3104 sigproc_init: process/signal handling 
enabled(1)
   984   984   58877 [main] date 3104 pwdgrp::load: /etc/group curr_lines 11
  1027  1027   55141 [main] date 3104 pwdgrp::load: /etc/passwd curr_lines 11
  1341  13412900 [main] date 3104 environ_init: 0x100204D8: 
ALLUSERSPROFILE=C:\Documents and Settings\All Users
  1618  1618 2444389 [main] date 3104 _pinfo::exit: Calling ExitProcess 0
  2101  2101   90791 [main] date 3104 handle_to_fn: derived path 
'\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockV
olume1\Equalizer\EqDelta\tmp\err'
  2179  2179   70052 [main] date 3104 handle_to_fn: derived path 
'\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockV
olume1\Equalizer\EqDelta\tmp\out'
  2629  2629   65542 [main] date 3104 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
   2288172 2288172 2416561 [main] date 3104 _cygwin_istext_for_stdio: 
_cygwin_istext_for_stdio (0)
~t> $cw/bin/ls-4.1-1.exe -la   
 Thu,20 15:46:18
total 127
drwxrwxrwx+   2 adm-zh32 None0 Nov 20 15:29 .
dr-xr-xr-x+   7 Administ None 8192 Nov 20 15:00 ..
-rw-rw-rw-1 adm-zh32 None0 Nov 20 15:46 err
-rw-rw-rw-1 adm-zh32 None   121747 Nov 20 15:46 out
-rwxrwxrwx1 Administ None 3217 Nov 20 15:44 q
-rwxrwxrwx1 Administ None 3169 Nov 20 15:29 q~
~t> strace $cw/bin/ls-4.1-1.exe -la > out 2>err
 Thu,20 15:46:34
~t> sed '1,9d' out|awk '{dt=$1; printf("%10d ",dt); print}'|$cw/bin/sort|tail  
 Thu,20 15:46:47
   972   972   55395 [main] ls-4.1-1 4216 pwdgrp::load: /etc/passwd curr_lines 11
   986   986  112893 [main] ls-4.1-1 4216 normalize_posix_path: src .
  1039  1039   60598 [main] ls-4.1-1 4216 sigproc_init: process/signal handling 
enabled(1)
  1342  13422841 [main] ls-4.1-1 4216 environ_init: 0xA0404D8: 
ALLUSERSPROFILE=C:\Documents and Settings\All Use
rs
  1612  1612 2540172 [main] ls-4.1-1 4216 _pinfo::exit: Calling ExitProcess 0
  2129  2129   91425 [main] ls-4.1-1 4216 handle_to_fn: derived path 
'\Device\HarddiskDmVolumes\PhysicalDmVolumes\Bl
ockVolume1\Equalizer\EqDelta\tmp\err'
  2134  2134   71008 [main] ls-4.1-1 4216 handle_to_fn: derived path 
'\Device\HarddiskDmVolumes\PhysicalDmVolumes\Bl
ockVolume1\Equalizer\EqDelta\tmp\out'
  2579  2579   66692 [main] ls-4.1-1 4216 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
 11181 11181  135084 [main] ls-4.1-1 4216 normalize_posix_path: src .
   2296086 2296086 2532494 [main] ls-4.1-1 4216 etc::dir_changed: fn[1] 
E:\Equalizer\EqDelta\Eqprod\cygwin\etc\passwd ch
ange_possible 0
~t> uname -a   
 Thu,20 15:46:47
CYGWIN_NT-5.0 hgzb-zh-32 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin
~t>
 Thu,20 15:46:54
 
 
 


Re: ssh: Permission denied

2003-11-20 Thread Larry Hall
If AdminCCRD is really an account created to run sshd and has been properly
privileged to allow switching users, then this is really not a good account
to log into with ssh.  Why not use a "regular" account without all these
security risks?

I guess I'm not communicating well, though I'm not sure how I can be more
clear.  You need to provide background details of your installation at 
least.  Just knowing what happens and a few log statements isn't enough
in this case.  That's why I've been pointing you to 
.  It explains how this list works, how
one should present a problem to the list, and some real specifics of 
required information that should be sent (i.e. cygcheck output) that should
be sent with any inquiry.  I've been pointing to save me from 
regurgitating what's there and sparing others that read this list from a 
rehash of these details.  Have you read this page?  If not, please do so
and process it.

I think you're going to want to install a version of sshd in debug mode as
well.  That will dump allot of info to the sshd.log file, which should help
you out (which is the reason I suggested it ;-) ).  If this doesn't clarify 
the issue for you, you should make sure you provide the sshd log file, your 
/etc/passwd and /etc/group files, and your cygcheck output with whatever 
other pertinent information is necessary when you post to the list for help 
on this issue.  It may be an obvious problem but the information provided so 
far doesn't show it.

Larry


At 03:02 AM 11/20/2003, [EMAIL PROTECTED] you wrote:
>Sorry, my info was too sparse.
>Here is what I could find:
>
>/var/log/sshd.log: no entries on both sides
>
>Windows event log:
>The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The
>local computer may not have the necessary registry information or message
>DLL files to display messages from a remote computer. The following
>information is part of the event: sshd : PID 1884 : Failed password for
>AdminCCRD from 195.65.184.50 port 26978 ssh2.
>
>Strange thing is that the ip address doesn't match with both sides and I
>thought ssh uses port number 22 exclusively (at least that's what out
>network guys opened for me).
>AdminCCRD is a local account on crdw0157, does he try to access the domain
>server? How would I specify a local account then?
>
>AdminCCRD is also the account I configured for the sshd demon when setting
>up the Windows service. He has local admin rights.
>
>Here is the log from the client side:
>
>ssh crdw0157 -vvv -l AdminCCRD
>...
>debug1: Next authentication method: keyboard-interactive
>debug2: userauth_kbdint
>debug2: we sent a keyboard-interactive packet, wait for reply
>debug1: Authentications that can continue:
>publickey,password,keyboard-interactive
>debug3: userauth_kbdint: disable: no info_req_seen
>debug2: we did not send a packet, disable method
>debug3: authmethod_lookup password
>debug3: remaining preferred:
>debug3: authmethod_is_enabled password
>debug1: Next authentication method: password
>[EMAIL PROTECTED]'s password:
>debug3: packet_send2: adding 48 (len 62 padlen 18 extra_pad 64)
>debug2: we sent a password packet, wait for reply
>debug1: Authentications that can continue:
>publickey,password,keyboard-interactive
>Permission denied, please try again.
>[EMAIL PROTECTED]'s password:
>
>
>
>|-+--->
>| |   Larry Hall  |
>| |   <[EMAIL PROTECTED]|
>| |   n.com>  |
>| |   |
>| |   19.11.2003 19:49|
>| |   Please respond  |
>| |   to Cygwin List  |
>| |   |
>|-+--->
>  
> >---|
>  |   
> |
>  |To:  [EMAIL PROTECTED], [EMAIL PROTECTED]  
>   |
>  |cc:
> |
>  |Subject: Re: ssh: Permission denied
> |
>  
> >---|
>
>
>
>
>At 12:02 PM 11/19/2003, [EMAIL PROTECTED] you wrote:
>>I've installed ssh.
>>I managed to get passwordless access via RSA.
>>However, I didn't manage to get access via password authentication.
>>/etc/passwd seems to be OK, I tried different accounts (local, domain,
>>admin) for login and for the sshd service log on account - no success.
>>
>>TIA for any hints, Friedrich
>
>
>Since password authentication is generally far easier to configure (i.e.
>you generally get it 

RE: Problem with noninteractive bash initialization

2003-11-20 Thread Wirawan Purwanto
Yes, BUT I suppose that the shell used for executing a script is a
NON-interactive shell, because it doesn't take _commands_ from the user,
rather from the script. Isn't this right? Therefore it does not agree with
the prescribed behavior in the documentation.

Wirawan

On Thu, 20 Nov 2003, Morche Matthias wrote:

> Dunno where Your read, but the document You referenced says: "When an
> interactive shell that is not a login shell is started, Bash reads and
> executes commands from `~/.bashrc', if that file exists."
> 
>   matthias
> 
> 
> > -Original Message-
> > From: Wirawan Purwanto [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, November 19, 2003 9:47 PM
> > To: [EMAIL PROTECTED]
> > Subject: Problem with noninteractive bash initialization
> > 
> > 
> > Hi,
> > 
> > How should a noninteractive bash begin (i.e. for executing a 
> > script)?  
> > Should bash read init files like ~/.bashrc, ~/.bash_profile, or
> > /etc/profile? According to bash documentation on
> > 
> >   http://www.gnu.org/manual/bash-2.05a/html_mono/bashref.html#SEC62 ,
> > 
> > NO initialization files would be read. But cygwin's bash (version
> ..
> 

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



RE: Problem with noninteractive bash initialization

2003-11-20 Thread Larry Hall
Perhaps.  But it's more likely to be something local in your environment.  
As stated in , your 
problem is not reproducible generally so you're going to need to dig a little 
deeper to find its source.

Larry

At 10:38 AM 11/20/2003, Wirawan Purwanto you wrote:
>Yes, BUT I suppose that the shell used for executing a script is a
>NON-interactive shell, because it doesn't take _commands_ from the user,
>rather from the script. Isn't this right? Therefore it does not agree with
>the prescribed behavior in the documentation.
>
>Wirawan
>
>On Thu, 20 Nov 2003, Morche Matthias wrote:
>
>> Dunno where Your read, but the document You referenced says: "When an
>> interactive shell that is not a login shell is started, Bash reads and
>> executes commands from `~/.bashrc', if that file exists."
>> 
>>   matthias
>> 
>> 
>> > -Original Message-
>> > From: Wirawan Purwanto [mailto:[EMAIL PROTECTED]
>> > Sent: Wednesday, November 19, 2003 9:47 PM
>> > To: [EMAIL PROTECTED]
>> > Subject: Problem with noninteractive bash initialization
>> > 
>> > 
>> > Hi,
>> > 
>> > How should a noninteractive bash begin (i.e. for executing a 
>> > script)?  
>> > Should bash read init files like ~/.bashrc, ~/.bash_profile, or
>> > /etc/profile? According to bash documentation on
>> > 
>> >   http://www.gnu.org/manual/bash-2.05a/html_mono/bashref.html#SEC62 ,
>> > 
>> > NO initialization files would be read. But cygwin's bash (version
>> ..
>> 
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:   http://cygwin.com/problems.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/


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



installer chokes on unix line endings

2003-11-20 Thread Neal Becker
Ironic, isn't it?  If you download setup.ini with unix line endings, the
installer fails to parse it.  I'm guessing this can't be too hard to fix.


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



RE: Problem with noninteractive bash initialization

2003-11-20 Thread Morche Matthias
Hi Wirawan,

the section "Invoked non-interactively" of 
"http://www.gnu.org/manual/bash-2.05a/html_mono/bashref.html#SEC62"; describes the 
differences to the other forms of invoking bash. There is no reference to the .bashrc 
startup script. That states only that there is no other invoking of startupscripts 
than in the sections above.

~/.bashrc IS executed and that IS the prescribed behavior and is has been ever since. 
You can avoid this by calling "bash --norc scriptfile" or "bash --rcfile rcfile 
scriptfile".

But I think too, it would have been more accurate to mention the invoking of ~/.bashrc 
explicitly.

  matthias



> -Original Message-
> From: Wirawan Purwanto [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 20, 2003 4:38 PM
> To: Morche Matthias
> Cc: [EMAIL PROTECTED]
> Subject: RE: Problem with noninteractive bash initialization
> 
> 
> Yes, BUT I suppose that the shell used for executing a script is a
> NON-interactive shell, because it doesn't take _commands_ 
> from the user,
> rather from the script. Isn't this right? Therefore it does 
> not agree with
> the prescribed behavior in the documentation.
> 
> Wirawan
> 
...
 

--
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: latex and lyx

2003-11-20 Thread David A. Case
On Thu, Nov 20, 2003, koorapati, koundinya wrote:

> The thing is that MikTex should be used instead of the the default
> tetex/latex that gets installed with cygwin. There are instructions to
> uninstall tetex. Am I right in assuming so ?

Some of the installation instructions for the cygwin port of LyX were written
a long time ago and are outdated.  Several users on the LyX mailing lists
(including me) have reported no problems using cygwin's tetex along with the
Hentschel package for LyX.  (Basically, just install the LyX package into
your cygwin tree, and use the cygwin versions of tetex, python, perl, sh,
imagemagick and ghostscript to complete the package.)

The cygwin package is at:

> 
> http://wwwserv1.rz.fh-hannover.de/mbau/tim/hentschel/lyx/
> 

Many windows users prefer the "native" package because it has a nicer looking
GUI, with better on-screen fonts  (which can be important for a interface that
you might be staring out for many hours at a time):

> Native: http://www.home.zonnet.nl/rareitsma/lyx/
> 

..hope this helps...dac


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



Re: Problem with noninteractive bash initialization

2003-11-20 Thread Wirawan Purwanto
On Wed, 19 Nov 2003, Igor Pechtchanski wrote:

> Don't know, WFM:
> 
> $ echo '#!/bin/bash
> echo "Hellow"' > xyz
> $ bash -x xyz
> + echo Hellow
> Hellow
> $ bash --version
> GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin)
> Copyright (C) 2002 Free Software Foundation, Inc.
> $
> 
> BTW, the #! line is redundant if you invoke the script this way -- bash
> (the one you invoked on the command line) simply interprets the commands
> in it, and #! is ignored.
>   Igor
> 

Do you have a ~/.bashrc file? Or is it empty?

BTW I also noticed the same strange behavior on several other versions of 
cygwin. Notably,

On Linux Mandrake release 7.2 (Odyssey) for i586:
GNU bash, version 2.04.12(1)-release (i586-mandrake-linux-gnu)
Copyright 1999 Free Software Foundation, Inc.

On Red Hat Linux release 7.1 (Seawolf) for alpha:
GNU bash, version 2.04.21(1)-release (alpha-redhat-linux-gnu)
Copyright 1999 Free Software Foundation, Inc.

<... wandering some more ...>

WHOOPS. Okay! I found the culprit. That's the BASH_ENV environment
variable! If it is set, the file whose name given by that variable will be
READ and executed BEFORE the actual script is invoked.

Thanks guys for the help!

Wirawan


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



ghostscript on Windows and cygwin path style

2003-11-20 Thread Nev Bis
I have cygwin version 1.32 running on Windows XP Pro.
I have ghostscript 8.11 installed in
C:\gs\gs8.11\bin. Under this same directory, I have a
file called "gs", containing this line:

gswin32c $*

I also have XFree86 installed and xfig 3.2.4

Xfig has a problem invoking gs to convert a eps file
into pcx. The problem
appears to be that gs does not recognize the path
style. In fact when I
invoke gs from the bash shell with a file under the
working directory, it
works fine. But when I call it this way

gs /c/directory/somefile.ps

I get this error from ghostscript

/undefinedfilename in ( /c/directory/somefile.ps)

What should I do?

Thanks,
Nevine


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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

1.5.5: SEGV in calloc before start of main

2003-11-20 Thread Lloyd Lewins
In a program that has been running on cygwin (and
other Unix platforms) for many years, I have started
getting a SEGV in calloc:

Program received signal SIGSEGV, Segmentation fault.
0x6103ee0e in cygwin1!calloc () from
/usr/bin/cygwin1.dll

This occurs even if I set a breakpoint at the start of
my program (i.e. the SEGV is before the application
code runs -- straight C, no C++).

The stackdump is empty -- or I would attach it too.

Lloyd Lewins


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Nov 20 08:33:17 2003

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   .
c:\cygwin\usr\local\bin
c:\cygwin\bin
c:\cygwin\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\system32\WBEM
c:\cygwin\usr\local\bin
c:\cygwin\bin
c:\cygwin\usr\X11r6\bin
c:\Perl\bin\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Tornado2\host\x86-win32\bin
c:\green
c:\ccm45\bin
c:\Program
Files\Common
Files\Adaptec
Shared\System
c:\Program
Files\Support
Tools\
c:\Cayenne\TwkDocTools\doc\bin
c:\Cayenne\TwkDocTools\docit\bin
c:\Cayenne\Teamwork\bin
c:\Program
Files\Hummingbird\Connectivity\7.10\Accessories\
c:\Program
Files\Resource
Pro
Kit\
c:\PROGRA~1\ATT\Graphviz\bin
c:\PROGRA~1\ATT\Graphviz\bin\tools
c:\Program
Files\Xerox\DSClient
c:\Program
Files\ATI
Technologies\ATI
Control
Panel
c:\PROGRA~1\ATT\Graphviz\bin
c:\PROGRA~1\ATT\Graphviz\bin\tools
c:\CAYENNE\TWKADATOOLS\BIN\PC-WIN95
c:\cygwin\usr\X11R6\bin

Output from c:\cygwin\bin\id.exe (nontsec)
UID: 17049(00c3197) GID: 10545(mkgroup_l_d)
10545(mkgroup_l_d)

Output from c:\cygwin\bin\id.exe (ntsec)
UID: 17049(00c3197) GID: 10545(mkgroup_l_d)
544(Administrators)   545(Users)
1003(Debugger Users)  1006(Hpps)
10545(mkgroup_l_d)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `\\es-eng-essfile\users\00c3197'
MAKE_MODE = `unix'
PWD = `/j/ContinuusWorkAreas/Espresso-lewins/Espresso/espresso'
USER = `00c3197'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\00c3197.HUGHES-MAD01\Application Data'
ATAHOME = `c:\Cayenne\TwkDocTools'
CC = `gcc'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `ZA-LLEWINS'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CXX = `g++-2'
EDITOR = `vim'
EMAIL_ADDRESS = [EMAIL PROTECTED]'
GHS_HOST = `ES-ENG-ATFLIR'
GHS_LMHOST = `ES-ENG-ATFLIR'
GROUP = `mkgroup_l_d'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\00c3197.HUGHES-MAD01'
HOST = `za-llewins'
HOSTNAME = `ZA-LLEWINS'
HOSTTYPE = `i386'
INCLUDE = `C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\'
LESS = `-B -c -h4 -i -M -q -x4 -G'
LIB = `C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\'
LM_LICENSE_FILE = `c:\Cayenne\flexlm\license\cayenne.dat;ES-ENG-ATFLIR;7126@;[EMAIL 
PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL 
PROTECTED];[EMAIL PROTECTED]'
LOGNAME = `00c3197'
LOGONSERVER = `\\ES2-MAD01'
MACHTYPE = `i386'
MANPATH = `:/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
OSTYPE = `posix'
PAGER = `less'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 4, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0204'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
SESSIONNAME = `Console'
SHELL = `/bin/tcsh.exe'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TERM = `cygwin'
TWK_CONFIG = `\\ES-ENG-ATFLIR3\twkdb1\config_file.txt'
TZ = `PST8PST7,M4.1.0/2,M10.5.0/2'
USERDNSDOMAIN = `HUGHES-MAD01.ADTEMP.RAY.COM'
USERDOMAIN = `HUGHES-MAD01'
USERNAME = `00c3197'
USERPROFILE = `C:\Documents and Settings\00c3197.HUGHES-MAD01'
VENDOR = `intel'
VSCOMNTOOLS = `"C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"'
VSLICKCONFIG = `c:\DOCUME~1\00C319~1.HUG\UserData\SlikEdit'
WINDIR = `C:\WINDOWS'
WIND_BASE = `c:\Tornado2'
WIND_HOST_TYPE = `x86-win32'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/home/00c3197
  (default) = `\\es-eng-essfile\users\00c3197'
  flags = 0x0002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutio

Crontab does not work, Windows 2000

2003-11-20 Thread Tim Ashman
Crontab will not run on my Cygwin platform.

I am using Cygwin 1.5.5 under Windows 2000 5.00.2195 Service Pack 4.

I want to schedule some bash scripts using crontab. Each script runs 
perfectly fine on its own. I created the following crontab from the bash 
shell, located at /bin/bash:

  # DO NOT EDIT THIS FILE - edit the master and reinstall.
  # (/tmp/crontab.1904 installed on Wed Nov 19 12:32:06 2003)
  # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp 
$)

  33 12 * * * /usr/bin/bsh_ubcfxscript.txt

When the time scheduled arrives, nothing happens. No error messages occur 
and the script does not execute.

cygcheck.out is attached

Thank you.

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Nov 19 15:55:14 2003
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 20236(ashmant) GID: 10545(mkgroup-l-d)
10545(mkgroup-l-d)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 20236(ashmant) GID: 10545(mkgroup-l-d)
544(Administrators)  547(Power Users)
545(Users)   10545(mkgroup-l-d)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
HOME = `c:\Documents and Settings\ashmant'
PWD = `/bin'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users.WINDOWS'
APPDATA = `C:\Documents and Settings\ashmant\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `TAYLORBILL'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\ashmant'
LOGONSERVER = `\\PYRDC3'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/etc'
OS2LIBPATH = `C:\WINDOWS\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 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0801'
PROGRAMFILES = `C:\Program Files'
SHLVL = `1'
SMS_LOCAL_DIR = `C:\WINDOWS'
SMS_LOCAL_DIR_USER = `C:\WINDOWS'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\ashmant\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\ashmant\LOCALS~1\Temp'
USERDNSDOMAIN = `pacific.int.ec.gc.ca'
USERDOMAIN = `ECPACIFIC'
USERNAME = `ashmant'
USERPROFILE = `C:\Documents and Settings\ashmant'
WINDIR = `C:\WINDOWS'
_ = `./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 = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
 (default) = `C:\cygwin'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
 (default) = `C:\cygwin/bin'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
 (default) = `C:\cygwin/lib'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a:  fd   N/AN/A
c:  hd  NTFS   19594Mb  75% CP CS UN PA FC Win2000
d:  cd   N/AN/A
e:  cd   N/AN/A
C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive
Found: .\awk.exe
Found: .\bash.exe
Found: .\cat.exe
Found: .\cp.exe
Not Found: cpp (good!)
Found: .\find.exe
Not Found: gcc
Not Found: gdb
Found: .\grep.exe
Not Found: ld
Found: .\ls.exe
Not Found: make
Found: .\mv.exe
Found: .\rm.exe
Found: .\sed.exe
Found: .\sh.exe
Found: .\tar.exe
  61k 2003/08/09 .\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
 "cygbz2-1.dll" v0.0 ts=2003/8/8 23:35
   7k 2003/10/19 .\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
 "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57
 842k 2003/09/30 .\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
 "cygcrypto-0.9.7.dll" v0.0 ts=2003/9/30 9:49
 380k 2002/07/24 .\cygdb-3.1.dll - os=4.0 img=1.0 sys=4.0
 "cygdb-3.1.dll" v0.0 ts=2002/7/24 9:24
 831k 2003/09/20 .\cygdb-4.1.dll - os=4.0 img=1.0 sys=4.0
 "cygdb-4.1.dll" v0.0 ts=2003/9/20 14:51
 487k 2002/07/24 .\cygdb_cxx-3.1.dll - os=4.0 img=1.0 sys=4.0
 "cygdb_cxx-3.1.dll" v0.0 ts=2002/7/24 9:25
1080k 2003/09/20 .\cygdb_cxx-4.1.dll - os=4.0 img=1.0 sys=4.0
 "cygdb_cxx-4.1.dll" v0.0 ts=2003/9/20 14:53
 132k 2003/07/12 .\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
 "cygexpat-0.dll" v

Cygwin I18N issues and CJK (DBCS UTF-8) issues

2003-11-20 Thread gary lee
Hi All:

Could any one give me any information about how Cygwin support I18N and 
CJK(DBCS - double byte characters, such as Japaness, Chinese, Korean)?

Currently I want to set up Cygwin to execute lots of bash through SSH on 
target machine. But I don't see any document about Cygwin setup with I18N 
(globalization and UTF-8 encoding)? How does Cygwin support UTF-8 encoding? 
how does cygwin support I18n?

any ideas?  Thanks very much!

Gary

_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca

--
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: ghostscript on Windows and cygwin path style

2003-11-20 Thread Igor Pechtchanski
On Thu, 20 Nov 2003, Nev Bis wrote:

> I have cygwin version 1.32 running on Windows XP Pro.

FYI, there is no such version.  Your cygcheck.out shows version 1.3.22.
The latest is 1.5.5.  I'd recommend upgrading.

> I have ghostscript 8.11 installed in
> C:\gs\gs8.11\bin. Under this same directory, I have a
> file called "gs", containing this line:
>
> gswin32c $*
>
> I also have XFree86 installed and xfig 3.2.4
>
> Xfig has a problem invoking gs to convert a eps file
> into pcx. The problem
> appears to be that gs does not recognize the path
> style. In fact when I
> invoke gs from the bash shell with a file under the
> working directory, it
> works fine. But when I call it this way
>
> gs /c/directory/somefile.ps
>
> I get this error from ghostscript
>
> /undefinedfilename in ( /c/directory/somefile.ps)
>
> What should I do?
>
> Thanks,
> Nevine

Try changing your "gs" file to

#!/bin/sh
PARAMS=""
for i in "$@"; do
  PARAMS="$PARAMS '`cygpath -w -- "$i"`'"
done
eval "set -- $PARAMS"
gswin32c "$@"

and see if it helps.
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: Crontab does not work, Windows 2000

2003-11-20 Thread Igor Pechtchanski
On Thu, 20 Nov 2003, Tim Ashman wrote:

Crontab will not run on my Cygwin platform.

I am using Cygwin 1.5.5 under Windows 2000 5.00.2195 Service Pack 4.

I want to schedule some bash scripts using crontab. Each script runs
perfectly fine on its own. I created the following crontab from the bash
shell, located at /bin/bash:
   # DO NOT EDIT THIS FILE - edit the master and reinstall.
   # (/tmp/crontab.1904 installed on Wed Nov 19 12:32:06 2003)
   # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
   33 12 * * * /usr/bin/bsh_ubcfxscript.txt

When the time scheduled arrives, nothing happens. No error messages occur
and the script does not execute.
cygcheck.out is attached

Thank you.
Did you check the Windows Event log?
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: ghostscript on Windows and cygwin path style

2003-11-20 Thread Nev Bis
Thank you very much for your help and prompt response.

Now gs responds correctly to this command from
cygwin's command prompt:

gs /c/somefile.ps

But the problem is that xfig specifies the output file
to be /tmp/somefile.pix.
gs tries to look for a \tmp directory and does not
realize that this is /c/cygwin/tmp, so I get the
following error

AFPL Ghostscript 8.11:  Could not open the file
\tmp\somefile.pcx
Error: /invalidfileaccess in --.outputpage--

Thanks,
Nevine

- Original Message - 
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "Nev Bis" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 20, 2003 12:58 PM
Subject: Re: ghostscript on Windows and cygwin path
style


> On Thu, 20 Nov 2003, Nev Bis wrote:
> 
> > I have cygwin version 1.32 running on Windows XP
Pro.
> 
> FYI, there is no such version.  Your cygcheck.out
shows version 1.3.22.
> The latest is 1.5.5.  I'd recommend upgrading.
> 
> > I have ghostscript 8.11 installed in
> > C:\gs\gs8.11\bin. Under this same directory, I
have a
> > file called "gs", containing this line:
> >
> > gswin32c $*
> >
> > I also have XFree86 installed and xfig 3.2.4
> >
> > Xfig has a problem invoking gs to convert a eps
file
> > into pcx. The problem
> > appears to be that gs does not recognize the path
> > style. In fact when I
> > invoke gs from the bash shell with a file under
the
> > working directory, it
> > works fine. But when I call it this way
> >
> > gs /c/directory/somefile.ps
> >
> > I get this error from ghostscript
> >
> > /undefinedfilename in ( /c/directory/somefile.ps)
> >
> > What should I do?
> >
> > Thanks,
> > Nevine
> 
> Try changing your "gs" file to
> 
> #!/bin/sh
> PARAMS=""
> for i in "$@"; do
>   PARAMS="$PARAMS '`cygpath -w -- "$i"`'"
> done
> eval "set -- $PARAMS"
> gswin32c "$@"
> 
> and see if it helps.
> 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

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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



Re: ghostscript on Windows and cygwin path style

2003-11-20 Thread Igor Pechtchanski
Nev,

Please make sure your mailer respects Reply-To:.

Does your gs script get invoked by xfig?  Try putting an "echo 'gs...'" in
the beginning of your script and see if it shows up in the output.
Igor

On Thu, 20 Nov 2003, Nev Bis wrote:

> Thank you very much for your help and prompt response.
>
> Now gs responds correctly to this command from
> cygwin's command prompt:
>
> gs /c/somefile.ps
>
> But the problem is that xfig specifies the output file
> to be /tmp/somefile.pix.
> gs tries to look for a \tmp directory and does not
> realize that this is /c/cygwin/tmp, so I get the
> following error
>
> AFPL Ghostscript 8.11:  Could not open the file \tmp\somefile.pcx
> Error: /invalidfileaccess in --.outputpage--
>
> Thanks,
> Nevine
>
> - Original Message -
> From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
> To: "Nev Bis" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, November 20, 2003 12:58 PM
> Subject: Re: ghostscript on Windows and cygwin path
> style
>
>
> > On Thu, 20 Nov 2003, Nev Bis wrote:
> >
> > > I have cygwin version 1.32 running on Windows XP Pro.
> > 
> > FYI, there is no such version.  Your cygcheck.out shows version 1.3.22.
> > The latest is 1.5.5.  I'd recommend upgrading.
> >
> > > I have ghostscript 8.11 installed in
> > > C:\gs\gs8.11\bin. Under this same directory, I have a
> > > file called "gs", containing this line:
> > >
> > > gswin32c $*
> > >
> > > I also have XFree86 installed and xfig 3.2.4
> > >
> > > Xfig has a problem invoking gs to convert a eps file into pcx. The
> > > problem appears to be that gs does not recognize the path style. In
> > > fact when I invoke gs from the bash shell with a file under the
> > > working directory, it works fine. But when I call it this way
> > >
> > > gs /c/directory/somefile.ps
> > >
> > > I get this error from ghostscript
> > >
> > > /undefinedfilename in ( /c/directory/somefile.ps)
> > >
> > > What should I do?
> > >
> > > Thanks,
> > > Nevine
> >
> > Try changing your "gs" file to
> >
> > #!/bin/sh
> > PARAMS=""
> > for i in "$@"; do
> >   PARAMS="$PARAMS '`cygpath -w -- "$i"`'"
> > done
> > eval "set -- $PARAMS"
> > gswin32c "$@"
> >
> > and see if it helps.
> > 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: ghostscript on Windows and cygwin path style

2003-11-20 Thread Nev Bis
Yes, It does. I got the echo

Before I sent the last reply, I tried invoking gs from
cygwin's command prompt with the switch
-sOutputFile=/tmp/somefile.pcx

and got the same error.

Thanks,
Nevine

--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> Nev,
> 
> Please make sure your mailer respects Reply-To:.
> 
> Does your gs script get invoked by xfig?  Try
> putting an "echo 'gs...'" in
> the beginning of your script and see if it shows up
> in the output.
>   Igor
> 
> On Thu, 20 Nov 2003, Nev Bis wrote:
> 
> > Thank you very much for your help and prompt
> response.
> >
> > Now gs responds correctly to this command from
> > cygwin's command prompt:
> >
> > gs /c/somefile.ps
> >
> > But the problem is that xfig specifies the output
> file
> > to be /tmp/somefile.pix.
> > gs tries to look for a \tmp directory and does not
> > realize that this is /c/cygwin/tmp, so I get the
> > following error
> >
> > AFPL Ghostscript 8.11:  Could not open the
> file \tmp\somefile.pcx
> > Error: /invalidfileaccess in --.outputpage--
> >
> > Thanks,
> > Nevine
> >
> > - Original Message -
> > From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
> > To: "Nev Bis" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Thursday, November 20, 2003 12:58 PM
> > Subject: Re: ghostscript on Windows and cygwin
> path
> > style
> >
> >
> > > On Thu, 20 Nov 2003, Nev Bis wrote:
> > >
> > > > I have cygwin version 1.32 running on Windows
> XP Pro.
> > > 
> > > FYI, there is no such version.  Your
> cygcheck.out shows version 1.3.22.
> > > The latest is 1.5.5.  I'd recommend upgrading.
> > >
> > > > I have ghostscript 8.11 installed in
> > > > C:\gs\gs8.11\bin. Under this same directory, I
> have a
> > > > file called "gs", containing this line:
> > > >
> > > > gswin32c $*
> > > >
> > > > I also have XFree86 installed and xfig 3.2.4
> > > >
> > > > Xfig has a problem invoking gs to convert a
> eps file into pcx. The
> > > > problem appears to be that gs does not
> recognize the path style. In
> > > > fact when I invoke gs from the bash shell with
> a file under the
> > > > working directory, it works fine. But when I
> call it this way
> > > >
> > > > gs /c/directory/somefile.ps
> > > >
> > > > I get this error from ghostscript
> > > >
> > > > /undefinedfilename in (
> /c/directory/somefile.ps)
> > > >
> > > > What should I do?
> > > >
> > > > Thanks,
> > > > Nevine
> > >
> > > Try changing your "gs" file to
> > >
> > > #!/bin/sh
> > > PARAMS=""
> > > for i in "$@"; do
> > >   PARAMS="$PARAMS '`cygpath -w -- "$i"`'"
> > > done
> > > eval "set -- $PARAMS"
> > > gswin32c "$@"
> > >
> > > and see if it helps.
> > > 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


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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



Re: Crontab does not work, Windows 2000

2003-11-20 Thread Tim Ashman
Igor

I have attached the windows event log. Can you help? Thanks.

Event Type:	Information
Event Source:	./crontab
Event Category:	None
Event ID:	0
Date:		11/18/2003
Time:		10:37:29 AM
User:		ECPACIFIC\ashmant
Computer:	TAYLORBILL
Description:
The description for Event ID ( 0 ) in Source ( ./crontab ) cannot be found. 
The local computer may not have the necessary registry information or 
message DLL files to display messages from a remote computer. The following 
information is part of the event: ./crontab : PID 596 : (ashmant) LIST 
(ashmant).

Original Message Follows
From: Igor Pechtchanski <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Tim Ashman <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Crontab does not work, Windows 2000
Date: Thu, 20 Nov 2003 13:00:32 -0500 (EST)
On Thu, 20 Nov 2003, Tim Ashman wrote:

Crontab will not run on my Cygwin platform.

I am using Cygwin 1.5.5 under Windows 2000 5.00.2195 Service Pack 4.

I want to schedule some bash scripts using crontab. Each script runs
perfectly fine on its own. I created the following crontab from the bash
shell, located at /bin/bash:
   # DO NOT EDIT THIS FILE - edit the master and reinstall.
   # (/tmp/crontab.1904 installed on Wed Nov 19 12:32:06 2003)
   # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp 
$)

   33 12 * * * /usr/bin/bsh_ubcfxscript.txt

When the time scheduled arrives, nothing happens. No error messages occur
and the script does not execute.
cygcheck.out is attached

Thank you.
Did you check the Windows Event log?
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
_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=dept/features&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca

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


Re: installer chokes on unix line endings

2003-11-20 Thread Christopher Faylor
On Thu, Nov 20, 2003 at 10:52:47AM -0500, Neal Becker wrote:
>Ironic, isn't it?  If you download setup.ini with unix line endings,
>the installer fails to parse it.  I'm guessing this can't be too hard
>to fix.

Huh?  setup.ini is generated on UNIX so it normally does have UNIX line
endings.

cgf

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



Re: installer chokes on unix line endings

2003-11-20 Thread Robert Collins
On Fri, 2003-11-21 at 02:52, Neal Becker wrote:
> Ironic, isn't it?  If you download setup.ini with unix line endings, the
> installer fails to parse it.  I'm guessing this can't be too hard to fix.

Fix what? Setup is responsible for doing it's own downloads. If you use
an external tool - presumably because you're setting up your own mirror
- it's your responsibility to give setup the same things it expects from
the official mirrors.

That said, it's probably easy enough to tweak the parser, and I'll
review a patch happily.

Rob
-- 
GPG key available at: .


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


Re: Crontab does not work, Windows 2000

2003-11-20 Thread Igor Pechtchanski
Tim,

Replies inline below.

On Thu, 20 Nov 2003, Tim Ashman wrote:

> Igor
>
> I have attached the windows event log. Can you help? Thanks.
>
> Event Type: Information
> Event Source:   ./crontab
> Event Category: None
> Event ID:   0
> Date:   11/18/2003
> Time:   10:37:29 AM
> User:   ECPACIFIC\ashmant
> Computer:   TAYLORBILL
> Description:
> The description for Event ID ( 0 ) in Source ( ./crontab ) cannot be found.
> The local computer may not have the necessary registry information or
> message DLL files to display messages from a remote computer. The following
> information is part of the event: ./crontab : PID 596 :
> (ashmant) LIST (ashmant).
  
Isn't this what your script is supposed to output?  Looks to me like your
crontab actually worked.  If you don't redirect the output of your script,
it goes to syslog (which, in case of Cygwin, is the Windows event log).
Try changing your crontab entry to something like

33 12 * * * /usr/bin/bsh_ubcfxscript.txt >> /tmp/bsh_ubcfxscript.out

and see if it works.  In fact, did you try the "Hello, world!" of all
crontabs, i.e.

33 12 * * * /bin/date >> /tmp/date.out

?  HTH,
Igor

> Original Message Follows
> From: Igor Pechtchanski <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: Tim Ashman <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> Subject: Re: Crontab does not work, Windows 2000
> Date: Thu, 20 Nov 2003 13:00:32 -0500 (EST)
>
> On Thu, 20 Nov 2003, Tim Ashman wrote:
>
> >Crontab will not run on my Cygwin platform.
> >
> >I am using Cygwin 1.5.5 under Windows 2000 5.00.2195 Service Pack 4.
> >
> >I want to schedule some bash scripts using crontab. Each script runs
> >perfectly fine on its own. I created the following crontab from the bash
> >shell, located at /bin/bash:
> >
> ># DO NOT EDIT THIS FILE - edit the master and reinstall.
> ># (/tmp/crontab.1904 installed on Wed Nov 19 12:32:06 2003)
> ># (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
> >
> >33 12 * * * /usr/bin/bsh_ubcfxscript.txt
> >
> >When the time scheduled arrives, nothing happens. No error messages occur
> >and the script does not execute.
> >
> >cygcheck.out is attached
> >
> >Thank you.
>
> Did you check the Windows Event log?
> 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: installer chokes on unix line endings

2003-11-20 Thread Christopher Faylor
On Fri, Nov 21, 2003 at 06:33:37AM +1100, Robert Collins wrote:
>On Fri, 2003-11-21 at 02:52, Neal Becker wrote:
>> Ironic, isn't it?  If you download setup.ini with unix line endings, the
>> installer fails to parse it.  I'm guessing this can't be too hard to fix.
>
>Fix what? Setup is responsible for doing it's own downloads. If you use
>an external tool - presumably because you're setting up your own mirror
>- it's your responsibility to give setup the same things it expects from
>the official mirrors.
>
>That said, it's probably easy enough to tweak the parser, and I'll
>review a patch happily.

I'm confused.  As I mentioned, setup.ini is built on linux and the setup.ini
that setup.exe downloaded to my local directory has UNIX line endings.

cgf

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



Re: installer chokes on unix line endings

2003-11-20 Thread Robert Collins
On Fri, 2003-11-21 at 06:54, Christopher Faylor wrote:
> On Fri, Nov 21, 2003 at 06:33:37AM +1100, Robert Collins wrote:
> >That said, it's probably easy enough to tweak the parser, and I'll
> >review a patch happily.
> 
> I'm confused.  As I mentioned, setup.ini is built on linux and the setup.ini
> that setup.exe downloaded to my local directory has UNIX line endings.

Likewise: I'm not presuming that the topic has an accurate analysis. It
may be, for instance, that it's ^M's that choked setup.

Rob

-- 
GPG key available at: .


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


Fw: *** CreateFileMapping, Win32 error 5. Terminating.

2003-11-20 Thread Fabrice Larribe

Hi.

I'm not a computer guy, so forgive me if my question is awkward !

I use cygwin by the intermediate of a Windows XP remote Desktop
Connection, and I connect to Win2000 server. I use cygwin mainly to compile
and run c++ code (to do scientific simulations). I have used Cygwin in this
context with absolutely no problem during several years, but recently, when
I try to start a Cygwin shell, I have this error message:
*** CreateFileMapping, Win32 error 5.  Terminating.
and the shell does not start.
I have tried to update to the lastest cygwin relase, with no results. I have
consult the FAQ and maling list, with no help. I have however find in the
mailing list related problems, but I don't understand if the problems are
similar or not, and I do not understand the responses. Here are the links:

http://sources.redhat.com/ml/cygwin/2003-10/msg01234.html
http://sources.redhat.com/ml/cygwin/2003-10/msg00454.html
http://cygwin.com/ml/cygwin/2003-10/msg00182.html

Pierre A.H. seems to come with a solution:
"This problem has now been explained with James' help and this message is to
close the thread. It turns out that on some recent Windows systems a special
privilege, "create global objects", is required to run Cygwin 1.5.X from a
terminal session. It can be given to users with the  editrights.exe
utility. " but I can not run any executable cygwin file, I always have
thesame error message.

I have tried, as suggested by one the messages, to change code 513 to 544 in
etc/passwd, with no results.
So, could somebody give me some hints about what to do ?

Fab L.



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



Re: installer chokes on unix line endings

2003-11-20 Thread Christopher Faylor
On Fri, Nov 21, 2003 at 07:00:11AM +1100, Robert Collins wrote:
>On Fri, 2003-11-21 at 06:54, Christopher Faylor wrote:
>>On Fri, Nov 21, 2003 at 06:33:37AM +1100, Robert Collins wrote:
>>>That said, it's probably easy enough to tweak the parser, and I'll
>>>review a patch happily.
>>
>>I'm confused.  As I mentioned, setup.ini is built on linux and the
>>setup.ini that setup.exe downloaded to my local directory has UNIX line
>>endings.
>
>Likewise: I'm not presuming that the topic has an accurate analysis.
>It may be, for instance, that it's ^M's that choked setup.

Ah, of course.  That would make more sense.

cgf

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



Re: Fw: *** CreateFileMapping, Win32 error 5. Terminating.

2003-11-20 Thread Larry Hall
At 03:03 PM 11/20/2003, Fabrice Larribe you wrote:

>Hi.
>
>I'm not a computer guy, so forgive me if my question is awkward !
>
>I use cygwin by the intermediate of a Windows XP remote Desktop
>Connection, and I connect to Win2000 server. I use cygwin mainly to compile
>and run c++ code (to do scientific simulations). I have used Cygwin in this
>context with absolutely no problem during several years, but recently, when
>I try to start a Cygwin shell, I have this error message:
>*** CreateFileMapping, Win32 error 5.  Terminating.
>and the shell does not start.
>I have tried to update to the lastest cygwin relase, with no results. I have
>consult the FAQ and maling list, with no help. I have however find in the
>mailing list related problems, but I don't understand if the problems are
>similar or not, and I do not understand the responses. Here are the links:
>
>http://sources.redhat.com/ml/cygwin/2003-10/msg01234.html
>http://sources.redhat.com/ml/cygwin/2003-10/msg00454.html
>http://cygwin.com/ml/cygwin/2003-10/msg00182.html
>
>Pierre A.H. seems to come with a solution:
>"This problem has now been explained with James' help and this message is to
>close the thread. It turns out that on some recent Windows systems a special
>privilege, "create global objects", is required to run Cygwin 1.5.X from a
>terminal session. It can be given to users with the  editrights.exe
>utility. " but I can not run any executable cygwin file, I always have
>thesame error message.
>
>I have tried, as suggested by one the messages, to change code 513 to 544 in
>etc/passwd, with no results.
>So, could somebody give me some hints about what to do ?


Unfortunately, what you've said so far gives us very few specifics about
your system setup or what you're trying to do.  Please visit 
, read it thoroughly, and provide the
specific information it requests.  Also, we need to know specifically 
what you're doing and the problems you see.  A minimal example of the
steps you take and the results you get is best.  It may be helpful to 
include /etc/passwd and /etc/groups as well (it can't hurt).  Please 
*attach* any files you're sending to the list, don't include them in 
the body of your message.




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



Variables in Makefiles

2003-11-20 Thread Brian Fallik
Cygwin folks,

I'm having trouble getting makefiles to work in the cygwin environment.
They work perfectly fine in Linux.  I've checked the mailing list archives,
google, google groups, and the faq for help but haven't found the solution.
Any help would be appreciates.  Please CC me on responses as I'm not
subscribed.

Did I miss something obvious?

Thanks,
brian

===

On Linux (YDL 2.3) I have an extensive non-recursive makefile structure.
make -v shows GNU Make version 3.79.1.  On Win 2000 I've installed cygwin
and the development tools.  make -v shows GNU Make 3.80.  When I try to run
make from the root directory (in both --unix and not) I get output like the
following repeated over and over:
  c:\***/asip/netdefinition/build/gmake/Rules.mk:79: no file name for
`-include'
I believe this is just a warning but I'm concerned it may cause a problem
later on.

Additionally and perhaps more importantly, make doesn't actually do
anything.  It seems to be producing .a files without compiling anything.  If
I try make with warn-undefined-variables I get many warnings undefined vars
and if I try to echo some vars used in my makefiles they all appear empty.

For instance, this makefile section:
  SRCS_$(d) := \
../../source/product/Alarm_impl.cpp

  test:
echo $(SRCS_$(d))

echoes nothing when run on Windows but echoes
../../source/product/Alarm_impl.cpp on Linux.



--
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: ghostscript on Windows and cygwin path style

2003-11-20 Thread Igor Pechtchanski
Nevine,

Ah, that explains it.  The script I suggested earlier will look at the
whole parameter.  If you want to transform parts of parameters, you'd have
to do something a bit more sophisticated, like

#!/bin/sh
PARAMS=""
for i in "$@"; do
  case "$i" in
-*=/*) i="`echo "$i" | \
   sed 'h;s,^[^=]*=\(/.*\)$,cygpath -w -- "\1",e;x;\
s,=.*$,=,;G;s,\n,,'`" ;;
-*) ;;
*/*) i="`cygpath -w -- "$i"`" ;;
*) ;;
  esac
  PARAMS="$PARAMS '$i'"
done
eval "set -- $PARAMS"
gswin32c "$@"

The above seems to work correctly.  Hope this helps,
Igor

On Thu, 20 Nov 2003, Nev Bis wrote:

> Yes, It does. I got the echo
>
> Before I sent the last reply, I tried invoking gs from
> cygwin's command prompt with the switch
> -sOutputFile=/tmp/somefile.pcx
>
> and got the same error.
>
> Thanks,
> Nevine
>
> --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> > Nev,
> >
> > Please make sure your mailer respects Reply-To:.
> >
> > Does your gs script get invoked by xfig?  Try putting an "echo
> > 'gs...'" in the beginning of your script and see if it shows up in the
> > output.
> >   Igor
> >
> > On Thu, 20 Nov 2003, Nev Bis wrote:
> >
> > > Thank you very much for your help and prompt response.
> > >
> > > Now gs responds correctly to this command from
> > > cygwin's command prompt:
> > >
> > > gs /c/somefile.ps
> > >
> > > But the problem is that xfig specifies the output file
> > > to be /tmp/somefile.pix.
> > > gs tries to look for a \tmp directory and does not
> > > realize that this is /c/cygwin/tmp, so I get the
> > > following error
> > >
> > > AFPL Ghostscript 8.11:  Could not open the file \tmp\somefile.pcx
> > > Error: /invalidfileaccess in --.outputpage--
> > >
> > > Thanks,
> > > Nevine
> > >
> > > - Original Message -
> > > From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
> > > To: "Nev Bis" <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > Sent: Thursday, November 20, 2003 12:58 PM
> > > Subject: Re: ghostscript on Windows and cygwin path style
> > >
> > >
> > > > On Thu, 20 Nov 2003, Nev Bis wrote:
> > > >
> > > > > I have cygwin version 1.32 running on Windows XP Pro.
> > > > 
> > > > FYI, there is no such version.  Your cygcheck.out shows version 1.3.22.
> > > > The latest is 1.5.5.  I'd recommend upgrading.
> > > >
> > > > > I have ghostscript 8.11 installed in
> > > > > C:\gs\gs8.11\bin. Under this same directory, I have a
> > > > > file called "gs", containing this line:
> > > > >
> > > > > gswin32c $*
> > > > >
> > > > > I also have XFree86 installed and xfig 3.2.4
> > > > >
> > > > > Xfig has a problem invoking gs to convert a eps file into pcx. The
> > > > > problem appears to be that gs does not recognize the path style. In
> > > > > fact when I invoke gs from the bash shell with a file under the
> > > > > working directory, it works fine. But when I call it this way
> > > > >
> > > > > gs /c/directory/somefile.ps
> > > > >
> > > > > I get this error from ghostscript
> > > > >
> > > > > /undefinedfilename in ( /c/directory/somefile.ps)
> > > > >
> > > > > What should I do?
> > > > >
> > > > > Thanks,
> > > > > Nevine
> > > >
> > > > Try changing your "gs" file to
> > > >
> > > > #!/bin/sh
> > > > PARAMS=""
> > > > for i in "$@"; do
> > > >   PARAMS="$PARAMS '`cygpath -w -- "$i"`'"
> > > > done
> > > > eval "set -- $PARAMS"
> > > > gswin32c "$@"
> > > >
> > > > and see if it helps.
> > > > 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: ghostscript on Windows and cygwin path style

2003-11-20 Thread Nev Bis
Yes, it does help.

Thank you very much, Igor, for taking the time and the
effort to solve the problem that quickly and for
providing the solution complete and concrete.

Nevine


- Original Message - 
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "Nev Bis" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 20, 2003 3:35 PM
Subject: Re: ghostscript on Windows and cygwin path
style


> Nevine,
> 
> Ah, that explains it.  The script I suggested
earlier will look at the
> whole parameter.  If you want to transform parts of
parameters, you'd have
> to do something a bit more sophisticated, like
> 
> #!/bin/sh
> PARAMS=""
> for i in "$@"; do
>   case "$i" in
> -*=/*) i="`echo "$i" | \
>sed 'h;s,^[^=]*=\(/.*\)$,cygpath -w
-- "\1",e;x;\
> s,=.*$,=,;G;s,\n,,'`" ;;
> -*) ;;
> */*) i="`cygpath -w -- "$i"`" ;;
> *) ;;
>   esac
>   PARAMS="$PARAMS '$i'"
> done
> eval "set -- $PARAMS"
> gswin32c "$@"
> 
> The above seems to work correctly.  Hope this helps,
> Igor
> 
> On Thu, 20 Nov 2003, Nev Bis wrote:
> 
> > Yes, It does. I got the echo
> >
> > Before I sent the last reply, I tried invoking gs
from
> > cygwin's command prompt with the switch
> > -sOutputFile=/tmp/somefile.pcx
> >
> > and got the same error.
> >
> > Thanks,
> > Nevine
> >
> > --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> > > Nev,
> > >
> > > Please make sure your mailer respects Reply-To:.
> > >
> > > Does your gs script get invoked by xfig?  Try
putting an "echo
> > > 'gs...'" in the beginning of your script and see
if it shows up in the
> > > output.
> > >   Igor
> > >
> > > On Thu, 20 Nov 2003, Nev Bis wrote:
> > >
> > > > Thank you very much for your help and prompt
response.
> > > >
> > > > Now gs responds correctly to this command from
> > > > cygwin's command prompt:
> > > >
> > > > gs /c/somefile.ps
> > > >
> > > > But the problem is that xfig specifies the
output file
> > > > to be /tmp/somefile.pix.
> > > > gs tries to look for a \tmp directory and does
not
> > > > realize that this is /c/cygwin/tmp, so I get
the
> > > > following error
> > > >
> > > > AFPL Ghostscript 8.11:  Could not open the
file \tmp\somefile.pcx
> > > > Error: /invalidfileaccess in --.outputpage--
> > > >
> > > > Thanks,
> > > > Nevine
> > > >
> > > > - Original Message -
> > > > From: "Igor Pechtchanski"
<[EMAIL PROTECTED]>
> > > > To: "Nev Bis" <[EMAIL PROTECTED]>
> > > > Cc: <[EMAIL PROTECTED]>
> > > > Sent: Thursday, November 20, 2003 12:58 PM
> > > > Subject: Re: ghostscript on Windows and cygwin
path style
> > > >
> > > >
> > > > > On Thu, 20 Nov 2003, Nev Bis wrote:
> > > > >
> > > > > > I have cygwin version 1.32 running on
Windows XP Pro.
> > > > > 
> > > > > FYI, there is no such version.  Your
cygcheck.out shows version 1.3.22.
> > > > > The latest is 1.5.5.  I'd recommend
upgrading.
> > > > >
> > > > > > I have ghostscript 8.11 installed in
> > > > > > C:\gs\gs8.11\bin. Under this same
directory, I have a
> > > > > > file called "gs", containing this line:
> > > > > >
> > > > > > gswin32c $*
> > > > > >
> > > > > > I also have XFree86 installed and xfig
3.2.4
> > > > > >
> > > > > > Xfig has a problem invoking gs to convert
a eps file into pcx. The
> > > > > > problem appears to be that gs does not
recognize the path style. In
> > > > > > fact when I invoke gs from the bash shell
with a file under the
> > > > > > working directory, it works fine. But when
I call it this way
> > > > > >
> > > > > > gs /c/directory/somefile.ps
> > > > > >
> > > > > > I get this error from ghostscript
> > > > > >
> > > > > > /undefinedfilename in (
/c/directory/somefile.ps)
> > > > > >
> > > > > > What should I do?
> > > > > >
> > > > > > Thanks,
> > > > > > Nevine
> > > > >
> > > > > Try changing your "gs" file to
> > > > >
> > > > > #!/bin/sh
> > > > > PARAMS=""
> > > > > for i in "$@"; do
> > > > >   PARAMS="$PARAMS '`cygpath -w -- "$i"`'"
> > > > > done
> > > > > eval "set -- $PARAMS"
> > > > > gswin32c "$@"
> > > > >
> > > > > and see if it helps.
> > > > > 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

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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



Re: For masochists: the leap o faith

2003-11-20 Thread Robert Collins
On Mon, 2003-11-17 at 21:56, Corinna Vinschen wrote:
> On Sun, Nov 16, 2003 at 08:10:08AM +1100, Robert Collins wrote:
> > We have two choices (no particular order of preference):
> > a) make MAX_PATH and posix friends the maximum length path cygwin will
> > accept/return. Return ENAMETOOLONG on path calls on win9x, or winnt
> > FAT[32] calls. Update pathconf to return appropriate values.
> > b) blow away MAX_PATH and MAXPATHLEN so that programs using cygwin
> > fallback to pathconf, or 'good enough for me' static arrays.  Update
> > pathconf to return appropriate values.
> 
> Well, I guess you meant PATH_MAX here.  

Yes, of course.

> I would prefer to change PATH_MAX and MAXPATHLEN to an arbitrary big
> value as, e. g. the same as on Linux, 4096, or even the biggest possible
> plus one: 32768.  The latter is probably the better value.  So my choice
> is a)

Ok. What should we set CYG_MAX_PATH to initially then? I think we should
start at 4K, until we've seen whether there are any stack size issues.

Rob
-- 
GPG key available at: .


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


Re: Fw: *** CreateFileMapping, Win32 error 5. Terminating.

2003-11-20 Thread Fabrice Larribe
Hi. As suggested in a previous message, I give here more details of what my
problem
is in order it would be (hopefully) more easy to help me.

I connect by a RemoteDesktop Connection fromWindows XP to a Win2000 server.
When logged in, I open a command prompt (in the cygwin main directory), and
then
enter the command "cygwin.bat", which try to run "bash.exe", but but this
gives me
the  "*** CreateFileMapping, Win32 error 5. Terminating." error message. So,
in fact,
my problem is that I'm not able to start a cygwin shell. I use
the lastest cygwin distribution (1.5.5-1).

I have tried to run "cygcheck -s -v -r > cygcheck.out ", but the command
gives the same error as previously.

I attach to this message, as suggested, the /etc/passwdand /etc/groups.

I have read the page "how to report problems", and hope my report
is OK, but I'm not sure what others information could be useful.

Fabrice L.

>
> Unfortunately, what you've said so far gives us very few specifics about
> your system setup or what you're trying to do.  Please visit
> , read it thoroughly, and provide the
> specific information it requests.  Also, we need to know specifically
> what you're doing and the problems you see.  A minimal example of the
> steps you take and the results you get is best.  It may be helpful to
> include /etc/passwd and /etc/groups as well (it can't hurt).  Please
> *attach* any files you're sending to the list, don't include them in
> the body of your message.
>
>
>
>
> --
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746
>


passwd
Description: Binary data


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

Strange problem linking Windows DLL - 'Error: 0-bit reloc in dll'

2003-11-20 Thread Michael.Gogins
I am building a Python 2.3 extension module in Cygwin using gcc version 3.3.1 
(cygming special) with binutils version 2.14.90. There do not appear to be
any unresolved symbols, but I get the error:

Error: 0-bit reloc in dll

This DLL is a port of Solaris code and links in Sybase OpenClient Windows DLLs 
(and other DLLs) via import libraries that I make with strings and dlltool. 
The DLL also links with the X Windows libraries because the ported code 
references those libraries. Note the error report in the middle of 
the X windows import fixups (see link line below). 

I have no problem building a "toy" Python extension on Cygwin using similar rules. 

I also have no problem building, linking, and running tne entire extension 
on Solaris with Sun Workshop.

Other possibly relevant factors include the large size of the tt_wrap.o object 
and the need for repeating libraries on the link line thanks to interlibrary 
dependencies:

What causes this and what can I do about it? Thanks for any insight you can provide.

g++ -shared --enable-stdcall-fixups --enable-runtime-pseudo-reloc --noinhibit-ex
ec --split-by-reloc tt_wrap.o -Llib -L3sw/LSERV/lib/implib -lLSAPIW32 -L/lib/Pyt
hon2.3/config -lpython2.3 -lSM -lICE -L/usr/X11R6/lib  -lXm -lXt -lX11 /usr/loca
l/lib/libsybdb.a /usr/local/lib/libsrv.a /usr/local/lib/libamb.a -lstdc++ -lm -L
Aggregator -lAggregator -LAmbInterface -lAmbInterface -LApp -lApp -LAppWin -lApp
Win -LBrowser -lBrowser -LCallAccount -lCallAccount -LCharges -lCharges DB/libDB
.a -LContentious -lContentious -Ldlist -ldlist -LDsm -lDsm -LDTE -lDTE -LExInter
face -lExInterface -LExposure -lExposure -Lfinance -lfinance -LFmsInterface -lFm
sInterface -LFutureTrade -lFutureTrade -LFXCashTrade -lFXCashTrade -LFXOptionTra
de -lFXOptionTrade -LFXOptionTrade -lFXOptionTrade -LGLI -lGLI -LGui -lGui -Lins
tr -linstr -LInstrument -linstrument -LIROptTrade -lIROptTrade -LMc -lMc -Lmmcas
h -lmmcash -LMMCashTrade -lMMCashTrade mrm/libmrm.a -LObserver -lObserver -LOpen
Client -lOpenClient -LOpenServer -lOpenServer -LOrders  -lOrders -LParser -lPars
er -LProcess -lProcess -LRecord -lRecord -LRep -lRep -LRtf -lRtf -LRtfServer -lR
tfServer -Lrw -lrwtool -Lsettlements -lsettlements -LSocket -lSocket -LSocketCli
ent -lSocketClient -LSocketServer -lSocketServer -LSQLBuilder -lSQLBuilder -LSys
Param -lSysParam -LSystem -lSystem -LTBag -lTBag -LTFO -lTFO -LTFOTools -lTFOToo
ls -Ltpm -ltpm -LTradeAction -lTradeAction -LUAM -lUAM -LUserParam -lUserParam -
LUserTrade -lUserTrade -LView -lView -LView -lView -Lxpm -lxpm -Lzip -lzip -Llib
 -L3sw/LSERV/lib/implib -lLSAPIW32 -L/lib/Python2.3/config -lpython2.3 -lSM -lIC
E -L/usr/X11R6/lib  -lXm -lXt -lX11 /usr/local/lib/libsybdb.a /usr/local/lib/lib
srv.a /usr/local/lib/libamb.a -lstdc++ -lm -LAggregator -lAggregator -LAmbInterf
ace -lAmbInterface -LApp -lApp -LAppWin -lAppWin -LBrowser -lBrowser -LCallAccou
nt -lCallAccount -LCharges -lCharges DB/libDB.a -LContentious -lContentious -Ldl
ist -ldlist -LDsm -lDsm -LDTE -lDTE -LExInterface -lExInterface -LExposure -lExp
osure -Lfinance -lfinance -LFmsInterface -lFmsInterface -LFutureTrade -lFutureTr
ade -LFXCashTrade -lFXCashTrade -LFXOptionTrade -lFXOptionTrade -LFXOptionTrade
-lFXOptionTrade -LGLI -lGLI -LGui -lGui -Linstr -linstr -LInstrument -linstrumen
t -LIROptTrade -lIROptTrade -LMc -lMc -Lmmcash -lmmcash -LMMCashTrade -lMMCashTr
ade mrm/libmrm.a -LObserver -lObserver -LOpenClient -lOpenClient -LOpenServer -l
OpenServer -LOrders  -lOrders -LParser -lParser -LProcess -lProcess -LRecord -lR
ecord -LRep -lRep -LRtf -lRtf -LRtfServer -lRtfServer -Lrw -lrwtool -Lsettlement
s -lsettlements -LSocket -lSocket -LSocketClient -lSocketClient -LSocketServer -
lSocketServer -LSQLBuilder -lSQLBuilder -LSysParam -lSysParam -LSystem -lSystem
-LTBag -lTBag -LTFO -lTFO -LTFOTools -lTFOTools -Ltpm -ltpm -LTradeAction -lTrad
eAction -LUAM -lUAM -LUserParam -lUserParam -LUserTrade -lUserTrade -LView -lVie
w -LView -lView -Lxpm -lxpm -Lzip -lzip -Llib -L3sw/LSERV/lib/implib -lLSAPIW32
-L/lib/Python2.3/config -lpython2.3 -lSM -lICE -L/usr/X11R6/lib  -lXm -lXt -lX11
 /usr/local/lib/libsybdb.a /usr/local/lib/libsrv.a /usr/local/lib/libamb.a -lstd
c++ -lm -LAggregator -lAggregator -LAmbInterface -lAmbInterface -LApp -lApp -LAp
pWin -lAppWin -LBrowser -lBrowser -LCallAccount -lCallAccount -LCharges -lCharge
s DB/libDB.a -LContentious -lContentious -Ldlist -ldlist -LDsm -lDsm -LDTE -lDTE
 -LExInterface -lExInterface -LExposure -lExposure -Lfinance -lfinance -LFmsInte
rface -lFmsInterface -LFutureTrade -lFutureTrade -LFXCashTrade -lFXCashTrade -LF
XOptionTrade -lFXOptionTrade -LFXOptionTrade -lFXOptionTrade -LGLI -lGLI -LGui -
lGui -Linstr -linstr -LInstrument -linstrument -LIROptTrade -lIROptTrade -LMc -l
Mc -Lmmcash -lmmcash -LMMCashTrade -lMMCashTrade mrm/libmrm.a -LObserver -lObser
ver -LOpenClient -lOpenClient -LOpenServer -lOpenServer -LOrders  -lOrders -LPar
ser -lParser -LProcess -lProcess -LRecord -lRecord -LRep -lRep -LRtf -lRtf -LRtf
Serv

windows SIGTRAP

2003-11-20 Thread y2bismil
Hi all,

I've ported an old dos application to compile in cygwin under mingw.  It does
its own context switching via traps.  I'm not about to say the port is correct
just yet, but I need a bit of guidance here.

Unfortunately, when I try and run the application now, it goes a bit, but then
crashes on the trap.  A dialog just pops up and says ( prog.exe has generated
errors...a log is being created...).

Now, running the program through the insight debugger, I can get it to run
normally.  It stops at the traps and I just continue.  To get it to run without
stopping(breaking), I just do a 'handle SIGTRAP nostop' and it seems to run
fine.  Just really really really slowly as it still receives all this SIGTRAPS,
it just ignores them.  

Any ideas here? I didn't think a windows app would have SIGTRAPS.

Thanks,

Yamin


This mail sent through www.mywaterloo.ca

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



Re: Crontab does not work, Windows 2000

2003-11-20 Thread Tim Ashman
Igor,

The output I displayed in my last posting was from the event log. It is not 
what my script is supposed to output. My script uses the lynx utility to 
download specific data files from an http site and echoes some progress 
statements back to the shell. I have tried what you suggested below and the 
"hello world" date crontab as well. Both do not work. I have also tried 
different combinations of path (/bin and /usr/bin) in my crontab, but still 
no luck. Note, I open a bash shell from /bin/bash and write my crontab from 
there. Just a quick sidetrack...why does the "pwd" command give /usr/bin 
when the shell was opened in /bin?

Any other ideas of what the problem could be? Do you think it's 
path-related? Thank you so much...

--

Tim,

Replies inline below.

On Thu, 20 Nov 2003, Tim Ashman wrote:

> Igor
>
> I have attached the windows event log. Can you help? Thanks.
>
> Event Type: Information
> Event Source:   ./crontab
> Event Category: None
> Event ID:   0
> Date:   11/18/2003
> Time:   10:37:29 AM
> User:   ECPACIFIC\ashmant
> Computer:   TAYLORBILL
> Description:
> The description for Event ID ( 0 ) in Source ( ./crontab ) cannot be 
found.
> The local computer may not have the necessary registry information or
> message DLL files to display messages from a remote computer. The 
following
> information is part of the event: ./crontab : PID 596 :
> (ashmant) LIST (ashmant).
  
Isn't this what your script is supposed to output?  Looks to me like your
crontab actually worked.  If you don't redirect the output of your script,
it goes to syslog (which, in case of Cygwin, is the Windows event log).
Try changing your crontab entry to something like

33 12 * * * /usr/bin/bsh_ubcfxscript.txt >> /tmp/bsh_ubcfxscript.out

and see if it works.  In fact, did you try the "Hello, world!" of all
crontabs, i.e.
33 12 * * * /bin/date >> /tmp/date.out

?  HTH,
Igor
> Original Message Follows
> From: Igor Pechtchanski <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: Tim Ashman <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> Subject: Re: Crontab does not work, Windows 2000
> Date: Thu, 20 Nov 2003 13:00:32 -0500 (EST)
>
> On Thu, 20 Nov 2003, Tim Ashman wrote:
>
> >Crontab will not run on my Cygwin platform.
> >
> >I am using Cygwin 1.5.5 under Windows 2000 5.00.2195 Service Pack 4.
> >
> >I want to schedule some bash scripts using crontab. Each script runs
> >perfectly fine on its own. I created the following crontab from the bash
> >shell, located at /bin/bash:
> >
> ># DO NOT EDIT THIS FILE - edit the master and reinstall.
> ># (/tmp/crontab.1904 installed on Wed Nov 19 12:32:06 2003)
> ># (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna 
Exp $)
> >
> >33 12 * * * /usr/bin/bsh_ubcfxscript.txt
> >
> >When the time scheduled arrives, nothing happens. No error messages 
occur
> >and the script does not execute.
> >
> >cygcheck.out is attached
> >
> >Thank you.
>
> Did you check the Windows Event log?
> 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
_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=dept/features&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca

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


Re: Crontab does not work, Windows 2000

2003-11-20 Thread Igor Pechtchanski
Tim,

Umm, sorry, I meant just the underlined lines, but I guess no dice...

Did you try running Mark Harig's cron_diagnose.sh (Google for it) on your
system?  Does it report any errors?

Does the "date" example produce any messages in syslog (i.e., Windows
Event log)?  An obligatory silly question, BTW: did you start the cron
service?  What options did you pass to cygrunsrv to create the service?
Igor

On Thu, 20 Nov 2003, Tim Ashman wrote:

> Igor,
>
> The output I displayed in my last posting was from the event log. It is not
> what my script is supposed to output. My script uses the lynx utility to
> download specific data files from an http site and echoes some progress
> statements back to the shell. I have tried what you suggested below and the
> "hello world" date crontab as well. Both do not work. I have also tried
> different combinations of path (/bin and /usr/bin) in my crontab, but still
> no luck. Note, I open a bash shell from /bin/bash and write my crontab from
> there. Just a quick sidetrack...why does the "pwd" command give /usr/bin
> when the shell was opened in /bin?
>
> Any other ideas of what the problem could be? Do you think it's
> path-related? Thank you so much...
>
> --
>
> Tim,
>
> Replies inline below.
>
> On Thu, 20 Nov 2003, Tim Ashman wrote:
>
>  > Igor
>  >
>  > I have attached the windows event log. Can you help? Thanks.
>  >
>  > Event Type: Information
>  > Event Source:   ./crontab
>  > Event Category: None
>  > Event ID:   0
>  > Date:   11/18/2003
>  > Time:   10:37:29 AM
>  > User:   ECPACIFIC\ashmant
>  > Computer:   TAYLORBILL
>  > Description:
>  > The description for Event ID ( 0 ) in Source ( ./crontab ) cannot be found.
>  > The local computer may not have the necessary registry information or
>  > message DLL files to display messages from a remote computer. The following
>  > information is part of the event: ./crontab : PID 596 :
>  > (ashmant) LIST (ashmant).
>
> Isn't this what your script is supposed to output?  Looks to me like your
> crontab actually worked.  If you don't redirect the output of your script,
> it goes to syslog (which, in case of Cygwin, is the Windows event log).
> Try changing your crontab entry to something like
>
> 33 12 * * * /usr/bin/bsh_ubcfxscript.txt >> /tmp/bsh_ubcfxscript.out
>
> and see if it works.  In fact, did you try the "Hello, world!" of all
> crontabs, i.e.
>
> 33 12 * * * /bin/date >> /tmp/date.out
>
> ?  HTH,
> Igor
>
>  > Original Message Follows
>  > From: Igor Pechtchanski <[EMAIL PROTECTED]>
>  > Reply-To: [EMAIL PROTECTED]
>  > To: Tim Ashman <[EMAIL PROTECTED]>
>  > CC: [EMAIL PROTECTED]
>  > Subject: Re: Crontab does not work, Windows 2000
>  > Date: Thu, 20 Nov 2003 13:00:32 -0500 (EST)
>  >
>  > On Thu, 20 Nov 2003, Tim Ashman wrote:
>  >
>  > >Crontab will not run on my Cygwin platform.
>  > >
>  > >I am using Cygwin 1.5.5 under Windows 2000 5.00.2195 Service Pack 4.
>  > >
>  > >I want to schedule some bash scripts using crontab. Each script runs
>  > >perfectly fine on its own. I created the following crontab from the bash
>  > >shell, located at /bin/bash:
>  > >
>  > ># DO NOT EDIT THIS FILE - edit the master and reinstall.
>  > ># (/tmp/crontab.1904 installed on Wed Nov 19 12:32:06 2003)
>  > ># (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
>  > >
>  > >33 12 * * * /usr/bin/bsh_ubcfxscript.txt
>  > >
>  > >When the time scheduled arrives, nothing happens. No error messages occur
>  > >and the script does not execute.
>  > >
>  > >cygcheck.out is attached
>  > >
>  > >Thank you.
>  >
>  > Did you check the Windows Event log?
>  > 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/



ssh

2003-11-20 Thread Ben Anderson
Hi,
connect.exe is working, but ssh is not.  I can connect to my server from my 
local network, but not remotely.

This is from my sshd log
Nov 20 07:09:55 [sshd] Did not receive identification string from 
:::xxx.123.110.69

the error I get in cygwin is:
ssh_exchange_identification: Connection closed by remote host
this error is received right after I enter my proxy password.

Any thoughts?
Thanks,
Ben
_
Set yourself up for fun at home!  Get tips on home entertainment equipment, 
video game reviews, and more here.   
http://special.msn.com/home/homeent.armx

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


running cygwin on mutiple operating systems

2003-11-20 Thread Marty Leisner

I'm going to dual boot a system with win xp and win 2k (and of course
linux).

I assume I'll make two smallish partitions to boot from (one each for
xp and 2k on one disk) and one larger partition...they'll all be
ntfs...

What's the best way to have cygwin shared between the two operating
systems?   Do I have to do a complete install into the same place?

When I do this work, can I put two primary partitions one disk?

Marty Leisner
[EMAIL PROTECTED]



--
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: running cygwin on mutiple operating systems

2003-11-20 Thread Igor Pechtchanski
On Thu, 20 Nov 2003, Marty Leisner wrote:

> I'm going to dual boot a system with win xp and win 2k (and of course
> linux).
>
> I assume I'll make two smallish partitions to boot from (one each for
> xp and 2k on one disk) and one larger partition...they'll all be
> ntfs...
>
> What's the best way to have cygwin shared between the two operating
> systems?   Do I have to do a complete install into the same place?
>
> When I do this work, can I put two primary partitions one disk?
>
> Marty Leisner
> [EMAIL PROTECTED]

At a minimum, you'll need to put Cygwin on a partition accessible from
both systems.  You can use the "mount -m" command to duplicate the mounts
from one system to another (no need to reinstall Cygwin, just make sure to
fix up the drive letters in the resulting mount commands).

One problem I think you're going to run into is the SIDs of users in
/etc/passwd and /etc/group (and thus, file ownership).  Partly it's a
general multi-boot file ownership issue, and not Cygwin-specific, but you
will need to make sure you have the right things in /etc/passwd and
/etc/group for both systems.  Symlinks might become a problem, too.

You might find the Cygwin-on-CD or Cygwin-on-USB-stick instructions and
musings helpful (they should be in the mailing list archives).
Igor
P.S. I'm not sure I understand your last question.
P.P.S. Speaking of Linux, did you know that Cygwin runs under WINE? :-D
-- 
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: Crontab does not work, Windows 2000

2003-11-20 Thread Tim Ashman
Igor,

I did not run the cygrunsrv utility. I searched my hard drive and it does 
not exist. I just created a crontab under my username from the "crontab -e" 
command. Is cygrunsrv a trivial part of running cron tasks?

Also, I ran cron_diagnose and it is getting stuck on the mounts. I'm pretty 
sure that the mounts are system mounts, not user.

->Part of my output after running the diagnose script:

The SYSTEM user cannot access the mount point /usr/bin.
Please run the following command to add a system mount point:
  mount -f -s -b "[DOS path to Cygwin]/bin" "/usr/bin"
where [DOS path to Cygwin] is something like c:/cygwin.
For more information, run 'mount -m' and 'mount -h'

After adding this mount point, please re-run this script.

->My output after running mount -m:

mount -f -s -b "C:/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/cygwin" "/"
mount -s -b --change-cygdrive-prefix "/cygdrive"
Should I run the command you suggested at: 
http://sources.redhat.com/ml/cygwin/2003-05/msg00486.html ?

Hopefully we get this sorted out after this posting! :) Thanks



Original Message Follows
From: Igor Pechtchanski <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Tim Ashman <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Crontab does not work, Windows 2000
Date: Thu, 20 Nov 2003 17:59:55 -0500 (EST)
Tim,

Umm, sorry, I meant just the underlined lines, but I guess no dice...

Did you try running Mark Harig's cron_diagnose.sh (Google for it) on your
system?  Does it report any errors?
Does the "date" example produce any messages in syslog (i.e., Windows
Event log)?  An obligatory silly question, BTW: did you start the cron
service?  What options did you pass to cygrunsrv to create the service?
Igor
On Thu, 20 Nov 2003, Tim Ashman wrote:

> Igor,
>
> The output I displayed in my last posting was from the event log. It is 
not
> what my script is supposed to output. My script uses the lynx utility to
> download specific data files from an http site and echoes some progress
> statements back to the shell. I have tried what you suggested below and 
the
> "hello world" date crontab as well. Both do not work. I have also tried
> different combinations of path (/bin and /usr/bin) in my crontab, but 
still
> no luck. Note, I open a bash shell from /bin/bash and write my crontab 
from
> there. Just a quick sidetrack...why does the "pwd" command give /usr/bin
> when the shell was opened in /bin?
>
> Any other ideas of what the problem could be? Do you think it's
> path-related? Thank you so much...
>
> --
>
> Tim,
>
> Replies inline below.
>
> On Thu, 20 Nov 2003, Tim Ashman wrote:
>
>  > Igor
>  >
>  > I have attached the windows event log. Can you help? Thanks.
>  >
>  > Event Type: Information
>  > Event Source:   ./crontab
>  > Event Category: None
>  > Event ID:   0
>  > Date:   11/18/2003
>  > Time:   10:37:29 AM
>  > User:   ECPACIFIC\ashmant
>  > Computer:   TAYLORBILL
>  > Description:
>  > The description for Event ID ( 0 ) in Source ( ./crontab ) cannot be 
found.
>  > The local computer may not have the necessary registry information or
>  > message DLL files to display messages from a remote computer. The 
following
>  > information is part of the event: ./crontab : PID 596 :
>  > (ashmant) LIST (ashmant).
>
> Isn't this what your script is supposed to output?  Looks to me like your
> crontab actually worked.  If you don't redirect the output of your 
script,
> it goes to syslog (which, in case of Cygwin, is the Windows event log).
> Try changing your crontab entry to something like
>
> 33 12 * * * /usr/bin/bsh_ubcfxscript.txt >> /tmp/bsh_ubcfxscript.out
>
> and see if it works.  In fact, did you try the "Hello, world!" of all
> crontabs, i.e.
>
> 33 12 * * * /bin/date >> /tmp/date.out
>
> ?  HTH,
> Igor
>
>  > Original Message Follows
>  > From: Igor Pechtchanski <[EMAIL PROTECTED]>
>  > Reply-To: [EMAIL PROTECTED]
>  > To: Tim Ashman <[EMAIL PROTECTED]>
>  > CC: [EMAIL PROTECTED]
>  > Subject: Re: Crontab does not work, Windows 2000
>  > Date: Thu, 20 Nov 2003 13:00:32 -0500 (EST)
>  >
>  > On Thu, 20 Nov 2003, Tim Ashman wrote:
>  >
>  > >Crontab will not run on my Cygwin platform.
>  > >
>  > >I am using Cygwin 1.5.5 under Windows 2000 5.00.2195 Service Pack 4.
>  > >
>  > >I want to schedule some bash scripts using crontab. Each script runs
>  > >perfectly fine on its own. I created the following crontab from the 
bash
>  > >shell, located at /bin/bash:
>  > >
>  > ># DO NOT EDIT THIS FILE - edit the master and reinstall.
>  > ># (/tmp/crontab.1904 installed on Wed Nov 19 12:32:06 2003)
>  > ># (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 
corinna Exp $)
>  > >
>  > >33 12 * * * /usr/bin/bsh_ubcfxscript.txt
>  > >
>  > >When the time scheduled arrives, nothing happens. No error messages 
occur
>  > >and the script d

Crontab does not run, Windows 2000

2003-11-20 Thread Tim Ashman
Crontab will not run on my Cygwin platform.

I am using Cygwin 1.5.5 under Windows 2000 5.00.2195 Service Pack 4.

I want to schedule some bash scripts using crontab. Each script runs 
perfectly fine on its own. I created the following crontab from the bash 
shell, located at /bin/bash:

  # DO NOT EDIT THIS FILE - edit the master and reinstall.
  # (/tmp/crontab.1904 installed on Wed Nov 19 12:32:06 2003)
  # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp 
$)

  33 12 * * * /usr/bin/bsh_ubcfxscript.txt

When the time scheduled arrives, nothing happens. No error messages occur 
and the script does not execute.

cygcheck.out is attached

Thank you.

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=dept/features&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Nov 19 15:55:14 2003
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 20236(ashmant) GID: 10545(mkgroup-l-d)
10545(mkgroup-l-d)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 20236(ashmant) GID: 10545(mkgroup-l-d)
544(Administrators)  547(Power Users)
545(Users)   10545(mkgroup-l-d)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
HOME = `c:\Documents and Settings\ashmant'
PWD = `/bin'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users.WINDOWS'
APPDATA = `C:\Documents and Settings\ashmant\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `TAYLORBILL'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\ashmant'
LOGONSERVER = `\\PYRDC3'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/etc'
OS2LIBPATH = `C:\WINDOWS\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 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0801'
PROGRAMFILES = `C:\Program Files'
SHLVL = `1'
SMS_LOCAL_DIR = `C:\WINDOWS'
SMS_LOCAL_DIR_USER = `C:\WINDOWS'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\ashmant\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\ashmant\LOCALS~1\Temp'
USERDNSDOMAIN = `pacific.int.ec.gc.ca'
USERDOMAIN = `ECPACIFIC'
USERNAME = `ashmant'
USERPROFILE = `C:\Documents and Settings\ashmant'
WINDIR = `C:\WINDOWS'
_ = `./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 = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
 (default) = `C:\cygwin'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
 (default) = `C:\cygwin/bin'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
 (default) = `C:\cygwin/lib'
 flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a:  fd   N/AN/A
c:  hd  NTFS   19594Mb  75% CP CS UN PA FC Win2000
d:  cd   N/AN/A
e:  cd   N/AN/A
C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive
Found: .\awk.exe
Found: .\bash.exe
Found: .\cat.exe
Found: .\cp.exe
Not Found: cpp (good!)
Found: .\find.exe
Not Found: gcc
Not Found: gdb
Found: .\grep.exe
Not Found: ld
Found: .\ls.exe
Not Found: make
Found: .\mv.exe
Found: .\rm.exe
Found: .\sed.exe
Found: .\sh.exe
Found: .\tar.exe
  61k 2003/08/09 .\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
 "cygbz2-1.dll" v0.0 ts=2003/8/8 23:35
   7k 2003/10/19 .\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
 "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57
 842k 2003/09/30 .\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
 "cygcrypto-0.9.7.dll" v0.0 ts=2003/9/30 9:49
 380k 2002/07/24 .\cygdb-3.1.dll - os=4.0 img=1.0 sys=4.0
 "cygdb-3.1.dll" v0.0 ts=2002/7/24 9:24
 831k 2003/09/20 .\cygdb-4.1.dll - os=4.0 img=1.0 sys=4.0
 "cygdb-4.1.dll" v0.0 ts=2003/9/20 14:51
 487k 2002/07/24 .\cygdb_cxx-3.1.dll - os=4.0 img=1.0 sys=4.0
 "cygdb_cxx-3.1.dll" v0.0 ts=2002/7/24 9:25
1080k 2003/09/20 .\cygdb_cxx-4.1.dll - os=4.0 img=1.0 sys=4.0
 "cygdb_cxx-4.1.dll" v0.0 ts=2003/9/20 14:53
 132k 2003/07/12 .\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
 "cygexpat-0.d

Ignore my 00:18 posting

2003-11-20 Thread Tim Ashman
Please ignore my 00:18 posting. I tried to send that message yesterday, but 
I guess it got lost on its way. Go figure...

Thx

_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca

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


Re: Crontab does not run

2003-11-20 Thread Tim Ashman
I definitely installed Cygwin on my Windows 2k machine as "All Users". The 
crontab I am creating is under my individual user name. When I remove my 
crontab file and type the command "./crontab -l" it lists my username in the 
"no cronfile" response, which by the way is on the network domain, not the 
domain of my machine. I don't think this is a problem as I've checked out 
the /etc/passwd file, and it includes my username as it does the computer 
administrator.

I am running crontab in the bash shell, but the man pages mention the 
environmental variable SHELL=/bin/sh. I tried including this in my crontab 
as well as running crontab in sh, which doesn't work at all.

Any suggestions? Thanks again!

--

At 01:47 PM 11/19/2003, Tim Ashman you wrote:
I am having trouble with the Cron utility. I have written a fairly simple 
bash script that runs successfully on its own but does not work with 
crontab. I am working on a Windows 2K machine. I tried running a simlilar 
crontab on a linux machine and it worked fine. Two crontabs I have tried 
out:

39 10 * * * ./test.txt
39 10 * * * /usr/bin/test.txt
No error messages are generated. Nothing at all happens when the crontab 
run time occurs. I've tried different crontab settings and have searched 
for a similar problem on the mailing list, but have had no luck.
Really.  I thought the email archives were literally full of references to
threads on cron.
First, I'm going to direct you to .
Providing good, accurate information about the problem, your system's
configuration, and the process you followed for setting up the service
(applicable in the case of cron) is always good form.  But with the
information you've provided, I'll make the WAG that you installed Cygwin
as "Just for Me", which doesn't work if you want to run services.  Either
reinstall or look at "man mount" to figure out how to change your mount
points from 'user' to 'system'.
_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca

--
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] Updated Cygwin Package: postgresql-7.4-1

2003-11-20 Thread Jason Tishler
Markus,

On Thu, Nov 20, 2003 at 11:50:58AM +0100, Markus Seibold wrote:
> > Please read the README file:
> > 
> > /usr/doc/Cygwin/postgresql-7.4.README
> 
> I just installed postgresql-7.4-1 using the cygwin setup.exe.
> 
> On my PC, the postgresql-7.4.README is not located in /usr/doc/Cygwin/
> but in /usr/share/doc/Cygwin.
>
> Jason, maybe you want to change this or make an announcement. 

Argh!  Thanks for bringing this to my attention.  Hopefully, this (yank
and put) reference to the old path is the last one...

> I also want to really thank you for your work ... I have no experience
> with UNIX systems at all and am absolutely thankful for you making it
> that easy for windows-only users to install postgresql!!!

You are welcome.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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: running cygwin on mutiple operating systems

2003-11-20 Thread Frédéric L. W. Meunier
On Thu, 20 Nov 2003, Igor Pechtchanski wrote:

> P.P.S. Speaking of Linux, did you know that Cygwin runs under
> WINE? :-D

Really ? Everything, including compiling ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



Re: [ANNOUNCEMENT] Updated Cygwin Package: postgresql-7.4-1

2003-11-20 Thread Jason Tishler
Volker,

On Thu, Nov 20, 2003 at 11:53:26AM +0100, Dr. Volker Zell wrote:
> Is it by intention that the python dll's are missing relative to the
> latest version ?

No, it appears that interfaces/python is no longer part of the standard
PostgreSQL source distribution:

$ tar -tzf postgresql-7.3.4.tar.gz | fgrep interfaces/python
postgresql-7.3.4/src/interfaces/python/
postgresql-7.3.4/src/interfaces/python/Announce
postgresql-7.3.4/src/interfaces/python/ChangeLog
...

$ tar -tjf postgresql-7.4.tar.bz2 | fgrep interfaces/python
$

> By the way is it possible to exclude the catX (X=1,...,9,m,n...)
> directories from the package. They are empty anyway.

We never reached consensus on how to handle this issue.  Search the
archives for the details, if interested.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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: unable to open the display on local machine

2003-11-20 Thread Christopher Faylor
On Thu, Nov 20, 2003 at 08:12:56AM +0100, [EMAIL PROTECTED] wrote:
>Hello,
>
>I have installed cygwin localy on a W2K PC.
>I have installed the package ghostview, using the setup.exe utility.
>Now, if I try to start ghostview, I type:
>$ gv &
>I get the error message:
>gv: Unable to open the display.
>
>I tried to set the DISPLAY variable:
>$setenv DISPLAY localhost:0.0
>But the setenv command is not known.
>So I tried with set:
>$set DISPLAY localhost:0.0
>But this does not seem to do anything.
>When I echo the variable DISPLAY:
>$echo $DISPLAY
>I just get a blank line.
>
>Help would be very apreciated.

Redirecting to the mailing list devoted to Cygwin/X and shutting down this
thread.

cgf

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



Re: Cwd::cwd() bug??? on Cygwin

2003-11-20 Thread Randy W. Sims
On 11/15/2003 10:56 AM, Randy W. Sims wrote:
Ok, this might in fact be a Cygwin problem. Cygwin & Cwd. The following 
produces the error "Usage: Cwd::cwd() at Module.pm line 6." under Cygwin 
Ok, I finally had a chance to look into this one. Finding the problem 
was easy, but I don't know the proper solution. The problem seems to be 
that Module::Build call cwd() with the object syntax which passes self 
as an argument. In the perl sources (cygwin/cygwin.c), the builtin cwd 
does this check:

  if(items != 0)
Perl_croak(aTHX_ "Usage: Cwd::cwd()");
and fails on Cygwin because apparently Cygwin is the only OS that 
performs this check. What is the proper way to fix this? Is there a way 
Module::Build could work around this problem?

Randy.

-><8-
# Module.pm
package Module;
sub new {
  my $p = shift;
  $p->cwd;
}
sub cwd {
  require Cwd;
  Cwd::cwd;
}
1;
-><8-
-><8-
# test.pl
package MyModule;
use Module;
use base 'Module';
use Cwd;
package main;
MyModule->new;
-><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/