Re: automatic generation of resolv.conf

2005-06-14 Thread Corinna Vinschen
On Jun 13 15:36, Ross Boulet wrote:
> > When building dig on Cygwin, its configury should find
> > that libresolv
> > already exists and link against it.  It's the minires and
> > minires-devel
> > packages you need for that.
> > 
> > 
> > Corinna
> 
> I did not have minires-devel installed.  I have installed it
> and run:
> 
> $ make clean
> $ ./configure
> $ make
> 
> The resulting dig.exe is still looking for nameservers in
> resolv.conf.  Am I missing a step for integrating
> minires-devel?

Proboably not.  It's apparently part of dig's own source to look for a
resolv.conf file.  This would have to be changed in dig.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
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: Bug in chere

2005-06-14 Thread Nils Jeppe



On Mon, 13 Jun 2005, Dave wrote:


chere adds a "bash here" context menu just fine. However:



Thanks for the report. Now how did that go unnoticed? More explicit instructions


No problem :) Also, as a feature request, and since you're touching it 
anyway: Can you also add it to a folder's context menu? Say, I have a 
folder open, and I click on the folder window itself, instead of a folder 
icon for a sub-folder. That'd be sweet.



Thanks,
- Nils


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



Minor installation bug

2005-06-14 Thread Nils Jeppe


I think I didn't mention this before: The installation program does not 
remember the port of the proxy, it always defaults to 80. No biggie.


- Nils
(Still not subscribed)

--
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: Minor installation bug

2005-06-14 Thread Brian Dessent
Nils Jeppe wrote:

> I think I didn't mention this before: The installation program does not
> remember the port of the proxy, it always defaults to 80. No biggie.

This is fixed in recent versions of setup.  Unfortunately there has not
yet been a new release, so unless you follow the cygwin-apps mailing
list you probably aren't aware of the test versions.  The latest is
available for testing at
.  We are
hoping to remedy this problem in the near future and actually make these
updates available to a wider audience.

Brian

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



RE: question: high virtual memory usage

2005-06-14 Thread Dave Korn
Original Message
>From: Brian Dessent
>Sent: 14 June 2005 03:23

> Procexp's "virtual size" column seems to be a meaningless number that
> procexp somehow arrives at.

  It's the amount of reserved-but-not-yert-committed memory.

>  It's not just cygwin processes that it
> seems to come up with outragiously high values for.  On my system there
> is a svchost.exe process (part of the operating system) that uses
> 10,192KB working set and 10,400KB private bytes, but process explorer
> lists its "virtual size" as 143,260KB.  Clearly this process is not
> using anywhere near 143MB of RAM.  I really think you should ignore this
> column, it does not say anything useful.  If I add up the total sizes of
> all the values of this column on my system, I get something like 7GB,
> and I only have 1GB of ram and 512MB of swap.

  It tells you the total amount of memory space out of the processes entire
virtual 2Gb address space that has been allocated; that is, the amount of
the memory map that has been laid out, but not yet necessarily accessed or
used; reserved pages require no significant overhead until they are actually
used and (real or virtual-paged) memory has to be assigned to them.



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: Minor installation bug

2005-06-14 Thread Nils Jeppe



On Tue, 14 Jun 2005, Brian Dessent wrote:


This is fixed in recent versions of setup.  Unfortunately there has not
yet been a new release, so unless you follow the cygwin-apps mailing


Okay, cool, thanks :-)

- Nils


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



Downgrade

2005-06-14 Thread Prash
Hi Peeps,

How do I downgrade Cygwin to an earlier version? I managed to compile
and successfully run htdig on cygwin last december. But now with the
same version of htdig it is giving nasty errors which is related to
cygwin. I want to revert to an older version .. how can I do it?

TIA

--
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: How to get version-information of executeable

2005-06-14 Thread Jason Tishler
Oliver,

Please post instead of sending private email.

