OpenSSH on windows Problem

2004-09-01 Thread hassani
Hello,
I am planning to use OPENSSH in my COMMMERCIAL project for custom SFTP
support on WINDOWS operating system. I have couple of queries regarding
that.

1. Is it necessary to use cygwin1.dll after i compile the OpenSSH source.
Does portable version of openssh require cygwin1.dll during execution. Does
OpenSSH use cygwin source code. What else from cygwin is required for
OpenSSH usage except cygwin1.dll.

2. If cygwin1.dll is a must then according to gpl(know little of it uptill
now) do i have to open my source code. OpenSSH is already open source and i
will be using OpenSSH source code in my application.

Waiting for an urgent reply.

Thank You.

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



ghostscript?

2004-09-01 Thread sven geier
This may be a stupid-newbie-mistake or something, but I installed ghostscript 
and gv and when I type at the prompt

% gv /path/to/some/ps/document

gv comes up fine, then gives me an error alert-box that 
says "Unknown device: x11"

Indeed, x11 does not seem to be one of the devices known to gs:

%gs
GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>devicenames 
GS<1>==
[/jpeggray /pjxl300 /psgray /ljet3d /pksm /bmpsep8 /pbmraw /bbox /bjc800 /pnggra
y /cdjcolor /tifflzw /djet500 /pnmraw /pcx16 /pdfwrite /uniprint /psrgb /ljet4 /
pksmraw /bmp16 /pgm /cljet5 /faxg3 /png16 /cdjmono /tiffpack /laserjet /ppm /pcx
256 /pswrite /ijs /bit /ljet4d /tiffcrle /bmp256 /pgmraw /cljet5c /faxg32d /png2
56 /cdj550 /tiff12nc /ljetplus /ppmraw /bmpmono /pcx24b /epswrite /bj10e /bitrgb
 /lj5mono /tiffg3 /bmp16m /pgnm /nullpage /faxg4 /png16m /pj /tiff24nc /ljet2p /
pkm /bmpgray /pcxcmyk /pxlmono /bj200 /bitcmyk /lj5gray /tiffg32d /bmp32b /pgnmr
aw /pcxmono /jpeg /pjxl /psmono /ljet3 /pkmraw /bmpsep1 /pbm /pxlcolor /bjc600 /
pngmono /cdeskjet /tiffg4 /deskjet /pnm /pcxgray]


so how is gv supposed to work? I can't be the first one to note this and I'm 
sure there's something incredibly simple I have to do here somewhere but...

[scratches head]


--
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: LAPACK - testing problems

2004-09-01 Thread Billinghurst, David \(CALCRTS\)
Christopher Faylor wrote:
>
> I guess it's time for all of the many heavy-duty LAPACK users
> here to start debugging cygwin...

Yup.

__

NOTICE
 
This e-mail and any attachments are private and confidential and 
may contain privileged information.
 
If you are not an authorised recipient, the copying or distribution 
of this e-mail and any attachments is prohibited and you must not 
read, print or act in reliance on this e-mail or attachments.
 
This notice should not be removed.
__

--
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: LAPACK - testing problems

2004-09-01 Thread Christopher Faylor
On Thu, Sep 02, 2004 at 11:58:40AM +1000, Billinghurst, David (CALCRTS) wrote:
>Gorden Jemwa wrote:
I've just recently migrated to CYGWIN.  I am having problems with
installing the LAPACK (&BLAS) libraries.  Specifically, I am
(apparently) succeeding in compiling the libraries.  However, when it
comes to testing the routines only the ones that use eigsrc_(PLAT).a
library seem to be able to give me any output while the rest are giving
an error,for example:
 
Timing square REAL LAPACK linear equations routines
./xlintims < stime.in> stime.out 2>&1
make: *** [stime.out] Error 128
>
>I get the same results with sband.out, stime.out, stime2.out
>and the c d and z equivalents.
>
>I've built LAPACK many times on cygwin, and I used scripts that
>worked in the past, so it looks like a recent(ish) bug.

I guess it's time for all of the many heavy-duty LAPACK users
here to start debugging cygwin...

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



RE: LAPACK - testing problems

2004-09-01 Thread Billinghurst, David \(CALCRTS\)
Gorden Jemwa wrote:
>
>>> I've just recently migrated to CYGWIN. I am having problems with
>>> installing the LAPACK (&BLAS) libraries. Specifically, I am
>>> (apparently) succeeding in compiling the libraries. However, when it
>>> comes to testing the routines only the ones that use eigsrc_(PLAT).a
>>> library seem to be able to give me any output while the rest are
>>> giving an error,for example: 
>>> 
>>> Timing square REAL LAPACK linear equations routines
>>> ./xlintims < stime.in> stime.out 2>&1
>>> make: *** [stime.out] Error 128

I get the same results with sband.out, stime.out, stime2.out
and the c d and z equivalents.

I've built LAPACK many times on cygwin, and I used scripts that
worked in the past, so it looks like a recent(ish) bug.

David

__

NOTICE
 
This e-mail and any attachments are private and confidential and 
may contain privileged information.
 
If you are not an authorised recipient, the copying or distribution 
of this e-mail and any attachments is prohibited and you must not 
read, print or act in reliance on this e-mail or attachments.
 
This notice should not be removed.
__

--
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: mod-php4

2004-09-01 Thread Robert Schmidt
Sam Liddicott wrote:
Robert Schmidt wrote:
Hi!
I've gleaned from the archives that mod-php4 was pulled because it was
broken, and that a new maintainer has taken over apache + modules.
Is there any use in hoping that mod-php4 will be added soon?  I need it
for a SquirrelMail setup I've been asked to provide on Windows... :-/
I've had a shot at building php4 myself, but failed miserably:

I've been using coLinux (www.colinux.org) as a way of running apache and 
php4 under windows.
...
Thanks!  I wasn't aware of that interesting project.  I'm definitely 
going to check it out.

For my immediate needs, however, I managed to get the standard 
precompiled native Win32 php4 package to work as a CGI handler inside my 
cygwin Apache 1.3.  This is suboptimal, and I have to stay away from 
cygwin paths (~, symlinks, etc.), but SquirrelMail worked just as 
advertised.

Sam
Cheers,
Rob
--
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: Regular Expressions from Bash Shell

2004-09-01 Thread Christopher Faylor
On Wed, Sep 01, 2004 at 06:07:15PM -0400, Buchbinder, Barry (NIH/NIAID) wrote:
>At Wednesday, September 01, 2004 5:17 PM, Igor Pechtchanski wrote:
>> On Wed, 1 Sep 2004, Siegfried Heintze wrote:
>> 
>>> I want to use grep on all the FORTRAN source code files in the
>>> current directory whose file names do not contain a "_" character.
>>> How do I do this? 
>>> 
>>> I'm using the extension of ".f" to designate FORTRAN.
>> 
>> Disclaimer: this is not a shell programming support forum, and the
>> above post is off-topic for this list, since it asks a general shell
>> question not related to Cygwin.
>> 
>> But, since I'm sending this e-mail anyway (and I hope this in no way
>> encourages similar future posts):
>> 
>> find . -name \*_\* -o -name \*.f -print | xargs grep EXPRESSION
>
>I think a "!" was forgotten.
>
>find . \( ! -name \*_\* \) -o -name \*.f -print | xargs grep EXPRESSION
>
>The parentheses may not be needed -- you can try it both ways.

I don't think either of those meets the letter of the original request.

If you only want the files in the current directory then something like:

ls -d *.f | grep -v '^_' | xargs grep EXPRESSION

should work better.

Or if you use zsh you can just do:

grep EXPRESSION *.f~_*

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: mod-php4

2004-09-01 Thread Sam Liddicott
Robert Schmidt wrote:
Hi!
I've gleaned from the archives that mod-php4 was pulled because it was
broken, and that a new maintainer has taken over apache + modules.
Is there any use in hoping that mod-php4 will be added soon?  I need it
for a SquirrelMail setup I've been asked to provide on Windows... :-/
I've had a shot at building php4 myself, but failed miserably:
I've been using coLinux (www.colinux.org) as a way of running apache and 
php4 under windows.

