Dear Sir,

2004-12-05 Thread meetasia
Dear Sir,

Thanks for your mail, we will contact you shortly.

Regards and best wishes,

Rajeev T Shandilya
meet-asia.com
[EMAIL PROTECTED]

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



Re: User name with spaces and Cygwin web site suggestion

2004-12-05 Thread Rodrigo de Salvo Braz
On Sun, 5 Dec 2004, Pierre A. Humblet wrote:

> So you should do what the faq says.

Thanks for the clarifications, Pierre, they will solve my problem. But one
of the motivations of my original post was that I thought I had done what
the faq says. I suggest it gets clarified; it says: "You can rename the
user in the Windows User Manager GUI". I interpreted this to mean to go to
Control Panel->User Accounts->Rename, and did it. I think many users will
do the same. Also, as Coughlan pointed out, the real renaming may break
many things and it may be good to alert users to that.

Also, the FAQ says: "run mkpasswd", without giving the info you gave me
above which is essential.

Thanks again,

Rodrigo

--
Unsubscribe info:  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: commands not found

2004-12-05 Thread Larry Hall
At 10:56 PM 12/5/2004, you wrote:
>Thanks, but like I said I've been there.  I've been everywhere and read it all
>for hours before I posted this.  Frustration.



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


Then you missed a very important point.  I can think of several reasons
or things to check and try but there's no sense in having me or somebody 
else on this list take wild shots in the dark when a little specific 
information from you would narrow the field considerably.  You need to 
reread carefully what's on this page, particularly the parts that recommend 
providing specific information that demonstrates your problems and to also 
provide basic configuration information (cygcheck output).  Please reread 
the page again with an eye toward these areas and post the requested 
information.  Then someone might have a very good suggestion for you.  I'm 
certain you've spent a good amount of time trying to track this down 
yourself, using the available resources.  It's appreciated.  We just need 
you to take some time to let the frustration of your previous attempt(s) 
subside some and come back to the problem with a fresh start. :-)

Also, please don't quote headers and such in your responses.  We highly
discourage those actions since they only feed the spammers.  They're
fat enough already.


--
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: commands not found

2004-12-05 Thread cygwin
Thanks, but like I said I've been there.  I've been everywhere and read it all
for hours before I posted this.  Frustration.

> At 07:51 PM 12/5/2004, you wrote:
> >First I'd like to say that I am sorry for having to ask this.  But I have
> >searched the site, read the faqs and documentation, and poked around the
> >directory structure and I am still at a loss.
> >Basically I just can't use any of the commands.  'cd' and 'pwd' seem to work,
> >but 'ls' and even 'man' don't.  Most things that I want to use I am told that
> >the command is not found.
> >I can go to the /bin direcotry and type ./ls, and it works.  So I guess that
> >maybe my path is not right.  The path in the /usr/etc/default/etc/profile is
> >sufficient.  And this is the only place that I can find the .bashrc files and
such.
> >What do I need to do?  And why would this functionality not be there from the
> >beginning.  It shouldn't be this hard to make this work.  I must be doing
> >something stupid.
> >Thanks in advance
> 
> Start here:
> 
> >Problem reports:   http://cygwin.com/problems.html
> 
> 
> 
> 
> --
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746 
> --- Begin Message ---
At 07:51 PM 12/5/2004, you wrote:
>First I'd like to say that I am sorry for having to ask this.  But I have
>searched the site, read the faqs and documentation, and poked around the
>directory structure and I am still at a loss.
>Basically I just can't use any of the commands.  'cd' and 'pwd' seem to work,
>but 'ls' and even 'man' don't.  Most things that I want to use I am told that
>the command is not found.
>I can go to the /bin direcotry and type ./ls, and it works.  So I guess that
>maybe my path is not right.  The path in the /usr/etc/default/etc/profile is
>sufficient.  And this is the only place that I can find the .bashrc files and 
>such.
>What do I need to do?  And why would this functionality not be there from the
>beginning.  It shouldn't be this hard to make this work.  I must be doing
>something stupid.
>Thanks in advance