On Tue, Jun 14, 2005 at 08:54:10AM +0200, Oliver Geisen wrote:
> >>how can i read the version-number of an windows *.EXE file out of a
> >>bash-script ?
> >http://cygwin.com/ml/cygwin/2005-01/msg00882.html
> Seems to be excactly what i want. Unfortunately i'm not able to
> compile the source.
> A simple make will end up in:
> 
> g++ -O2 -s -mno-cygwin -o version version.cc -lversion
> make: g++: Command not found
> make: *** [version] Error 127
> 
> and a gcc version.cc in:
> 
> gcc: installation problem, cannot exec `cc1plus': No such file or 
> directory
> 
> Any ideas ?

Did you install the gcc-g++ package?  Is your gcc installation broken?

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/



Cygwin 1.5.16 (0.128/4/2): - mkpasswd (249) : [5] Access denied error while running mkpasswd / mkgroup command

2005-06-14 Thread Moghe, Jayant

We have Cygwin 1.5.16 and is installed on Windows 2000 server. 

When I run command 

> mkpasswd -l -d > /etc/passwd
Or
> mkgroup -l -d > /etc/group,

I get the following error message

mkpasswd (249) : [5] Access denied 

Please help me resolving this issue.

Thanks.

Best regards,
Jayant 

--
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: Bug in chere

2005-06-14 Thread haro
Hi Dave, 

From: Dave 
Date: Mon, 13 Jun 2005 15:09:27 -0700 (PDT)
::>chere adds a "bash here" context menu just fine. However:
::>
::>1) You have to click on a folder icon, clicking in a folder
::>   that's open does not work
::>2) It opens the shell not in the folder you clicked on, but
::>   in the parent folder
::
::Thanks for the report. Now how did that go unnoticed? More explicit 
instructions
::to reproduce:
::
::1) In the LH pane of Explorer, select a folder with subdirectories
::   (eg c:\windows).
::2) In the RH pane, right click a subdirectory and select Bash here.
::   (eg system32).
::
::Bash will start in the parent directory (c:\windows)

Wow, was that a bug?
I thought that was the chere's feature,
which I'm now got used to... oh well ;-)


::A known workaround is to specify -1 (that's a one) when invoking chere. 
However,
::as noted in the documentation this won't work properly if you use ash or tcsh.
::Or if you try to open a network location.
::
::I'm restructuring the script at the moment and have a fix in mind. Hopefully 
it
::will be ready for release sometime soon.
::
::
::Thanks,
::
::Dave.
::chere maintainer

Big THANK YOU for creating and maintaining chere for us.

 Regards,
  Haro
=---
   _ _Munehiro (haro) Matsuda
 -|- /_\  |_|_|   KGT Inc.
 /|\ |_|  |_|_|   2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan
  Tel: +81-3-3225-0767  Fax: +81-3-3225-0740
  Email: [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/



screen

2005-06-14 Thread Schulman . Andrew
> Firstly I apologize for emailing you directly, I am not familiar with
> posting to cygwin and couldn't see any other way to get in touch.

No problem, but the approved method is to send your query to cygwin a 
cygwin d com, with "screen" in the subject.  I should normally see that, 
and then other cygwin readers will also benefit from the discussion.

> I am just trying to get hold of your screen build that you posted.
> It seems to not be available any more via
> http://home.comcast.net/~andrex/cygwin/screen/screen-4.0.2-1.tar.bz2

OK.  I later changed the version number from 1 to 0test1, so the URLs for 
download are now

http://home.comcast.net/~andrex/cygwin/screen/screen-4.0.2-0test1.tar.bz2 
(binary)
http://home.comcast.net/~andrex/cygwin/screen/screen-4.0.2-0test1-src.tar.bz2 
(source)
 
> I have been using it on a few pc's and would like to install it on
> another but have stupidly deleted the package.
> BTW it seems to work very well for me once I switched to a snapshot dll.
> I Can detach,re-attach with no problems (all pc's running xp sp2)

Yes, the reattachment problem is now solved AFAICT, using Cygwin 1.5.17 or 
later.  Most of it works just fine, but there's one problem that I haven't 
solved yet:  when you detach a session, it stays bound to its parent 
shell.  So if you then try to exit the parent shell, it hangs.  You can 
terminate the parent shell, but then screen exits too.  Obviously this 
takes away one of the big advantages of screen, which is the ability to 
detach a session, leaving it running in the background, and then reattach 
later from a different terminal.

I've gotten some hints about how to attack this problem, but I just 
haven't been able to spend any time on it yet.  It's high on my to-do 
list.  Screen is great, and if I can solve that one problem it will be 
ready for Cygwin.

There are also a few terminal oddities and intermittent display problems. 
But these are minor, so I don't think I'll wait for them to release the 
package.  At least, I can put it into testing so people can try it out 
while I work on resolving the other problems.

> Thanks
> 
> - Shaun


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



RE: Cygwin 1.5.16 (0.128/4/2): - mkpasswd (249) : [5] Access denied error while running mkpasswd / mkgroup command

2005-06-14 Thread Dave Korn
Original Message
>From: Moghe, Jayant
>Sent: 14 June 2005 12:25

> We have Cygwin 1.5.16 and is installed on Windows 2000 server.
> 
> When I run command
> 
>> mkpasswd -l -d > /etc/passwd
> Or
>> mkgroup -l -d > /etc/group,
> 
> I get the following error message
> 
> mkpasswd (249) : [5] Access denied


  Assuming the perms on the files are ok (they should usually be -rw-rw-rw-,
which would give network security palpitations if they knew about it!),
perhaps you have a cygwin service running that is keeping them locked open?


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: Cygwin 1.5.16 (0.128/4/2): - mkpasswd (249) : [5] Access denied error while running mkpasswd / mkgroup command

2005-06-14 Thread Moghe, Jayant
How to check the permissions and change them?

Thanks.

Regards,
Jayant 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Dave Korn
Sent: Tuesday, June 14, 2005 5:38 PM
To: cygwin@cygwin.com
Subject: RE: Cygwin 1.5.16 (0.128/4/2): - mkpasswd (249) : [5] Access
denied error while running mkpasswd / mkgroup command

Original Message
>From: Moghe, Jayant
>Sent: 14 June 2005 12:25

> We have Cygwin 1.5.16 and is installed on Windows 2000 server.
> 
> When I run command
> 
>> mkpasswd -l -d > /etc/passwd
> Or
>> mkgroup -l -d > /etc/group,
> 
> I get the following error message
> 
> mkpasswd (249) : [5] Access denied


  Assuming the perms on the files are ok (they should usually be
-rw-rw-rw-,
which would give network security palpitations if they knew about
it!),
perhaps you have a cygwin service running that is keeping them locked
open?


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/


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



Accessing the sound card and microphone

2005-06-14 Thread eghan020
Hello,

I have installed the latest version of cygwin on XP and it works fine. 
I'm trying to write a small C application that reads data from a
Microphone.  Another application is attempting to write data to the sound
card to be played.
Does anyone know how to open a connection (file descriptor) to the
microphone?


--Eli

--
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: how do I cite cygwin for academic publication?

2005-06-14 Thread Peter Waltman
yeah, I guess I should have clarified.  every journal has their own 
specific requirements for citation /method/, so that will depend on 
which publication I decide to submit my article.  I was more interested 
in the content, i.e. author, title, publisher, year, etc. as some 
projects such as the Weka Machine Learning project ask folks to cite a 
specific book that they have published.


thanks for the help,

Peter

Arturus Magi wrote:


Peter Waltman wrote:

since I used cygwin to implement my masters project (which I'm not 
getting into publishable form), I'd like to check to see if there is 
a preferred citation that the mainainers want used when citing 
cygwin.  Do you have one?




Our preferred citation is pretty much irrelevant.  Use the same 
citation method that your instructor/institution requires for any 
other software (I could get a copy of the MLA citation method for 
electronic media, but I don't have the time available right now to 
hunt down my copy of the MLA manual).


For the author, cite the person(s) who wrote the code you're actually 
citing, if available, or 'Red Hat, et. al.' if you're citing the 
Cygwin project as a whole.


Publisher is Red Hat (use the full corporate name, as it's not 
commonly recognized publisher. It should be written out in full in the 
Cygwin website's copyright notice).


Also, as a note: submitting a masters project may still be considered 
distribution.  You may want to solicit advice from a legal athority, 
if possible.



--
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: how do I cite cygwin for academic publication?

2005-06-14 Thread Williams, Gerald S \(Jerry\)
Peter Waltman wrote:
>> since I used cygwin to implement my masters project (which I'm not 
>> getting into publishable form), 

Arturus Magi wrote:
> Also, as a note: submitting a masters project may still be considered
> distribution.  You may want to solicit advice from a legal authority,
> if possible.

Is it possible that we can give Peter some advice that doesn't
require contacting a lawyer? :-) How about this:

Peter, are you saying that your executables will never leave
your PC? Even if so, you may want to cover yourself by keeping
all of the sources, including the source to Cygwin, together
with the executables. It may even help you at some point in the
future. Personally, I'd download the source to everything that
I needed (e.g., Cygwin, GCC, etc.) and package the whole thing
so it can be easily stored and/or transferred to new media as
needed.

gsw


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



RE: Cygwin 1.5.16 (0.128/4/2): - mkpasswd (249) : [5] Access denied error while running mkpasswd / mkgroup command

2005-06-14 Thread Dave Korn
Original Message
>From: Moghe, Jayant
>Sent: 14 June 2005 13:11

> How to [SNIP]


NUMBER ONE:  Please read this entry in the cygwin acronym list and do what
it asks.

http://cygwin.com/acronyms#PCYMTNQREAIYR

Every single time you reply to someone on this list, you cause them to
receive more spam because you don't remove their email address from the text
of the reply.  Please stop doing this as it is an annoying inconvenience.


> How to check the permissions and change them?

  Do you know what the 'ls' and 'chmod' commands do?


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: Accessing the sound card and microphone

2005-06-14 Thread Dave Korn
Original Message
>From: [EMAIL PROTECTED]
>Sent: 14 June 2005 13:29

> Hello,
> 
> I have installed the latest version of cygwin on XP and it works fine.
> I'm trying to write a small C application that reads data from a
> Microphone.  Another application is attempting to write data to the sound
> card to be played.
> Does anyone know how to open a connection (file descriptor) to the
> microphone?
> 

  It works the same as the dsp device under linux, so 

fd = open ("/dev/dsp", O_RDWR); 

should work to a first approximation. there's a testcase in the cygwin
source code that would serve as a good example, take a look here:

http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/testsuite/winsup.api/devdsp.
c?cvsroot=src

or to just download the latest version, you could run 

wget -O devdsp.c
'http://cygwin.com/cgi-bin/cvsweb.cgi/~checkout~/src/winsup/testsuite/winsup
.api/devdsp.c?rev=1.4&cvsroot=src'

at the cygwin shell prompt.

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/



weird problem with cygwin prompt:

2005-06-14 Thread wen
it shows bash-2.05b$ when i double click on cygwin.
in general, it should show something like this
[EMAIL PROTECTED]

in the 1st case, i cannot use ls.exe command while it lies under the folder
C:\cygwin\bin

how to make the cygwin work properly?

thank you in advance.




--
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: Downgrade

2005-06-14 Thread Christopher Faylor
On Tue, Jun 14, 2005 at 11:32:52AM +0100, Prash wrote:
>How do I downgrade Cygwin to an earlier version? I managed to compile
>and successfully run htdig on cygwin last december. But now with the
>same version of htdig it is giving nasty errors which is related to
>cygwin. I want to revert to an older version .. how can I do it?

I think you need to use the cygwin --NoNastyErrors option.  That should
do 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: weird problem with cygwin prompt:

2005-06-14 Thread Thorsten Kampe
* wen (2005-06-14 14:55 +0100)
> it shows bash-2.05b$ when i double click on cygwin.
> in general, it should show something like this
> [EMAIL PROTECTED]
> 
> in the 1st case, i cannot use ls.exe command while it lies under the folder
> C:\cygwin\bin

The sense of this sentence is rather mysterious.
 
> how to make the cygwin work properly?

It's not a "Cygwin prompt", it's a bash prompt. Make sure /etc/profile
is sourced or create your own ~/.bashrc.

Follow http://cygwin.com/problems.html > Reporting guidelines


--
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: How to get version-information of executeable

2005-06-14 Thread Igor Pechtchanski
On Tue, 14 Jun 2005, Jason Tishler wrote:

> Oliver,
>
> Please post instead of sending private email.
>
> On Tue, Jun 14, 2005 at 08:54:10AM +0200, Oliver Geisen wrote:
> > >>how can i read the version-number of an windows *.EXE file out of a
> > >>bash-script ?
> > >http://cygwin.com/ml/cygwin/2005-01/msg00882.html
> > Seems to be excactly what i want. Unfortunately i'm not able to
> > compile the source.
> > A simple make will end up in:
> >
> > g++ -O2 -s -mno-cygwin -o version version.cc -lversion
   ^^^

> > make: g++: Command not found
> > make: *** [version] Error 127
> >
> > and a gcc version.cc in:
> >
> > gcc: installation problem, cannot exec `cc1plus': No such file or
> > directory
> >
> > Any ideas ?
>
> Did you install the gcc-g++ package?  Is your gcc installation broken?