The good news is that it runs the regular binaries of your distribution 
and behaves in every way almost the same as if it were an independant 
server.

The bad news is you have to go to the trouble of setting up an 
independant "virtual" server and it doesn't integrate with windows like 
cygwin does.

I've now got coLinux sessions smbmounting my windows disks (and vice 
versa) and cygwin X server running in rootless mode (X -multiwindow) so 
I can combine my linux and windows apps nicely.

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


Re: c:/ seems to be accessed in binary even if cygwin is configured as textmode by default (documentation alert)

2004-09-01 Thread Christopher Faylor
On Wed, Sep 01, 2004 at 05:34:52PM +0200, Arnaud Mouiche wrote:
>At 17:02 01/09/2004, Christopher Faylor wrote:
>>On Wed, Sep 01, 2004 at 04:40:43PM +0200, Arnaud Mouiche wrote:
>>>well. c: is binary
>>>
>>>here a bug.
>>>cygpath -M c:/foo returns
>>>
> cygpath: file 'c:/foo' - No error
>>>
>>>looking at CVS code and strace, flags are set to zero instead of 0xa; the
>>>file is nor binary nor text
>>
>>"0xa"?  Why would the code use an absolute hex value?
>
>sorry
>0xa is the flags return by strace when checking a binary mounted file like. 
>of course, strace dosn't know the #define or enum strings
>
>
>for example,
>run:  strace cygpath -M /usr/X11R6/lib/X11/fonts/util/map-KOI8-R (which is 
>mounted a binary)
>[]
>282  712265 [main] cygpath 404 mount_info::conv_to_win32_path: src_path 
>/usr/X11R6/lib/X11/fonts/util/map-KOI8-R, dst 
>C:\cygwin\usr\X11R6\lib\X11\fonts\util\map-KOI8-R, flags > 0xA <<, 
>rc 0
>[]
>
>in fact 0xA = PATH_BINARY + (something else) , where PATH_BINARY =0x2
>
>we have following calls
>cygpath -> cygwin_internal(CW_GET_BINMODE) -> path_conv::check which set 
>path_flags to 0xA for binary, and then returns O_BINARY or O_TEXT to 
>cygpath, depending of the mode.
>
>for c:/foo, path_conv::check  set path_flags to zero and 
>cygwin_internal(CW_GET_BINMODE) returns zero instead of O_BINARY or O_TEXT

On reflection, since cygpath -M is supposed to report on the mount type
(binmode or textmode) of a given path and c:/foo does not refer to a
mounted path, it seems like it is well within its rights to return
an error.

However, again, if you want to provide a patch, it will be thoughtfully
considered.

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: Regular Expressions from Bash Shell

2004-09-01 Thread Yitzchak Scott-Thoennes
On Wed, Sep 01, 2004 at 03:09:21PM -0600, Siegfried Heintze wrote:
> I want to use grep on all the FORTRAN source code files in the current
> directory whose file names do not contain a "_" character. How do I do this?
> 
> I'm using the extension of ".f" to designate FORTRAN. 

   find *.f ! -name '*_*'|xargs grep

is how I would do it, but there's probably a better way.  (Assuming
you have no subdirectories ending with .f)

--
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: Regular Expressions from Bash Shell

2004-09-01 Thread Buchbinder, Barry (NIH/NIAID)
At Wednesday, September 01, 2004 5:17 PM, Igor Pechtchanski wrote:
> On Wed, 1 Sep 2004, Siegfried Heintze wrote:
> 
>> I want to use grep on all the FORTRAN source code files in the
>> current directory whose file names do not contain a "_" character.
>> How do I do this? 
>> 
>> I'm using the extension of ".f" to designate FORTRAN.
> 
> Disclaimer: this is not a shell programming support forum, and the
> above post is off-topic for this list, since it asks a general shell
> question not related to Cygwin.
> 
> But, since I'm sending this e-mail anyway (and I hope this in no way
> encourages similar future posts):
> 
> find . -name \*_\* -o -name \*.f -print | xargs grep EXPRESSION

I think a "!" was forgotten.

find . \( ! -name \*_\* \) -o -name \*.f -print | xargs grep EXPRESSION

The parentheses may not be needed -- you can try it both ways.

> Again, the above is *not* Cygwin-specific.
>   Igor

--
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: Regular Expressions from Bash Shell

2004-09-01 Thread Igor Pechtchanski
On Wed, 1 Sep 2004, Siegfried Heintze wrote:

> I want to use grep on all the FORTRAN source code files in the current
> directory whose file names do not contain a "_" character. How do I do this?
>
> I'm using the extension of ".f" to designate FORTRAN.

Disclaimer: this is not a shell programming support forum, and the above
post is off-topic for this list, since it asks a general shell question
not related to Cygwin.

But, since I'm sending this e-mail anyway (and I hope this in no way
encourages similar future posts):

find . -name \*_\* -o -name \*.f -print | xargs grep EXPRESSION

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

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

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



Regular Expressions from Bash Shell

2004-09-01 Thread Siegfried Heintze
I want to use grep on all the FORTRAN source code files in the current
directory whose file names do not contain a "_" character. How do I do this?

I'm using the extension of ".f" to designate FORTRAN. 
Thank you,
   Siegfried


--
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: change opening path

2004-09-01 Thread Tom Plane
Thanks out to everyone!

First, I needed to install an editor.
Second, then I edited the home path in /etc/passwd.

All is good.

Thanks,
Tom

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Larry Hall
Sent: Wednesday, September 01, 2004 11:00 AM
To: Tom Plane; [EMAIL PROTECTED]
Subject: Re: change opening path


At 12:41 PM 9/1/2004, you wrote:
>When I open the shell and check the path (pwd) it's reply is 
>/cygdrive/h. The H drive is my home drive at work. To get to the C 
>drive
>(cygdrive/c) I have to cd. 
>How do I change the opening path from H to C permanently?


Set your home path in '/etc/passwd' to the directory you want.  Edit the

file directly or just use 'mkpasswd -p'.




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


--
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 win32 text mode application in bash

2004-09-01 Thread WELLS, ROGER K.
thanks.  That was it.  How it got changed..  I must have done it in my 
sleep.
Sorry about cygcheck, I thought the information for bash & cygwin itself 
would be sufficient

Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
[EMAIL PROTECTED]




Larry Hall <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09/01/2004 01:56 PM
Please respond to Cygwin List

 
To: "WELLS, ROGER K." <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
cc: 
Subject:Re: running win32 text mode application in bash


At 01:03 PM 9/1/2004, you wrote:
>Having googled the universe looking for information:
>
>I hope this is not to the wrong list but here goes:
>
>I have been using cygwin's bash shell for several years as my only 
>interface to building and developing our applications on Windows 2000 pro 

>and more recently Winodws XP pro.  Somewhere in the not to distant past 
>someting changed and I don't know if I did it or it came with an update. 
>Specifically:
>
>in a bash shell typing the command: net time '\\machine' /set  should 

>retrieve the time from "machine" and prompt you for a "Y" or "N" response 

>before proceeding.
>On a Windows XP pro with sp1 the following is the result:
>
>$ net time '\\rwells-rh' /set
>Current time at \\rwells-rh is 9/1/2004 9:55 AM
>
>Local time (GMT) at \\rwells-rh is 9/1/2004 2:55 PM
>
>The current local clock is 9/1/2004 9:55 AM
>Do you want to set the local computer's time to match the
>time at \\rwells-rh? (Y/N) [Y]:
>No valid response was provided.
>
>from cygcheck -c on this machine:
>bash 2.05b-16   OK
>cygwin   1.5.10-3   OK
>
>other text mode programs that expect user response via the keyboard fail 
>similarly as well.
>
>
>on another machine (Windows 2000) on which cygwin has not been updated in 