Start here:

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




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

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

Re: What depends on less and what man depends on.

2004-12-05 Thread Joshua Daniel Franklin
On Sun,  5 Dec 2004 08:13:34 +0100 (MET), Bas van Gompel wrote:
> Sometimes one wants to know what depends on a package or vice versa.
> 
> To find out, using the local setup.inis, I wrote following script.
> It uses make to recursively find and display all dependencies in
> either direction.

Buzz, 

These scripts you've made seem both cool and useful to me. It would
be even better if we had this functionality in some of the cygwin utils,
though, like cygcheck. Any interest in that?

I'm also thinking maybe setup.exe should store the latest known good
setup.ini as /etc/setup/setup.ini or something like that.

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



more Cygwin

2004-12-05 Thread Joshua Daniel Franklin
Emmett,

I enjoyed reading your article "Comparing Cygwin and MKS Toolkit" at

and have a couple comments. 

First, 'more' actually is available for Cygwin (I did a quick port a long
time ago), it's just not installed by default. Look for it "Text" category
in the Cygwin setup.exe package chooser. As for the default shell,
I agree that changing it to pdksh or zsh isn't as easy as it could be.

I'd also like to mention that while Cygwin is free (as in both no price
and freedom), like other open source projects the developers are also
users who are building their own skills and having fun. So in that 
sense I like Neal Stephenson's analogy that open source is like car
enthusiasts. Sure, you can get a free car out of the deal, but the real
point is that enthusiasts like to build cars and find the thought of a
poorly built one ludicrous.

Anyway, thanks for your positive remarks about Cygwin,

Joshua Daniel Franklin


p.s. I haven't used it, but if you ever do another comparison you
might include UWIN, which I believe does use ksh by default:


--
Unsubscribe info:  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: User name with spaces and Cygwin web site suggestion

2004-12-05 Thread Pierre A. Humblet
At 01:25 PM 12/5/2004 -0600, Rodrigo de Salvo Braz wrote:
>On Sun, 5 Dec 2004, Pierre A. Humblet wrote:
>
>> Just type "mkpasswd -l" (assuming you are a local user) and send the output
>> together with the name you use to login into Windows and the name reported
>> by id -un.
>
>Thanks. Here it is:
>
>$ mkpasswd -l



>Rodrigo Braz:unused_by_nt/2000/xp:1006:513:Rodrigo,U-RODRIGONOTEBOOK\Rodrigo 
>Braz,S-1-5-21-3615762775-3924064129-568730901-1006:/home/Rodrigo Braz:/bin/bash
>
>The Windows login name is "Rodrigo Braz", although now it changed to
>"Rodrigo" on the screen (but looks like it is a superficial change).

If the Windows login name is still "Rodrigo Braz", that means that you
have not changed it.
Have looked into Nick Coghlan's suggestion?
  
>The cygwin page mentions running mkpassswd in a way that does change the
>system, what is this way?

"mkpasswd -l > /etc/passwd"

Cygwin relies on /etc/passwd for things such as "id -un"

mkpasswd is a program that essentially dumps the Windows user database
into a Unix like format. For example your Windows login name appears just
after U-RODRIGONOTEBOOK\ above, while your "name" appears just before.

So you should do what the faq says. Either change your Windows login name
to something without space and run "mkpasswd -l > /etc/passwd"
or edit /etc/passwd and change the name (first field) in your record.
You may also want to change your home directory (next to last field).

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: commands not found

2004-12-05 Thread Larry Hall
At 07:51 PM 12/5/2004, you wrote:
>First I'd like to say that I am sorry for having to ask this.  But I have
>searched the site, read the faqs and documentation, and poked around the
>directory structure and I am still at a loss.
>Basically I just can't use any of the commands.  'cd' and 'pwd' seem to work,
>but 'ls' and even 'man' don't.  Most things that I want to use I am told that
>the command is not found.
>I can go to the /bin direcotry and type ./ls, and it works.  So I guess that
>maybe my path is not right.  The path in the /usr/etc/default/etc/profile is
>sufficient.  And this is the only place that I can find the .bashrc files and 
>such.
>What do I need to do?  And why would this functionality not be there from the
>beginning.  It shouldn't be this hard to make this work.  I must be doing
>something stupid.
>Thanks in advance