He'll apparently also need a gcc-mingw package, and gcc-mingw-g++...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: Downgrade

2005-06-14 Thread Prash
??

All I'm asking is where can I get an earlier version of cygwin

If you need more info then here's the post from htdig
-
htdig.exe refuses to run on Cygwin 
htdig.exe crashes with DB2 error. Permissions are fine 
and the script is being run as administrator. Both 3.1.6 
and 3.2.* report this problem with the latest version of 
cygwin.

I've also tried clearing everything inside db directory in 
vain. It does create db.docdb and wordlist.new file and 
then bombs out.


$ rundig
DB2 problem...: PANIC: Invalid argument
DB2 problem...: /opt/www/htdig/db/db.docdb: write failed 
for page 1
htdig: Unable to open/create document 
database '/opt/www/htdig/db/db.docdb'

htmerge: Unable to open word list 
file '/opt/www/htdig/db/db.wordlist'.
Did you index anything?
Check your config file and try running htdig again.

DB2 problem...: /opt/www/htdig/db/db.docdb: dirty flag 
set for readonly file pa
e
DB2 problem...: /opt/www/htdig/db/db.docdb: close: 2 
blocks left pinned

 -



On 6/14/05, Christopher Faylor <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 14, 2005 at 11:32:52AM +0100, Prash wrote:
> >How do I downgrade Cygwin to an earlier version? I managed to compile
> >and successfully run htdig on cygwin last december. But now with the
> >same version of htdig it is giving nasty errors which is related to
> >cygwin. I want to revert to an older version .. how can I do it?
> 
> I think you need to use the cygwin --NoNastyErrors option.  That should
> do 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: question: high virtual memory usage

2005-06-14 Thread Shankar Unni

Igor Pechtchanski wrote:


Still cannot reproduce (my Process Explorer shows the same numbers as the
TaskManager).  Which version of Process Explorer are you using? 


I can. I've just downloaded v9.11 for Win2K/XP/NT 32-bit.

Anyway, it shows these wildly inflated Virtual Sizes for a lot of 
applications (e.g. YPager's VM size is claimed to be 155MB (!), and 
Outlook's is 510MB (!!! though I wouldn't be shocked if this was the 
only one that showed such a figure :-))



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



RE: question: high virtual memory usage

2005-06-14 Thread Dave Korn
Original Message
>From: Shankar Unni
>Sent: 14 June 2005 18:10

> Igor Pechtchanski wrote:
> 
>> Still cannot reproduce (my Process Explorer shows the same numbers as the
>> TaskManager).  Which version of Process Explorer are you using?
> 
> I can. I've just downloaded v9.11 for Win2K/XP/NT 32-bit.
> 
> Anyway, it shows these wildly inflated Virtual Sizes


  They're not "wildly inflated".  They are correct, it's just that you've
(IIUIC) misinterpreted what the figures refer to.  Please read the previous
post in this thread for more information.


  In anycase, this is all getting off topic for the main cygwin list.
Oh-oh, here come those chickens![*]

  


cheers,
  DaveK

[*] http://cygwin.com/acronyms#TITTTL
-- 
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: ls returns bad file descriptor

2005-06-14 Thread Shankar Unni

Shaffer, Kenneth wrote:

After changing to a directory on another computer, I get bad file
descriptor from an ls command:

shaffek>cd //explr_drivers5/reboot_results2
reboot_results2
shaffek>ls
ls: reading directory .: Bad file descriptor


I don't see this on my WinXP SP2 box running 1.5.17.

Perhaps there's some problem/issue with the permissions on the root of 
your share that's confusing bash?  Does this also happen in a 
subdirectory of the share?



--
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: tcsh doesn't find commands that end with .exe

2005-06-14 Thread Corinna Vinschen
On Jun 13 20:12, Volker Quetschke wrote:
> tcsh doesn't find the program if the .exe extension is given.  whoami is
> only an example, this also happens to other programs.
> [...]
> And all lower case, (cygwin only). Try something like this:

Well, it seemed like a good idea way back when.  But I agree that it's
probably not quite contemporary anymore.

Try the below patch.  It removes the 'all lowercase' and it allows to enter
all tools with exe suffix.  If that's basically what you had in mind, I'll
send the patch upstream and create a new Cygwin tcsh release.


Corinna


--- sh.exec.c.ORIG  2005-06-14 11:04:07.603070900 +0200
+++ sh.exec.c   2005-06-14 11:17:34.750423000 +0200
@@ -771,10 +771,12 @@ dohash(vv, c)
  strcasecmp(&dp->d_name[ext], ".bat") == 0 ||
  strcasecmp(&dp->d_name[ext], ".com") == 0))
{
-   dp->d_name[ext] = '\0';
 #if defined(__CYGWIN__)
-   strlwr((char *)item);
+   /* Also store the variation with extension. */
+   hashval = hashname(str2short(dp->d_name));
+   bis(hashval, i);
 #endif /* __CYGWIN__ */
+   dp->d_name[ext] = '\0';
}
}
 #endif /* _UWIN || __CYGWIN__ */