>about 10 months 
>cygcheck -c  yields:
>bash 2.05b-16   OK
>cygwin   1.5.5-1OK
>
>the command executes as expected:
>
>$ net time '\\rwells-rh' /set
>Current time at \\rwells-rh is 9/1/2004 11:09 AM
>
>Local time (GMT) at \\rwells-rh is 9/1/2004 3:09 PM
>
>The current local clock is 9/1/2004 11:09 AM
>Do you want to set the local computer's time to match the
>time at \\rwells-rh? (Y/N) [Y]: (the 
enter 
>key is pressed here thus issuing the default "Y" response)
>The command completed successfully.
>
>other textmode programs that expect user response via the keyboard behave 

>as expected as well.
>
>At one time (probably some months ago) these commands behaved as expected 

>on the XP machine as well.
>It may be interesting to note that if the command that succeeds is issued 

>in an ssh session from the XP machine it fails as well.
>
>thanks in advance for any advice


You missed some important data requested by:

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

for problem reports.  Specifically, you left out the cygcheck output
from these machines.  From it, I could tell for sure whether my semi-WAG
is the solution for your problem.  Oh well. 

Take 'tty' out of the CYGWIN environment variable on the first machine
and restart the shells.  You'd see this same thing with Cygwin 1.5.5 too,
if you used 'tty' with it.



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






--
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: change opening path

2004-09-01 Thread Andrew DeFaria
Tom Plane wrote:
I would love to try this but I don't know how to add the cd command to 
the end of /etc/profile. Can you explain the steps to me?
echo "cd c:" >> /etc/profile
? :-)
--
Who was the first person to look at a cow and say, "I think I'll squeeze 
these dangly things here and drink whatever comes 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/


RE: change opening path

2004-09-01 Thread Igor Pechtchanski
If you're the only one using Cygwin on your machine, try

echo "cd /cygdrive/c" >> /etc/profile

and then restart the Cygwin shell.

In the future, when you need to find out which package contains a
particular program, use the Cygwin package search page at
 (it helps to prepend "bin/" to program
names, especially short ones like "vi").
Igor

On Wed, 1 Sep 2004, Tom Plane wrote:

> Thanks Dave.
>
> I tried this and got an error.
>
> bash: vi: command not found
>
> I did a default install.
>
> A little more help please.
>
> Tom
>
> -Original Message-
> From: J. David Boyd [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 10:48 AM
> To: Tom Plane
> Subject: Re: change opening path
>
> "Tom Plane" <[EMAIL PROTECTED]> writes:

To both you and Dave: .

> > I would love to try this but I don't know how to add the cd command to
>
> > the end of /etc/profile. Can you explain the steps to me?
>
> open a command prompt (bash)
>
> type: cd /etc
> type: vi profile
> press: 'G' to go the end
> press: 'A' to go to the end of the current line in insert mode
> press: enter to open a new line
> type: cd *path_to_wherever*
> type: :wq
>
> restart cygwin
>
> Dave

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

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

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



RE: change opening path

2004-09-01 Thread Buchbinder, Barry (NIH/NIAID)
install vim
but maybe one of the other editors might be more to your liking.

At Wednesday, September 01, 2004 3:12 PM, Tom Plane wrote:
> Thanks Dave.
> 
> I tried this and got an error.
> 
> bash: vi: command not found
> 
> I did a default install.
> 
> A little more help please.
> 
> Tom
> 
> -Original Message-
> From: J. David Boyd [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 10:48 AM
> To: Tom Plane
> Subject: Re: change opening path
> 
> 
> "Tom Plane" <[EMAIL PROTECTED]> writes:
> 
>> I would love to try this but I don't know how to add the cd command
>> to 
> 
>> the end of /etc/profile. Can you explain the steps to me?
>> 
> 
> open a command prompt (bash)
> 
> type: cd /etc
> type: vi profile
> press: 'G' to go the end
> press: 'A' to go to the end of the current line in insert mode
> press: enter to open a new line
> type: cd *path_to_wherever*
> type: :wq
> 
> restart cygwin
> 
> Dave
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/

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



RE: change opening path

2004-09-01 Thread Tom Plane
Thanks Dave.

I tried this and got an error.

bash: vi: command not found

I did a default install.

A little more help please.

Tom

-Original Message-
From: J. David Boyd [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 10:48 AM
To: Tom Plane
Subject: Re: change opening path


"Tom Plane" <[EMAIL PROTECTED]> writes:

> I would love to try this but I don't know how to add the cd command to

> the end of /etc/profile. Can you explain the steps to me?
> 

open a command prompt (bash)

type: cd /etc
type: vi profile
press: 'G' to go the end
press: 'A' to go to the end of the current line in insert mode
press: enter to open a new line
type: cd *path_to_wherever*
type: :wq

restart cygwin

Dave


--
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: change opening path

2004-09-01 Thread Larry Hall
At 12:41 PM 9/1/2004, you wrote:
>When I open the shell and check the path (pwd) it's reply is
>/cygdrive/h. The H drive is my home drive at work. To get to the C drive
>(cygdrive/c) I have to cd. 
>How do I change the opening path from H to C permanently?


Set your home path in '/etc/passwd' to the directory you want.  Edit the 
file directly or just use 'mkpasswd -p'.




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


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



Re: running win32 text mode application in bash

2004-09-01 Thread Larry Hall
At 01:03 PM 9/1/2004, you wrote:
>Having googled the universe looking for information:
>
>I hope this is not to the wrong list but here goes:
>
>I have been using cygwin's bash shell for several years as my only 
>interface to building and developing our applications on Windows 2000 pro 
>and more recently Winodws XP pro.  Somewhere in the not to distant past 
>someting changed and I don't know if I did it or it came with an update. 
>Specifically:
>
>in a bash shell typing the command: net time '\\machine' /set  should 
>retrieve the time from "machine" and prompt you for a "Y" or "N" response 
>before proceeding.
>On a Windows XP pro with sp1 the following is the result:
>
>$ net time '\\rwells-rh' /set
>Current time at \\rwells-rh is 9/1/2004 9:55 AM
>
>Local time (GMT) at \\rwells-rh is 9/1/2004 2:55 PM
>
>The current local clock is 9/1/2004 9:55 AM
>Do you want to set the local computer's time to match the
>time at \\rwells-rh? (Y/N) [Y]:
>No valid response was provided.
>
>from cygcheck -c on this machine:
>bash 2.05b-16   OK
>cygwin   1.5.10-3   OK
>
>other text mode programs that expect user response via the keyboard fail 
>similarly as well.
>
>
>on another machine (Windows 2000) on which cygwin has not been updated in 
>about 10 months 
>cygcheck -c  yields:
>bash 2.05b-16   OK
>cygwin   1.5.5-1OK
>
>the command executes as expected:
>
>$ net time '\\rwells-rh' /set
>Current time at \\rwells-rh is 9/1/2004 11:09 AM
>
>Local time (GMT) at \\rwells-rh is 9/1/2004 3:09 PM
>
>The current local clock is 9/1/2004 11:09 AM
>Do you want to set the local computer's time to match the
>time at \\rwells-rh? (Y/N) [Y]: (the enter 
>key is pressed here thus issuing the default "Y" response)
>The command completed successfully.
>
>other textmode programs that expect user response via the keyboard behave 
>as expected as well.
>
>At one time (probably some months ago) these commands behaved as expected 
>on the XP machine as well.
>It may be interesting to note that if the command that succeeds is issued 
>in an ssh session from the XP machine it fails as well.
>
>thanks in advance for any advice


You missed some important data requested by:

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

for problem reports.  Specifically, you left out the cygcheck output
from these machines.  From it, I could tell for sure whether my semi-WAG
is the solution for your problem.  Oh well.  

Take 'tty' out of the CYGWIN environment variable on the first machine
and restart the shells.  You'd see this same thing with Cygwin 1.5.5 too,
if you used 'tty' with it.



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


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



RE: change opening path

2004-09-01 Thread Tom Plane
I would love to try this but I don't know how to add the cd command to
the end of /etc/profile. Can you explain the steps to me?

Tom

-Original Message-
From: Jingzhao Ou [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 9:03 AM
To: Tom Plane
Subject: Re: change opening path


I know it is a stupid solution. I just added the cd command to the end
of /etc/profile.

Jingzhao

--- Tom Plane <[EMAIL PROTECTED]> wrote:

> When I open the shell and check the path (pwd) it's reply is 
> /cygdrive/h. The H drive is my home drive at work. To get to the C 
> drive
> (cygdrive/c) I have to cd. 
> How do I change the opening path from H to C permanently?
>  
> Thanks for any help.
> Tom
>


--
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 win32 text mode application in bash

2004-09-01 Thread WELLS, ROGER K.
Having googled the universe looking for information:

I hope this is not to the wrong list but here goes:

I have been using cygwin's bash shell for several years as my only 
interface to building and developing our applications on Windows 2000 pro 
and more recently Winodws XP pro.  Somewhere in the not to distant past 
someting changed and I don't know if I did it or it came with an update. 
Specifically:

in a bash shell typing the command: net time '\\machine' /set  should 
retrieve the time from "machine" and prompt you for a "Y" or "N" response 
before proceeding.
On a Windows XP pro with sp1 the following is the result:

$ net time '\\rwells-rh' /set
Current time at \\rwells-rh is 9/1/2004 9:55 AM

Local time (GMT) at \\rwells-rh is 9/1/2004 2:55 PM

The current local clock is 9/1/2004 9:55 AM
Do you want to set the local computer's time to match the
time at \\rwells-rh? (Y/N) [Y]:
No valid response was provided.

from cygcheck -c on this machine:
bash 2.05b-16   OK
cygwin   1.5.10-3   OK

other text mode programs that expect user response via the keyboard fail 
similarly as well.


on another machine (Windows 2000) on which cygwin has not been updated in 
about 10 months 
cygcheck -c  yields:
bash 2.05b-16   OK
cygwin   1.5.5-1OK

the command executes as expected:

$ net time '\\rwells-rh' /set
Current time at \\rwells-rh is 9/1/2004 11:09 AM

Local time (GMT) at \\rwells-rh is 9/1/2004 3:09 PM

The current local clock is 9/1/2004 11:09 AM
Do you want to set the local computer's time to match the
time at \\rwells-rh? (Y/N) [Y]: (the enter 
key is pressed here thus issuing the default "Y" response)
The command completed successfully.

other textmode programs that expect user response via the keyboard behave 
as expected as well.

At one time (probably some months ago) these commands behaved as expected 
on the XP machine as well.
It may be interesting to note that if the command that succeeds is issued 
in an ssh session from the XP machine it fails as well.

thanks in advance for any advice


Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
[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/



change opening path

2004-09-01 Thread Tom Plane
When I open the shell and check the path (pwd) it's reply is
/cygdrive/h. The H drive is my home drive at work. To get to the C drive
(cygdrive/c) I have to cd. 
How do I change the opening path from H to C permanently?
 
Thanks for any help.
Tom


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



Re: Error in first execution

2004-09-01 Thread Igor Pechtchanski
On Wed, 1 Sep 2004, Larry Hall wrote:

> At 04:13 AM 9/1/2004, you wrote:
> >Hi to everyone !
> >
> >i'm a new-new-user with a new problem ! the pdf manual and the guides on
> >Google don't help me
> >
> >I downloaded and installed the 'deafult' packages, with no modying notinhg
> >of what proposed from cygwin setup program.
> >
> >when i installed. i double-clicked on its icon on desktop and i receive an
> >advise from sed.exe about cygintl-3.dll not found. the terminal windows
> >start but... what's the error?
> >
> >i'm using win 2003 server, and i installed from administrator login so i
> >have ALL the permissions (the machine is mine). i installed for 'all users',
> >because i'm the only user of the machine
>
>
> Here's the recipe for solving these kinds of problems.
>
> 1. Goto 
> 2. Type in the name of the missing file.  Press 'Enter'.  This will tell you
>the name of the package with that file.
> 3. Run setup.
> 4. Find the package in the chooser and install it.

Rinse.  Repeat. :-)

> 5. Bask in the glory of a job well-done! :-)
>
> --
> Larry Hall

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

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

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



Re: problem with expect

2004-09-01 Thread Larry Hall
At 07:55 AM 9/1/2004, you wrote:
>Hi,
>we are facing a problem with executing a expect program in cygwin.
>Expect program triggers the setup of application server.
>While triggering that setup file thru expect we are getting "IOException in read 
>query".Also,we are getting invalid spawn id (4) error on the screen.
>Please give me a solution to solve this problem.


OK.  You want to set your IOCTL to 12 and encapsulate that in a series of 
while loops.  Make sure you watch for a SIGINT signal, otherwise you'll
wind up in an endless loop!

If that doesn't work for some strange reason, let me point you to:


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


I'd recommend following the guidelines there for any subsequent problem
reports you send to the list.



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


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



Re: LAPACK - testing problems

2004-09-01 Thread Igor Pechtchanski
On Wed, 1 Sep 2004, Igor Pechtchanski wrote:

> [snip]
>
> > > > > What happens if you run xlintims from the command line?
> > > > >
> > > > >   ./xlintims < stime.in
> > > >
> > > > I've gone through the entire library-build process again an everything
> > > > seems to be working as it should except when it comes to TIMING the
> > > > Linear Equations Routines.
> > >
> > > > Running the command "xlintims < stime.in" gives no output.
> > >
> > > What is the return code of that command?  Try "echo $?" after running it.
> >
> > > > The Eigensystem Routines are working fine though.
> >
> > The return code is 128
>
> Well, then, "make" behaves as expected -- if the command returns a
> non-zero return code, it's an error as far as "make" is concerned.  Is
> returning 128 the expected behavior for "xlintims"?  If so, the Makefile
> is buggy -- it should ignore the return code.  If not, then you have to
> debug "xlintims" -- figure out *why* it returns 128.
>
> FWIW, here's something of interest (from
> , heavily snipped):
>
>   When a program finishes executing it returns an exit code to the
>   system. The batch system reports this exit code. There are three
>   general ways for the exit code of a program to be set.
>
>   1) The program can explicitly call exit() (or return from main(),
>  which eventually calls exit()). In this case the exit code is
>  the argument to exit() and its meaning depends on the program.
>  The call to exit() may actually occur in a library routine that
>  your program uses. The only known example of this is the FORTRAN
>  io library. The FORTRAN io routines set an exit code in the range
>  100 - 185 when an error occurs. The specific meaning of these codes
>  can be found in the appendix to the Fortran 77 Programmer's Guide
>  (available online as an insight book).
>   2) The program executes the last instruction in main(), (not
>  calling exit() or return).  In this case the system sets the
>  exit code to 0.
>   3) The program can terminate due to the receipt of a signal. In
>  this case the system sets the exit code to 128 + .
>  [snip]
>
> Here case 1 probably applies, since there's no signal 0.  However,
> ,
> which is one place that lists the error codes, doesn't have an entry for
> 128.  You're going to have to debug this yourself...

Ah, here's something:
 =>

128: "'new' file exists"

Isn't Google wonderful?  Also available in "info g77" -> "Debugging and
Interfacing" -> "Run-time Library Errors" on your own machine.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: LAPACK - testing problems

2004-09-01 Thread Igor Pechtchanski
On Wed, 1 Sep 2004, Gorden Jemwa wrote:

> Igor Pechtchanski wrote:
>
> > On Wed, 1 Sep 2004, Gorden Jemwa wrote:
> >
> > > Billinghurst, David (CALCRTS) wrote:
> > >
> > > > [EMAIL PROTECTED] wrote:
> >
> > .  Thanks.

BTW, this was directed at David, not Gorden.