Start here:

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




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



commands not found

2004-12-05 Thread cygwin
First I'd like to say that I am sorry for having to ask this.  But I have
searched the site, read the faqs and documentation, and poked around the
directory structure and I am still at a loss.
Basically I just can't use any of the commands.  'cd' and 'pwd' seem to work,
but 'ls' and even 'man' don't.  Most things that I want to use I am told that
the command is not found.
I can go to the /bin direcotry and type ./ls, and it works.  So I guess that
maybe my path is not right.  The path in the /usr/etc/default/etc/profile is
sufficient.  And this is the only place that I can find the .bashrc files and 
such.
What do I need to do?  And why would this functionality not be there from the
beginning.  It shouldn't be this hard to make this work.  I must be doing
something stupid.
Thanks 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: Cygwin FIFO does not see EOF (NT4sp6, DLL 1.5.11)

2004-12-05 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Peter Åstrand
> Sent: 05 December 2004 16:18
> To: cygwin
> Subject: short fread(), but no ferror/feof
> 
> 
> I've discovered that fread(ptr, size, nitems, stream) 
> sometimes returns a
> value less than "nitems", but does not set feof() nor ferror(). 

> -Original Message-
> From: cygwin-owner On Behalf Of Bob Smart
> Sent: 05 December 2004 20:56
> To: cygwin
> Subject: Cygwin FIFO does not see EOF (NT4sp6, DLL 1.5.11)
> 
> It appears to me that pipe (FIFO) readers don't get the same 
> indication of EOF in Cygwin that they do in Linux.  The 
> following Korn script works as I think it should with Linux: 
> at startup it shows that the FIFO doesn't exist and there's 
> no "cat" running; then it prints the test text; then it shows 
> that the FIFO and the "cat" go away.
> 
> With Cygwin, the "cat" never finishes, even though nobody has 
> the pipe open for writing.  Experimentation by running the 
> "echo" and "cat" manually (in separate shells and windows) 
> lead me to think that the "cat" simply never sees EOF on the 
> pipe.


  LOL!  It's a conspiracy I tell ya!


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

2004-12-05 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Brian Ford
> Sent: 05 December 2004 20:53
> To: Rodrigo de Salvo Braz
> Cc: cygwin
> Subject: Re: Suggestions
> 
> On Fri, 3 Dec 2004, Rodrigo de Salvo Braz wrote:
> 
> > Hi,
> >
> > Is there some more specific place in which to give 
> suggestions or feedback
> > about the Cygwin pages?
> 
> Nope.
> 


  Yes, there is!  But first you gotta get http://cygwin.com/acronyms#WJM";>mean![*]  And then you gotta get
up, you got to get up out of your chair, and go to the window.  Open it, and
stick your head out, and yell, "I'm mad as hell, and I'm not going to take
Cygwin any more!"


cheers, 
  DaveK

[*]  Sigh.  All my funniest posts get barfed by the list's spam filters because
they mistake them for HTML.
-- 
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/



Cygwin FIFO does not see EOF (NT4sp6, DLL 1.5.11)

2004-12-05 Thread Bob Smart
It appears to me that pipe (FIFO) readers don't get the same indication of EOF 
in Cygwin that they do in Linux.  The following Korn script works as I think it 
should with Linux: at startup it shows that the FIFO doesn't exist and there's 
no "cat" running; then it prints the test text; then it shows that the FIFO and 
the "cat" go away.

With Cygwin, the "cat" never finishes, even though nobody has the pipe open for 
writing.  Experimentation by running the "echo" and "cat" manually (in separate 
shells and windows) lead me to think that the "cat" simply never sees EOF on 
the pipe.  There are no error messages, but the "cat" doesn't terminate.