--- tw.parse.c.ORIG 2005-06-14 11:04:43.541850300 +0200
+++ tw.parse.c  2005-06-14 11:05:25.886023600 +0200
@@ -920,12 +920,7 @@ tw_collect_items(command, looking, exp_d
if ((ext > 0) && (strcasecmp((char *)&item[ext], ".exe") == 0 ||
  strcasecmp((char *)&item[ext], ".bat") == 0 ||
  strcasecmp((char *)&item[ext], ".com") == 0))
-   {
-   item[ext] = '\0';
-#if defined(__CYGWIN__)
-   strlwr((char *)item);
-#endif /* __CYGWIN__ */
-   }
+   item[ext] = '\0';
}
 #endif /* _UWIN || __CYGWIN__ */
exec_check = flags & TW_EXEC_CHK;


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



1.5.17: chroot-ed make adds // to ${MAKE}

2005-06-14 Thread Rolf Campbell
I'm trying to do a chroot-ed make which uses the content of the ${MAKE} 
variable.  What I'm finding is the value of ${MAKE} has two slashes '//' 
at the beginning, so any attempt to use it failes (looks like a network 
share).


I've created a directory, expanded cygwin-1.5.17-1.tar.bz2 into it, then 
copied make.exe (from the cygwin package).  And a few other dlls that 
were needed by cygwin1.dll (intl/conv).  When I run:


$ chroot . usr/bin/make.exe all
echo //usr/bin/make
make: echo: Command not found
make: *** [all] Error 127

I know that that error code has to do with echo.exe not existing, but 
I'm only concerned with the extra '/' added to ${MAKE}.  My makefiles 
that run sub-makes use it and fail.


--makefile--

all:
echo ${MAKE}