> > > > > I've just recently migrated to CYGWIN. I am having problems with
> > > > > installing the LAPACK (&BLAS) libraries. Specifically, I am
> > > > > (apparently) succeeding in compiling the libraries. However, when it
> > > > > comes to testing the routines only the ones that use eigsrc_(PLAT).a
> > > > > library seem to be able to give me any output while the rest are
> > > > > giving an error,for example:
> > > > >   Timing square REAL LAPACK linear equations routines
> > > > >   ./xlintims < stime.in> stime.out 2>&1
> > > > >   make: *** [stime.out] Error 128
> > > > >
> > > > > I've done almost everything suggested previously on the archives but
> > > > > to avail. Could someone help
> > > > >
> > > > > Thanks
> > > >
> > > > What happens if you run xlintims from the command line?
> > > >
> > > > ./xlintims < stime.in
> > >
> > > I've gone through the entire library-build process again an everything
> > > seems to be working as it should except when it comes to TIMING the
> > > Linear Equations Routines.
> >
> > > Running the command "xlintims < stime.in" gives no output.
> >
> > What is the return code of that command?  Try "echo $?" after running it.
>
> > > The Eigensystem Routines are working fine though.
>
> The return code is 128

Well, then, "make" behaves as expected -- if the command returns a
non-zero return code, it's an error as far as "make" is concerned.  Is
returning 128 the expected behavior for "xlintims"?  If so, the Makefile
is buggy -- it should ignore the return code.  If not, then you have to
debug "xlintims" -- figure out *why* it returns 128.

FWIW, here's something of interest (from
, heavily snipped):

When a program finishes executing it returns an exit code to the
system. The batch system reports this exit code. There are three
general ways for the exit code of a program to be set.

1) The program can explicitly call exit() (or return from main(),
   which eventually calls exit()). In this case the exit code is
   the argument to exit() and its meaning depends on the program.
   The call to exit() may actually occur in a library routine that
   your program uses. The only known example of this is the FORTRAN
   io library. The FORTRAN io routines set an exit code in the range
   100 - 185 when an error occurs. The specific meaning of these codes
   can be found in the appendix to the Fortran 77 Programmer's Guide
   (available online as an insight book).
2) The program executes the last instruction in main(), (not
   calling exit() or return).  In this case the system sets the
   exit code to 0.
3) The program can terminate due to the receipt of a signal. In
   this case the system sets the exit code to 128 + .
   [snip]

Here case 1 probably applies, since there's no signal 0.  However,
,
which is one place that lists the error codes, doesn't have an entry for
128.  You're going to have to debug this yourself...

BTW, one other interesting thing I found, when Googling for "LAPACK
xlintimes 128 stime.in", is a .ps file titled "LAPACK Working Note 41
Installation Guide for LAPACK" (second and fourth matches).  The bits of
interest are quoted below:

Small data sets are indicated by lower case names, such as
stime.in, and large data sets are indicated by upper case names,
such as STIME.in.
...
The small data sets for the REAL version are stime.in, sband.in,
and stime2.in, respectively, and the large data sets are STIME.in,
SBAND.in, and STIME2.in.

This will *not* work properly on Windows, and won't on Cygwin either
unless you use a managed mount.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: Error in first execution

2004-09-01 Thread Larry Hall
At 04:13 AM 9/1/2004, you wrote:
>Hi to everyone !
>
>i'm a new-new-user with a new problem ! the pdf manual and the guides on
>Google don't help me
>
>I downloaded and installed the 'deafult' packages, with no modying notinhg
>of what proposed from cygwin setup program.
>
>when i installed. i double-clicked on its icon on desktop and i receive an
>advise from sed.exe about cygintl-3.dll not found. the terminal windows
>start but... what's the error?
>
>i'm using win 2003 server, and i installed from administrator login so i
>have ALL the permissions (the machine is mine). i installed for 'all users',
>because i'm the only user of the machine
>


Here's the recipe for solving these kinds of problems.

1. Goto 
2. Type in the name of the missing file.  Press 'Enter'.  This will tell you 
   the name of the package with that file.
3. Run setup.
4. Find the package in the chooser and install it.
5. Bask in the glory of a job well-done! :-)

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


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



Re: c:/ seems to be accessed in binary even if cygwin is configured as textmode by default (documentation alert)

2004-09-01 Thread Arnaud Mouiche
At 17:02 01/09/2004, Christopher Faylor wrote:
On Wed, Sep 01, 2004 at 04:40:43PM +0200, Arnaud Mouiche wrote:
>well. c: is binary
>
>here a bug.
>cygpath -M c:/foo returns
>
>>> cygpath: file 'c:/foo' - No error
>
>looking at CVS code and strace, flags are set to zero instead of 0xa; the
>file is nor binary nor text
"0xa"?  Why would the code use an absolute hex value?
sorry
0xa is the flags return by strace when checking a binary mounted file like. 
of course, strace dosn't know the #define or enum strings

for example,
run:  strace cygpath -M /usr/X11R6/lib/X11/fonts/util/map-KOI8-R (which is 
mounted a binary)
[]
282  712265 [main] cygpath 404 mount_info::conv_to_win32_path: src_path 
/usr/X11R6/lib/X11/fonts/util/map-KOI8-R, dst 
C:\cygwin\usr\X11R6\lib\X11\fonts\util\map-KOI8-R, flags > 0xA <<, rc 0
[]

in fact 0xA = PATH_BINARY + (something else) , where PATH_BINARY =0x2
we have following calls
cygpath -> cygwin_internal(CW_GET_BINMODE) -> path_conv::check which set 
path_flags to 0xA for binary, and then returns O_BINARY or O_TEXT to 
cygpath, depending of the mode.

for c:/foo, path_conv::check  set path_flags to zero and 
cygwin_internal(CW_GET_BINMODE) returns zero instead of O_BINARY or O_TEXT

arnaud

PTC, but not a P that uses an absolute hex value.
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/

--
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: WINCVS using cygwin's python?

2004-09-01 Thread Brian Ford
On Wed, 1 Sep 2004, Jason Pearce wrote:

> Has anyone used WinCVS 1.3 and managed to get the Python macros working
> with Cygwin's Python?

Probably not.

> I have tried entering D:\cygwin\bin\libpython2.3.dll as the python dll
> under the WinCVS's admin=>preferences=>wincvs configuration but it does
> not seem register as having Python available.

Loading Cygwin based DLLs dynamically from non-Cygwin programs has been
broken for a very long time.  Please check the archives if you want more
information.  It comes up continually.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

--
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 under windows 2003 server

2004-09-01 Thread Harig, Mark

> 
> 
> I appreciate the feedback, I tried the -r option but it does not work:
> The sshd service does not start at all!
> 
> openssh 3.8.1p1-1
> 

As was documented in the announcement for the latest
release of openssh, the '-r' switch applies to that release.
It does not apply to earlier releases, which you are
running.

http://cygwin.com/ml/cygwin/2004-08/msg00633.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: c:/ seems to be accessed in binary even if cygwin is configured as textmode by default (documentation alert)

2004-09-01 Thread Christopher Faylor
On Wed, Sep 01, 2004 at 04:40:43PM +0200, Arnaud Mouiche wrote:
>well. c: is binary
>
>here a bug.
>cygpath -M c:/foo returns
>
>>> cygpath: file 'c:/foo' - No error
>
>looking at CVS code and strace, flags are set to zero instead of 0xa; the 
>file is nor binary nor text

"0xa"?  Why would the code use an absolute hex value?

PTC, but not a P that uses an absolute hex value.

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: Python os.path.join inconsistency?