I've tried this on Samba-mounted ext2 drives and local (native NTFS) drives in 
the Cygwin environment but it always behaves the same way (i.e., I think it's 
unlikely to be Samba- or NFS-related).

A cygcheck log is attached.

To see the phenomenon:

--
#!/bin/ksh

ls -l fifo
ps
mkfifo fifo
echo 'Text sent via pipe' >> fifo &
sleep 30
cat fifo &
ls -l fifo
rm fifo
ls -l fifo
ps
--

-- 
GPG public key <[EMAIL PROTECTED]> available from public key server
network or from www.blorch.org/bob

Fingerprint BA4A 552C BE3D 8C40 ED76 F372 DF9E 320D 37FA 16AC

--
Unsubscribe info:  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: Suggestions

2004-12-05 Thread Brian Ford
On Fri, 3 Dec 2004, Rodrigo de Salvo Braz wrote:

> Hi,
>
> Is there some more specific place in which to give suggestions or feedback
> about the Cygwin pages?

Nope.

-- 
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: short fread(), but no ferror/feof

2004-12-05 Thread Christopher Faylor
On Sun, Dec 05, 2004 at 05:17:46PM +0100, Peter ?strand wrote:
>I've discovered that fread(ptr, size, nitems, stream) sometimes returns a
>value less than "nitems", but does not set feof() nor ferror(). As I
>understand, this is incorrect: All fread() documentation I've found
>confirms this. For example, IEEE Std 1003.1 says:
>
>"Upon successful completion, fread() shall return the number of elements
>successfully read which is less than nitems only if a read error or
>end-of-file is encountered."
>
>I've only noticed the problem when using fread() on a pipe, and when
>setting a (another) file descriptor in the same application in
>close-on-exec mode. The details are on http://python.org/sf/1071516. I've
>been using the latest Cygwin (as of 2004-12-04) on Windows 98.
>
>To me, this looks like a Cygwin bug. Any ideas?

A simple, compilable test case with results shown on both linux and
cygwin would prove your theory.

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: Problem running windows application, using ssh command on remote unix session

2004-12-05 Thread Henri Irla
Henri Irla wrote:
*Situation:
-Windows XP machine  with cygwin and ssh installed ( new  cygwin version)
-Unix machine launch  windows command using local or remote ssh
-correct Mount point on cygwin machine (/sophos) located on unix machine
-Windows command ( /sophos/setup.exe -IN -INL -update ) : no windows display, 
no interactive, automated process
-all machine are LAN connected, no FW
*Result:
-Correct execution on any cygwin  terminal  in windows machine
ccommand passed with ssh remote ( Unix or Windows remote)  correct but  sophos 
command not executed !
Any one has any idea ?
How can  i trap errors or log for windows command on Windows  machine ?
Regards


It's right now;  UID of PID  is origin of problem.
In fact ssh unix client,   connect to uid login for  sophos in windows , 
witch connect himself trough samba on Unix server. It d'ont inherit in 
this  case (via cigwin) of the real unix uid ( and process PID uid in 
this case is guest uid of samba (nobody) CQFD.
I have modified samba config and put correct quest account .

from my point of view, i d'ont understand why  via remote connection 
ownership,  d'ont are carried totaly  to client  via cygwin ( there is 
not heritance in this case )

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


short fread(), but no ferror/feof

2004-12-05 Thread Peter Åstrand

I've discovered that fread(ptr, size, nitems, stream) sometimes returns a
value less than "nitems", but does not set feof() nor ferror(). As I
understand, this is incorrect: All fread() documentation I've found
confirms this. For example, IEEE Std 1003.1 says:

"Upon successful completion, fread() shall return the number of elements
successfully read which is less than nitems only if a read error or
end-of-file is encountered."

I've only noticed the problem when using fread() on a pipe, and when
setting a (another) file descriptor in the same application in
close-on-exec mode. The details are on http://python.org/sf/1071516. I've
been using the latest Cygwin (as of 2004-12-04) on Windows 98.

To me, this looks like a Cygwin bug. Any ideas?