Cygwin Configuration Diagnostics
Current System Time: Tue Jun 14 14:46:07 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11643(rcampbell)GID: 10513(Domain Users)
0(root)  544(Administrators)  545(Users)
10513(Domain Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11643(rcampbell)GID: 10513(Domain Users)
0(root)  544(Administrators)  545(Users)
10513(Domain Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = `rcampbell'
PWD = `/tmp/cyg'
HOME = `/home/rcampbell'
MAKE_MODE = `unix'

HOMEPATH = `\Documents and Settings\rcampbell'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
APPDATA = `C:\Documents and Settings\rcampbell\Application Data'
HOSTNAME = `desk-rcampbell2'
TERM = `xterm'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 3 Stepping 3, GenuineIntel'
WINDIR = `C:\WINDOWS'
WINDOWID = `4819272'
OLDPWD = `/tmp'
USERDOMAIN = `TROPICNETWORKS'
OS = `Windows_NT'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
TEMP = `/tmp'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
USERNAME = `rcampbell'
PROCESSOR_LEVEL = `15'
FP_NO_HOST_CHECK = `NO'
SYSTEMDRIVE = `C:'
USERPROFILE = `C:\Documents and Settings\rcampbell'
CLIENTNAME = `Console'
PS1 = `\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = `\\EXCHANGE'
PROCESSOR_ARCHITECTURE = `x86'
SHLVL = `1'
COLORFGBG = `0;default;15'
TROPIC_UNIQUE_ID = `156'
USERDNSDOMAIN = `TROPICNETWORKS.COM'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = `C:'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
TMP = `/tmp'
SYSTEMROOT = `C:\WINDOWS'
PRINTER = `\\spooler\135MC-4th'
CVS_RSH = `/bin/ssh'
PROCESSOR_REVISION = `0303'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
PROGRAMFILES = `C:\Program Files'
DISPLAY = `:0'
COSMIC = `t'
NUMBER_OF_PROCESSORS = `2'
SESSIONNAME = `Console'
P4CONFIG = `.p4config'
COMPUTERNAME = `DESK-RCAMPBELL2'
COLORTERM = `rxvt-xpm'
_ = `/usr/bin/chroot'
POSIXLY_CORRECT = `1'

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\/a
  (default) = `A:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/bin
  (default) = `C:\cygwin\bin'
  flags = 0x004a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/bin/cygcheck
  (default) = `C:\cygwin\bin\cygcheck'
  flags = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/bin/cygcheck.exe
  (default) = `C:\cygwin\bin\cygcheck.exe'
  flags = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/bin/strace
  (default) = `C:\cygwin\bin\strace'
  flags = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/bin/strace.exe
  (default) = `C:\cygwin\bin\strace.exe'
  flags = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = `C:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/d
  (default) = `D:'
  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/bin/cygcheck
  (default) = `C:\cygwin\bin\cygcheck'
  flags = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts 
v2\/usr/bin/cygcheck.exe
  (default) = `C:\cy

displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Tomasz Chmielewski

I couldn't find it on Google and I feel it's a different thing than
running Linux X applications (like xterm etc.), which is done by Cygwin/X.


Is it possible to "display" Windows program on Linux via ssh / X?

What I mean, normally we do something like that:

windows_cygwin$ ssh -l user linuxbox -X
linuxbox$ xterm

and we start xterm on Linux, but it is displayed by a Windows X server.


I want to do something in an opposite direction: start Windows apps on
Linux display:

linuxbox$ ssh -l user windows_cygwin -X
windows_cygwin$ notepad

or

windows_cygwin$ iexplore.exe


And these Windows applications would be displayed on my Linux.

Is it possible with Cygwin?

--
Tomek



--
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: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Christopher Faylor
On Tue, Jun 14, 2005 at 09:03:42PM +0200, Tomasz Chmielewski wrote:
>I couldn't find it on Google and I feel it's a different thing than
>running Linux X applications (like xterm etc.), which is done by Cygwin/X.
>
>
>Is it possible to "display" Windows program on Linux via ssh / X?
>
>What I mean, normally we do something like that:
>
>windows_cygwin$ ssh -l user linuxbox -X
>linuxbox$ xterm
>
>and we start xterm on Linux, but it is displayed by a Windows X server.
>
>
>I want to do something in an opposite direction: start Windows apps on
>Linux display:
>
>linuxbox$ ssh -l user windows_cygwin -X
>windows_cygwin$ notepad
>
>or
>
>windows_cygwin$ iexplore.exe
>
>
>And these Windows applications would be displayed on my Linux.
>
>Is it possible with Cygwin?

No.  This is not a goal for Cygwin.

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: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Tomasz Chmielewski

Christopher Faylor schrieb:


I want to do something in an opposite direction: start Windows apps on
Linux display:

linuxbox$ ssh -l user windows_cygwin -X
windows_cygwin$ notepad

or

windows_cygwin$ iexplore.exe


And these Windows applications would be displayed on my Linux.

Is it possible with Cygwin?



No.  This is not a goal for Cygwin.


Too bad, I was hoping to find some alternative to the Terminal Server 
(or Citrix) - that is, to allow different users to start applications 
remotely.


But it seems I had my head in the clouds :)

--
Tomek

--
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: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Andrew DeFaria

Tomasz Chmielewski wrote:

I couldn't find it on Google and I feel it's a different thing than 
running Linux X applications (like xterm etc.), which is done by 
Cygwin/X.


Is it possible to "display" Windows program on Linux via ssh / X?

What I mean, normally we do something like that:

windows_cygwin$ ssh -l user linuxbox -X
linuxbox$ xterm

and we start xterm on Linux, but it is displayed by a Windows X server.

I want to do something in an opposite direction: start Windows apps on 
Linux display:


linuxbox$ ssh -l user windows_cygwin -X
windows_cygwin$ notepad

or

windows_cygwin$ iexplore.exe

And these Windows applications would be displayed on my Linux.

Is it possible with Cygwin?


You are making an assumption that MS Windows was designed as a networked 
windowing system. It's not. It's not Cygwin's fault nor X windows fault 
rather it is MS' fault in that their concept of GUI windowed apps is not 
cleanly divided into the client/server paradigm. I believe that Windows 
apps are built with an assumption that they are running locally and have 
access to the local heap including data structures that are unique to 
Windows. In X parlance I believe that such structures would normally be 
stored in the X server.


Indeed Windows apps have no concept of the DISPLAY environment variable 
and assume that DISPLAY is always localhost.


That said there are ways

The only way that I've seen, aside from an application specifically 
written to display on another system, is Remote Desktop. There are 
Remote Desktop clients for Linux that "play" RDP protocol to a Windows 
box that is running, effectively, the server component of RDP. By 
default Windows XP (Pro that is) has this software and allows 1 (count 
'em 1!) remote desktop connection. Additionally when you RDP to a Window 
XP box you'll notice the following: 1) The local desktop is gone! It is 
taken back to the "Welcome screen" or login screen. IOW, "Sorry, still 
not multiuser - graphically at least - only one person or desktop can be 
active". If the local user attempts to login again the RDP session is 
disconnected. And 2) it's all or nothing! When you RDP the whole desktop 
gets displayed at the workstation that's running the RDP client. You 
cannot, for example, simply run notepad through RDP. You instead get 
notepad, the Taskbar, all other running apps, etc. all displayed in a 
window representing the remote desktop.


The server component, RDP server, comes with XP Pro with one "license" 
or the ability to RDP only once. Windows Server (2000 and up) comes with 
a whopping 2 "licenses" though more can be purchased. Additionally on 
Windows Server the local desktop is still active. You can effectively 
have up to 3 people logged in graphically as even 3 different users 
before you need to start purchasing additional licenses...


For Linux there are various rdesktop clients.

Now what if you don't XP Pro or Windows Server? Well there's always VNC 
(and other products such as PCAnywhere). These products provide both the 
server and client portions necessary to do this. They do not, however, 
use RDP protocol but something else. As a result they are much slower 
but give the interesting effect of not changing the local desktop. You 
can sit there and watch somebody else moving your mouse cursor and 
typing in stuff. As a result both the remote party and the local party 
can control the same desktop at the same time.


--
Why do overlook and oversee mean opposite things?


--
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: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Michael Uman
Hello,

I would recommend looking at VNC server.. If you run VNC server on your
windows box, you can log into it from your Linux VNC client and view
your Windows desktop... This works in both directions {you can run VNC
server on Linux and log into it from Windows}

Hope this can help...

Michael Uman

On Tue, 2005-06-14 at 12:03, Tomasz Chmielewski wrote:
> I couldn't find it on Google and I feel it's a different thing than
> running Linux X applications (like xterm etc.), which is done by Cygwin/X.
> 
> 
> Is it possible to "display" Windows program on Linux via ssh / X?
> 
> What I mean, normally we do something like that:
> 
> windows_cygwin$ ssh -l user linuxbox -X
> linuxbox$ xterm
> 
> and we start xterm on Linux, but it is displayed by a Windows X server.
> 
> 
> I want to do something in an opposite direction: start Windows apps on
> Linux display:
> 
> linuxbox$ ssh -l user windows_cygwin -X
> windows_cygwin$ notepad
> 
> or
> 
> windows_cygwin$ iexplore.exe
> 
> 
> And these Windows applications would be displayed on my Linux.
> 
> Is it possible with 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: weird problem with cygwin prompt:

2005-06-14 Thread Richard Copley
On 14/06/05, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> * wen (2005-06-14 14:55 +0100)
> > it shows bash-2.05b$ when i double click on cygwin.
> > in general, it should show something like this
> > [EMAIL PROTECTED]
> >
> > in the 1st case, i cannot use ls.exe command while it lies under the folder
> > C:\cygwin\bin

That probably shouldn't happen. In such cases, I usually don't worry
about finding out what exactly has happened. I move the stuff I want
to keep from my home directory to somewhere outside Cygwin's
directories (hopefully not forgetting any config files I've
customized). Then I use setup.exe to uninstall everything, then I
delete 'C:\Cygwin' (or whatever) using Windows Explorer, probably give
it a reboot for luck, then run setup.exe again to reinstall
everything, and move my files back.

Best regards,
Buster.

--
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: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Michael Uman
PS:

If you are concerned about security {who isn't} You can tunnel VNC
through a SSH tunnel...

Michael Uman

On Tue, 2005-06-14 at 13:02, Michael Uman wrote:
> Hello,
> 
> I would recommend looking at VNC server.. If you run VNC server on your
> windows box, you can log into it from your Linux VNC client and view
> your Windows desktop... This works in both directions {you can run VNC
> server on Linux and log into it from Windows}
> 
> Hope this can help...
> 
> Michael Uman
> 
> On Tue, 2005-06-14 at 12:03, Tomasz Chmielewski wrote:
> > I couldn't find it on Google and I feel it's a different thing than
> > running Linux X applications (like xterm etc.), which is done by Cygwin/X.
> > 
> > 
> > Is it possible to "display" Windows program on Linux via ssh / X?
> > 
> > What I mean, normally we do something like that:
> > 
> > windows_cygwin$ ssh -l user linuxbox -X
> > linuxbox$ xterm
> > 
> > and we start xterm on Linux, but it is displayed by a Windows X server.
> > 
> > 
> > I want to do something in an opposite direction: start Windows apps on
> > Linux display:
> > 
> > linuxbox$ ssh -l user windows_cygwin -X
> > windows_cygwin$ notepad
> > 
> > or
> > 
> > windows_cygwin$ iexplore.exe
> > 
> > 
> > And these Windows applications would be displayed on my Linux.
> > 
> > Is it possible with 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/
> 


--
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: ls returns bad file descriptor

2005-06-14 Thread Shaffer, Kenneth

> Perhaps there's some problem/issue with the permissions on the root of
> your share that's confusing bash? Does this also happen in a
> subdirectory of the share?

bash hasn't changed, only cygwin1.dll.

It also happens in a subdirectory of the share.  I had posted an strace
output which I hope would make sense to others more knowledgeable than
myself.

When I looked at the strace output, it appears to me it read the home
directory instead of the share directory, but never output that. It's as
if the cwd got changed from what the PWD environment variable says it is.

This doesn't happen with 1.5.16 using the same bash.

I'm going to try a different snapshot.

--
Ken Shaffer



 - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, 
proprietary, privileged or otherwise protected by law. The information is 
solely intended for the named addressee (or a person responsible for delivering 
it to the addressee). If you are not the intended recipient of this message, 
you are not authorized to read, print, retain, copy or disseminate this message 
or any part of it. If you have received this e-mail in error, please notify the 
sender immediately by return e-mail and delete it from your computer.


--
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: tcsh doesn't find commands that end with .exe

2005-06-14 Thread Volker Quetschke

Corinna Vinschen wrote:

(...)
And all lower case, (cygwin only). Try something like this:


Well, it seemed like a good idea way back when.  But I agree that it's
probably not quite contemporary anymore.

Try the below patch.  It removes the 'all lowercase' and it allows to enter
all tools with exe suffix.  If that's basically what you had in mind, I'll
send the patch upstream and create a new Cygwin tcsh release.


Thanks for patching this! I was mainly concerned about the
unpredictability when starting different programs ending in .exe.
I didn't know that it was (before your patch) by design. But i like
the new design better ;)

I found another variation of my testcase showing that the failure
in the path hashing also happens in directories with less files
and that it doesn't "disable" the hashing for those directories
completely.

Unpatched standard cygwin tcsh:
[EMAIL PROTECTED] ~]$ which gcc.exe
/usr/bin/gcc.exe
[EMAIL PROTECTED] ~]$ which whoami.exe
whoami.exe: Command not found.
[EMAIL PROTECTED] ~]$ which whoami
/usr/bin/whoami

This doesn't "feel" like a cygwin bug, but cygwin's tcsh
makes it easier to find it. I'll try to write a consistent
bug-report to the tcsh people.

Thanks

Volker

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D


signature.asc
Description: OpenPGP digital signature


Re: 1.5.17: chroot-ed make adds // to ${MAKE}

2005-06-14 Thread Rolf Campbell

Rolf Campbell wrote:
> I'm trying to do a chroot-ed make which uses the content of the ${MAKE}
> variable.  What I'm finding is the value of ${MAKE} has two slashes '//'
> at the beginning, so any attempt to use it failes (looks like a network
> share).
>
> I've created a directory, expanded cygwin-1.5.17-1.tar.bz2 into it, then
> copied make.exe (from the cygwin package).  And a few other dlls that
> were needed by cygwin1.dll (intl/conv).  When I run:
>
> $ chroot . usr/bin/make.exe all
> echo //usr/bin/make
> make: echo: Command not found
> make: *** [all] Error 127
>
> I know that that error code has to do with echo.exe not existing, but
> I'm only concerned with the extra '/' added to ${MAKE}.  My makefiles
> that run sub-makes use it and fail.
>
> --makefile--
>
> all:
> echo ${MAKE}

I tried to over-ride the MAKE (and MAKE_COMMAND) variable from the 
command line, which fixed this specific problem, but I'm left with 
another problem.  Even if you override MAKE and MAKE_COMMAND, you still 
get an error:


$ chroot . usr/bin/make.exe -Rr all MAKE=/usr/bin/make.exe 
MAKE_COMMAND=/usr/bin/make.exe

makefile:4: m.mk: No such file or directory
echo t > m.mk
make: //usr/bin/make: Command not found

You can specify "chroot . /usr/bin/make.exe ..." and it will work, but 
it should also work without that leading slash.



--makefile--
all:
echo ${MAKE}

include m.mk

m.mk:
echo t > m.mk


--
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: Downgrade

2005-06-14 Thread Larry Hall
At 12:25 PM 6/14/2005, you wrote:
>??
>
>All I'm asking is where can I get an earlier version of cygwin


An earlier version (1) is available via 'setup.exe'.  This is generally true 
for all Cygwin packages.  I doubt you'll find a version of Cygwin package
from December by downgrading via 'setup.exe' using traditional mirrors 
though.  Doing a downgrade is discouraged as a long-term solution since 
problems not reported and fixed will likely stay unfixed, leaving you stuck
with some aging and obsolete version of Cygwin.  If you feel this is the 
direction you would prefer to go anyway, I suggest you google the list for 
the "Cygwin Time Machine".  Make sure you read carefully the homepage for 
this before using it however.


>If you need more info then here's the post from htdig
>-
>htdig.exe refuses to run on Cygwin 
>htdig.exe crashes with DB2 error. Permissions are fine 
>and the script is being run as administrator. Both 3.1.6 
>and 3.2.* report this problem with the latest version of 
>cygwin.
>
>I've also tried clearing everything inside db directory in 
>vain. It does create db.docdb and wordlist.new file and 
>then bombs out.
>
>
>$ rundig
>DB2 problem...: PANIC: Invalid argument
>DB2 problem...: /opt/www/htdig/db/db.docdb: write failed 
>for page 1
>htdig: Unable to open/create document 
>database '/opt/www/htdig/db/db.docdb'
>
>htmerge: Unable to open word list 
>file '/opt/www/htdig/db/db.wordlist'.
>Did you index anything?
>Check your config file and try running htdig again.
>
>DB2 problem...: /opt/www/htdig/db/db.docdb: dirty flag 
>set for readonly file pa
>e
>DB2 problem...: /opt/www/htdig/db/db.docdb: close: 2 
>blocks left pinned



If you intend this to be a problem report for the problem you're seeing, 
please read and follow  to provide the
complete set in of information needed to evaluate your problem.



--
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: ls returns bad file descriptor

2005-06-14 Thread Christopher Faylor
On Tue, Jun 14, 2005 at 04:14:41PM -0400, Shaffer, Kenneth wrote:
>On Tue, Jun 14, 2005 at 10:17:09AM -0700, Shankar Unni wrote:
>>Perhaps there's some problem/issue with the permissions on the root of
>>your share that's confusing bash?  Does this also happen in a
>>subdirectory of the share?
>
>bash hasn't changed, only cygwin1.dll.
>
>It also happens in a subdirectory of the share.  I had posted an strace
>output which I hope would make sense to others more knowledgeable than
>myself.
>
>When I looked at the strace output, it appears to me it read the home
>directory instead of the share directory, but never output that.  It's
>as if the cwd got changed from what the PWD environment variable says
>it is.

You didn't notice (or report) that you got no error message when running
under strace?  Hmm.

The reason is that strace isn't a cygwin program and it does not necessarily
inherit cygwin's concept of cwd.

>This doesn't happen with 1.5.16 using the same bash.
>
>I'm going to try a different snapshot.

Please don't.  Try doing this instead:

  c:\>strace -ostrace.out bash
  shaffek>cd //explr_drivers5/reboot_results2
  reboot_results2
  shaffek>ls

and send strace.out here.

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/



groff-1.18.1-2.tar.bz2

2005-06-14 Thread Keith Weintraub
Folks,
No matter what mirror I go to I get an error (incomplete
download) of groff. Specifically
groff-1.18.1-2.tar.bz2.

Any ideas why?

KW

--
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: Bug in chere

2005-06-14 Thread Dave
--- Nils Jeppe wrote:
> Can you also add it to a folder's context menu? Say, I have a 
> folder open, and I click on the folder window itself, instead of a folder 
> icon for a sub-folder. That'd be sweet.

If I understand what you mean, then I don't think it's possible. However, if you
can find either:

a) the appropriate registry key to modify,
b) an example of a program that adds something to this context menu (the one
with 'Customize this folder' on it), and a user to dig around their registry to
find out how it does it,

I'll be happy to add the functionality.


Dave.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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: groff-1.18.1-2.tar.bz2

2005-06-14 Thread Larry Hall
At 05:02 PM 6/14/2005, you wrote:
>Folks,
>No matter what mirror I go to I get an error (incomplete
>download) of groff. Specifically
>groff-1.18.1-2.tar.bz2.
>
>Any ideas why?


Nope.  No problems here using http://mirrors.rcn.net.




--
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: ls returns bad file descriptor

2005-06-14 Thread Pierre A. Humblet
>> Please don't.  Try doing this instead:
>>
>>  c:\>strace -ostrace.out bash
>>  shaffek>cd //explr_drivers5/reboot_results2
>>  reboot_results2
>>  shaffek>ls

> Attached.

Try turning off strict case checking.

Pierre




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



Re: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Tomasz Chmielewski

Michael Uman schrieb:

Hello,

I would recommend looking at VNC server.. If you run VNC server on your
windows box, you can log into it from your Linux VNC client and view
your Windows desktop... This works in both directions {you can run VNC
server on Linux and log into it from Windows}


This is really not an option, as VNC as you said only allows viewing 
"local desktop", so it's one client only.
I want multi user (much like Terminal Server), without the pockets full 
of money for additional connections.


I even did some research, and it is possible to run multi VNC on Windows 
(much like on *NIX) - you have to run it from within different Terminal 
Sessions (RDP) :))


--
Tomek

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



FW: groff-1.18.1-2.tar.bz2

2005-06-14 Thread Keith Weintraub
I just tried that one and had the same issue.

But guess what!! It's our safe gateway software.

I downloaded all of cygwin, all of TeX, and Xemacs and only this file
was blocked.

I found out by going to the rcn.net site and my browser popped up a
"Safe Gateway" message.

Thanks all for all of your help,
KW


-Original Message-
From: Larry Hall [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 14, 2005 5:18 PM
To: Keith Weintraub; cygwin@cygwin.com
Subject: Re: groff-1.18.1-2.tar.bz2

At 05:02 PM 6/14/2005, you wrote:
>Folks,
>No matter what mirror I go to I get an error (incomplete
>download) of groff. Specifically
>groff-1.18.1-2.tar.bz2.
>
>Any ideas why?


Nope.  No problems here using http://mirrors.rcn.net.




--
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: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Tomasz Chmielewski
You are making an assumption that MS Windows was designed as a networked 
windowing system. It's not. It's not Cygwin's fault nor X windows fault 
rather it is MS' fault in that their concept of GUI windowed apps is not 
cleanly divided into the client/server paradigm.


No, I don't make any assumption that MS Windows can "stream" the display 
in a client/server mode, nor blame Cygwin that it can't do so (if the 
system doesn't support it).


I just hoped there is some way of "simulating" that behaviour.


Terminal Server is not for me, as it incurrs costs for each connection, 
and VNC is not what I'm looking for, as on Windows it is possible to run 
it for one user only (unless you run it from within a Terminal Session, 
which doesn't make sense of course).


--
Tomek

--
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: ls returns bad file descriptor

2005-06-14 Thread Shaffer, Kenneth

> Try turning off strict case checking.

That works, but now I'm not unix-like.

I put the strict case back and then tried the case that Windows shows in
the explorer, Explr_drivers5\Reboot_results2, and ls still failed.

In any event, looks like we're closer to solving the problem.

--
Ken Shaffer



 - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, 
proprietary, privileged or otherwise protected by law. The information is 
solely intended for the named addressee (or a person responsible for delivering 
it to the addressee). If you are not the intended recipient of this message, 
you are not authorized to read, print, retain, copy or disseminate this message 
or any part of it. If you have received this e-mail in error, please notify the 
sender immediately by return e-mail and delete it from your computer.


--
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: Emacs problem with Cygwin 1.5.17-1 (rebasing)

2005-06-14 Thread Angelo Graziosi

I want to complete the story which has some point of interest.

Obviously, you are not obliged to replay, not to take care of
problems.

As you can see from this mailing list, after installing the
cygwin package 1.5.17-1 (26-27 May) I had a problem with Emacs:
it took all CPU (100%) and its window did not appear, but 
downgrading to 1.5.16-1 Emacs worked fine.

After many attemps to solve the problem I decided to reinstall
ALL Cygwin from scratch (i.e. deleting C:\cygwin, key registry etc.)
I had almost all packages installed (only gcc-test-suite, ghostscript 
native, regex and xwinclip was not installed).


After this reinstall (good news) EMACS WORKED FINE with 
Cygwin 1.5.17-1!!! (Also Emacs 21.3.50-2-test worked!)


Now the bad news.

Seeing these good things, I decided to reinstall others 
X-applications. In particular I reinstalled ROOT which is a CERN 
applications.

Normally I rebuild and install it.
This application has some tests that I run after every rebuild.

Between these tests, there is a program (stress.exe) that, with
some Cygwin version (not always), has a core dump:

   "unable to remap..."
   
and the problem is caused by some DLL.
   
(in this case:

*** unable to remap C:\cygwin\usr\X11R6\bin\cygXpm-4.dll to same 
address as parent(0x2B7) != 0x2B8
173 [main] stress 1084 fork_parent: child 1184 died waiting for dll
loading

and 

   Aborted (core dumped)

)
   
It is more than an year that I have discovered the cure to this:
run the command

   rebaseall -v
   
from a std bash shell (as suggested me someone from the mailing 
list).

===
So even this time I have rebased and the test work, 
but...Emacs DOES NOT!!! i.e. after rebasing Emacs has the some 
problems described above.
===

With the versions of Cygwin, previous to 1.5.17-1, 
there were not problems in rebasing.

Best regards
angelo.


--
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: ls returns bad file descriptor

2005-06-14 Thread Christopher Faylor
On Tue, Jun 14, 2005 at 05:24:59PM -0400, Pierre A. Humblet wrote:
>>> Please don't.  Try doing this instead:
>>>
>>>  c:\>strace -ostrace.out bash
>>>  shaffek>cd //explr_drivers5/reboot_results2
>>>  reboot_results2
>>>  shaffek>ls
>
>> Attached.
>
>Try turning off strict case checking.

Wow.  I'm glad you noticed this.  I completely missed it.  Thank you.

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: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Andrew DeFaria

Tomasz Chmielewski wrote:


Michael Uman schrieb:


Hello,

I would recommend looking at VNC server.. If you run VNC server on 
your windows box, you can log into it from your Linux VNC client and 
view your Windows desktop... This works in both directions {you can 
run VNC server on Linux and log into it from Windows}


This is really not an option, as VNC as you said only allows viewing 
"local desktop", so it's one client only. I want multi user (much like 
Terminal Server), without the pockets full of money for additional 
connections.


To achieve this use either inetd (and telnet, rsh) or sshd and use 
Cygwin's excellent command line interface. You don't need notepad - vi 
will do much better.


Ah but you say "There are Windows apps that only run in GUI mode and I 
need to run them"? Yes that's a bummer and one of the things that 
Unix/Linux users and admin rail about Windows over and over. Now you 
understand why. Had it been just a Unix/Linux environment this would not 
be a problem nor issue. And X Windows handled the "running a GUI app 
remotely using the window system to display locally" long ago. Sigh. 
When will Windows users learn...


Still you can get a lot (and I mean a lot) of milage out of Cygwin and 
the command line - you just can't everything.

--
A shark is the only fish that can blink with both eyes.


--
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: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Andrew DeFaria

Tomasz Chmielewski wrote:

You are making an assumption that MS Windows was designed as a 
networked windowing system. It's not. It's not Cygwin's fault nor X 
windows fault rather it is MS' fault in that their concept of GUI 
windowed apps is not cleanly divided into the client/server paradigm.


No, I don't make any assumption that MS Windows can "stream" the 
display in a client/server mode, nor blame Cygwin that it can't do so 
(if the system doesn't support it).


I just hoped there is some way of "simulating" that behaviour.


Simulation... Hmmm... You're examples were using notepad and iexplorer. 
For notepad, ssh into the server and use vi. For iexplorer, explore 
lynx, a terminal based web browser. Then again, why would you need to be 
on the server to browse the web with a browser - just browse the web 
from your desktop.


Other examples? Other "simulations". You will not like each simulation 
though...


--
That's a hell of an ambition, to be mellow. It's like wanting to be 
senile. -  Randy Newman



--
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: ls returns bad file descriptor

2005-06-14 Thread Igor Pechtchanski
On Tue, 14 Jun 2005, Pierre A. Humblet wrote:

> >> Please don't.  Try doing this instead:
> >>
> >>  c:\>strace -ostrace.out bash
> >>  shaffek>cd //explr_drivers5/reboot_results2
> >>  reboot_results2
> >>  shaffek>ls
>
> > Attached.
>
> Try turning off strict case checking.

Pierre, would you mind elaborating on exactly what in that strace pointed
you to strict case checking being the culprit?  I've looked through it,
but perhaps I missed something...  Thanks.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: ls returns bad file descriptor

2005-06-14 Thread Christopher Faylor
On Tue, Jun 14, 2005 at 07:49:42PM -0400, Igor Pechtchanski wrote:
>On Tue, 14 Jun 2005, Pierre A. Humblet wrote:
>
>> >> Please don't.  Try doing this instead:
>> >>
>> >>  c:\>strace -ostrace.out bash
>> >>  shaffek>cd //explr_drivers5/reboot_results2
>> >>  reboot_results2
>> >>  shaffek>ls
>>
>> > Attached.
>>
>> Try turning off strict case checking.
>
>Pierre, would you mind elaborating on exactly what in that strace pointed
>you to strict case checking being the culprit?  I've looked through it,
>but perhaps I missed something...  Thanks.

I don't know if Pierre picked up on something else (or maybe just looked
at the cygcheck output) but a clue was the fact that path_conv::check
kept inspecting components of the path even after a valid path was
detected.  I was working my way there when I wisely decided to check the
mailing list and saw Pierre's insight.  It's supposed to stop looking at
the path once it finds a valid path, except in the case of non-relaxed
case checking, i.e., this is one of a few slowdowns in the case checking
code.

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: ls returns bad file descriptor

2005-06-14 Thread Christopher Faylor
On Tue, Jun 14, 2005 at 07:52:45PM -0400, Christopher Faylor wrote:
>On Tue, Jun 14, 2005 at 07:49:42PM -0400, Igor Pechtchanski wrote:
>>On Tue, 14 Jun 2005, Pierre A. Humblet wrote:
>>
>>> >> Please don't.  Try doing this instead:
>>> >>
>>> >>  c:\>strace -ostrace.out bash
>>> >>  shaffek>cd //explr_drivers5/reboot_results2
>>> >>  reboot_results2
>>> >>  shaffek>ls
>>>
>>> > Attached.
>>>
>>> Try turning off strict case checking.
>>
>>Pierre, would you mind elaborating on exactly what in that strace pointed
>>you to strict case checking being the culprit?  I've looked through it,
>>but perhaps I missed something...  Thanks.
>
>I don't know if Pierre picked up on something else (or maybe just looked
>at the cygcheck output) but a clue was the fact that path_conv::check
>kept inspecting components of the path even after a valid path was
>detected.  I was working my way there when I wisely decided to check the
>mailing list and saw Pierre's insight.  It's supposed to stop looking at
>the path once it finds a valid path, except in the case of non-relaxed
>case checking, i.e., this is one of a few slowdowns in the case checking
>code.

Btw, this should be fixed in the next snapshot.

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: How to get version-information of executeable

2005-06-14 Thread Carlo Florendo

Jason Tishler wrote:


Oliver,

Please post instead of sending private email.
 



By the way, FYI this is already in the OLOCA. 
http://www.cygwin.com/acronyms/#PPIOSPE  :)




--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph


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



Re: Question about /etc/profile

2005-06-14 Thread Fernando Barsoba

Hi,

Thank you very much for your advise. I tried reinstalling cygwin and now 
works nicely.


Thanks!

FBM




At 12:47 AM 6/13/2005, you wrote:

Hello,

I'm having problems understanding how cygwin handles the loading of 
/etc/profile:


-> My cygwin.bat says the following:

  @echo off

  F:
  chdir F:\cygwin\bin

  bash --login -i

So, 'bash' supposedly goes and looks for /etc/profile where the environment 
variables are set (PATH, HOME, etc..). However, my installation doesn't 
have /etc/profile. Does this mean that I have to create it myself?


I do find a f:\cygwin\etc\defaults\etc\profile though... Should I put this 
one in my cygwin.bat?



No.  If you don't have a '/etc/profile', either something prevented the
'base-files' package postinstall script from running or you have another
piece of software using cygwin that "got in the way".  Search for and
destroy any other 'cygwin1.dll's on your system and then make sure your
mounts are pointing to your install from 'setup.exe'.  Or maybe it's
easier to just delete everything and reinstall.


Another thing that I don't understand is why I am not able to execute 
'startx' (X server at /usr/X11R6/bin) even executing first the "profile" 
from above (manually) and having this profile the following:


  PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH
  export PATH

Any idea?



Sure.  Read and follow the problem reporting guidelines below.  That
always helps.  It's good advice for your first problem as well.


Problem reports:   http://cygwin.com/problems.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: Question about /etc/profile

2005-06-14 Thread Larry Hall
At 09:12 PM 6/14/2005, you wrote:
>Hi,
>
>Thank you very much for your advise. I tried reinstalling cygwin and now works 
>nicely.


Glad to hear it.  Something must have gone awry during your first install
somehow.  Just another one of life's little mysteries. ;-)


--
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: screen

2005-06-14 Thread Shaun Broadbent

Andrew.Schulman wrote
---

OK.  I later changed the version number from 1 to 0test1, so the URLs for 
download are now


http://home.comcast.net/~andrex/cygwin/screen/screen-4.0.2-0test1.tar.bz2 
(binary)
http://home.comcast.net/~andrex/cygwin/screen/screen-4.0.2-0test1-src.tar.bz2 
(source)


Thank you for that.

Yes, the reattachment problem is now solved AFAICT, using Cygwin 1.5.17 or 
later.  Most of it works just fine, but there's one problem that I haven't 
solved yet:  when you detach a session, it stays bound to its parent 
shell.  So if you then try to exit the parent shell, it hangs.  You can 
terminate the parent shell, but then screen exits too.  Obviously this 
takes away one of the big advantages of screen, which is the ability to 
detach a session, leaving it running in the background, and then reattach 
later from a different terminal.


hmm I have not had that problem? I run rxvt's with bash and can exit all
terminals leaving no bash process but screen lives on. I can then fire
up another shell and re-connect to screen and any jobs it has running.
(ie it works just like it should!)

- Shaun

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