2004-09-01 Thread Chris Herborth
Reini Urban wrote:
Ken Dibble schrieb:
I guess my limited experience (including not being a windows programmer)
colored my perception.
I had never been able to get any Windows variant I was exposed to,
to accept a forward slash.  So much for my recall device of
Unix Forward, Windows Backward.
Win95 derivates accept only backward, WinNT since always forward slashes 
also.
This is rather off-topic, but even DOS would properly handle paths with 
forward slashes in commands that didn't choke trying to parse them into 
arguments (for example, Info-ZIP's zip/unzip or POV-Ray).

This is an undocumented feature ever since DOS implemented directories.
--
Chris Herborth ([EMAIL PROTECTED])
Never send a monster to do the work of an evil scientist.
--
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: LAPACK - testing problems

2004-09-01 Thread Gorden Jemwa
Igor Pechtchanski wrote:
On Wed, 1 Sep 2004, Gorden Jemwa wrote:

Billinghurst, David (CALCRTS) wrote:

[EMAIL PROTECTED] wrote:

.  Thanks.

I've just recently migrated to CYGWIN. I am having problems with
installing the LAPACK (&BLAS) libraries. Specifically, I am
(apparently) succeeding in compiling the libraries. However, when it
comes to testing the routines only the ones that use eigsrc_(PLAT).a
library seem to be able to give me any output while the rest are
giving an error,for example:
Timing square REAL LAPACK linear equations routines
./xlintims < stime.in> stime.out 2>&1
make: *** [stime.out] Error 128
I've done almost everything suggested previously on the archives but
to avail. Could someone help
Thanks
What happens if you run xlintims from the command line?
	./xlintims < stime.in
I've gone through the entire library-build process again an everything
seems to be working as it should except when it comes to TIMING the
Linear Equations Routines.

Running the command "xlintims < stime.in" gives no output.

What is the return code of that command?  Try "echo $?" after running it.

The Eigensystem Routines are working fine though.

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


Re: c:/ seems to be accessed in binary even if cygwin is configured as textmode by default (documentation alert)

2004-09-01 Thread Arnaud Mouiche

well. c: is binary
here a bug.
cygpath -M c:/foo returns
>> cygpath: file 'c:/foo' - No error
looking at CVS code and strace, flags are set to zero instead of 0xa; the 
file is nor binary nor text


Correct.  There's really no need for more discussion about this.  This 
behavior
has been in place for years.  It's time the documentation was changed to
reflect it.

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/

--
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: device driver USB experimenter setup

2004-09-01 Thread Christopher Faylor
On Wed, Sep 01, 2004 at 11:42:23AM +, Theo Verelst wrote:
>Hi everyone,
>
>Does anyone know of a decent and generally useable setup with some USB
>chip/board to get *normal* bit or byte-wise IO using a cygwin compiled PC
>program and driver ? And if so, how...

Cygwin doesn't do anything special with USB devices.  It seems like you
probably should ask this question in a Windows forum.

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: c:/ seems to be accessed in binary even if cygwin is configured as textmode by default (documentation alert)

2004-09-01 Thread Christopher Faylor
On Wed, Sep 01, 2004 at 11:53:11AM +0200, Corinna Vinschen wrote:
>On Sep  1 11:01, Arnaud Mouiche wrote:
>> Cygwin User's 
>> Guide  http://www.cygwin.com/cygwin-ug-net/using-textbinary.html says
>> [...]
>> b) If the file appears to reside on a file system that is not mounted (as 
>> can happen when the path contains a drive letter), the default is text.
>> 
>> In understand that a windows path ([...] the path contains a drive letter ) 
>> should be seen as text file.
>> This not what I experience.
>
>Hmm, time to change the documentation, I guess.

Correct.  There's really no need for more discussion about this.  This behavior
has been in place for years.  It's time the documentation was changed to
reflect it.

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: Hi!

2004-09-01 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Edward Mac
> Sent: 31 August 2004 02:24
> To: cygwin

> I'm a programmer looking to help. Right now, I'm compiling 
> the source to 
> the cygwin dll.
> I finallly figured out how to put the stuff in the right directories. 
> The answer was there all the time.
> 
> Simply copy them from a temporary dircectory to where they 
> actually go.
> bin, etc, i686-pc-cygwin and the others can be copied by 
> using copy and 
> past in Windows.
> I just occurred to me today as I was on the phone with a friend.
> Its  so simple. a child  could do it.

  Of course, by the time that child has grown into an adult, it probably
would have learnt from experience to just say "make install" instead...  :)

http://cygwin.com/faq/faq_3.html#SEC101 
"How do I rebuild the tools on my NT box?"

  LOL.  Don't want to knock your enthusiasm, stay keen!  But always check
the build instructions in detail before proceeding!

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



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



Re: LAPACK - testing problems

2004-09-01 Thread Igor Pechtchanski
On Wed, 1 Sep 2004, Gorden Jemwa wrote:

> Billinghurst, David (CALCRTS) wrote:
>
> > [EMAIL PROTECTED] wrote:

.  Thanks.

> > > I've just recently migrated to CYGWIN. I am having problems with
> > > installing the LAPACK (&BLAS) libraries. Specifically, I am
> > > (apparently) succeeding in compiling the libraries. However, when it
> > > comes to testing the routines only the ones that use eigsrc_(PLAT).a
> > > library seem to be able to give me any output while the rest are
> > > giving an error,for example:
> > >   Timing square REAL LAPACK linear equations routines
> > >   ./xlintims < stime.in> stime.out 2>&1
> > >   make: *** [stime.out] Error 128
> > >
> > > I've done almost everything suggested previously on the archives but
> > > to avail. Could someone help
> > >
> > > Thanks
> >
> > What happens if you run xlintims from the command line?
> >
> > ./xlintims < stime.in
>
> I've gone through the entire library-build process again an everything
> seems to be working as it should except when it comes to TIMING the
> Linear Equations Routines.

> Running the command "xlintims < stime.in" gives no output.

What is the return code of that command?  Try "echo $?" after running it.
Igor

> The Eigensystem Routines are working fine though.

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

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

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



RE: ssh under windows 2003 server

2004-09-01 Thread Cary Lewis
I appreciate the feedback, I tried the -r option but it does not work:
The sshd service does not start at all!

openssh 3.8.1p1-1

   Cygwin DLL version info:
   DLL version: 1.5.10
   DLL epoch: 19
   DLL bad signal mask: 19005
   DLL old termios: 5
   DLL malloc env: 28
   API major: 0
   API minor: 116
   Shared data: 4
   DLL identifier: cygwin1
   Mount registry: 2
   Cygnus registry name: Cygnus Solutions
   Cygwin registry name: Cygwin
   Program options name: Program Options
   Cygwin mount registry name: mounts v2
   Cygdrive flags: cygdrive flags
   Cygdrive prefix: cygdrive prefix
   Cygdrive default prefix:
   Build date: Tue May 25 22:07:00 EDT 2004
   CVS tag: cr-0x5e6
   Shared id: cygwin1S4

Greg Morgan  cox.net> writes:

Again, adding sshd_user to administrators group allows auto logon, but
the 
groups that I see via the id command is not same as before sshing into
the box, nor the same if I do a manual login by typing in the password.


-Original Message-
From: Greg Morgan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 12:39 AM
To: [EMAIL PROTECTED]
Cc: Cary Lewis
Subject: Re: ssh under windows 2003 server

Cary Lewis wrote:

>>I am ssh installed on a win 2003 server.
>>
>>If I login in with authorized_keys set to allow auto-logins, I get the
>>fanfare, and welcome message, but then I am immediately logged out.
>>
>>If I remove authorized_keys and I am prompted for password, I can log
in
>>and use the shell normally.
>>
>>Can someone shed some light on this?
>>
>>Thanks.


Cary,

I believe you needed to fix this problem above before you tried using 
ssh to your box.  I don't know if the others saw your first message on 
the list before they saw your tape drive and ssh problem.  Would you 
please reply to the list with both your cygwin.dll version and the 
openssh version that you are using?  Depending on your the versions of 
these programs, and that you just installed ssh, you may be experiencing

the privilege separation problem.  Additional information is located 
here, if your versions match. 
http://cygwin.com/ml/cygwin/2004-08/msg01245.html

Greg

>> ssh - no access to /dev/st0
>>
>>I have a SCSI tape drive, and I can use tar to create archives on it:
>>
>>tar cvf /dev/st0 /bin
>>
>>tar tvf /dev/st0
>>
>>but if I try to ssh into my cygwin box and try the same command, then
I
>>get the following error:
>>
>>tar: opening archive "/dev/st0": The system cannot find the path
>>specified.
>>
>>Any help would be appreciated.
>>
>>I am running ssh under cygwin on a windows 2003 server box.
>>
>>Thanks for any help!

--
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: PHP 5.x and latest upgrade.. is it present ?