/Peter Åstrand <[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/



Another autotools wrapper problem and fix

2004-12-05 Thread Jon A. Lambert
Okay this one is picking at gnits, but autoheader 1.9 will always issue a 
warning message when you ask it to produce warning message because the 
authoheader wrapper passes --warning= and -W as --warning=,blah,blah 
and -W,blah,blah instead of --warning=blah,blah and -Wblah,blah.

Here's another patch.  I think this works.

$ diff -ru autoheader-orig autoheader
--- autoheader-orig 2003-12-02 01:21:50.00100 -0500
+++ autoheader  2004-12-05 09:28:10.570940800 -0500
@@ -115,12 +115,14 @@
--warnings=* | -W?* )
-   warnings=$warnings,$optarg
+   test $warnings && warnings=$warnings,$optarg
+   test -z $warnings && warnings=$optarg
   shift ;;
--warnings | -W )
   test $# = 1 && eval "$exit_missing_arg"
   shift
-   warnings=$warnings,$1
+   test $warnings && warnings=$warnings,$1
+   test -z $warnings && warnings=$1
   shift ;;
-- 

--
Unsubscribe info:  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 Cygwin Applications/575] Unknown HZ value! message from procps commands

2004-12-05 Thread Chris January
> [please, let's keep the discussion on the list]
> 
> dr dot volker dot zell at oracle dot com schrieb:
> > --- Additional Comments From dr dot volker dot zell at 
> oracle dot 
> > com  2004-12-04 16:40 --- (In reply to comment #3)
> > 
> >>This is known problem with multiple processors.
> >>Workaround: Disabeling hyperthreading or - in case you're on a real 
> >>multiprocessor system - using the /NUMPROC=1 switch for booting up 
> >>windows might have the desired effect.
> >>
> >>See the thread at http://cygwin.com/ml/cygwin/2004-03/msg01110.html
> > 
> > I get this too, on a single processor machine with W2k SP4
> 
> Interesting. For which cmdline exactly?
> 
> "cygcheck -s -v -r > cygcheck.out" also please, since this is 
> the first 
> time I heard it on a SMP.

In both cases what is the actual value of HZ you are seeing?

Chris


--
Unsubscribe info:  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: Environment variables & system privilages

2004-12-05 Thread Jason Pearce
Thanks. This works well enough. But I take it there is no universal 
command to check for system permissions.
The procedure is just try a command that needs system privilages and 
watch the exit status.

Also for the benefit of anyone reading this thread - there was an error 
in my original post. I dropped the "Environment" key from the registry 
path for setting system environment variables. It should have read.

regtool set -s 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session 
Manager\Environment\FOO' 'BAR'
Jason
Igor Pechtchanski wrote:
On Sat, 4 Dec 2004, Jason Pearce wrote:
 

I have two seemingly simple questions that I just can't find the answers
to. Any assistance would be appreciated
1. What's the "right" way to add add environment variables into the user and
system maps?
Currently I am using regtool to manipulate the registry. For instance to set
an environment variable FOO=BAR I do:
regtool set -s '\HKEY_CURRENT_USER\Environment\FOO' 'BAR'
or
regtool set -s 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session 
Manager\FOO' 'BAR'
The first form places it in the user's map, the second in the system
map. But will this work across patform? Is there a more preferred
method?
   

Well, that's probably the best you could hope for, if you want system-wide
settings.  I'm not aware of any other command-line tool that would set
these.  If you only want to set environment variables for Cygwin shells,
you might want to edit /cygwin.bat instead.
 

2. How can I test whether my script is running with system privilages?
ie I want to write a script that installs a mount and sets and environment
variable. If the script is running with system privilages I want to make the
change system wide. Otherwise, in the user's profile.
   

Why not try mounting with system privileges first?  'mount' will fail if
it's unable to set mounts, and you can fall back on user mounts.  In other
words:
#!/bin/sh
if mount -tfs d:/projects /projects; then
  regtool set -s 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session 
Manager\FOO' 'BAR'
else
  # User ony
  mount -tfu d:/projects /projects
  regtool set -s '\HKEY_CURRENT_USER\Environment\FOO' 'BAR'
fi
 

#!/bin/sh
if [ ??? ]
then
# Sytem wide
mount -tfs d:/projects /projects
  regtool set -s 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session 
Manager\FOO' 'BAR'
else
# User ony
mount -tfu d:/projects /projects
regtool set -s '\HKEY_CURRENT_USER\Environment\FOO' 'BAR'
fi
What do I put in place of the ??
   

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


Autotools wrapper problem and fix

2004-12-05 Thread Jon A. Lambert
I'm having trouble invoking the wrapper scripts for aclocal.
Here's my session log...
---
[EMAIL PROTECTED] ~/MyApp
$ aclocal --force
aclocal: invalid option --force
Try `aclocal --help' for more information.
[EMAIL PROTECTED] ~/MyApp
$ aclocal --version
aclocal (GNU automake) 1.9.2
...rest ellided...
[EMAIL PROTECTED] ~/MyApp
$ cat configure.ac | grep AC_PREREQ
AC_PREREQ(2.59)
[EMAIL PROTECTED] ~/MyApp
$ /usr/autotool/devel/bin/aclocal --version
aclocal (GNU automake) 1.9.2
...rest ellided...
[EMAIL PROTECTED] ~/MyApp
$ /usr/autotool/devel/bin/aclocal --force
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of 
PKG_CHECK_MODULES
 run info '(automake)Extending aclocal'
 or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/libsmi.m4:8: warning: underquoted definition of 
AM_PATH_LIBSMI
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of 
AM_PATH_LIBMCRYPT
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of 
AM_PATH_LIBGCRYPT
/usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of 
AC_CHECK_FT2
/usr/share/aclocal/cppunit.m4:4: warning: underquoted definition of 
AM_PATH_CPPUNIT

[EMAIL PROTECTED] ~/MyApp
$ env | grep ^PATH=
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/lib/subversion/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/Perl/bin/:/c/bin:/c/apps/apache-ant-1.6.0/bin:/c/apps/ruby/bin:/c/Program 
Files/Borland/BDS/1.0/Bin:/c/WINDOWS/SYSTEM32:/c/WINDOWS:/c/WINDOWS/SYSTEM32/WBEM:/c/apps/BCC55/Bin:/c/PROGRAM 
FILES/BORLAND/CBUILDER3/BIN:/c/j2sdk1.4.1/bin:/c/Program 
Files/doxygen/bin:/c/apps/Python23:/c/Program 
Files/Subversion/bin:/c/PROGRA~1/ATT/Graphviz/bin/tools

[EMAIL PROTECTED] ~/MyApp
$ cygcheck -c | grep auto
autoconf2.59-1   OK
autoconf-devel  2.59-1   OK
autoconf-stable 2.13-5   OK
automake1.7.9-1  OK
automake-devel  1.9.2-1  OK
automake-stable 1.4p6-2  OK
---
Is this because the automake wrapper version is at 1.7.9 and devel is at 
1.9.2?

Anyway here's the patch I applied to fix it.
-
[EMAIL PROTECTED] /usr/bin
$ diff -ur aclocal-orig aclocal
--- aclocal-orig2003-12-02 02:47:03.00100 -0500
+++ aclocal 2004-12-05 07:17:27.042500800 -0500
@@ -34,6 +34,11 @@
   shift ;;
+--force | -f )
+   opt_force="--force"
+   shift ;;
+
+
--help | -h )
   opt_help="--help"
   shift ;;
--

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


Re: PERL and XML::Parser

2004-12-05 Thread Gerrit P. Haase
Trevor McAlister wrote:
Hi 
I have been having problems installing XML-Parser-2.34.tar.gz, 
I came across the course of the problem in your mailing archive but it didn't give the solution to the problem. 
XML::Parser is already included in the Cygwin Perl tarball.
Gerrit
--
=^..^=
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: PERL and XML::Parser

2004-12-05 Thread Reini Urban
Larry Hall schrieb:
At 10:39 PM 12/4/2004, you wrote:
I have been having problems installing XML-Parser-2.34.tar.gz, 
I came across the course of the problem in your mailing archive but it didn't give the solution to the problem. 

The original error was: 
cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc 
Syntax error: Unterminated quoted string 

The email I found was: 
To: Cygwin List 
Date: Tue, 06 Jul 2004 09:35:56 +0300 
Subject: Re: PERL and XML::Parser 

It said the problem was: 
It appears that Visual Studio .NET environment variable "LIB" produced invalid output in Makefile. 
If any one could give me a detailed solution to this problem it would be greatly appreciated, I'm new to cygwin so please keep it simple. 

How about adding:
SET LIB=
to your Cygwin.bat?  While you're at it, you might as well add 
SET INCLUDE=
too.
And then please install force XML::Parser and its prerequisites again.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--
Unsubscribe info:  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 Cygwin Applications/575] Unknown HZ value! message from procps commands

2004-12-05 Thread Reini Urban
[please, let's keep the discussion on the list]
dr dot volker dot zell at oracle dot com schrieb:
--- Additional Comments From dr dot volker dot zell at oracle dot com  
2004-12-04 16:40 ---
(In reply to comment #3)
This is known problem with multiple processors.
Workaround: Disabeling hyperthreading or - in case you're on a real
multiprocessor system - using the /NUMPROC=1 switch for booting up windows might
have the desired effect.
See the thread at http://cygwin.com/ml/cygwin/2004-03/msg01110.html
I get this too, on a single processor machine with W2k SP4
Interesting. For which cmdline exactly?
"cygcheck -s -v -r > cygcheck.out" also please, since this is the first 
time I heard it on a SMP.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
Unsubscribe info:  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: User name with spaces and Cygwin web site suggestion

2004-12-05 Thread Rodrigo de Salvo Braz
On Sun, 5 Dec 2004, Nick Coghlan wrote:

> Rodrigo de Salvo Braz wrote:
> > id -un, as it is the case with ssh. Did I miss something or renaming the
> > account really doesn't do anything to solve the problem?
>
> Did you rename the actual account using the Management Console (Control
> Panel->Administrative Accounts->Computer Management), or did you change the 
> user
> name in User Accounts (Control Panel->User Accounts)?
>
> The latter doesn't actually rename the account itself - it merely adds a "Full
> Name" setting which is displayed by the Windows GUI instead of the actual
> account name.

Thanks. I will try that as soon as I figure out how to run mkpasswd.
Meanwhile, it sounds like a good idea to include this bit of info as well
as info on mkpasswd in the FAQ.

Cheers,

Rodrigo

--
Unsubscribe info:  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: User name with spaces and Cygwin web site suggestion

2004-12-05 Thread Rodrigo de Salvo Braz
On Sat, 4 Dec 2004, Pierre A. Humblet wrote:

> This is strange. Could you send us the output of mkpasswd and indicate
> both the name you use to log in into Windows and the name returned by id -un

I didn't run mkpasswd manually because I have changed the account user
name before installing Cygwin and assumed that it would be run by the
regular initialization. Isn't that the case?

If not, and if I have to run it manually in this case too, it is not clear
to me what I have to do. Documents I find for mkpasswd describe it as
either printing user information or generating passwords, and it doesn't
look like that's what I want to do here. I don't know what parameters to
use. The mkpasswd I have installed seems to be useful only for printing
/etc/passwd information. Can you help me here?

Thanks,

Rodrigo

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



How to redirect "Segmentation fault (core dumped)" to err.txt?

2004-12-05 Thread Alex Vinokur
$ cygcheck -c cygwin bash
Cygwin Package Information
Package  VersionStatus
bash 2.05b-16   OK
cygwin   1.5.11-1   OK

$ a 2> err.txt
Segmentation fault (core dumped)

Why didn't "Segmentation fault (core dumped)" redirected to err.txt?
How to redirect "Segmentation fault (core dumped)" to err.txt?

-- 
 Alex Vinokur
 email: alex DOT vinokur AT gmail DOT com
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn





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