2004-09-01 Thread Robert Schmidt
Mirko Tebaldi (Indirizzo Pubblico) wrote:
in wich categoriy is the php package ? i cannot find it in no-one of them !
PHP has been withdrawn from the cygwin distribution since it was broken.
Apparently, there's a new Apache maintainer for cygwin, who also has 
taken on support for mod-php4, so there's hope.  I have seen no 
indication of when it will be re-added, though.

As mentioned in a post yesterday, I also miss a working, integrated PHP 
for cygwin.  Getting it to work manually proved to hard for me.  Using a 
non-cygwin (i.e. Win32 native) PHP is unattractive, as this can't be an 
cygwin Apache module.

Cheers,
Rob
--
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/


WINCVS using cygwin's python?

2004-09-01 Thread Jason Pearce
Has anyone used WinCVS 1.3 and managed to get the Python macros working 
with Cygwin's Python?

I have tried entering D:\cygwin\bin\libpython2.3.dll as the python dll 
under the WinCVS's admin=>preferences=>wincvs configuration but it does 
not seem register as having Python available.
Its just potentially confusing to have 2 versions of python laying around.

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


PHP 5.x and latest upgrade.. is it present ?

2004-09-01 Thread Mirko Tebaldi \(Indirizzo Pubblico\)
in wich categoriy is the php package ? i cannot find it in no-one of them !

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



problem with expect

2004-09-01 Thread Karthik ES
Hi,
we are facing a problem with executing a expect program in cygwin.
Expect program triggers the setup of application server.
While triggering that setup file thru expect we are getting "IOException in read 
query".Also,we are getting invalid spawn id (4) error on the screen.
Please give me a solution to solve this problem.
Thanks and regards
karthic kumar



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



device driver USB experimenter setup

2004-09-01 Thread Theo Verelst

Hi everyone,

Does anyone know of a decent and generally useable setup with some USB
chip/board to get *normal* bit or byte-wise IO using a cygwin compiled PC
program and driver ? And if so, how...

   Theo Verelst
   http://home.tiscali.nl/theover
   http://82.168.209.239/fosdem
   http://82.168.209.239/Audio



--
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: LAPACK - testing problems

2004-09-01 Thread Gorden Jemwa
Billinghurst, David (CALCRTS) wrote:
[EMAIL PROTECTED] wrote:
I've just recently migrated to CYGWIN. I am having problems with
installing the LAPACK (&BLAS) libraries. Specifically, I am
(apparently) succeeding in compiling the libraries. However, when it
comes to testing the routines only the ones that use eigsrc_(PLAT).a
library seem to be able to give me any output while the rest are
giving an error,for example: 

Timing square REAL LAPACK linear equations routines
./xlintims < stime.in> stime.out 2>&1
make: *** [stime.out] Error 128
I've done almost everything suggested previously on the archives but
to avail. Could someone help
Thanks

What happens if you run xlintims from the command line?
./xlintims < stime.in

I've gone through the entire library-build process again an everything 
seems to be working as it should except when it comes to TIMING the 
Linear Equations Routines. Running the command "xlintims < stime.in"
gives no output. The Eigensystem Routines are working fine though.


--
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: A "big file" for the Cygwin API Reference

2004-09-01 Thread Corinna Vinschen
On Aug 31 15:04, James McLaughlin wrote:
> Hi,
> 
> I've noticed that it's possible to download the Cygwin
> FAQ (and also the User Guide) from www.cygwin.com as
> one large file instead of examining individual pages
> of each online. However, this is not possible with the
> API reference, and so I would like to contribute a
> "big file" of the individual HTML pages (stored in a
> zip file, or a gz file created in WinZip 8.1 - I
> haven't installed Cygwin yet so can't use gzip).
> 
> Could someone from RedHat please tell me:
> 
> 1.) Which compressed format would be preferred?
> 
> 2.) What encoding should I use for the HTML pages?
> (Unicode(UTF-8) and Western European(Windows) seem to
> be the only suitable encodings I can offer.)
> 
> 3.) How to send this to RedHat/Cygwin - the website's
> information about contributions doesn't help me with
> submitting this sort of contribution.

Well, Joshua is caring for the Cygwin documentation mostly.
Perhaps he has an idea how we can offer that on the web pages.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:[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/



FORTRAN open/read problem with drive letters

2004-09-01 Thread Dr. Peter Pichler
Dear colleagues,
I encountered some unexpected problems when opening a data file in a 
FORTRAN program and reading characters from it. I work on WINDOWS XP and 
I downloaded today the latest version of  cygwin from 
http://sources.redhat.com/cygwin/. g77 claims to be version 3.3.3

The problem which can be reproduced by the small program attached occurs 
only when I open the file (test.dat is assumed here to reside in the 
root directory of drive d) with an absolute path in the form 
'd:/test.dat' and when the read format is '(A)'. In this case, the 
output consists of three empty lines only. Not even the "read:" is 
printed. The problem does not occur when I use '/cygdrive/d/test.dat' to 
open the file or when the read format contains explicitly the correct 
length of the line. It is apparent that the data file is found and 
opened since the number of lines found during reading corresponds to the 
actual number of lines in the file.

Any help would be welcome.
Kind regards,
Peter Pichler
= test.f start =
 PROGRAM TEST
 CHARACTER*256 STRVAL
 CHARACTER*72 ZEI
C--- this works:
C  OPEN (UNIT=21,FILE=
C 1 'd:/test.dat',
C 2 STATUS='OLD')
C
C 10   READ (21,'(A6)',END=30,ERR=30) ZEI
C  write (*,'(T2,''read: '',A)') zei
C  GOTO 10
C--- this works:
C  OPEN (UNIT=21,FILE=
C 1 '/cygdrive/d/test.dat',
C 2 STATUS='OLD')
C
C 10   READ (21,'(A)',END=30,ERR=30) ZEI
C  write (*,'(T2,''read: '',A)') zei
C  GOTO 10
C--- the combination does'nt work:
 OPEN (UNIT=21,FILE=
1 'd:/test.dat',
2 STATUS='OLD')
10   READ (21,'(A)',END=30,ERR=30) ZEI
 write (*,'(T2,''read: '',A)') zei
 GOTO 10
30   CONTINUE
 CLOSE(21)
 END
= test.f end =
= test.dat start =
line 1
line 2
line 3
= test.dat end =
--
Dr. Peter Pichler   Tel.:  +49 (0) 9131 761-227
Fraunhofer IISB Fax :  +49 (0) 9131 761-212
Schottkystrasse 10  mailto:[EMAIL PROTECTED]
91058 Erlangen, Germany http://www.iisb.fraunhofer.de
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: c:/ seems to be accessed in binary even if cygwin is configured as textmode by default

2004-09-01 Thread Corinna Vinschen
On Sep  1 11:01, Arnaud Mouiche wrote:
> Cygwin User's 
> Guide  http://www.cygwin.com/cygwin-ug-net/using-textbinary.html says
> [...]
> b) If the file appears to reside on a file system that is not mounted (as 
> can happen when the path contains a drive letter), the default is text.
> 
> In understand that a windows path ([...] the path contains a drive letter ) 
> should be seen as text file.
> This not what I experience.

Hmm, time to change the documentation, I guess.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:[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: RTLD_DEFAULT & RTLD_NEXT

2004-09-01 Thread Corinna Vinschen
On Aug 31 15:35, Sam Steingold wrote:
> > * Corinna Vinschen <[EMAIL PROTECTED]> [2004-08-31 21:08:26 +0200]:
> > - EnumProcessModules is NT >= 4 only but not loaded dynamically (see
> > autoload.cc) nor tested for non-existance.  Generally,
> > EnumProcessModules is called w/o checking the return value.
> 
> 1. what is "n" in LoadDLLfunc?
> 2. how do I test for non-existance?

There's a description in the source dir how autoload works, see
how-autoload-works.txt.

> 3. the first call to EnumProcessModules is known to fail. it is there
>for that specific reason - to fail and return "needed".

Sure, but there's an important difference.  In the normal case,
EnumProcessModules will return TRUE and sets n to a useful value.
What do you do if EnumProcessModules returns FALSE?

> >   I'd like to ask you to read
> > http://cygwin.com/contrib.html and send us a copyright assignment if
> > possible.
> 
> ok.

Thanks!  It will take some time but perhaps you want to contribute
a lot more code and the assignment has to be send only once ;-)


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:[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: Strange font behaviour with Cygwin

2004-09-01 Thread Mats Bengtsson
The problem is that the package tetex-tiny, that is installed
when you install lilypond doesn't contain all the fonts that
are actually used in LilyPond. The solution for you is to
simply rerun setup.exe and select the package called tetex-base,
which contains a complete set of font files.
I don't really know why this problem has persisted for such long
time. The solution is either to add some more font files to
tetex-tiny or let lilypond depend on tetex-base instead.
   /Mats
Patrick Hubers wrote:
Hi,
First of all, thanks for a wonderful piece of software. I've been using 
LilyPond for about a year now and although I still cannot do some things 
as easy as I could with Finale (which I've been using for 10+ years), I 
think LilyPond is great and getting better with each new version!

However, I found some strange behaviour regarding fonts: when I compile 
a .ly file with the Cygwin version, some of the fonts (notably the bar 
numbers en lyrics) are missing and substituted with Courier. This 
happens with two separate Cygwin/LilyPond installations on different 
machines, both of which are running Windows 2000. The same file works 
perfectly on my Fedora Core 2 machine. However, if I specifically 
\override the fonts and specify, for example, to use "cmr08" for the bar 
numbers (which is, apparently, the same font that cannot be found 
normally), the font *can* be found and is present in the resulting .ps 
and .pdf output. Also note that all title fonts are present without 
having to \override them...

This has been happening at least since version 2.2.0, I'm currently 
running 2.2.5 on both Cygwin and Fedora.

I'm stumped, actually, and I'm wondering if anybody here can shed some 
light on this strange problem?

TIA.
--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: c:/ seems to be accessed in binary even if cygwin is configured as textmode by default

2004-09-01 Thread Arnaud Mouiche
Cygwin User's 
Guide  http://www.cygwin.com/cygwin-ug-net/using-textbinary.html says

"The Cygwin system gives us some flexibility in deciding how files are to 
be opened when the mode is not specified explicitly. The rules are 
evolving, this section gives the design goals.

a) If the file appears to reside on a file system that is mounted (i.e. if 
its pathname starts with a directory displayed by mount), then the default 
is specified by the mount flag. If the file is a symbolic link, the mode of 
the target file system applies.

b) If the file appears to reside on a file system that is not mounted (as 
can happen when the path contains a drive letter), the default is text.

 "
In understand that a windows path ([...] the path contains a drive letter ) 
should be seen as text file.
This not what I experience.

arnaud
At 09:48 01/09/2004, Arnaud Mouiche wrote:
At 19:55 31/08/2004, Larry Hall wrote:
At 01:38 PM 8/31/2004, you wrote:
>Hi.
>
>just make a fresh update (from a long time). I mount my system in 
textmode by default.
>yet,
>
>c:/file seems to be accessed in binary mode
>/cygdrive/c/file is accessed in text mode
>
>Is it the new default behaviour ? Is there a configuration that I missed ?
>
>thanks
>
>Arnaud
>
>
>
>here a simple proof
>
>$ cygcheck -c | grep cygwin
>cygwin   1.5.10-3   OK
>cygwin-doc   1.3-7  OK
>$ mount
>C:\cygwin\bin on /usr/bin type system (textmode)
>C:\cygwin\lib on /usr/lib type system (textmode)
>C:\cygwin on / type system (textmode)
>c: on /cygdrive/c type user (textmode,noumount)
>d: on /cygdrive/d type user (textmode,noumount)
>w: on /cygdrive/w type user (textmode,noumount)


If you're using a Windows path, you bypass mounts.  Mounts map POSIX paths
to Windows, not the reverse.

I agree with you, but it worked with old version of cygwin.
Get the possibility to tune binmode/textmode of Window path for cygwin 
application looks like important to me.

The greet things with cygwin is to mix windows and unix world. I don't 
know the history of cygwin, but I may suppose that the option "mount -t" 
was here to get this compatibility between unix and windows.
Most of the time I use the cygwin make, sed, grep, diff, cvs in 
combination with  (only) windows development tools ( especially armcc ). I 
use "cygpath -m" to get compatible path for both environment. I can't use 
it now.

issue #1:
I start to look at this problem when tkcvs was not able any more to 
perform a diff between 2 version.  tkdiff, copy the cvs HEAD release of a 
version in temporary directory, then call the cygwin 'diff' to perform the 
comparaison. diff compare the local file (text mode) with the one in temp 
directory (c:/tmp/, so in binmode)

issue #2:
even whith cygwin "tclsh"  version,
   glob /*
returns
   C:/cygwin/bin C:/cygwin/cygwin.bat C:/cygwin/cygwin.ico 
issue #3:
Another example: the 2 following lines don't gives the same result
cd c:/ && grep  file
grep  c:/file
arnaud
--
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/


Error in first execution

2004-09-01 Thread mirko tebaldi
Hi to everyone !

i'm a new-new-user with a new problem ! the pdf manual and the guides on
Google don't help me

I downloaded and installed the 'deafult' packages, with no modying notinhg
of what proposed from cygwin setup program.

when i installed. i double-clicked on its icon on desktop and i receive an
advise from sed.exe about cygintl-3.dll not found. the terminal windows
start but... what's the error?

i'm using win 2003 server, and i installed from administrator login so i
have ALL the permissions (the machine is mine). i installed for 'all users',
because i'm the only user of the machine

thanx.

realtebo
mirko tebaldi - italia


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



Re: c:/ seems to be accessed in binary even if cygwin is configured as textmode by default

2004-09-01 Thread Arnaud Mouiche
At 19:55 31/08/2004, Larry Hall wrote:
At 01:38 PM 8/31/2004, you wrote:
>Hi.
>
>just make a fresh update (from a long time). I mount my system in 
textmode by default.
>yet,
>
>c:/file seems to be accessed in binary mode
>/cygdrive/c/file is accessed in text mode
>
>Is it the new default behaviour ? Is there a configuration that I missed ?
>
>thanks
>
>Arnaud
>
>
>
>here a simple proof
>
>$ cygcheck -c | grep cygwin
>cygwin   1.5.10-3   OK
>cygwin-doc   1.3-7  OK
>$ mount
>C:\cygwin\bin on /usr/bin type system (textmode)
>C:\cygwin\lib on /usr/lib type system (textmode)
>C:\cygwin on / type system (textmode)
>c: on /cygdrive/c type user (textmode,noumount)
>d: on /cygdrive/d type user (textmode,noumount)
>w: on /cygdrive/w type user (textmode,noumount)


If you're using a Windows path, you bypass mounts.  Mounts map POSIX paths
to Windows, not the reverse.

I agree with you, but it worked with old version of cygwin.
Get the possibility to tune binmode/textmode of Window path for cygwin 
application looks like important to me.

The greet things with cygwin is to mix windows and unix world. I don't know 
the history of cygwin, but I may suppose that the option "mount -t" was 
here to get this compatibility between unix and windows.
Most of the time I use the cygwin make, sed, grep, diff, cvs in combination 
with  (only) windows development tools ( especially armcc ). I use "cygpath 
-m" to get compatible path for both environment. I can't use it now.

issue #1:
I start to look at this problem when tkcvs was not able any more to perform 
a diff between 2 version.  tkdiff, copy the cvs HEAD release of a version 
in temporary directory, then call the cygwin 'diff' to perform the 
comparaison. diff compare the local file (text mode) with the one in temp 
directory (c:/tmp/, so in binmode)

issue #2:
even whith cygwin "tclsh"  version,
   glob /*
returns
   C:/cygwin/bin C:/cygwin/cygwin.bat C:/cygwin/cygwin.ico 
issue #3:
Another example: the 2 following lines don't gives the same result
cd c:/ && grep  file
grep  c:/file
arnaud 

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