RE: OT: possible project/research project

2002-03-20 Thread Randall R Schulz

Robert,

Responses interposed below.


At 22:55 2002-03-19, Robert Collins wrote:
> > -Original Message-
> > From: Randall R Schulz [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, March 20, 2002 12:15 PM
>
> >
> > Robert,
> >
> > This idea isn't really new.
>
>I don't recall claiming it as 'new' .. just an idea.  :} (ok, pedant mode 
>off).
>
> > The problem is that you're creating a huge project that
> > creates no new
> > functionality and that has horrendous maintainence issues, as you say.
>
>Yah. That's the crux. I've no interest in creating such a project.
>
> > The library conversion idea is kind of a throwback to
> > pre-Unix days or to
> > systems like VMS (if I recall and understand it properly). In
> > these systems
> > there were "blessed" commands understood by the command
> > interpreter and
> > endowed with a more direct means of invocation. Other
> > commands required
> > full sub-process creation.
>
>Well we still have that basic separate - bash's builtin's for example. If 
>it's not builtin, it needs a sub process.

That's not quite right. Built-ins still need sub-processes if they're going 
to operate in a pipeline or are enclosed within parentheses.


> > I trust it's your intent that the user will see no obvious
> > differences in
> > invoking these programs, but you may find full transparency harder to
> > achieve than you expect. Will the full range of shell
> > features be available
> > to these specially integrated commands?
>
>That is the design goal, should such a project be attempted by me.
>
> > Will you be able to
> > pipe into and
> > out of them?
>
>Yes.
>
> > Will they work within parentheses?
>
>Yes.
>
> > In
> > procedures?
>
>Yes.
>
> > Will you
> > allow all shell features (pipes, say) are applied to
> > arbitrary combinations
> > of conventional and integrated commands?
>
>Yes.
>
>Before you think I've got plans to big for my boots, consider that if we 
>leverage an existing shell, all those feature work out-of-process now. 
>proxying each feature into a library-capable equivalent one at a time 
>would allow a serious fallback mechanism for any functionality gaps.
>
> > In your example of a `backquote command` (which I prefer to
> > invoke via $( ... ) using BASH)
>
>Not being a shell afficiondo, I'm happy to be educated: what is the key 
>difference between `...` and $(...)?

Same functionality, but $( ) constructs nest.


> > you'd be exposed to any unintended
> > side-effects within
> > the backquote command. Side-effects like file descriptor alterations,
> > changes in signal dispositions, receipt of signals or
> > exceptions (expected
> > or the result of a programming error).
>
>Well that's the point of the 'push_context' pseudo command, to save all 
>that information, and then restore it. It may need some 'OS' co-operation 
>to fully achieve that - ie stdin being kept intact (although I imagine 
>that the librarised commands would be given a virtual stdin, as they are 
>sub process's after all) -  but we have the source so

How will your magical push_context protect from wild pointer references, e.g.?


> > The beauty of the fork/exec model with entirely separated
> > programs _is_
> > their self-containedness and the complete independence and
> > isolation each
> > of the programs gets from each other and from the program(s)
> > that invoke
> > them.
>
>The fork()/exec() model bites. Sorry, but it does. fork() based servers 
>for instance run into the galloping herd - and scale very badly. The other 
>use for fork -the fork/exec combination is better achieved with spawn() 
>which is designed to do just that one job well. It also happens to work 
>very well on cygwin, and I see no reason to change that. So spawned apps 
>will remain completely separated and independent.

Servers are not shells. Why should they fork at all? That's what threads 
are for. It's also why CGI (without something like mod_perl) is not a good 
thing and the Java server model has significant advantages.

Are you planning on incorporating your scheme into every program that runs 
sub-processes on a regular basis? How likely is it that what works in one 
shell will work in another or in a server?

I don't know the details of spawn(). How does it accomplish I/O redirection?


> > It is also nice in that it is a very simple programming
> > model for commands, both built-in and end-user-supplied, that run
> > within it.
>
>I don't see how this idea detracts from that. Do you think that the 
>presence of a librarised 'ls' command (for instance) will prevent the user 
>adding perl to their system? Or replacing ls? Either scenario is abhorrent 
>to me.

Obviously if you add something, the old stuff isn't (necessarily) lost. I'm 
just saying that the fork/exec process model is simple, elegant, available, 
universal and fully functional in all POSIX systems. Your model is a horse 
of another color and any given command that would avail itself of the 
supposed benefits of your scheme mu

Re: Anonymous ftp on 1.3.9

2002-03-20 Thread Pavel Tsekov

Hello Andrew,

Wednesday, March 20, 2002, 2:38:01 AM, you wrote:

AD> I had set up anonymous ftp before and it was working find (probably 
AD> around 1.3.6). Now on 1.3.9 it doesn't seem to be working right. I've

What exactly isn't working ?

[snip]

AD> ftpd : Win32 Process Id = 0x998 : Cygwin Process Id = 0xA78 : fcntl
AD> F_SETOWN: Invalid argument.

Search the mail list archives - it's all there.

AD> It's this F_SETOWN fcntl call that concerns me. Anybody have anonymous

I think not, but again you don't say what isn't working.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: new cygwin setup, great!

2002-03-20 Thread Pavel Tsekov

Hello dave,

Wednesday, March 20, 2002, 4:13:20 AM, you wrote:

d> Hello,
d> I just installed the latest cygwin using the new setup program and from
d> an accessability standpoint it's great, all the graphics and icons have a
d> textual description or the plus signs are signs not bmp files.
d> My problem is i still can't run it, if anyone is using it on win2k what
d> program do you have opening the cygwin batch file?

Do you have the bash package installed ? all cygwin.bat does is start
a bash shell (bash.exe).


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: OT: possible project/research project

2002-03-20 Thread Robert Collins

Randall,
responses inline..

> -Original Message-
> From: Randall R Schulz [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, March 20, 2002 7:34 PM

> >Well we still have that basic separate - bash's builtin's 
> for example. 
> >If
> >it's not builtin, it needs a sub process.
> 
> That's not quite right. Built-ins still need sub-processes if 
> they're going 
> to operate in a pipeline or are enclosed within parentheses.

Ok. So if it's not builtin, or it's a builtin that needs to be
pipelined/parentisised it requires a sub-process. That sounds like
something that a patch to the relevant shell might provide some easy
wins.
 
> >sub process's after all) -  but we have the source so
> 
> How will your magical push_context protect from wild pointer 
> references, e.g.?

If that becomes a problem, I'd suggest that dll's get loaded on page
boundaries and we protect the non-permitted address space with
read-only, and install an exception handler that unprotects and restores
context. It may be that handling that is not worth the development time
- so reliability could be an issue.  
 
> >The fork()/exec() model bites. Sorry, but it does. fork() 
> based servers
> >for instance run into the galloping herd - and scale very 
> badly. The other 
> >use for fork -the fork/exec combination is better achieved 
> with spawn() 
> >which is designed to do just that one job well. It also 
> happens to work 
> >very well on cygwin, and I see no reason to change that. So 
> spawned apps 
> >will remain completely separated and independent.
> 
> Servers are not shells. Why should they fork at all? That's 
> what threads 
> are for. It's also why CGI (without something like mod_perl) 
> is not a good 
> thing and the Java server model has significant advantages.

Exactly... my point is that the fork/exec model has no innate use.
vfork/execve does - which is what spawn (look under posix_spawn() for
the offical spawn these days) accomplishes.
 
> Are you planning on incorporating your scheme into every 
> program that runs 
> sub-processes on a regular basis? How likely is it that what 
> works in one 
> shell will work in another or in a server?

No. I'm not trying to create a new operating environment, I'm trying to
address a common-case issue. If I can get certain configure scripts to
run in under 30 minutes on my machine here, I'd be very happy. As for
portability to different shells, or even to servers, I'd suggest that
keeping the API very simply and clean - much like the sub process model
is simple and clean would encourage such re-use.
 
> I don't know the details of spawn(). How does it accomplish 
> I/O redirection?

int posix_spawn(pid_t *restrict pid, const char *restrict path,
const posix_spawn_file_actions_t *file_actions,
const posix_spawnattr_t *restrict attrp,
char *const argv[restrict], char *const envp[restrict]);

Is the prototype. If file_actions is null, the the new process gets a
copy of the parents fd table. If it's not null, then it provides the fd
table for the new process.

> Obviously if you add something, the old stuff isn't 
> (necessarily) lost. I'm 
> just saying that the fork/exec process model is simple, 
> elegant, available, 
> universal and fully functional in all POSIX systems. Your 
> model is a horse 
> of another color and any given command that would avail itself of the 
> supposed benefits of your scheme must be recast into a library that 
> conforms to the requirements of your embedded task model.

Yes. Which is a significant impediment right from the word go. Which
should go some way to explaining my ambivalence on this idea. However
the building blocks to use this model are present and functional on all
POSIX systems, so there's no reason to assume we couldn't 'make it
work'.

> It doesn't prevent it, but to avail ones self of the putative 
> benefits of 
> your proposed scheme, a significantly different programming 
> model has to be 
> learned and used. All for what? A tiny incremental 
> improvement in program 
> start-up times on a single platform and one or two 
> pre-ordained shells?

Huh? That's an assumption. I'd hope I could achieve librarisation as
simply as casting main to lib_main, and providing link time replacements
for exit() and _exit() and fatal(). Then the real-binary doesn't use
those link time replacements.
 
> How much time do they save? That's for you to claim and 
> substantiate. I'm 
> not trying to justify or validate your project, I'm trying to 
> repudiate it.

I can tell. I'm not trying to defend it, as that assumes that it is
defendable. I'm discussing it in a neutral (ish) light, I hope. I am
trying to provide responses to the specific points you make as part of
that discussion.
 
> But consider this: By the time you complete this task, the 
> upward march of 
> system speeds (CPU and I/O) will probably have done more to improve 
> elapsed-time performance of command invocation than your 
> improvements are 
> going to achieve.

Straw poll, who

RE: OT: possible project/research project

2002-03-20 Thread Stephano Mariani

I would certainly agree with you about that, but the fact remains, a lot
of code, that cygwin exists to ease the porting of, uses it. If the work
was done on fork itself, it would help speed-up a lot more that just
configure (or similar) scripts.

Stephano Mariani

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf
> Of Gary R. Van Sickle
> Sent: Wednesday, 20 March 2002 2:52 AM
> To: [EMAIL PROTECTED]
> Subject: RE: OT: possible project/research project
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf
> > Of Stephano Mariani
> > Sent: Tuesday, March 19, 2002 7:34 PM
> > To: 'Randall R Schulz'; 'Robert Collins'; [EMAIL PROTECTED]
> > Subject: RE: OT: possible project/research project
> >
> >
> > I am no cygwin expert, or windows expert, but isn't the effort
better
> > spent getting the cygwin fork/vfork to work faster?
> >
> > Stephano Mariani
> >
> > PS: Please do not fry me if this is a stupid suggestion or not
possible
> > because of an obvious flaw, I simply fail to see why the source of
the
> > problem is not being targeted.
> >
> 
> I don't see it that the source of the problem is the implementation of
> fork/vfork; the way I see it the very *concept* of forking makes
little to
> no
> sense.  I've written a lot of code, and not once have I thought to
myself,
> "ok,
> now what I want to do here is duplicate the current process in almost
> exactly
> its current state."  Maybe it made more sense back in the day, or
maybe
> I'm
> missing something, but it seems to me there's a lot more efficient
ways to
> do
> multithreading/multi"process"ing/IPC/etc (or better yet avoid them
> altogether)
> these days.
> 
> --
> Gary R. Van Sickle
> Brewer.  Patriot.
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




cygwin install problems

2002-03-20 Thread Bill Smith

The new program (setup.exe vs. 2.194.2.15) looks great, but apparently in
the process to download file setup.ini, though all motions look successful,
the file is not stored to disk.  After downloading the file, the setup.exe
program apparently attempts to open/read the file and the following errors
are announced in a window entitled "Parse Errors".

setup.ini line 684: parse error, unexpected $undefined, expecting $
setup.ini line 684: unrecognized line in setup.ini headers (do you have the
latest setup?)
(above line is repeated 10 times, then similar lines are printed for 685,
686, 687, 688.)

Retries produce appended error messages with greatly increased values of
line numbers.
Note, this error message was also received from the previous version of
setup.exe.  Use of an old version (setup.exe 2.57) successfully downloaded
setup.ini but of course issued the "newer version of setup.exe is available"
error message.  However, the current version of setup.exe could not locate
the .ini file on this system.

The system is a Pentium 166 with 8gb disk, is partitioned into drives C-J.
Memory 64MB.  Windows 98 1st.ed.  Cygwin has been running without incident.

The setup.log produced by (setup.exe 2.194.2.15) is attached.

Thank you.

Sincerely,

Bill Smith
[EMAIL PROTECTED]




setup.log.full
Description: Binary data

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


RE: cygwin install problems

2002-03-20 Thread Robert Collins



> -Original Message-
> From: Bill Smith [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, March 20, 2002 8:44 PM
> To: [EMAIL PROTECTED]
> Subject: cygwin install problems
> 
> 
> The new program (setup.exe vs. 2.194.2.15) looks great, but 
> apparently in the process to download file setup.ini, though 
> all motions look successful, the file is not stored to disk.  
> After downloading the file, the setup.exe program apparently 
> attempts to open/read the file and the following errors are 
> announced in a window entitled "Parse Errors".

There was a corrupt setup.hint on the main server. Give it 30-40
minutes, and try again.

Cheers,
Rob

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Telneting/ftping to cygwin

2002-03-20 Thread David Starks-Browning

On Tuesday 19 Mar 02, Corinna Vinschen writes:
> > I've made several superstitious changes to /etc/passwd, /etc/group,
> > but the bottom line is I can now login (telnet and ssh) only with
> > ntsec set.  If I disable ntsec, I get the usual:
> > 
> > System Process - Application Error : The application failed to
> > initialize properly (0xc022).  Click on OK to terminate
> > the application.
> > 
> > But only with a domain account.  If I login to a local account, it
> > succeeds, even without ntsec.
> 
> Both accounts are correct in /etc/passwd?
> The primary groups of the accounts are both in /etc/group?

Yes and yes.  AFAICT.  Certainly enough so that it works with ntsec.

I don't know if it's related, but I notice some differences with "id",
depending on whether ntsec is on or off, when I login, via the NT
console, to my domain user account.

Here are excerpts from my /etc/passwd and /etc/group files:

/etc/group
~~
Everyone:S-1-1-0:0:
None:S-1-5-21-2063797194-1668831906-355810188-513:513:
Users:S-1-5-32-545:545:
Domain Users:S-1-5-21-1516261886-1165125591-538272213-513:10513:

/etc/passwd
~~~
starksb::11024:10513:David 
Starks-Browning,U-EBI\starksb,S-1-5-21-1516261886-1165125591-538272213-1024:/d/starksb:/bin/bash
BRYCE\starksb::1004:513:David Starks-Browning (Local 
Administrator),S-1-5-21-2063797194-1668831906-355810188-1004:/d/starksb:/bin/bash

(The entries were created very long ago, but I added 10K manually to
the domain uid & gid to match the latest output of mkpasswd.)

When I login as EBI\starksb via the NT console, "id" reports
differently depending on the value of ntsec:

ntsec on

uid=11024(starksb) gid=10513(Domain Users) groups=0(Everyone),545(Users),10513(Domain 
Users)

ntsec off
~
uid=11024(starksb) gid=10513(Domain Users) groups=10513(Domain Users)

When ntsec is off, "id" does not report membership in the local groups
Users and Everyone.  Again, I have no idea whether this is relevant,
but I thought I would report it.

Hope this is useful.

Regards,
David



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: copying and pasting in rxvt

2002-03-20 Thread "Schaible, Jörg"

Hi Randall,

>Here's what I did: I used "od -c" to determine what are the actual 
>sequences generated by the keys I cared to map and then wrote 
>a .inputrc 
>file based on that.

ahh, this was the missing step. I never knew, what key code sequences could
be used to assign a function at the key combination I wanted to.

:)

Thanks,
Jörg

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




New package: keychain-1.8-1 available for test

2002-03-20 Thread Hack Kampbjørn

TEST RELEASE.  PLEASE test that this new package works as expected and
doesn't break anything. Report eventual problems back to the list.


DESCRIPTION:
Keychain is an OpenSSH key manager, typically run from
~/.bash_profile. When run, it will make sure ssh-agent is running; if
not, it will start ssh-agent. It will redirect ssh-agent's output to
~/.ssh-agent, so that cron jobs that need to use ssh-agent keys can
simply source this file and make the necessary passwordless ssh
connections. In addition, when keychain runs, it will check with
ssh-agent and make sure that the ssh RSA/DSA keys that you specified on
the keychain command line have actually been added to ssh-agent. If not,
you are prompted for the appropriate passphrases so that they can be
added by keychain.


INSTALLATION:
To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

Note that we do not allow downloads from sources.redhat.com (aka
cygwin.com) due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.

In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ is a
reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is
usually pretty good.

In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date

If one of the above doesn't have the latest version of this package then
you can either wait for the site to be updated or find another mirror.

The setup.exe program will figure out what needs to be updated on your
system and will install newer packages automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate if you would
use this mailing list rather than mailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

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

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]


-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Debian on Cygwin

2002-03-20 Thread Lapo Luchini

> package and automatically install the necessary dependencies is run `apt-get

It doesn't work automatically, it needs people creating and updating packages.
And as setup.exe cannot be avoided (dpkg would be a cygwin package itself and
would need an "already installed" system) thereis no big gain in having another
package management system.
Moreover also setup.exe has the functionality to keep system up-to-date...

--
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: RFP: NASM

2002-03-20 Thread Lapo Luchini

> *shrug* they have a forum - the version compiles with cygwin without a
> hitch... most recent is 0.98.22 (I'm pretty sure)

I see they're distributing a .tar.gz with some cygwin utility (cvs.exe,
cyggdbm.dll, cygwin1.dll, cygz.dll, ssh*.exe; of course withour sources) so
they indeed know of cygwin existence, but of course they didn't suppose that
being an "official package" was so easy... I think the best think is to
contact them to ask if they want to mantain NASM package themself and
moreover politely pointing out that they should point to the setup instead
of having a tarball with some utilities packaged...
who volunteers? 0=)

--
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Cannot Undock XP Laptop

2002-03-20 Thread Wil Hunt

Howdy...

I've installed cygwin (with all current packages, actually) and now my
XP laptop will not undock.  The error is that a process in still using the
COM port, so I presume that there is some process monitoring the COM port
for hard-line telnet sessions or something.  Does anyone know which process
I need to knock out and how I can prevent it from being run automagically?

Any help and suggestions would be greatly appreciated.

Wil

Please send a copy of any responses to [EMAIL PROTECTED]





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: RFP: NASM

2002-03-20 Thread Robert Collins



> -Original Message-
> From: Lapo Luchini [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, March 20, 2002 10:01 PM
> To: CygWin
> Subject: Re: RFP: NASM
> 
> 
> > *shrug* they have a forum - the version compiles with 
> cygwin without a 
> > hitch... most recent is 0.98.22 (I'm pretty sure)
> 
> I see they're distributing a .tar.gz with some cygwin utility 
> (cvs.exe, cyggdbm.dll, cygwin1.dll, cygz.dll, ssh*.exe; of 
> course withour sources) so they indeed know of cygwin 
> existence, but of course they didn't suppose that being an 
> "official package" was so easy... I think the best think is 
> to contact them to ask if they want to mantain NASM package 
> themself and moreover politely pointing out that they should 
> point to the setup instead of having a tarball with some 
> utilities packaged... who volunteers? 0=)

I think you just did :}.

ROb

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: RFP: NASM

2002-03-20 Thread Lapo Luchini

> > utilities packaged... who volunteers? 0=)
> I think you just did :}.

Uh, I didn't realize it.. but your experience in dealing with people far
exceedes my own so you must be right.
I'll do it.

--
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




NASM as a CygWin package?

2002-03-20 Thread Lapo Luchini

Hi!
Wouln't be convenient to have a NASM package directly installable (ni
binary and in source) from Cygwin's setup.exe?
I would surely be useful for people that uses CygWin, which I think
includes some of NASM developers, judging from the
cvs-ssh-win32-cygwin.tar.gz file in your download page.
This (not so) occult advertisiment just want to let you know of the
possibility: you just have to package it in a "uniform" way, like
installing in /usr instead of /usr/local... see
http://cygwin.com/setup.html for full info. and, of course, every
package needs a "mantainer" to avoid packages being orphaned and left
with old versions around, and who better that the current developers?
(well of course the mantainer just needs to create the package so can be
pretty anyone if the program compiles OOTB like NASM does).

C ya
Lapo

BTW: regarding that cvs-ssh-win32-cygwin.tar.gz file, IANAL but
regularly reading the cygwin mailing list I happen to have read that
distributing binaries without sources technically violates the GPL, as
the uses isn't gived the right to recreate it from sources

--
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Emacs for cygwin?

2002-03-20 Thread Robert Mark Bram

Hi all!

I just visited the archives and cygwin.com and could not get any positive
hit, but this seems like such an important utility. Is it true there is no
emacs for Cygwin?

Thanks!

Rob

:)
:-}
;->


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: postgresql: getting it to work (?)

2002-03-20 Thread Jason Tishler

Neil,

On Tue, Mar 19, 2002 at 08:12:42PM -0330, Neil Zanella wrote:
> I have the lastest cygwin with postgresql installed.
> It seems like there is no $PGDATA directory. Anyone
> know how to properly start the postmaster so that
> the psql utility works properly:
> 
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socked "/tmp/.s.PGSQL.5432"?

Did you read the README?

http://www.tishler.net/jason/software/postgresql/postgresql-7.2.README.txt

Jason

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Emacs for cygwin?

2002-03-20 Thread Robert Mark Bram

I take that back - I have found references to Emacs, but can anyone point me
in the right direction for a download site (hopefully with a few
instructions)?

Thanks!

Rob

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Robert Mark Bram
Sent: Wednesday, 20 March 2002 11:49 PM
To: Cygwin
Subject: Emacs for cygwin?


Hi all!

I just visited the archives and cygwin.com and could not get any positive
hit, but this seems like such an important utility. Is it true there is no
emacs for Cygwin?

Thanks!

Rob

:)
:-}
;->


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: New Setup.exe

2002-03-20 Thread Prentis Brooks

Hrmmm... 

-rw-rw-rw-1 prentis  Domain A 5060 Mar 18 19:23 bcs_1.4.tar.bz2
@ bcs
sdesc: "Baseline Configuration System, Internet Services"
category: Base
requires: cygwin bash openssh binutils
version: 1.4
install: latest/bcs/bcs_1.4.tar.bz2 5060


-rwxrwxrwx1 Administ Domain U48890 Jul 30  2001
tcp_wrappers_7.6.tar.bz2
@ tcp_wrappers
sdesc: "TCP Wrappers, Tool to provide host based access restrictions in
tcp services"
category: Base Net
requires: cygwin
version: 7.6
install: latest/tcp_wrappers/tcp_wrappers_7.6.tar.bz2 48890

Ok, double checked and they are the same.  To give more information, I
am performing an "Install from Local Directory", the modified setup.ini
is "F:\Installs\cygwin\setup.ini" and the local package directory is
specified as "F:\Installs\cygwin".

Top of ini file contains the following:
# This file is automatically generated.  If you edit it, your
# edits will be discarded next time the file is generated.
# See http://cygwin.com/setup.html for details.
#
setup-timestamp: 1015516818
setup-version: 2.125.2.10

I am boggled, not sure what the new setup is filtering upon that the old
did not.  If there is anything else that changed, that we can look at,
let me know and I will send that info.

On Wed, 20 Mar 2002, Robert Collins wrote:

> 
> 
> > -Original Message-
> > From: Prentis Brooks [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, March 20, 2002 5:50 AM
> 
> > Neither of these install under the new setup, nor do they 
> > appear in any of the lists, ideas?  Previous setup still 
> > works with this.
> 
> Is the size exactly right? The new setup.exe cross references the local
> ini against the present files...
> 
> Rob
> 

-- 
Prentis Brooks  | [EMAIL PROTECTED] | 703-265-0914 | AIM: PrentisBrooks
Senior System Administrator - Web Infrastructure & Security

   A knight is sworn to valor.  His heart knows only virtue.  His blade
   defends the helpless.  His word speaks only truth.  His wrath undoes
   the wicked. - the old code of Bowen, last of the dragonslayers


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Emacs for cygwin?

2002-03-20 Thread David Starks-Browning

On Thursday 21 Mar 02, Robert Mark Bram writes:
> I take that back - I have found references to Emacs, but can anyone point me
> in the right direction for a download site (hopefully with a few
> instructions)?

Since GNU Emacs is not a Cygwin application, such a query is off-topic
for this list.  I refer you to .

XEmacs, on the other hand, *is* ported to Cygwin, but likewise I refer
you to .

This will be in the FAQ soon.

Regards,
David


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Long duration of close(socket) and signal problem

2002-03-20 Thread Ralf Habacker

> > To my great surprise, the close(socket) operation
> > took EXTREMELY long. It
> > took 0.11 second (CPU usage was low), while this
> > operation under MinGW 1.1
> > on the same machine took only 0.00019 second. On
> > another Linux machine,
> > close took 0.43 second.
> >
A solution may be in calling shutdown() if not called before
by the application before calling closesocket().

I have tried like this with success.

-- without shutdown() 

accept: 0.00
recv:   0.02
send:   0.69
shutdown: 0.00
close:  0.328966

-- with shutdown(s,SHUT_WR) 

accept: 0.00
recv:   0.012169
send:   0.89
shutdown: 0.000112
close:  0.000105

Question: Does adding shutdown make the following code
obsolate ? (I have assumed so in my appended patch)

fhandler_socket::close()

---old---
  /* HACK to allow a graceful shutdown even if shutdown()
hasn't been
 called by the application. Note that this isn't the
ultimate
 solution but it helps in many cases. */
  struct linger linger;
  linger.l_onoff = 1;
  linger.l_linger = 240; /* seconds. default 2MSL value
according to MSDN. */
  setsockopt (get_socket (), SOL_SOCKET, SO_LINGER,
  (const char *)&linger, sizeof linger);
--new
 if (!saw_shutdown_read () && !saw_shutdown_write ())
shutdown(get_socket (),SD_BOTH);
-

Any comments to this ?  What about win95 and other os. Could
there be any problems ?

Regards
Ralf




shutdown.patch
Description: Binary data


shutdown.ChangeLog
Description: Binary data

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Setup.exe repeats downloads

2002-03-20 Thread Cliff Hones

The new (2.194.2.15) setup.exe is not behaving as I would
expect.  In brief, it re-downloads the same
packages each time it is run.  Details below.
Am I misunderstanding or is this a bug?

Environment:
NT4SP6a with fresh Cygwin install made on 15th March (with
previous setup.exe).  This install was done in two
stages - download from internet then install from local
directory.  Several optional packages were selected, and
latest (non-Exp) versions were selected for each package.

Actions:

1)
In "Download from Internet" mode, I change the view to "Full",
and Setup offers to download several updated packages.  The
selection seems fine - they correspond with recent package
update announcements since 15th March.  I don't make any changes,
to the offered selections, click Next, and the download proceeds.
Examining the results all looks ok - the new packages and new
setup.ini have been added under a new directory corresponding to
the mirror I chose (programming.ccp14.ac.uk).  The directory name
is a horror
(http%3a%2fprogramming.ccp14.ac.uk%2fftp-mirror%2f
 programming%2fcygwin%2fpub%2fcygwin)
but no matter.

2)
I repeat (1) as before.  Same settings and same mirror.
I am expecting that it will notice the downloads just done,
and offer no further updates.  But it offers exactly the same
set (reporting that I still have the earlier versions), and downloads
them again (to the same subdirectory).

3)
I now try to install from my local directory, but setup.exe
reports "This setup.ini is older than the one you used last
time you installed Cygwin.  Proceed anyway?"  Being cautious,
I say No, and check the setup.ini files.  I find the one from
my original download in the top-level directory dated 15 March
with setup-timestamp: 1016041807 setup-version: 2.125.2.10,
and the new one in the mirror subdirectory dated 20 March
with setup-timestamp: 1016560222 setup-version: 2.194.2.15.
Again this all looks ok, so why the complaint?  I tried
renaming the older setup.ini but this had no effect.

Here are excerpts from setup.log.  I'll send the whole
setup.log and setup.log.full, provide more details and/or
investigate further myself if this would be useful.

2002/03/20 13:12:33 Starting cygwin install, version 2.194.2.15
2002/03/20 13:12:33 Current Directory: F:\Download\Cygwin
2002/03/20 13:12:33 Command line parameters
2002/03/20 13:12:33 0 - 'F:\Download\Cygwin\setup.exe'
2002/03/20 13:12:33 1 parameters passed
2002/03/20 13:12:47 source: download
2002/03/20 13:12:49 Selected local directory: F:\Download\Cygwin
2002/03/20 13:12:50 net: Direct
2002/03/20 13:13:07 site:
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin
2002/03/20 13:13:28 Downloaded
F:\Download\Cygwin/http%3a%2f%2fprogramming.ccp14.ac.uk%2fftp-mirror%2fprogrammi
ng%2fcygwin%2fpub%2fcygwin/latest/autoconf/autoconf-2.53-1.tar.bz2
2002/03/20 13:13:38 Downloaded
F:\Download\Cygwin/http%3a%2f%2fprogramming.ccp14.ac.uk%2fftp-mirror%2fprogrammi
ng%2fcygwin%2fpub%2fcygwin/latest/automake/automake-devel/automake-devel-1.5-5.t
ar.bz2
2002/03/20 13:13:55 Downloaded
F:\Download\Cygwin/http%3a%2f%2fprogramming.ccp14.ac.uk%2fftp-mirror%2fprogrammi
ng%2fcygwin%2fpub%2fcygwin/contrib/curl/curl-7.9.5-1.tar.bz2
2002/03/20 13:13:58 Downloaded
F:\Download\Cygwin/http%3a%2f%2fprogramming.ccp14.ac.uk%2fftp-mirror%2fprogrammi
ng%2fcygwin%2fpub%2fcygwin/contrib/cygutils/cygutils-1.0.0-1.tar.bz2
2002/03/20 13:13:59 Downloaded
F:\Download\Cygwin/http%3a%2f%2fprogramming.ccp14.ac.uk%2fftp-mirror%2fprogrammi
ng%2fcygwin%2fpub%2fcygwin/contrib/popt/popt-1.6.2-1.tar.bz2
2002/03/20 13:14:03 Downloaded
F:\Download\Cygwin/http%3a%2f%2fprogramming.ccp14.ac.uk%2fftp-mirror%2fprogrammi
ng%2fcygwin%2fpub%2fcygwin/contrib/rsync/rsync-2.5.4-1.tar.bz2
2002/03/20 13:14:03 mbox note: Download Complete
2002/03/20 13:14:08 Ending cygwin install
2002/03/20 13:16:38 Starting cygwin install, version 2.194.2.15
2002/03/20 13:16:38 Current Directory: F:\Download\Cygwin
2002/03/20 13:16:38 Command line parameters
2002/03/20 13:16:38 0 - 'F:\Download\Cygwin\setup.exe'
2002/03/20 13:16:38 1 parameters passed
2002/03/20 13:16:44 source: download
2002/03/20 13:16:48 Selected local directory: F:\Download\Cygwin
2002/03/20 13:16:49 net: Direct
2002/03/20 13:16:52 site:
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin
2002/03/20 13:17:07 Downloaded
F:\Download\Cygwin/http%3a%2f%2fprogramming.ccp14.ac.uk%2fftp-mirror%2fprogrammi
ng%2fcygwin%2fpub%2fcygwin/latest/autoconf/autoconf-2.53-1.tar.bz2
2002/03/20 13:17:17 Downloaded
F:\Download\Cygwin/http%3a%2f%2fprogramming.ccp14.ac.uk%2fftp-mirror%2fprogrammi
ng%2fcygwin%2fpub%2fcygwin/latest/automake/automake-devel/automake-devel-1.5-5.t
ar.bz2
2002/03/20 13:17:41 Downloaded
F:\Download\Cygwin/http%3a%2f%2fprogramming.ccp14.ac.uk%2fftp-mirror%2fprogrammi
ng%2fcygwin%2fpub%2fcygwin/contrib/curl/curl-7.9.5-1.tar.bz2
2002/03/20 13:17:47 Downloaded
F:\Download\Cygwin/http%3a%2f%2fprogramming.ccp14.ac.uk%2fftp-mirror%2fprogrammi

Re: Cygwin on Win 2000

2002-03-20 Thread Jason Tishler

Stephano,

On Tue, Mar 19, 2002 at 09:12:48PM -, Stephano Mariani wrote:
> Windows 2000 has no command.com.

Sure it does:

$ ls -l c:/WINNT/system32/command.com 
-rwxrwxr-x1 Administ SYSTEM  50620 Jul 26  2000 
c:/WINNT/system32/command.com

Whether or not someone would want to use it on Windows 2000 is another
issue.

Jason

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: new cygwin setup, great!

2002-03-20 Thread dave

Hi,
Yes i do have bash installed.
Dave.

- Original Message -
From: "Pavel Tsekov" <[EMAIL PROTECTED]>
To: "dave" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 3:53 AM
Subject: Re: new cygwin setup, great!


> Hello dave,
>
> Wednesday, March 20, 2002, 4:13:20 AM, you wrote:
>
> d> Hello,
> d> I just installed the latest cygwin using the new setup program and
from
> d> an accessability standpoint it's great, all the graphics and icons have
a
> d> textual description or the plus signs are signs not bmp files.
> d> My problem is i still can't run it, if anyone is using it on win2k
what
> d> program do you have opening the cygwin batch file?
>
> Do you have the bash package installed ? all cygwin.bat does is start
> a bash shell (bash.exe).
>
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Cygwin on Win 2000

2002-03-20 Thread Stephano Mariani

Strange... I do not seem to have that file (I checked three machines,
win2k Pro SP2, Win2k Pro SP1, WinXP Pro).

Stephano Mariani

> -Original Message-
> From: Jason Tishler [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 20 March 2002 2:27 PM
> To: Stephano Mariani
> Cc: 'Anthony P Praino'; [EMAIL PROTECTED]
> Subject: Re: Cygwin on Win 2000
> 
> Stephano,
> 
> On Tue, Mar 19, 2002 at 09:12:48PM -, Stephano Mariani wrote:
> > Windows 2000 has no command.com.
> 
> Sure it does:
> 
> $ ls -l c:/WINNT/system32/command.com
> -rwxrwxr-x1 Administ SYSTEM  50620 Jul 26  2000
> c:/WINNT/system32/command.com
> 
> Whether or not someone would want to use it on Windows 2000 is another
> issue.
> 
> Jason



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: new cygwin setup, great!

2002-03-20 Thread Andrew Markebo

/ "dave" <[EMAIL PROTECTED]> wrote:
| Hi,
| Yes i do have bash installed.

Where what and how is bash installed??

So what is your definition of 'run it', what do you do to try to run
it, and what happens then??

/Andy


-- 
 The eye of the beholder rests on the beauty!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin on Win 2000

2002-03-20 Thread Andrew Markebo

/ "Stephano Mariani" <[EMAIL PROTECTED]> wrote:
| Strange... I do not seem to have that file (I checked three machines,
| win2k Pro SP2, Win2k Pro SP1, WinXP Pro).

Can be found on my Win2k Pro SP2, ahh well maybe something depending
on your shoesize or something, definetly nothing for cygwin ;-)

/Andy

-- 
 The eye of the beholder rests on the beauty!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Cygwin on Win 2000

2002-03-20 Thread Stephano Mariani

I am quite interested to figure out why... did you install your win2k
over an existing windows version or was it a clean install?

Mine was a clean install in each case with only the service packs and
some patches being added.

Thanks,
Stephano Mariani

> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
> On Behalf Of Andrew Markebo
> Sent: Wednesday, 20 March 2002 3:37 PM
> To: Stephano Mariani
> Cc: 'Jason Tishler'; 'Anthony P Praino'; [EMAIL PROTECTED]
> Subject: Re: Cygwin on Win 2000
> 
> / "Stephano Mariani" <[EMAIL PROTECTED]> wrote:
> | Strange... I do not seem to have that file (I checked three
machines,
> | win2k Pro SP2, Win2k Pro SP1, WinXP Pro).
> 
> Can be found on my Win2k Pro SP2, ahh well maybe something depending
> on your shoesize or something, definetly nothing for cygwin ;-)
> 
> /Andy
> 
> --
>  The eye of the beholder rests on the beauty!



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: OT: possible project/research project

2002-03-20 Thread Randall R Schulz

Rob,

More...


At 01:33 2002-03-20, Robert Collins wrote:
>Randall,
>responses inline..
>
> > -Original Message-
> > From: Randall R Schulz [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, March 20, 2002 7:34 PM
>
> > >Well we still have that basic separate - bash's builtin's
> > for example.
> > >If
> > >it's not builtin, it needs a sub process.
> >
> > That's not quite right. Built-ins still need sub-processes if
> > they're going
> > to operate in a pipeline or are enclosed within parentheses.
>
>Ok. So if it's not builtin, or it's a builtin that needs to be
>pipelined/parentisised it requires a sub-process. That sounds like
>something that a patch to the relevant shell might provide some easy
>wins.

Eh? What's to be patched? The shell built-ins already do this. They 
wouldn't work if they didn't.


> > >sub process's after all) -  but we have the source so
> >
> > How will your magical push_context protect from wild pointer
> > references, e.g.?
>
>If that becomes a problem, I'd suggest that dll's get loaded on page
>boundaries and we protect the non-permitted address space with
>read-only, and install an exception handler that unprotects and restores
>context. It may be that handling that is not worth the development time
>- so reliability could be an issue.

The Win32 API allows read/write protections to be altered dynamically 
within a process?

This alone will require operating on many, probably a majority of the 
process's page table entries, which is going to start to cost something 
like as much as a vfork or copy-on-write fork.


> > >The fork()/exec() model bites. Sorry, but it does. fork()
> > based servers
> > >for instance run into the galloping herd - and scale very
> > badly. The other
> > >use for fork -the fork/exec combination is better achieved
> > with spawn()
> > >which is designed to do just that one job well. It also
> > happens to work
> > >very well on cygwin, and I see no reason to change that. So
> > spawned apps
> > >will remain completely separated and independent.
> >
> > Servers are not shells. Why should they fork at all? That's
> > what threads
> > are for. It's also why CGI (without something like mod_perl)
> > is not a good
> > thing and the Java server model has significant advantages.
>
>Exactly... my point is that the fork/exec model has no innate use.
>vfork/execve does - which is what spawn (look under posix_spawn() for
>the offical spawn these days) accomplishes.

Vfork() is a hack that goes back to the first BSD ports of Unix to the Vax. 
The proper way to do it is transparently, with copy-on-write in the fork() 
call.


> > Are you planning on incorporating your scheme into every
> > program that runs
> > sub-processes on a regular basis? How likely is it that what
> > works in one
> > shell will work in another or in a server?
>
>No. I'm not trying to create a new operating environment, I'm trying to
>address a common-case issue. If I can get certain configure scripts to
>run in under 30 minutes on my machine here, I'd be very happy. As for
>portability to different shells, or even to servers, I'd suggest that
>keeping the API very simply and clean - much like the sub process model
>is simple and clean would encourage such re-use.

So have you profiled the code to know how much of the time in build goes 
into forking? If you lowered the cost to zero, how much would you save?

You're just not going to get simpler and cleaner than the fork/exec model! 
Likewise for encouraging re-use.


> > I don't know the details of spawn(). How does it accomplish
> > I/O redirection?
>
>int posix_spawn(pid_t *restrict pid, const char *restrict path,
>const posix_spawn_file_actions_t *file_actions,
>const posix_spawnattr_t *restrict attrp,
>char *const argv[restrict], char *const envp[restrict]);
>
>Is the prototype. If file_actions is null, the the new process gets a
>copy of the parents fd table. If it's not null, then it provides the fd
>table for the new process.
>
> > Obviously if you add something, the old stuff isn't
> > (necessarily) lost. I'm
> > just saying that the fork/exec process model is simple,
> > elegant, available,
> > universal and fully functional in all POSIX systems. Your
> > model is a horse
> > of another color and any given command that would avail itself of the
> > supposed benefits of your scheme must be recast into a library that
> > conforms to the requirements of your embedded task model.
>
>Yes. Which is a significant impediment right from the word go. Which
>should go some way to explaining my ambivalence on this idea. However
>the building blocks to use this model are present and functional on all
>POSIX systems, so there's no reason to assume we couldn't 'make it
>work'.

What are these "building blocks?"

Let me be clear. I think this probably _can_ be done (it's a SMOP, after 
all), but that it shouldn't be done because it's not worth doing in from 
the perspective of a rational, complete and accurate cost / benefit 
analysis,

PostgreSQL-7.2 still marked test?

2002-03-20 Thread Rick Rankin

Just out of curiosity, what's keeping PostgreSQL marked as test? I was under
the impression that the primary issue was a problem in the Cygwin 1.3.9 DLL
that was fixed in 1.3.10.

--Rick

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: alarm();pause();alarm();pause(); doesn't pause in pthread

2002-03-20 Thread Christopher Faylor

On Wed, Mar 20, 2002 at 01:03:53AM -0500, Rob Gibson wrote:
>DLL version 1.3.10, running on Windows ME.  I checked the message boards, 
>but did not see this.
>
>Call this code X: {
>   alarm(2);
>   pause();
>   cout << "A";
>   alarm(4);
>   pause();
>   cout << "B";
>   alarm(4);
>   pause();
>   cout << "C";
>   alarm(4);
>   pause();
>   cout << "D";
>}
>
>
>I have two threads.  In the first, my original startup thread, I register a 
>sig handler for SIGALRM.  At this point, if I block the SIGALRM signal, 
>then run X, nothing happens.  Ok.  (If I unblock SIGALRM, I get four calls 
>to my sig handler, spaced the appropriate number of seconds apart.  Ok.)
>
>Now I start a second thread using pthread_create().  In the second thread's 
>function, if I immediately run code X, nothing happens, because my second 
>thread has inherited the blocked nature of SIGALRM.  Ok.

signals do not work with anything but the main thread.  Sorry.

cgf
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin on Win 2000

2002-03-20 Thread Jason Tishler

Stephano,

On Wed, Mar 20, 2002 at 03:47:28PM -, Stephano Mariani wrote:
> I am quite interested to figure out why... did you install your win2k
> over an existing windows version or was it a clean install?
> 
> Mine was a clean install in each case with only the service packs and
> some patches being added.

Clean install with only SP1 or SP2.

Jason

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: OT: possible project/research project

2002-03-20 Thread Christopher Faylor

On Wed, Mar 20, 2002 at 06:04:44PM +1100, Robert Collins wrote:
>In fact cgf has had a copy-on-write fork() for cygwin in alpha-quality
>IIRC. I'd love to do some perf tests with that, and in fact on my todo
>list is cygwin profiling. Time however, is the killer.

This keeps coming up.  Maybe it should be added to the FAQ.

The copy-on-write semantics available in the Windows API are not
adequate for fork.  copy-on-write doesn't work right on 9x/Me and, even
on NT, there is no way, AFAICT, to allow something like process a forks
process b, which forks process c.  In that scenario process c needs to
have a copy of process b's memory, not process a's.  That is not
possible to do, AFAICT, without actually copying memory, which defeats
the purpose.

This is all with Win32 APIs.  It may be possible to do something with
NT-specific code, as Robert mentioned, but I ran into problems even
there, too.

If people are under the impression that we haven't given fork
performance a lot of thought, they're wrong.  *I* could be wrong (and
would be thrilled to be wrong) but I don't think that improving fork
performance is an afternoon's work for some skilled programmer.

As far as the one shell for all proposal, there are already a few of
these things kicking around.  They're used for linux boot disks where
it is more advantageous to have one large executable with lots of
builtin functionality rather than one shell with lots of programs.

I sincerely doubt that I would ever be convinced to allow something
like this into the cygwin distribution.  It seems like it flys in the
face of cygwin's goal and would just be YA thing to confuse people.

cgf
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: OT: possible project/research project

2002-03-20 Thread Christopher Faylor

On Wed, Mar 20, 2002 at 09:37:42AM -, Stephano Mariani wrote:
>I would certainly agree with you about that, but the fact remains, a
>lot of code, that cygwin exists to ease the porting of, uses it.  If
>the work was done on fork itself, it would help speed-up a lot more
>that just configure (or similar) scripts.

That is making the oft-repeated assumption that there actually *is*
something that could be done to fork.

At this point, I'd even take ideas over patches.  However I'd like
informed ideas not "Say, I've heard that you can do copy-on-write
on Windows -- just make fork use that."

FWIW, /bin/sh uses vfork these days which, is basically just a spawn
call with some fd table copying overhead.

cgf
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Telneting/ftping to cygwin

2002-03-20 Thread Christopher Faylor

On Wed, Mar 20, 2002 at 10:10:53AM +, David Starks-Browning wrote:
>ntsec on
>
>uid=11024(starksb) gid=10513(Domain Users) groups=0(Everyone),545(Users),10513(Domain 
>Users)
>
>ntsec off
>~
>uid=11024(starksb) gid=10513(Domain Users) groups=10513(Domain Users)
>
>When ntsec is off, "id" does not report membership in the local groups
>Users and Everyone.  Again, I have no idea whether this is relevant,
>but I thought I would report it.
>
>Hope this is useful.

Have you tried a snapshot?  Rerunning mkpasswd/mkgroup from a snapshot may help.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: NASM as a cygwin package?

2002-03-20 Thread Christopher Faylor

On Wed, Mar 20, 2002 at 01:00:27PM +0100, Lapo Luchini wrote:
>BTW: regarding that cvs-ssh-win32-cygwin.tar.gz file, IANAL but
>regularly reading the cygwin mailing list I happen to have read that
>distributing binaries without sources technically violates the GPL, as
>the uses isn't gived the right to recreate it from sources

IANAL, either but if there is no way to get the sources for any
binaries in this tar file then this probably needs to be rectified
to conform to the GPL.  Pointing to the cygwin web site is not
adequate.  You need to provide the exact sources for the binaries
that are being distributed.

I haven't checked, so this is already the case, you can just
ignore me.

Christopher Faylor
Cygwin Engineering Manager
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Cygwin on Win 2000

2002-03-20 Thread Randall R Schulz

Hi,

Well, this doesn't seem to qualify as on-topic, but we've seen worse here...


I have COMMAND.COM on my Win2K SP2 system, for what it's worth. It was a 
"clean" install on a newly formatted drive.

Perhaps it came along with the Windows 2000 Resource Kit, whose software I 
also installed?

Randall Schulz
Mountain View, CA USA


At 07:47 2002-03-20, Stephano Mariani wrote:
>I am quite interested to figure out why... did you install your win2k over 
>an existing windows version or was it a clean install?
>
>Mine was a clean install in each case with only the service packs and some 
>patches being added.
>
>Thanks,
>Stephano Mariani
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]
> > On Behalf Of Andrew Markebo
> > Sent: Wednesday, 20 March 2002 3:37 PM
> > To: Stephano Mariani
> > Cc: 'Jason Tishler'; 'Anthony P Praino'; [EMAIL PROTECTED]
> > Subject: Re: Cygwin on Win 2000
> >
> > / "Stephano Mariani" <[EMAIL PROTECTED]> wrote:
> > | Strange... I do not seem to have that file (I checked three machines,
> > | win2k Pro SP2, Win2k Pro SP1, WinXP Pro).
> >
> > Can be found on my Win2k Pro SP2, ahh well maybe something depending
> > on your shoesize or something, definetly nothing for cygwin ;-)
> >
> > /Andy
> >
> > --
> >  The eye of the beholder rests on the beauty!


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Cygwin on Win 2000

2002-03-20 Thread Larry Hall (RFK Partners, Inc)

I'm going to have to say that discussion of why your W2K installation does
not command.com is off-topic for this list.  Perhaps you can soothe your
curiosity with a discussion off-line.  For the record, I have command.com
in my W2K installation and it was a clean install that I did myself.

HTH,

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



At 10:47 AM 3/20/2002, Stephano Mariani wrote:
>I am quite interested to figure out why... did you install your win2k
>over an existing windows version or was it a clean install?
>
>Mine was a clean install in each case with only the service packs and
>some patches being added.
>
>Thanks,
>Stephano Mariani
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]
> > On Behalf Of Andrew Markebo
> > Sent: Wednesday, 20 March 2002 3:37 PM
> > To: Stephano Mariani
> > Cc: 'Jason Tishler'; 'Anthony P Praino'; [EMAIL PROTECTED]
> > Subject: Re: Cygwin on Win 2000
> > 
> > / "Stephano Mariani" <[EMAIL PROTECTED]> wrote:
> > | Strange... I do not seem to have that file (I checked three
>machines,
> > | win2k Pro SP2, Win2k Pro SP1, WinXP Pro).
> > 
> > Can be found on my Win2k Pro SP2, ahh well maybe something depending
> > on your shoesize or something, definetly nothing for cygwin ;-)
> > 
> > /Andy
> > 
> > --
> >  The eye of the beholder rests on the beauty!
>
>
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin on Win 2000

2002-03-20 Thread Lapo Luchini

> Mine was a clean install in each case with only the service packs and
> some patches being added.

I installed it from scratch every time but the first (of course...) but
\winnt\system32\command.com is definitely there, in Win98 is
widows\command\command.com.. be it an upgrade of a from scratch.
But wait.. when you open command prompt... (well I guess you can open
command prompt, yes?) which executable appears in the task manager?

--
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: OT: possible project/research project

2002-03-20 Thread Robert Collins

Randall..

> -Original Message-
> From: Randall R Schulz [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, March 21, 2002 2:47 AM
> To: Robert Collins; [EMAIL PROTECTED]
> Subject: RE: OT: possible project/research project

> >No - sounds like you haven't been paying attention. In my very first 
> >email I pointed out that this was not an acceptable 
> approach, and that 
> >committing changes upstream would be the only meaningful way 
> of doing 
> >this.
> 
> Are you saying you think you're going to convince the 
> maintainers of these 
> special programs that have been endowed with the ability to operate 
> parasitically in your special version of the shell to let you 
> put these 
> changes into their mainline code bases? Good luck!
 
I'm saying that not doing that makes the maintenance untenable - at
first, second and third glance. If it's not a good enough model with
real enough potential for them to agree, then it's not worth doing.
 
> >Nearly everyone here does - most scripts have #!/bin/sh in 
> the header.
> 
> Perhaps. I do, but only until I want to use a BASH feature 
> that ash doesn't 
> have.

> >"The best is the enemy of the good."
> >- Voltaire "
> 
> Yes, yes. I've been around long enough to have heard all of these.
> 
> Don't forget this:
> 
> "... this is the best of all possible worlds."
>   -- Voltaire

Yup... and murphy was an optimist!.

Oh, for the objectivity thing yes I'm defending it, but I'm not in
love with it per se - that more acceptable?

Rob

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: PostgreSQL-7.2 still marked test?

2002-03-20 Thread Jason Tishler

Rick,

On Wed, Mar 20, 2002 at 08:22:52AM -0800, Rick Rankin wrote:
> Just out of curiosity, what's keeping PostgreSQL marked as test?

Nothing but forgetfulness.  If my head wasn't attached... :,)

> I was under
> the impression that the primary issue was a problem in the Cygwin 1.3.9 DLL
> that was fixed in 1.3.10.

I just removed the test indication.

Thanks for the gentle reminder.

Jason

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Setup.Exe causes Application Error at 0x78001750

2002-03-20 Thread Seitz, Matt

Windows NT 4 is reporting an Application Error when I run Setup.Exe.  The
error reads:

The instruction at "0x78001750" referenced memory at "0x20b078e9".
The memory could not be "read".

At first the program runs fine.  The splash screen identifies it as
"setup.exe version 2.194.2.15".  I then go through a number of options
screens which contain the settings from the last time I successfully ran a
previous version of setup.exe:

Install from internet
Root directory: D:\Progra~1\cygwin
Install for: Just Me
Default text type:  Unix
Local package directory: D:\Downloads\cygwin.com
Direct connection

At this point, a dialog appears that says:

Downloading...
mirrors.lst
0% (0k/4k) 0.0 kb/s

And then I get the crash.  I have Dr. Watson and User.Dmp logs I can
forward.

Sincerely,

Matt Seitz
Senior Software Engineer
Quantum Corporation


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Anonymous ftp on 1.3.9

2002-03-20 Thread Andrew DeFaria

Hmmm... Why did you email me personally? Keep it on the list! (I thought 
I had set up the Followup-To or the Reply-To to handle this).

Pavel Tsekov wrote:

> Hello Andrew,
>
> Wednesday, March 20, 2002, 2:38:01 AM, you wrote:
>
> AD> I had set up anonymous ftp before and it was working find (probably
> AD> around 1.3.6). Now on 1.3.9 it doesn't seem to be working right. I've
>
> What exactly isn't working ?

adefaria:/bin/ftp adefaria
Connected to adefaria.SALIRA.COM.
220- Welcome to adefaria's ftp service
220 adefaria FTP server (GNU inetutils 1.3.2) ready.
Name (adefaria:adefaria): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
530 Login incorrect.
/bin/ftp: Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

> [snip]
>
> AD> ftpd : Win32 Process Id = 0x998 : Cygwin Process Id = 0xA78 : fcntl
> AD> F_SETOWN: Invalid argument.
>
> Search the mail list archives - it's all there.

Searched the mail list. There were 32 matches for F_SETOWN. None of them 
are appropriate. Some discussed F_SETOWN in the event log and how we can 
safely ignore it. However as shown above, I cannot perform anonymous 
ftp's and the event log F_SETOWN message is my only clue.

> AD> It's this F_SETOWN fcntl call that concerns me. Anybody have anonymous
>
> I think not, but again you don't say what isn't working

As shown above, I cannot successfully login as anonymous through ftpd

-- 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Crypt Command

2002-03-20 Thread Gupta, Sanjay

Hello,
I am looking for crypt command in cygwin. It looks like, I have crypt
command , but it does not work like in Sun OS. I want to encrypt a file
using some password. How to do this in cygwin ?.

in Unix, I do this, but the same thing does not work in cygwin.

crypt  mypassword  < /usr/filename  >/usr/filename.enc

Sanjay

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin start-up options

2002-03-20 Thread Andrew DeFaria

Lars Munch wrote:

> On Mon, Mar 18, 2002 at 04:57:36AM -0500, Oleg wrote:
> 
>>Hi
>>
>>I'm curious, how does everyone start cygwin? I use a shortcut
>>"C:\cygwin\bin\rxvt.exe -sl 200 -fg white -bg black -geometry
>>110x43+0+0 -backspacekey ^H -fn 8x16 -e /bin/bash --login -i", starting in
>>"C:\cygwin\bin" (the geometry matches my screen resolution) Is there a
>>smarter/faster way to start cygwin?
>>
> 
> I use the following in my shortcut:
> C:\cygwin\bin\run.exe C:\cygwin\bin\rxvt.exe -e /bin/bash --login -i
> 
> And then I have this in my .Xresources (for rxvt)
> 
> ! rxvt settings
> rxvt*font: 9x15
> rxvt*cursorColor: MediumOrchid3
> rxvt*background: grey15
> rxvt*foreground: wheat3
> rxvt*saveLines: 1500
> rxvt*pointerColor: MediumOrchid3
> rxvt*visualBell: off
> rxvt*scrollBar_right: true
> rxvt*colorBD: Yellow3
> rxvt*colorUL: MediumOrchid3
> rxvt*scrollColor: grey15
> rxvt*troughColor: grey11
> rxvt*termName: rxvt
> rxvt*modifier: mod1
> 
> ! color0 - color7 are normal colors. The  defaults  are,  respectively
> ! black, red, green, yellow, blue, magenta, cyan, and white
> rxvt*color0:   grey15
> rxvt*color1:   IndianRed
> rxvt*color2:   MediumSeaGreen
> rxvt*color3:   Yellow3
> rxvt*color4:   SteelBlue4
> rxvt*color5:   MediumOrchid3
> rxvt*color6:   Cyan3
> rxvt*color7:   White
> 
> ! color8 - color 15 are bold colors if the bold attribute is enabled.
> ! The  defaults  are,  respectively
> ! black, red, green, yellow, blue, magenta, cyan, and white
> rxvt*color8:   grey15
> rxvt*color9:   IndianRed
> rxvt*color10:  MediumSeaGreen
> rxvt*color11:  Yellow3
> rxvt*color12:  SteelBlue4
> rxvt*color13:  MediumOrchid3
> rxvt*color14:  Cyan3
> rxvt*color15:  White

I too use X resources for rxvt (though I've named the file ~/.Xdefaults 
not ~/.Xresources). However my shortcut is a little fancier. First, 
assuming that Cygwin's bin directory (e.g. C:\Cygwin\bin) is already in 
the Windows System Environment Variable PATH (which it pretty much needs 
to be, especially if your running inetd, et. al.) and assuming that your 
Windows System32 path is also in your Windows System Environment Varible 
PATH (which is always is) then my shortcut becomes:

cmd /c start /b rxvt -e bash --login -i

"cmd" is the Windows command processer (command on 98 and below). The 
"/c" says run one command. That command is start. The /b tells start to 
start the following command and not to create a window for it. Then 
there's rxvt (found in C:\Cygwin\bin) with -e to run bash (also found in 
C:\Cygwin\bin) with it's normal --login and -i parameters.

This still gives a flashing cmd window so I just change the shortcut to 
start minimized.




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Start up script

2002-03-20 Thread Andrew DeFaria

Robert Mark Bram wrote:

> Howdy all!
> 
> Read the documentation.. made my .bashrc script!
> 
> Here it is so far:
> 
> function ll
> {
>ls -l
> }
> 
> function m
> {
>man $1 | less
> }


Why do you insist on piping the output of man to less? It's unnecessary 
as man will use whatever is in PAGER.


> Any one have any other nice tricks they use in theirs?


There are thousands of them!




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cron usage...

2002-03-20 Thread Andrew DeFaria

Do you have C:\Cygwin\Bin in your Windows System Environment Variable 
PATH? Have you rebooted since you've put it in your PATH?

Christopher Paulicka wrote:

> Hello,
> 
> Sorry to bother you, but I am trying to get cron to
> work on my Windows 2000 machine.
> 
> I installed cron as instructed here:
> 
> http://www.cygwin.com/ml/cygwin-announce/2001/msg00077.html
> 
> which was:
> 
>   cygrunsrv -I cron -p /usr/sbin/cron -a -D
> 
> My $(id) was:
> 
> uid=500(Administrator) gid=513(None) groups=513(None)
> 
> If I now go to services, "cron" is listed as a
> service, but is not running.
> 
> When I try to start it, I get an error from the
> Microsoft Management Console:
> 
> "Could not start the cron service on Local Computer.
> The service did not return an error.  This could be an
> internal Windows error or an internal service error. 
> If the problem persists, contact your system
> administrator."
> 
> Do you have any suggestions for how to get cron
> working?  I would really appreciate it.
> 
> Thank you,
> 
> Christopher Paulicka
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> =
> [EMAIL PROTECTED]
> Artifex in Batik Group
> Hewlett-Packard EPS EMSO
> 1501 Page Mill Road, 1603 (6L-W61)
> Palo Alto, CA  94305
> Phone: (650)857-2336
> Fax:   (650)852-8061
> 
> __
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 
> 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: termcap problem in RXVT?

2002-03-20 Thread Andrew DeFaria

Lars Munch wrote:

> On Mon, Mar 18, 2002 at 04:20:00PM -0700, BERNDT, JON wrote:
> 
>>I have installed CygWin on numerous machines using teh nice setup program at
>>cygwin.com. Recently, however, I have installed CygWin on two machines (one
>>a W2K machine and the other a Win98SE machine) and when I tried to run rxvt
>>I got strange behavior for the prompt. If I bring up a bash shell
>>immediately after installing, then type "rxvt" at the bash prompt, this is
>>what shows up in the rxvt console:
>>
>>--- start ---
>>\[\033]0;\w\007
>>\033[32m\]\u@\h \[\033[33m\w\033[0m\]
>>$ 
>>--- end ---
>>
>>I am at a loss to explain what to do. This has not happened to me in prior
>>cygwin installs. I checked the FAQ and the mailing list archives for March,
>>but could not find any reference to anything new that should have caused
>>this.
>>
> 
> Put:
> 
> export SHELL=/bin/bash
> 
> in /etc/profile

Yes. rxvt runs $SHELL if present otherwise /bin/sh. Now the real 
question is why isn't export SHELL=/bin/bash in /etc/profile, or, 
rather, why isn't the user's shell preference, specified in /etc/passwd 
taken and exported as SHELL?




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Automatic Reply from Trash

2002-03-20 Thread Trash


Your message :- 
  "Re: OT: possible project/research project" on Wed, 20 Mar 2002 11:46:59 -0500
has been trashed.

All e-mail from you has been barred permanently from 
being received by any e-mail addresses at this site - 
please take your spam and numerous mailing list to 
which I have never subscribed and put them elsewhere

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cron usage...

2002-03-20 Thread Gerrit P. Haase

Hallo Christopher,

Am 2002-03-18 um 21:34 schriebst du:

> When I try to start it, I get an error from the
> Microsoft Management Console:

> "Could not start the cron service on Local Computer.
> The service did not return an error.  This could be an
> internal Windows error or an internal service error. 
> If the problem persists, contact your system
> administrator."

> Do you have any suggestions for how to get cron
> working?  I would really appreciate it.

Error messages are going in the eventlog.


Gerit
-- 
=^..^=


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




./config -luser32 error, but libuser32.a is in the usr/lib/w32apidirectory

2002-03-20 Thread Luke J Crook

Hopefully someone here will be able to help.

I just installed the latest version of cygwin including the gcc development
tools. But when running ./configure I get the following error

**
...
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
**

Here is a dump of the relevant bits from the config.log file

**
...
configure:789: checking for gcc
configure:902: checking whether the C compiler (gcc  ) works
configure:918: gcc -o conftestconftest.c  1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -luser32
collect2: ld returned 1 exit status
configure: failed program was:

#line 913 "configure"
#include "confdefs.h"

main(){return(0);}
**

I searched google and found a reference to this problem (referenced below):
the fix was to re-install w32api to make sure that libuser32.a was installed.

http://www.cygwin.com/ml/cygwin/2001-03/msg00218.html

I re-installed w32api, libuser32.a is definitely in my "usr/lib/w32api"
directory.

As per the FAQ, I ran "cygcheck -s -v -r > cygcheck.out", however it
terminated with an error...

**
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1
**

The file resultant file is large, at over 17KB so I won't include it all here.
But here are what I hope are the relevant bits...

**
..
automake1.6a-1
automake-devel  1.5-5
automake-stable 1.4p5-5
bash2.05a-3
binutils20011002-1
bison   1.33-1
byacc   1.9-1
cygwin  1.3.10-1
flex2.5.4-1
gcc 2.95.3-5
gdb 20010428-3
gdbm1.8.0-4
libintl10.10.40-1
libncurses5 5.2-1
libncurses6 5.2-8
libtool 20020202a-1
libtool-devel   20020202-1
libtool-stable  1.4.2-2
make3.79.1-5
mktemp  1.4-1
sh-utils2.0-2
tar 1.13.19-1
termcap 20010825-1
terminfo5.2-1
w32api  1.2-1

**

And lastly...

**
  751k 2002/02/25 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
  "cygwin1.dll" v0.0 ts=2002/2/25 8:14
Cygwin DLL version info:
DLL version: 1.3.10
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 51
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Mon Feb 25 11:14:34 EST 2002
Shared id: cygwin1S3

  555k 2001/09/19 c:\ruby\bin\cygwin-ruby16.dll - os=4.0 img=1.0 sys=4.0
  "cygwin-ruby16.dll" v0.0 ts=2001/9/19 5:09
  678k 2001/10/03 c:\ruby\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
  "cygwin1.dll" v0.0 ts=2001/5/20 20:28
Cygwin DLL version info:
DLL version: 1.3.2
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 39
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Sun May 20 23:28:17 EDT 2001
Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: C:\Documents and Settings\lcluke\Desktop
Last downloaded files from: ftp://archive.progeny.com/cygwin
**

Thanks,
-Luke Crook


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Updated: texinfo 4.1

2002-03-20 Thread Oliver Nittka

Organization: Salira Optical Networks
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 
Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
Followup-To: [EMAIL PROTECTED]
To: Pavel Tsekov <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Anonymous ftp on 1.3.9
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 20 Mar 2002 20:13:56.0340 (UTC) FILETIME=[C3747B40:01C1D04B]
X-Virus-Scanned: by AMaViS perl-11

Hmmm... Why did you email me personally? Keep it on the list! (I thought 
I had set up the Followup-To or the Reply-To to handle this).

Pavel Tsekov wrote:

> Hello Andrew,
>
> Wednesday, March 20, 2002, 2:38:01 AM, you wrote:
>
> AD> I had set up anonymous ftp before and it was working find (probably
> AD> around 1.3.6). Now on 1.3.9 it doesn't seem to be working right. I've
>
> What exactly isn't working ?

adefaria:/bin/ftp adefaria
Connected to adefaria.SALIRA.COM.
220- Welcome to adefaria's ftp service
220 adefaria FTP server (GNU inetutils 1.3.2) ready.
Name (adefaria:adefaria): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
530 Login incorrect.
/bin/ftp: Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

> [snip]
>
> AD> ftpd : Win32 Process Id = 0x998 : Cygwin Process Id = 0xA78 : fcntl
> AD> F_SETOWN: Invalid argument.
>
> Search the mail list archives - it's all there.

Searched the mail list. There were 32 matches for F_SETOWN. None of them 
are appropriate. Some discussed F_SETOWN in the event log and how we can 
safely ignore it. However as shown above, I cannot perform anonymous 
ftp's and the event log F_SETOWN message is my only clue.

> AD> It's this F_SETOWN fcntl call that concerns me. Anybody have anonymous
>
> I think not, but again you don't say what isn't working

As shown above, I cannot successfully login as anonymous through ftpd

-- 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




scp leaves ssh running on win98

2002-03-20 Thread David Starks-Browning

In the "Known Problems" section of the Cygwin FAQ, it used to read:

- Fixed in the Next Release -

On Win9x, scp and cvs/ssh leave ssh processes running, and cvs/ssh
hangs at completion.

In fact, cvs+ssh no longer leaves ssh processes running, and no longer
hangs at completion.  But scp *does* leave ssh processes running on
Win98, at least for me.  Not always, but often.

Is that already known?  Or am I in trouble for not reporting it
sooner?

For now I'll move it to the "Aware of the problem, no solution known"
section.

Thanks,
David


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Automatic Reply from Trash

2002-03-20 Thread Trash


Your message :- 
  "Re: cron usage..." on Wed, 20 Mar 2002 13:00:31 -0800
has been trashed.

All e-mail from you has been barred permanently from 
being received by any e-mail addresses at this site - 
please take your mailing lists to which I have never 
subscribed and put them elsewhere.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Updated: texinfo 4.1

2002-03-20 Thread Oliver Nittka

NNTP-Posting-Host: 206.184.204.2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1016657743 8639 206.184.204.2 (20 Mar 2002 20:55:43 GMT)
X-Complaints-To: [EMAIL PROTECTED]
NNTP-Posting-Date: Wed, 20 Mar 2002 20:55:43 + (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 
Netscape6/6.2
X-Accept-Language: en-us
X-Virus-Scanned: by AMaViS perl-11

Robert Mark Bram wrote:

> Howdy all!
> 
> Read the documentation.. made my .bashrc script!
> 
> Here it is so far:
> 
> function ll
> {
>ls -l
> }
> 
> function m
> {
>man $1 | less
> }


Why do you insist on piping the output of man to less? It's unnecessary 
as man will use whatever is in PAGER.


> Any one have any other nice tricks they use in theirs?


There are thousands of them!




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Updated: texinfo 4.1

2002-03-20 Thread Oliver Nittka

NNTP-Posting-Host: 206.184.204.2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1016657563 8639 206.184.204.2 (20 Mar 2002 20:52:43 GMT)
X-Complaints-To: [EMAIL PROTECTED]
NNTP-Posting-Date: Wed, 20 Mar 2002 20:52:43 + (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 
Netscape6/6.2
X-Accept-Language: en-us
X-Virus-Scanned: by AMaViS perl-11

Lars Munch wrote:

> On Mon, Mar 18, 2002 at 04:57:36AM -0500, Oleg wrote:
> 
>>Hi
>>
>>I'm curious, how does everyone start cygwin? I use a shortcut
>>"C:\cygwin\bin\rxvt.exe -sl 200 -fg white -bg black -geometry
>>110x43+0+0 -backspacekey ^H -fn 8x16 -e /bin/bash --login -i", starting in
>>"C:\cygwin\bin" (the geometry matches my screen resolution) Is there a
>>smarter/faster way to start cygwin?
>>
> 
> I use the following in my shortcut:
> C:\cygwin\bin\run.exe C:\cygwin\bin\rxvt.exe -e /bin/bash --login -i
> 
> And then I have this in my .Xresources (for rxvt)
> 
> ! rxvt settings
> rxvt*font: 9x15
> rxvt*cursorColor: MediumOrchid3
> rxvt*background: grey15
> rxvt*foreground: wheat3
> rxvt*saveLines: 1500
> rxvt*pointerColor: MediumOrchid3
> rxvt*visualBell: off
> rxvt*scrollBar_right: true
> rxvt*colorBD: Yellow3
> rxvt*colorUL: MediumOrchid3
> rxvt*scrollColor: grey15
> rxvt*troughColor: grey11
> rxvt*termName: rxvt
> rxvt*modifier: mod1
> 
> ! color0 - color7 are normal colors. The  defaults  are,  respectively
> ! black, red, green, yellow, blue, magenta, cyan, and white
> rxvt*color0:   grey15
> rxvt*color1:   IndianRed
> rxvt*color2:   MediumSeaGreen
> rxvt*color3:   Yellow3
> rxvt*color4:   SteelBlue4
> rxvt*color5:   MediumOrchid3
> rxvt*color6:   Cyan3
> rxvt*color7:   White
> 
> ! color8 - color 15 are bold colors if the bold attribute is enabled.
> ! The  defaults  are,  respectively
> ! black, red, green, yellow, blue, magenta, cyan, and white
> rxvt*color8:   grey15
> rxvt*color9:   IndianRed
> rxvt*color10:  MediumSeaGreen
> rxvt*color11:  Yellow3
> rxvt*color12:  SteelBlue4
> rxvt*color13:  MediumOrchid3
> rxvt*color14:  Cyan3
> rxvt*color15:  White

I too use X resources for rxvt (though I've named the file ~/.Xdefaults 
not ~/.Xresources). However my shortcut is a little fancier. First, 
assuming that Cygwin's bin directory (e.g. C:\Cygwin\bin) is already in 
the Windows System Environment Variable PATH (which it pretty much needs 
to be, especially if your running inetd, et. al.) and assuming that your 
Windows System32 path is also in your Windows System Environment Varible 
PATH (which is always is) then my shortcut becomes:

cmd /c start /b rxvt -e bash --login -i

"cmd" is the Windows command processer (command on 98 and below). The 
"/c" says run one command. That command is start. The /b tells start to 
start the following command and not to create a window for it. Then 
there's rxvt (found in C:\Cygwin\bin) with -e to run bash (also found in 
C:\Cygwin\bin) with it's normal --login and -i parameters.

This still gives a flashing cmd window so I just change the shortcut to 
start minimized.




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: termcap problem in RXVT?

2002-03-20 Thread Larry Hall (RFK Partners, Inc)

At 04:06 PM 3/20/2002, Andrew DeFaria wrote:
>Lars Munch wrote:
>
>>On Mon, Mar 18, 2002 at 04:20:00PM -0700, BERNDT, JON wrote:
>>
>>>I have installed CygWin on numerous machines using teh nice setup program at
>>>cygwin.com. Recently, however, I have installed CygWin on two machines (one
>>>a W2K machine and the other a Win98SE machine) and when I tried to run rxvt
>>>I got strange behavior for the prompt. If I bring up a bash shell
>>>immediately after installing, then type "rxvt" at the bash prompt, this is
>>>what shows up in the rxvt console:
>>>
>>>--- start ---
>>>\[\033]0;\w\007
>>>\033[32m\]\u@\h \[\033[33m\w\033[0m\]
>>>$ --- end ---
>>>
>>>I am at a loss to explain what to do. This has not happened to me in prior
>>>cygwin installs. I checked the FAQ and the mailing list archives for March,
>>>but could not find any reference to anything new that should have caused
>>>this.
>>Put:
>>export SHELL=/bin/bash
>>in /etc/profile
>
>Yes. rxvt runs $SHELL if present otherwise /bin/sh. Now the real question is why 
>isn't export SHELL=/bin/bash in /etc/profile, or, rather, why isn't the user's shell 
>preference, specified in /etc/passwd taken and exported as SHELL?


The short answer is "the answer is in the email archives".

See:

http://sources.redhat.com/ml/cygwin/2001-11/msg01018.html

There's also various threads that follow this one where people are caught
by the change in bash's behavior.  There was mention of an idea which
would have Cygwin set the environment variables that would normally be 
initialized during login on a *NIX system but it appears that functionality 
is waiting for a volunteer AFAICT.  Wanna take a run at this?






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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Updated: texinfo 4.1

2002-03-20 Thread Oliver Nittka

NNTP-Posting-Host: 206.184.204.2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1016658391 8639 206.184.204.2 (20 Mar 2002 21:06:31 GMT)
X-Complaints-To: [EMAIL PROTECTED]
NNTP-Posting-Date: Wed, 20 Mar 2002 21:06:31 + (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 
Netscape6/6.2
X-Accept-Language: en-us
X-Virus-Scanned: by AMaViS perl-11

Lars Munch wrote:

> On Mon, Mar 18, 2002 at 04:20:00PM -0700, BERNDT, JON wrote:
> 
>>I have installed CygWin on numerous machines using teh nice setup program at
>>cygwin.com. Recently, however, I have installed CygWin on two machines (one
>>a W2K machine and the other a Win98SE machine) and when I tried to run rxvt
>>I got strange behavior for the prompt. If I bring up a bash shell
>>immediately after installing, then type "rxvt" at the bash prompt, this is
>>what shows up in the rxvt console:
>>
>>--- start ---
>>\[\033]0;\w\007
>>\033[32m\]\u@\h \[\033[33m\w\033[0m\]
>>$ 
>>--- end ---
>>
>>I am at a loss to explain what to do. This has not happened to me in prior
>>cygwin installs. I checked the FAQ and the mailing list archives for March,
>>but could not find any reference to anything new that should have caused
>>this.
>>
> 
> Put:
> 
> export SHELL=/bin/bash
> 
> in /etc/profile

Yes. rxvt runs $SHELL if present otherwise /bin/sh. Now the real 
question is why isn't export SHELL=/bin/bash in /etc/profile, or, 
rather, why isn't the user's shell preference, specified in /etc/passwd 
taken and exported as SHELL?




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Updated: texinfo 4.1

2002-03-20 Thread Oliver Nittka

NNTP-Posting-Host: 206.184.204.2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1016658027 8639 206.184.204.2 (20 Mar 2002 21:00:27 GMT)
X-Complaints-To: [EMAIL PROTECTED]
NNTP-Posting-Date: Wed, 20 Mar 2002 21:00:27 + (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 
Netscape6/6.2
X-Accept-Language: en-us
X-Virus-Scanned: by AMaViS perl-11

Do you have C:\Cygwin\Bin in your Windows System Environment Variable 
PATH? Have you rebooted since you've put it in your PATH?

Christopher Paulicka wrote:

> Hello,
> 
> Sorry to bother you, but I am trying to get cron to
> work on my Windows 2000 machine.
> 
> I installed cron as instructed here:
> 
> http://www.cygwin.com/ml/cygwin-announce/2001/msg00077.html
> 
> which was:
> 
>   cygrunsrv -I cron -p /usr/sbin/cron -a -D
> 
> My $(id) was:
> 
> uid=500(Administrator) gid=513(None) groups=513(None)
> 
> If I now go to services, "cron" is listed as a
> service, but is not running.
> 
> When I try to start it, I get an error from the
> Microsoft Management Console:
> 
> "Could not start the cron service on Local Computer.
> The service did not return an error.  This could be an
> internal Windows error or an internal service error. 
> If the problem persists, contact your system
> administrator."
> 
> Do you have any suggestions for how to get cron
> working?  I would really appreciate it.
> 
> Thank you,
> 
> Christopher Paulicka
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> =
> [EMAIL PROTECTED]
> Artifex in Batik Group
> Hewlett-Packard EPS EMSO
> 1501 Page Mill Road, 1603 (6L-W61)
> Palo Alto, CA  94305
> Phone: (650)857-2336
> Fax:   (650)852-8061
> 
> __
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 
> 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




./config -luser32 error, but libuser32.a is in the usr/lib/w32apidirectory

2002-03-20 Thread David Starks-Browning

Ouch.  Get rid of the old cygwin1.dll.  This is in the FAQ.

On Wednesday 20 Mar 02, Luke J Crook writes:
> And lastly...
> 
> **
>   751k 2002/02/25 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>   "cygwin1.dll" v0.0 ts=2002/2/25 8:14
> Cygwin DLL version info:
> DLL version: 1.3.10
> DLL epoch: 19
> DLL bad signal mask: 19005
> DLL old termios: 5
> DLL malloc env: 28
> API major: 0
> API minor: 51
> Shared data: 3
> DLL identifier: cygwin1
> Mount registry: 2
> Cygnus registry name: Cygnus Solutions
> Cygwin registry name: Cygwin
> Program options name: Program Options
> Cygwin mount registry name: mounts v2
> Cygdrive flags: cygdrive flags
> Cygdrive prefix: cygdrive prefix
> Cygdrive default prefix:
> Build date: Mon Feb 25 11:14:34 EST 2002
> Shared id: cygwin1S3
> 
>   555k 2001/09/19 c:\ruby\bin\cygwin-ruby16.dll - os=4.0 img=1.0 sys=4.0
>   "cygwin-ruby16.dll" v0.0 ts=2001/9/19 5:09
>   678k 2001/10/03 c:\ruby\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>   "cygwin1.dll" v0.0 ts=2001/5/20 20:28
> Cygwin DLL version info:
> DLL version: 1.3.2
> DLL epoch: 19
> DLL bad signal mask: 19005
> DLL old termios: 5
> DLL malloc env: 28
> API major: 0
> API minor: 39
> Shared data: 3
> DLL identifier: cygwin1
> Mount registry: 2
> Cygnus registry name: Cygnus Solutions
> Cygwin registry name: Cygwin
> Program options name: Program Options
> Cygwin mount registry name: mounts v2
> Cygdrive flags: cygdrive flags
> Cygdrive prefix: cygdrive prefix
> Cygdrive default prefix:
> Build date: Sun May 20 23:28:17 EDT 2001
> Shared id: cygwin1S3
> 
> 
> Cygwin Package Information
> Last downloaded files to: C:\Documents and Settings\lcluke\Desktop
> Last downloaded files from: ftp://archive.progeny.com/cygwin
> **
> 
> Thanks,
> -Luke Crook
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: input stream crash with gcc 3.1

2002-03-20 Thread Guy Harrison

On Tue, 19 Mar 2002 14:02:34 +0900, "Dylan Cuthbert"
<[EMAIL PROTECTED]> wrote:

>Hmm.. I noticed some talk on a mailing list somewhere about problems with
>locales... could it be to do with input streams trying to look up locale
>info and getting null ptrs as a result?
>
>I'll try compiling libstdc++-v3 with -g and -O0 and see how far I can get -
>does gdb 5.1 work ok with gcc 3.1 output?

I don't know if this will be useful or not: the problem does not occur
with g++ 3.0.3 though (probably down to me building it wrong) I recall
having to fiddle with its specs file - some confusion of which version
of what to link against iirc.


-- 
[EMAIL PROTECTED]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: gcc error: ld cannot find user32 (w32api package installed)

2002-03-20 Thread Luke J Crook

>> From: "Edward M. Lee"  
>> To: "'Jeremy Hetzler'"  
>> Date: Tue, 19 Mar 2002 22:42:38 -0500 

>> Try removing the ./ from the w32api-1.2.1.tar.bz2 package, then
>> reinstall.

>> Or just tar -C / path/to/w32api-1.2.1.tar.bz2

I don't understand. I'm having the same problem, and I installed Cygwin from
scratch.

A previous post suggested copying the contents of the /usr/lib/w32api into
/usr/lib and /lib. This worked for me.

Shouldn't the installer have taken care of this ?

-Luke


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Crypt Command

2002-03-20 Thread Gupta, Sanjay

The encryption and decryption has to be done inside a shell script, so I
can't use vi -x filename. Is there any other way ?

Thanks


you culd use vi -x file name
then it asks you for a key
next time you view the file you have to enter the crypth key

>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>List-Unsubscribe:

>List-Subscribe: 
>List-Archive: 
>List-Post: 
>List-Help: , 

>Mail-Followup-To: [EMAIL PROTECTED]
>Delivered-To: mailing list [EMAIL PROTECTED]
>From: "Gupta, Sanjay" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Crypt Command
>Date: Wed, 20 Mar 2002 12:31:51 -0800
>MIME-Version: 1.0
>
>Hello,
>I am looking for crypt command in cygwin. It looks like, I have crypt
>command , but it does not work like in Sun OS. I want to encrypt a file
>using some password. How to do this in cygwin ?.
>
>in Unix, I do this, but the same thing does not work in cygwin.
>
>crypt  mypassword  < /usr/filename  >/usr/filename.enc
>
>Sanjay
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Luke J Crook

I do have Ruby installed, and there is a copy of cygwin1.dll in the c:\ruby
directory.

-Luke


- Original Message -
From: "David Starks-Browning" <[EMAIL PROTECTED]>
To: "Luke J Crook" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 3:20 PM
Subject: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api
directory


> Ouch.  Get rid of the old cygwin1.dll.  This is in the FAQ.
>
> On Wednesday 20 Mar 02, Luke J Crook writes:
> > And lastly...
> >
> > **
> >   751k 2002/02/25 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
> >   "cygwin1.dll" v0.0 ts=2002/2/25 8:14
> > Cygwin DLL version info:
> > DLL version: 1.3.10
> > DLL epoch: 19
> > DLL bad signal mask: 19005
> > DLL old termios: 5
> > DLL malloc env: 28
> > API major: 0
> > API minor: 51
> > Shared data: 3
> > DLL identifier: cygwin1
> > Mount registry: 2
> > Cygnus registry name: Cygnus Solutions
> > Cygwin registry name: Cygwin
> > Program options name: Program Options
> > Cygwin mount registry name: mounts v2
> > Cygdrive flags: cygdrive flags
> > Cygdrive prefix: cygdrive prefix
> > Cygdrive default prefix:
> > Build date: Mon Feb 25 11:14:34 EST 2002
> > Shared id: cygwin1S3
> >
> >   555k 2001/09/19 c:\ruby\bin\cygwin-ruby16.dll - os=4.0 img=1.0 sys=4.0
> >   "cygwin-ruby16.dll" v0.0 ts=2001/9/19 5:09
> >   678k 2001/10/03 c:\ruby\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
> >   "cygwin1.dll" v0.0 ts=2001/5/20 20:28
> > Cygwin DLL version info:
> > DLL version: 1.3.2
> > DLL epoch: 19
> > DLL bad signal mask: 19005
> > DLL old termios: 5
> > DLL malloc env: 28
> > API major: 0
> > API minor: 39
> > Shared data: 3
> > DLL identifier: cygwin1
> > Mount registry: 2
> > Cygnus registry name: Cygnus Solutions
> > Cygwin registry name: Cygwin
> > Program options name: Program Options
> > Cygwin mount registry name: mounts v2
> > Cygdrive flags: cygdrive flags
> > Cygdrive prefix: cygdrive prefix
> > Cygdrive default prefix:
> > Build date: Sun May 20 23:28:17 EDT 2001
> > Shared id: cygwin1S3
> >
> >
> > Cygwin Package Information
> > Last downloaded files to: C:\Documents and Settings\lcluke\Desktop
> > Last downloaded files from: ftp://archive.progeny.com/cygwin
> > **
> >
> > Thanks,
> > -Luke Crook
> >
> >
> > --
> > Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting: http://cygwin.com/bugs.html
> > Documentation: http://cygwin.com/docs.html
> > FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Automatic Reply from Trash

2002-03-20 Thread Christopher Faylor

On Wed, Mar 20, 2002 at 09:23:44PM -, Trash wrote:
>
>Your message :- 
>  "Re: OT: possible project/research project" on Wed, 20 Mar 2002 11:46:59 -0500
>has been trashed.
>
>All e-mail from you has been barred permanently from being received by
>any e-mail addresses at this site - please take your spam and numerous
>mailing list to which I have never subscribed and put them elsewhere

All e-mail from you has been barred permanently from being received by
[EMAIL PROTECTED]

Please take your off-topic replies to two messages to which we have never
purposely sent and put them elsewhere.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Larry Hall (RFK Partners, Inc)

Check out the FAQ like David mentioned.  

Keep things the way you have them if that's your preference but don't expect 
help from the list when you run into troubles.  Cygwin won't work with two or 
more copies of it's DLL on the same system so unless you're adventurous (or
masochistic), you'll want to follow the advice of this list.

Sorry.  That's just the way it works.  

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



At 06:37 PM 3/20/2002, Luke J Crook wrote:
>I do have Ruby installed, and there is a copy of cygwin1.dll in the c:\ruby
>directory.
>
>-Luke
>
>
>- Original Message -
>From: "David Starks-Browning" <[EMAIL PROTECTED]>
>To: "Luke J Crook" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Wednesday, March 20, 2002 3:20 PM
>Subject: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api
>directory
>
>
> > Ouch.  Get rid of the old cygwin1.dll.  This is in the FAQ.
> >
> > On Wednesday 20 Mar 02, Luke J Crook writes:
> > > And lastly...
> > >
> > > **
> > >   751k 2002/02/25 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
> > >   "cygwin1.dll" v0.0 ts=2002/2/25 8:14
> > > Cygwin DLL version info:
> > > DLL version: 1.3.10
> > > DLL epoch: 19
> > > DLL bad signal mask: 19005
> > > DLL old termios: 5
> > > DLL malloc env: 28
> > > API major: 0
> > > API minor: 51
> > > Shared data: 3
> > > DLL identifier: cygwin1
> > > Mount registry: 2
> > > Cygnus registry name: Cygnus Solutions
> > > Cygwin registry name: Cygwin
> > > Program options name: Program Options
> > > Cygwin mount registry name: mounts v2
> > > Cygdrive flags: cygdrive flags
> > > Cygdrive prefix: cygdrive prefix
> > > Cygdrive default prefix:
> > > Build date: Mon Feb 25 11:14:34 EST 2002
> > > Shared id: cygwin1S3
> > >
> > >   555k 2001/09/19 c:\ruby\bin\cygwin-ruby16.dll - os=4.0 img=1.0 sys=4.0
> > >   "cygwin-ruby16.dll" v0.0 ts=2001/9/19 5:09
> > >   678k 2001/10/03 c:\ruby\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
> > >   "cygwin1.dll" v0.0 ts=2001/5/20 20:28
> > > Cygwin DLL version info:
> > > DLL version: 1.3.2
> > > DLL epoch: 19
> > > DLL bad signal mask: 19005
> > > DLL old termios: 5
> > > DLL malloc env: 28
> > > API major: 0
> > > API minor: 39
> > > Shared data: 3
> > > DLL identifier: cygwin1
> > > Mount registry: 2
> > > Cygnus registry name: Cygnus Solutions
> > > Cygwin registry name: Cygwin
> > > Program options name: Program Options
> > > Cygwin mount registry name: mounts v2
> > > Cygdrive flags: cygdrive flags
> > > Cygdrive prefix: cygdrive prefix
> > > Cygdrive default prefix:
> > > Build date: Sun May 20 23:28:17 EDT 2001
> > > Shared id: cygwin1S3
> > >
> > >
> > > Cygwin Package Information
> > > Last downloaded files to: C:\Documents and Settings\lcluke\Desktop
> > > Last downloaded files from: ftp://archive.progeny.com/cygwin
> > > **
> > >
> > > Thanks,
> > > -Luke Crook
> > >
> > >
> > > --
> > > Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> > > Bug reporting: http://cygwin.com/bugs.html
> > > Documentation: http://cygwin.com/docs.html
> > > FAQ:   http://cygwin.com/faq/
>
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: gcc error: ld cannot find user32 (w32api package installed)

2002-03-20 Thread Christopher Faylor

On Wed, Mar 20, 2002 at 03:28:46PM -0800, Luke J Crook wrote:
>>> From: "Edward M. Lee"  
>>> To: "'Jeremy Hetzler'"  
>>> Date: Tue, 19 Mar 2002 22:42:38 -0500 
>
>>> Try removing the ./ from the w32api-1.2.1.tar.bz2 package, then
>>> reinstall.
>
>>> Or just tar -C / path/to/w32api-1.2.1.tar.bz2
>
>I don't understand. I'm having the same problem, and I installed Cygwin from
>scratch.
>
>A previous post suggested copying the contents of the /usr/lib/w32api into
>/usr/lib and /lib. This worked for me.

And, wasn't it mentioned that this was obviously the wrong solution?

The linker is supposed to be handling this.  It is handling it for
everyone else in the world, or rather gcc is.  gcc passes options
to 'ld' to find the files in /usr/lib/w32api.  If you invoke the
linker directly then you're on your own.  However, I'd suggest
using the -L option in this case.

You undoubtedly have something strange in your environment that is
causing a problem.  I would check the usual suspects like environment
variables or other versions of gcc/ld than the correct ones being in
your path.

This really should be a tremendously complex problem to track down.
Assuming that the cygwin setup is screwed up in such a basic way is
probably not the first step you should take in debugging your
problem.  It's much more likely that there is something screwed up
on your end.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




new FAQ entry for GNU Emacs

2002-03-20 Thread David Starks-Browning

There is a new FAQ entry about GNU Emacs and Cygwin, addressing the
common questions.  In addition, it tells you where to find
cygwin-mount.el, by Klaus Berndl.  This bit of elisp makes Emacs aware
of your Cygwin mount table.

David


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Luke J Crook

Thanks for the help guys, I read the the FAQ and have since uninstalled
Ruby, and deleted everythin in the the c:\Cygwin directory. I decided to
start from scratch.

However, even after re-installing Cygwin, I still have the same problem as I
described previously... ld can't find -luser32. Could this be a possible bug
in the installer?

The only way I can fix this is by copying the contents of /usr/lib/w32api
into /lib and /usr/lib.

-Luke

- Original Message -
From: "Larry Hall (RFK Partners, Inc)" <[EMAIL PROTECTED]>
To: "Luke J Crook" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 4:03 PM
Subject: Re: ./config -luser32 error, but libuser32.a is in the
usr/lib/w32api directory


> Check out the FAQ like David mentioned.
>
> Keep things the way you have them if that's your preference but don't
expect
> help from the list when you run into troubles.  Cygwin won't work with two
or
> more copies of it's DLL on the same system so unless you're adventurous
(or
> masochistic), you'll want to follow the advice of this list.
>
> Sorry.  That's just the way it works.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Larry Hall (RFK Partners, Inc)

No, as Chris pointed out, setup is fine.  Check your environment again.  You
have some environment variable set wrong (for some other reason) or you're not 
using the gcc you think you are or some other such thing.  Of course if you 
still get the complaint about a bad volume when you run cygcheck, you may 
actually have a disk problem at the heart of your difficulties.

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



At 07:27 PM 3/20/2002, Luke J Crook wrote:
>Thanks for the help guys, I read the the FAQ and have since uninstalled
>Ruby, and deleted everythin in the the c:\Cygwin directory. I decided to
>start from scratch.
>
>However, even after re-installing Cygwin, I still have the same problem as I
>described previously... ld can't find -luser32. Could this be a possible bug
>in the installer?
>
>The only way I can fix this is by copying the contents of /usr/lib/w32api
>into /lib and /usr/lib.
>
>-Luke
>
>- Original Message -
>From: "Larry Hall (RFK Partners, Inc)" <[EMAIL PROTECTED]>
>To: "Luke J Crook" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Wednesday, March 20, 2002 4:03 PM
>Subject: Re: ./config -luser32 error, but libuser32.a is in the
>usr/lib/w32api directory
>
>
> > Check out the FAQ like David mentioned.
> >
> > Keep things the way you have them if that's your preference but don't
>expect
> > help from the list when you run into troubles.  Cygwin won't work with two
>or
> > more copies of it's DLL on the same system so unless you're adventurous
>(or
> > masochistic), you'll want to follow the advice of this list.
> >
> > Sorry.  That's just the way it works.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Setup.Exe causes Application Error at 0x78001750

2002-03-20 Thread Elizabeth Barham

I reported a similar error with Windows98 a few days ago; same general
scenerio in that it starts fine until the Downloading part and then
throws an exception. I sent along the CPU dump that Win98 provides.

Elizabeth

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin

2002-03-20 Thread Earnie Boyd

Yes,  you didn't use the prescribed method to install it.

http://cygwin.com/setup.exe

Earnie.

"C. Han" wrote:
> 
> Sorry to bother you but I thought maybe you could help me with this
> 
> I got gcc package 2.95.3-5 and whenever i try to compile something it
> gives me a error of cannot find -luser32 do you know if I am missing
> an argument? or something. Thanks
> 
> --
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards®

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Error using make.exe without bash shell

2002-03-20 Thread Leandro Gustavo Biss Becker

Hi

I have a  problem with make (2.79.1) and latest cygwin1.dll (Win 2000 SP2):

I have a makefile that looks like this:


OUTPUT=C:\cygwin\TesteGNU\TesteGNU.exe
OBJS=main.o

C:\cygwin\TesteGNU\TesteGNU.exe: $(OBJS)
C:\cygwin\bin\ld.exe -Bstatic -T C:\cygwin\lib\ldscripts\i386pe.xn \
-o $@ \
C:\cygwin\lib\crt0.o \
-LC:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.3-5\ \
-LC:\cygwin\lib\ \
$(OBJS) \
-lstdc++ -lm \
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.3-5\libgcc.a \
--start-group -lc --end-group \
C:\cygwin\lib\w32api\libkernel32.a \
C:\cygwin\lib\libcygwin.a \
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.3-5\libgcc.a

main.o : main.cpp
C:\cygwin\bin\g++.exe -c -g -o$@ $<


When I run make file from DOS command line I got an error like this:


C:\cygwin\bin\g++.exe -c -g -omain.o main.cpp
make: C:\cygwin\bin\g++.exe: Command not found
make: *** [main.o] Error 127

but if I type C:\cygwin\bin\g++.exe --version at dos cmd line I got the
version like expected.

What can be ?

PS.:

The space before the compiler command line is a TAB and I already have this
makefile working at a past time.
Thanks in advance.

Leandro



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Updated: texinfo 4.1

2002-03-20 Thread Andrew DeFaria

This is strange! Why did this happen? I posted it but Oliver Nittka is 
listed as the poster. Then the odd mail headers and to the wrong 
subject. Hmmm... Mysterious...

Oliver Nittka wrote:

> Organization: Salira Optical Networks
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 
>Netscape6/6.2
> X-Accept-Language: en-us
> MIME-Version: 1.0
> Followup-To: [EMAIL PROTECTED]
> To: Pavel Tsekov <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> Subject: Re: Anonymous ftp on 1.3.9
> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
> X-OriginalArrivalTime: 20 Mar 2002 20:13:56.0340 (UTC) FILETIME=[C3747B40:01C1D04B]
> X-Virus-Scanned: by AMaViS perl-11
> 
> Hmmm... Why did you email me personally? Keep it on the list! (I thought 
> I had set up the Followup-To or the Reply-To to handle this).
> 
> Pavel Tsekov wrote:
> 
> 
>>Hello Andrew,
>>
>>Wednesday, March 20, 2002, 2:38:01 AM, you wrote:
>>
>>AD> I had set up anonymous ftp before and it was working find (probably
>>AD> around 1.3.6). Now on 1.3.9 it doesn't seem to be working right. I've
>>
>>What exactly isn't working ?
>>
> 
> adefaria:/bin/ftp adefaria
> Connected to adefaria.SALIRA.COM.
> 220- Welcome to adefaria's ftp service
> 220 adefaria FTP server (GNU inetutils 1.3.2) ready.
> Name (adefaria:adefaria): anonymous
> 331 Guest login ok, send your complete e-mail address as password.
> Password:
> 530 Login incorrect.
> /bin/ftp: Login failed.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp>
> 
>>[snip]
>>
>>AD> ftpd : Win32 Process Id = 0x998 : Cygwin Process Id = 0xA78 : fcntl
>>AD> F_SETOWN: Invalid argument.
>>
>>Search the mail list archives - it's all there.
>>
> 
> Searched the mail list. There were 32 matches for F_SETOWN. None of them 
> are appropriate. Some discussed F_SETOWN in the event log and how we can 
> safely ignore it. However as shown above, I cannot perform anonymous 
> ftp's and the event log F_SETOWN message is my only clue.
> 
> 
>>AD> It's this F_SETOWN fcntl call that concerns me. Anybody have anonymous
>>
>>I think not, but again you don't say what isn't working
>>
> 
> As shown above, I cannot successfully login as anonymous through ftpd
> 
> 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: termcap problem in RXVT?

2002-03-20 Thread Andrew DeFaria

Larry Hall (RFK Partners, Inc) wrote:

> The short answer is "the answer is in the email archives".


Not really. All the below reference says is that this is intentional, 
not why it's being done. My question was why.


> See:
> 
> http://sources.redhat.com/ml/cygwin/2001-11/msg01018.html
> 
> There's also various threads that follow this one where people are caught
> by the change in bash's behavior.  There was mention of an idea which
> would have Cygwin set the environment variables that would normally be 
> initialized during login on a *NIX system but it appears that functionality 
> is waiting for a volunteer AFAICT.  Wanna take a run at this?

Somebody's actually waiting for somebody else to put:

export SHELL

in /etc/profile?!?

I wouldn't mind taking a crack at this if 1) I knew the process of what 
needs to be done to "crack it" as it were (probably off of the Cygwin 
web page under contributors somewhere but this is such a simple change - 
it's not like I'm developing some package or something) and 2) Not 
knowing *why* "Bash no longer auto-exports HOME, PATH, SHELL and 
TERM..." I a bit hesitent to just export them.




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Dan Browning

At 07:27 PM 3/20/2002, Luke J Crook wrote:
 >Thanks for the help guys, I read the the FAQ and have since uninstalled
 >Ruby, and deleted everythin in the the c:\Cygwin directory. I decided to
 >start from scratch.
 >
 >However, even after re-installing Cygwin, I still have the same problem as I
 >described previously... ld can't find -luser32. Could this be a possible bug
 >in the installer?
 >
 >The only way I can fix this is by copying the contents of /usr/lib/w32api
 >into /lib and /usr/lib.
 >
 >-Luke

Ditto.

#
##  Steps to reproduce:
#

* Remove old cygwin ("del /s /q c:\cygwin")

* Install "All" using the new cygwin installer

#
##  Symptoms
#

* luser32 is nowhere to be found.  (unlike Luke, I do not have a 
"/usr/lib/w32api" directory).

#
##  Unsuccessful attempts
#

* I do not have any cygwin*.dll other than c:\cygwin\bin

* I don't have any gcc* files on my system other than c:\cygwin\bin

* I have scoured my PATH for anything that might skewer results to no avail.

* I have tried a "reinstall" of everything, to no avail.

* I have tried various versions of w32api, to no avail.

* I've reinstalled cygwin several dozen times, as recently as 
yesterday.  But today is the first time I've seen this problem.

#
##  Support information
#

dpbrowning@DANB3 ~
$ gcc hello.cc
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: 
cannot find -luser32
collect2: ld returned 1 exit status

dpbrowning@DANB3 ~
$ find / -name "luser32*"

dpbrowning@DANB3 ~
$

* cygcheck output attached.

#
##  Conclusion
#

Further debugging techniques would be appreciated.  Thanks,


+
| Dan Browning, Kavod Technologies <[EMAIL PROTECTED]>
+
You never know how many friends you have until you rent a house on the
beach.


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Mar 20 17:08:23 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

Path:   C:\cygwin\usr\local\bin
 C:\cygwin\bin
 C:\cygwin\bin
 c:\j2sdk1.4.0\bin
 C:\cygwin\bin
 c:\WINNT\system32
 c:\WINNT
 c:\WINNT\System32\Wbem
 c:\PROGRA~1\Tcl\bin
 c:\progra~1\puttyssh
 c:\PROGRA~1\COMMON~1\AUTODE~1
 c:\mysql\bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `C:\cygwin\home\dpbrowning'
MAKE_MODE = `unix'
PWD = `/home/dpbrowning'
USER = `dpbrowning'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\dpbrowning\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `DANB3'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\'
JAVA_HOME = `C:\j2sdk1.4.0'
LOGONSERVER = `\\DANB3'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 4 Stepping 4, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0404'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\WINNT\TEMP'
TERM = `cygwin'
TMP = `c:\WINNT\TEMP'
TMPDIR = `c:\temp'
USERDOMAIN = `DANB3'
USERNAME = `dpbrowning'
USERPROFILE = `C:\Documents and Settings\dpbrowning'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
   (default) = `/cygdrive'
   cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start 
Menu\Programs\Cygnus Solutions
   (default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
   (default) = `C:/cygwin'
   flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
   (default) = `C:/cygwin/bin'
   flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
   (default) = `C:/cygwin/lib'
   flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solu

Re: Updated: texinfo 4.1

2002-03-20 Thread Christopher Faylor

On Thu, Mar 21, 2002 at 02:15:43AM +0100, Oliver Nittka wrote:
>NNTP-Posting-Host: 206.184.204.2
>Mime-Version: 1.0
>Content-Type: text/plain; charset=us-ascii; format=flowed
>Content-Transfer-Encoding: 7bit
>X-Trace: main.gmane.org 1016672925 23930 206.184.204.2 (21 Mar 2002 01:08:45 GMT)
>X-Complaints-To: [EMAIL PROTECTED]
>NNTP-Posting-Date: Thu, 21 Mar 2002 01:08:45 + (UTC)
>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 
>Netscape6/6.2
>X-Accept-Language: en-us
>X-Virus-Scanned: by AMaViS perl-11

Wow.  Two people in one day to block from posting here...

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: termcap problem in RXVT?

2002-03-20 Thread Larry Hall (RFK Partners, Inc)

At 08:13 PM 3/20/2002, Andrew DeFaria wrote:
>Larry Hall (RFK Partners, Inc) wrote:
>
>>The short answer is "the answer is in the email archives".
>
>
>Not really. All the below reference says is that this is intentional, not why it's 
>being done. My question was why.

If you follow the later posts as I mention below, you might find the answers.



>>See:
>>http://sources.redhat.com/ml/cygwin/2001-11/msg01018.html
>>There's also various threads that follow this one where people are caught
>>by the change in bash's behavior.  There was mention of an idea which
>>would have Cygwin set the environment variables that would normally be initialized 
>during login on a *NIX system but it appears that functionality is waiting for a 
>volunteer AFAICT.  Wanna take a run at this?
>
>Somebody's actually waiting for somebody else to put:
>
>export SHELL
>
>in /etc/profile?!?
>
>I wouldn't mind taking a crack at this if 1) I knew the process of what needs to be 
>done to "crack it" as it were (probably off of the Cygwin web page under contributors 
>somewhere but this is such a simple change - it's not like I'm developing some 
>package or something) and 2) Not knowing *why* "Bash no longer auto-exports HOME, 
>PATH, SHELL and TERM..." I a bit hesitent to just export them.


If you're really interested in understanding what the background on this
issue is, you'll want to check out the discussions in the email archives
regarding the problems that arose when bash was changed.  

BTW, bash was changed because these environment variables are set at login
on *NIX platforms, so setting them in bash is redundant at best.  

But I still recommend looking at the email archives to understand 
everyone's ideas on this issue.





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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Dan Browning

At 05:36 PM 3/20/2002 -0800, you wrote:
>At 07:27 PM 3/20/2002, Luke J Crook wrote:
> >Thanks for the help guys, I read the the FAQ and have since uninstalled
> >Ruby, and deleted everythin in the the c:\Cygwin directory. I decided to
> >start from scratch.
> >
> >However, even after re-installing Cygwin, I still have the same problem as I
> >described previously... ld can't find -luser32. Could this be a possible bug
> >in the installer?
> >
> >The only way I can fix this is by copying the contents of /usr/lib/w32api
> >into /lib and /usr/lib.
> >
> >-Luke
>
>Ditto.
>
>#
>##  Steps to reproduce:
>#
>
>* Remove old cygwin ("del /s /q c:\cygwin")
>
>* Install "All" using the new cygwin installer
>
>#
>##  Symptoms
>#
>
>* luser32 is nowhere to be found.  (unlike Luke, I do not have a 
>"/usr/lib/w32api" directory).

Correction:

The "c:\cygwin\usr\lib\w32api" DOES actually exist in windows, but I could 
not access that directory within the cygwin shell:

$ cd /usr/lib/w32api
bash: cd: /usr/lib/w32api: No such file or directory

However, if I copy "c:\cygwin\usr\lib\w32api" to c:\cygwin\lib, then 
everything works (like what Luke said).

So what I think we're dealing with here is, "why can't cygwin see the 
c:\cygwin\usr\lib\w32api directory"?

Thanks again,

+
| Dan Browning, Kavod Technologies <[EMAIL PROTECTED]>
+
"I went to the museum where they had all the heads and arms from the
statues that are in all the other museums."
 -- Steven Wright


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Updated: texinfo 4.1

2002-03-20 Thread Oliver Nittka

NNTP-Posting-Host: 206.184.204.2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1016672925 23930 206.184.204.2 (21 Mar 2002 01:08:45 GMT)
X-Complaints-To: [EMAIL PROTECTED]
NNTP-Posting-Date: Thu, 21 Mar 2002 01:08:45 + (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 
Netscape6/6.2
X-Accept-Language: en-us
X-Virus-Scanned: by AMaViS perl-11

This is strange! Why did this happen? I posted it but Oliver Nittka is 
listed as the poster. Then the odd mail headers and to the wrong 
subject. Hmmm... Mysterious...

Oliver Nittka wrote:

> Organization: Salira Optical Networks
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 
>Netscape6/6.2
> X-Accept-Language: en-us
> MIME-Version: 1.0
> Followup-To: [EMAIL PROTECTED]
> To: Pavel Tsekov <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> Subject: Re: Anonymous ftp on 1.3.9
> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
> X-OriginalArrivalTime: 20 Mar 2002 20:13:56.0340 (UTC) FILETIME=[C3747B40:01C1D04B]
> X-Virus-Scanned: by AMaViS perl-11
> 
> Hmmm... Why did you email me personally? Keep it on the list! (I thought 
> I had set up the Followup-To or the Reply-To to handle this).
> 
> Pavel Tsekov wrote:
> 
> 
>>Hello Andrew,
>>
>>Wednesday, March 20, 2002, 2:38:01 AM, you wrote:
>>
>>AD> I had set up anonymous ftp before and it was working find (probably
>>AD> around 1.3.6). Now on 1.3.9 it doesn't seem to be working right. I've
>>
>>What exactly isn't working ?
>>
> 
> adefaria:/bin/ftp adefaria
> Connected to adefaria.SALIRA.COM.
> 220- Welcome to adefaria's ftp service
> 220 adefaria FTP server (GNU inetutils 1.3.2) ready.
> Name (adefaria:adefaria): anonymous
> 331 Guest login ok, send your complete e-mail address as password.
> Password:
> 530 Login incorrect.
> /bin/ftp: Login failed.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp>
> 
>>[snip]
>>
>>AD> ftpd : Win32 Process Id = 0x998 : Cygwin Process Id = 0xA78 : fcntl
>>AD> F_SETOWN: Invalid argument.
>>
>>Search the mail list archives - it's all there.
>>
> 
> Searched the mail list. There were 32 matches for F_SETOWN. None of them 
> are appropriate. Some discussed F_SETOWN in the event log and how we can 
> safely ignore it. However as shown above, I cannot perform anonymous 
> ftp's and the event log F_SETOWN message is my only clue.
> 
> 
>>AD> It's this F_SETOWN fcntl call that concerns me. Anybody have anonymous
>>
>>I think not, but again you don't say what isn't working
>>
> 
> As shown above, I cannot successfully login as anonymous through ftpd
> 
> 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: OT: possible project/research project

2002-03-20 Thread Joshua Daniel Franklin

Just to get a little more off-topic...

> Don't forget this:
> 
> "... this is the best of all possible worlds."
>   -- Voltaire

Maybe this was a joke, but you *do* realize that this was taken from
a work of fiction? (_Candide_, which was a satire of Gottfried Wilhelm
Leibnitz' philosophy.) Leibnitz claimed, in _Theodicee_, that the presence of
evil in God's Creation does not mean that God is not perfect, which was
lampooned into 

1. God created the world
2. God is perfect
3. Creation is perfect as possible

In other words, neither Voltaire nor Leibnitz ever really claimed that "this
is the best of all possible worlds."

Perhaps this area would make an interesting research project, too.

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Dan Browning

At 08:56 PM 3/20/2002 -0500, you wrote:
>At 08:52 PM 3/20/2002, Dan Browning wrote:
> >At 05:36 PM 3/20/2002 -0800, you wrote:
> >>At 07:27 PM 3/20/2002, Luke J Crook wrote:
> >> >Thanks for the help guys, I read the the FAQ and have since uninstalled
> >> >Ruby, and deleted everythin in the the c:\Cygwin directory. I decided to
> >> >start from scratch.
> >> >
> >> >However, even after re-installing Cygwin, I still have the same 
> problem as I
> >> >described previously... ld can't find -luser32. Could this be a 
> possible bug
> >> >in the installer?
> >> >
> >> >The only way I can fix this is by copying the contents of /usr/lib/w32api
> >> >into /lib and /usr/lib.
> >> >
> >> >-Luke
> >>
> >>Ditto.
> >>
> >>#
> >>##  Steps to reproduce:
> >>#
> >>
> >>* Remove old cygwin ("del /s /q c:\cygwin")
> >>
> >>* Install "All" using the new cygwin installer
> >>
> >>#
> >>##  Symptoms
> >>#
> >>
> >>* luser32 is nowhere to be found.  (unlike Luke, I do not have a 
> "/usr/lib/w32api" directory).
> >
> >Correction:
> >
> >The "c:\cygwin\usr\lib\w32api" DOES actually exist in windows, but I 
> could not access that directory within the cygwin shell:
> >
> >$ cd /usr/lib/w32api
> >bash: cd: /usr/lib/w32api: No such file or directory
> >
> >However, if I copy "c:\cygwin\usr\lib\w32api" to c:\cygwin\lib, then 
> everything works (like what Luke said).
> >
> >So what I think we're dealing with here is, "why can't cygwin see the 
> c:\cygwin\usr\lib\w32api directory"?
>
>
>Sounds like a permissions problem to me.  What does ls -l /usr/lib/w32api
>show?



$ ls -l /usr/lib/w32api
ls: /usr/lib/w32api: No such file or directory

Perhaps it has something to do with the /usr/lib -> /lib 
mounting?  http://cygwin.com/faq/faq.html#SEC61



| Dan Browning, Kavod Technologies <[EMAIL PROTECTED]>
+
Lieberman's Law:
 Everybody lies, but it doesn't matter since nobody listens.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Christopher Faylor

On Wed, Mar 20, 2002 at 05:52:18PM -0800, Dan Browning wrote:
>The "c:\cygwin\usr\lib\w32api" DOES actually exist in windows, but I could 
>not access that directory within the cygwin shell:
>
>$ cd /usr/lib/w32api
>bash: cd: /usr/lib/w32api: No such file or directory
>
>However, if I copy "c:\cygwin\usr\lib\w32api" to c:\cygwin\lib, then 
>everything works (like what Luke said).

Wow.  How many times are we going to repeat the fact that copying files
inappropriately "solves" the problem?

Maybe we need a new newsgroup
"[EMAIL PROTECTED]"

>So what I think we're dealing with here is, "why can't cygwin see the 
>c:\cygwin\usr\lib\w32api directory"?

Because your mount table is screwed up.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Larry Hall (RFK Partners, Inc)

At 08:52 PM 3/20/2002, Dan Browning wrote:
>At 05:36 PM 3/20/2002 -0800, you wrote:
>>At 07:27 PM 3/20/2002, Luke J Crook wrote:
>> >Thanks for the help guys, I read the the FAQ and have since uninstalled
>> >Ruby, and deleted everythin in the the c:\Cygwin directory. I decided to
>> >start from scratch.
>> >
>> >However, even after re-installing Cygwin, I still have the same problem as I
>> >described previously... ld can't find -luser32. Could this be a possible bug
>> >in the installer?
>> >
>> >The only way I can fix this is by copying the contents of /usr/lib/w32api
>> >into /lib and /usr/lib.
>> >
>> >-Luke
>>
>>Ditto.
>>
>>#
>>##  Steps to reproduce:
>>#
>>
>>* Remove old cygwin ("del /s /q c:\cygwin")
>>
>>* Install "All" using the new cygwin installer
>>
>>#
>>##  Symptoms
>>#
>>
>>* luser32 is nowhere to be found.  (unlike Luke, I do not have a "/usr/lib/w32api" 
>directory).
>
>Correction:
>
>The "c:\cygwin\usr\lib\w32api" DOES actually exist in windows, but I could not access 
>that directory within the cygwin shell:
>
>$ cd /usr/lib/w32api
>bash: cd: /usr/lib/w32api: No such file or directory
>
>However, if I copy "c:\cygwin\usr\lib\w32api" to c:\cygwin\lib, then everything works 
>(like what Luke said).
>
>So what I think we're dealing with here is, "why can't cygwin see the 
>c:\cygwin\usr\lib\w32api directory"?


Sounds like a permissions problem to me.  What does ls -l /usr/lib/w32api
show?



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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Dan Browning

At 06:09 PM 3/20/2002 -0800, you wrote:
>At 08:56 PM 3/20/2002 -0500, you wrote:
>>At 08:52 PM 3/20/2002, Dan Browning wrote:
>> >At 05:36 PM 3/20/2002 -0800, you wrote:
>> >>At 07:27 PM 3/20/2002, Luke J Crook wrote:
>> >> >Thanks for the help guys, I read the the FAQ and have since uninstalled
>> >> >Ruby, and deleted everythin in the the c:\Cygwin directory. I decided to
>> >> >start from scratch.
>> >> >
>> >> >However, even after re-installing Cygwin, I still have the same 
>> problem as I
>> >> >described previously... ld can't find -luser32. Could this be a 
>> possible bug
>> >> >in the installer?
>> >> >
>> >> >The only way I can fix this is by copying the contents of 
>> /usr/lib/w32api
>> >> >into /lib and /usr/lib.
>> >> >
>> >> >-Luke
>> >>
>> >>Ditto.
>> >>
>> >>#
>> >>##  Steps to reproduce:
>> >>#
>> >>
>> >>* Remove old cygwin ("del /s /q c:\cygwin")
>> >>
>> >>* Install "All" using the new cygwin installer
>> >>
>> >>#
>> >>##  Symptoms
>> >>#
>> >>
>> >>* luser32 is nowhere to be found.  (unlike Luke, I do not have a 
>> "/usr/lib/w32api" directory).
>> >
>> >Correction:
>> >
>> >The "c:\cygwin\usr\lib\w32api" DOES actually exist in windows, but I 
>> could not access that directory within the cygwin shell:
>> >
>> >$ cd /usr/lib/w32api
>> >bash: cd: /usr/lib/w32api: No such file or directory
>> >
>> >However, if I copy "c:\cygwin\usr\lib\w32api" to c:\cygwin\lib, then 
>> everything works (like what Luke said).
>> >
>> >So what I think we're dealing with here is, "why can't cygwin see the 
>> c:\cygwin\usr\lib\w32api directory"?
>>
>>
>>Sounds like a permissions problem to me.  What does ls -l /usr/lib/w32api
>>show?
>
>
>
>$ ls -l /usr/lib/w32api
>ls: /usr/lib/w32api: No such file or directory
>
>Perhaps it has something to do with the /usr/lib -> /lib 
>mounting?  http://cygwin.com/faq/faq.html#SEC61

# It exists if I use the /cgydrive... method:

$ ll /cygdrive/c/cygwin/usr/lib/w32api
total 5704
-rw-r--r--1 dpbrowni None   408608 Dec  7 06:51 libadvapi32.a
-rw-r--r--1 dpbrowni None 4254 Dec  7 06:51 libcap.a
-rw-r--r--1 dpbrowni None94488 Dec  7 06:51 libcomctl32.a
-rw-r--r--1 dpbrowni None19752 Dec  7 06:51 libcomdlg32.a
-rw-r--r--1 dpbrowni None20062 Dec  7 06:51 libctl3d32.a
-rw-r--r--1 dpbrowni None 5122 Dec  7 06:51 libd3dim.a
[...]

# But not regular ls:

$ ls /usr/lib/w32api
ls: /usr/lib/w32api: No such file or directory

# I don't know if the mount output helps at all:

$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
e: on /cygdrive/e type user (binmode,noumount)
k: on /cygdrive/k type user (binmode,noumount)

I had an extra cygwin.dll in c:\mysql\bin, but I got rid of that and the 
same problem.


As far as permissions, here is a look through /cygdrive's eyes:

$ ll /cygdrive/c/cygwin/usr/lib
total 457
-rw-r--r--1 dpbrowni None   408560 Apr 25  2001 libglui.a
-rw-r--r--1 dpbrowni None26402 Apr 25  2001 libgluix.a
drwxr-xr-x2 dpbrowni None0 Mar 20 16:58 mingw
drwxr-xr-x2 dpbrowni None32768 Mar 20 17:01 w32api

And the windows permissions matched other cygwin directories I've seen 
(Everyone = Full Control, owned by my group: DANB3\Administrators).

I hope that helps,

+
| Dan Browning, Kavod Technologies <[EMAIL PROTECTED]>
+
Lieberman's Law:
 Everybody lies, but it doesn't matter since nobody listens.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Ross Smith

> From: Dan Browning [mailto:[EMAIL PROTECTED]]
> 
> At 08:56 PM 3/20/2002 -0500, you wrote:
> >At 08:52 PM 3/20/2002, Dan Browning wrote:
> > >
> > >The "c:\cygwin\usr\lib\w32api" DOES actually exist in 
> windows, but I 
> > could not access that directory within the cygwin shell:
> > >
> > >$ cd /usr/lib/w32api
> > >bash: cd: /usr/lib/w32api: No such file or directory
> > >
> > >However, if I copy "c:\cygwin\usr\lib\w32api" to 
> c:\cygwin\lib, then 
> > everything works (like what Luke said).
> > >
> > >So what I think we're dealing with here is, "why can't 
> cygwin see the 
> > c:\cygwin\usr\lib\w32api directory"?
> >
> >
> >Sounds like a permissions problem to me.  What does ls -l 
> /usr/lib/w32api
> >show?
> 
> 
> 
> $ ls -l /usr/lib/w32api
> ls: /usr/lib/w32api: No such file or directory
> 
> Perhaps it has something to do with the /usr/lib -> /lib 
> mounting?  http://cygwin.com/faq/faq.html#SEC61

It looks as though the w32api directory has been put under the real
/usr/lib (== c:\cygwin\usr\lib) instead of under the mounted
directory (/usr/lib == c:\cygwin\lib) (which is where it is on my
system). When the mount point is set up, this renders invisible
anything actually existing under the mount-point directory.

Whether this would have been caused by a setup bug or pilot error
I couldn't guess.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error but copying w32api works. It works I tell you! (setup problem?)

2002-03-20 Thread Christopher Faylor

On Wed, Mar 20, 2002 at 06:23:35PM -0800, Dan Browning wrote:
>At 06:09 PM 3/20/2002 -0800, you wrote:
>>At 08:56 PM 3/20/2002 -0500, you wrote:
>>>At 08:52 PM 3/20/2002, Dan Browning wrote:
At 05:36 PM 3/20/2002 -0800, you wrote:
>At 07:27 PM 3/20/2002, Luke J Crook wrote:
> >Thanks for the help guys, I read the the FAQ and have since 
>>>uninstalled
> >Ruby, and deleted everythin in the the c:\Cygwin directory. I decided 
>>>to
> >start from scratch.
> >
> >However, even after re-installing Cygwin, I still have the same 
>>>problem as I
> >described previously... ld can't find -luser32. Could this be a 
>>>possible bug
> >in the installer?
> >
> >The only way I can fix this is by copying the contents of 
>>>/usr/lib/w32api
> >into /lib and /usr/lib.
> >
> >-Luke
>
>Ditto.
>
>#
>##  Steps to reproduce:
>#
>
>* Remove old cygwin ("del /s /q c:\cygwin")
>
>* Install "All" using the new cygwin installer
>
>#
>##  Symptoms
>#
>
>* luser32 is nowhere to be found.  (unlike Luke, I do not have a 
>>>"/usr/lib/w32api" directory).

Correction:

The "c:\cygwin\usr\lib\w32api" DOES actually exist in windows, but I 
>>>could not access that directory within the cygwin shell:

$ cd /usr/lib/w32api
bash: cd: /usr/lib/w32api: No such file or directory

However, if I copy "c:\cygwin\usr\lib\w32api" to c:\cygwin\lib, then 
>>>everything works (like what Luke said).

So what I think we're dealing with here is, "why can't cygwin see the 
>>>c:\cygwin\usr\lib\w32api directory"?
>>>
>>>
>>>Sounds like a permissions problem to me.  What does ls -l /usr/lib/w32api
>>>show?
>>
>>
>>
>>$ ls -l /usr/lib/w32api
>>ls: /usr/lib/w32api: No such file or directory
>>
>>Perhaps it has something to do with the /usr/lib -> /lib 
>>mounting?  http://cygwin.com/faq/faq.html#SEC61
>
># It exists if I use the /cgydrive... method:
>
>$ ll /cygdrive/c/cygwin/usr/lib/w32api
>total 5704
>-rw-r--r--1 dpbrowni None   408608 Dec  7 06:51 libadvapi32.a
>-rw-r--r--1 dpbrowni None 4254 Dec  7 06:51 libcap.a
>-rw-r--r--1 dpbrowni None94488 Dec  7 06:51 libcomctl32.a
>-rw-r--r--1 dpbrowni None19752 Dec  7 06:51 libcomdlg32.a
>-rw-r--r--1 dpbrowni None20062 Dec  7 06:51 libctl3d32.a
>-rw-r--r--1 dpbrowni None 5122 Dec  7 06:51 libd3dim.a
>[...]
>
># But not regular ls:
>
>$ ls /usr/lib/w32api
>ls: /usr/lib/w32api: No such file or directory

So, this does sound like a setup.exe problem after all.  Looks like I
was wrong.

Somehow setup.exe is bypassing the mount table and putting stuff
directly in c:/cygwin/usr/lib/w32api rather than in c:/lib/w32api.

So, the *correct* solution is to

mv /cygdrive/c/cygwin/usr/lib/w32api /cygdrive/c/cygwin/lib

Robert, I hope you're reading this.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Dan Browning

At 09:11 PM 3/20/2002 -0500, you wrote:
>On Wed, Mar 20, 2002 at 05:52:18PM -0800, Dan Browning wrote:
> >The "c:\cygwin\usr\lib\w32api" DOES actually exist in windows, but I could
> >not access that directory within the cygwin shell:
> >
> >$ cd /usr/lib/w32api
> >bash: cd: /usr/lib/w32api: No such file or directory
> >
> >However, if I copy "c:\cygwin\usr\lib\w32api" to c:\cygwin\lib, then
> >everything works (like what Luke said).
>
>Wow.  How many times are we going to repeat the fact that copying files
>inappropriately "solves" the problem?
>
>Maybe we need a new newsgroup
>"[EMAIL PROTECTED]"
>
> >So what I think we're dealing with here is, "why can't cygwin see the
> >c:\cygwin\usr\lib\w32api directory"?
>
>Because your mount table is screwed up.
>
>cgf

I see you've mentioned that before 
(http://www.cygwin.com/ml/cygwin/2000-04/msg00767.html) to some other 
hapless soul, but what do you recommend as a fix?


+
| Dan Browning, Kavod Technologies <[EMAIL PROTECTED]>
+
Lieberman's Law:
 Everybody lies, but it doesn't matter since nobody listens.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error but copying w32api works. It works I tell you! (setup problem?)

2002-03-20 Thread Dan Browning

At 09:31 PM 3/20/2002 -0500, Christopher Faylor wrote:
>On Wed, Mar 20, 2002 at 06:23:35PM -0800, Dan Browning wrote:
> >At 06:09 PM 3/20/2002 -0800, you wrote:
> >>At 08:56 PM 3/20/2002 -0500, you wrote:
> >>>At 08:52 PM 3/20/2002, Dan Browning wrote:
> At 05:36 PM 3/20/2002 -0800, you wrote:
> >At 07:27 PM 3/20/2002, Luke J Crook wrote:
> > >Thanks for the help guys, I read the the FAQ and have since
> >>>uninstalled
> > >Ruby, and deleted everythin in the the c:\Cygwin directory. I decided
> >>>to
> > >start from scratch.
> > >
> > >However, even after re-installing Cygwin, I still have the same
> >>>problem as I
> > >described previously... ld can't find -luser32. Could this be a
> >>>possible bug
> > >in the installer?
> > >
> > >The only way I can fix this is by copying the contents of
> >>>/usr/lib/w32api
> > >into /lib and /usr/lib.
> > >
> > >-Luke
> >
> >Ditto.
> >
> >#
> >##  Steps to reproduce:
> >#
> >
> >* Remove old cygwin ("del /s /q c:\cygwin")
> >
> >* Install "All" using the new cygwin installer
> >
> >#
> >##  Symptoms
> >#
> >
> >* luser32 is nowhere to be found.  (unlike Luke, I do not have a
> >>>"/usr/lib/w32api" directory).
> 
> Correction:
> 
> The "c:\cygwin\usr\lib\w32api" DOES actually exist in windows, but I
> >>>could not access that directory within the cygwin shell:
> 
> $ cd /usr/lib/w32api
> bash: cd: /usr/lib/w32api: No such file or directory
> 
> However, if I copy "c:\cygwin\usr\lib\w32api" to c:\cygwin\lib, then
> >>>everything works (like what Luke said).
> 
> So what I think we're dealing with here is, "why can't cygwin see the
> >>>c:\cygwin\usr\lib\w32api directory"?
> >>>
> >>>
> >>>Sounds like a permissions problem to me.  What does ls -l /usr/lib/w32api
> >>>show?
> >>
> >>
> >>
> >>$ ls -l /usr/lib/w32api
> >>ls: /usr/lib/w32api: No such file or directory
> >>
> >>Perhaps it has something to do with the /usr/lib -> /lib
> >>mounting?  http://cygwin.com/faq/faq.html#SEC61
> >
> ># It exists if I use the /cgydrive... method:
> >
> >$ ll /cygdrive/c/cygwin/usr/lib/w32api
> >total 5704
> >-rw-r--r--1 dpbrowni None   408608 Dec  7 06:51 libadvapi32.a
> >-rw-r--r--1 dpbrowni None 4254 Dec  7 06:51 libcap.a
> >-rw-r--r--1 dpbrowni None94488 Dec  7 06:51 libcomctl32.a
> >-rw-r--r--1 dpbrowni None19752 Dec  7 06:51 libcomdlg32.a
> >-rw-r--r--1 dpbrowni None20062 Dec  7 06:51 libctl3d32.a
> >-rw-r--r--1 dpbrowni None 5122 Dec  7 06:51 libd3dim.a
> >[...]
> >
> ># But not regular ls:
> >
> >$ ls /usr/lib/w32api
> >ls: /usr/lib/w32api: No such file or directory
>
>So, this does sound like a setup.exe problem after all.  Looks like I
>was wrong.
>
>Somehow setup.exe is bypassing the mount table and putting stuff
>directly in c:/cygwin/usr/lib/w32api rather than in c:/lib/w32api.
>
>So, the *correct* solution is to
>
>mv /cygdrive/c/cygwin/usr/lib/w32api /cygdrive/c/cygwin/lib
>
>Robert, I hope you're reading this.
>
>cgf

Thanks!  Sorry if I was a bit curt on that last one.  Now I'm off to figure 
out why I get "Had to create DBI::_dbistate unexpectedly" errors in perl DBI.

+
| Dan Browning, Kavod Technologies <[EMAIL PROTECTED]>
+
A LISP programmer knows the value of everything, but the cost of
nothing.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: OT: possible project/research project

2002-03-20 Thread Gary R. Van Sickle

> Sir,
>
> We await your improved model for process control and the operating system
> that implements it.
>

Senor,

Well wait no longer!  These days, by gosh, we got everything from spawns to
execs to named synchronization objects to... dare I say it?... yes, even
threads!  Gone are the days when alls a guy could do was fork dozens of exact
duplicates of the process he was already running when all he wanted was a little
concurrency!

Oh, and don't worry, ALL the OSes gots 'em!

> Randall Schulz
> Mountain View, CA USA
>
> Patriotism is the last refuge of a scoundrel.
>   -- Samuel Johnson

I'm a "scoundrel"?  That's the best you got Randy?  Heehhehehee!

And you're so smitten with fork that you need to start "namecalling"?

--
Gary R. Van Sickle
Brewer.  Patriot.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: OT: possible project/research project

2002-03-20 Thread Gary R. Van Sickle

> I would certainly agree with you about that, but the fact remains, a lot
> of code, that cygwin exists to ease the porting of, uses it. If the work
> was done on fork itself, it would help speed-up a lot more that just
> configure (or similar) scripts.
>
> Stephano Mariani

The thing is, a lot of work *has* been done to make fork as efficient as
possible.  But there's a limit on how fast you can create a new process and
duplicate the current one into it.  And Windows doesn't go out of its way to
help.

--
Gary R. Van Sickle
Brewer.  Patriot.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: OT: possible project/research project

2002-03-20 Thread Gary R. Van Sickle

> The issue at hand though, is twofold:
> 1) Minimise the changes needed to make a proxy for a program. I.e.
> imagine if GCC and cc1plus.exe lived in-process. That would remove 2Mb
> of disk IO for each compile. However the _only_ chance of getting such a
> program proxied would be a minimalistic, non-intrusive approach, or
> keeping a patched branch :[.
> 2) Make the context saving and restoring as low-overhead as possible.
> (if this is > spawn() + wait, there is no point).
>
> Rob

My thinking on this matter (and I've been cogitating about it for some time
actually) takes a slightly different tack.  My basic ideas for a "modernized sh"
are:

1.  Eliminate as much fork()ing as possible, ideally all of it.
2.  Get some concurrency going.

#1 is basically the same as what you propose, though I'm not sure I'm wild about
the DLL idea; if everything's a builtin, why not just statically link?

#2 I think could be a significant win even for Unix folk.  Basically I'm
thinking along the lines of a "pipelined shell", e.g.:

# Why should this...:
rm //a/bunch/of/files/out/on/a/super/slow/server/*
# ...block this:
gcc hello.c

Obviously you're never going to be able to take advatage of all
non-dependencies, but as a wise man once told me, "you can't win if you don't
enter".

--
Gary R. Van Sickle
Brewer.  Patriot.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: OT: possible project/research project

2002-03-20 Thread Gary R. Van Sickle

> Gary,
>
> You labelled yourself a patriot.

I quoted the label of a beer bottle.  Samuel Adams to be precise.

> I just pointed out some relevant wisdom.

Indeed.  But not the relevant wisdom you thought you had.

> If you perceive that to be namecalling, so be it. It's the sort of baseless
> conclusion I expect from someone who admires patriotism.
>

Or drinks beer?

> To the best of my ability to discern it, there is no connection between the
> impoverished and gravely mistaken notion of patriotism and software process
> control models. If you can see one, please share it with me.
>

Well, I think the fork() concept qualifies as "impoverished and gravely
mistaken".  So I got that goin' for me.

> Randy
>

PS: In the future, if you have any insults or namecalling you feel you need to
send my way, please do so in a public forum where others can enjoy your sarcasm.
I have no desire to converse privately with someone who hates his country as
much as he hates himself.

My apologies to the list for bothering to respond to Mr. Schulz' bait.

--
Gary R. Van Sickle
Brewer.  Patriot.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: termcap problem in RXVT?

2002-03-20 Thread Andrew DeFaria

Larry Hall (RFK Partners, Inc) wrote:

>>Not really. All the below reference says is that this is intentional, not why it's 
>being done. My question was why.
> 
> If you follow the later posts as I mention below, you might find the answers.


Don't have the time.


> If you're really interested in understanding what the background on this
> issue is, you'll want to check out the discussions in the email archives
> regarding the problems that arose when bash was changed.  
> 
> BTW, bash was changed because these environment variables are set at login
> on *NIX platforms, so setting them in bash is redundant at best.  
> 
> But I still recommend looking at the email archives to understand 
> everyone's ideas on this issue.


I really don't have the time to do this. I just pointed out the issue.




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ./config -luser32 error but copying w32api works. It works I tellyou! (setup problem?)

2002-03-20 Thread Luke J Crook

I installed Cygwin on 3 different machines today running NT4, XP Home and
Win2000 Server respectively. The problem was reproduced on all.

Tomorrow I will install Cygwin on a brand new machine running XP Professional
(The only other software that has ever been installed on that is Office97).
Tonight I may even get around to installing Cygwin on my P/75 notebook running
Win95 (depending on what time I get to watch Amazing Race 2 on Tivo :)).

I'll post the results tomorrow - see if I can make it 5 out of 5.

-Luke

From: Christopher Faylor  
Date: Wed, 20 Mar 2002 21:31:19 -0500 
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> 

>> So, this does sound like a setup.exe problem after all.  Looks like I
>> was wrong.

>> Somehow setup.exe is bypassing the mount table and putting stuff
>> directly in c:/cygwin/usr/lib/w32api rather than in c:/lib/w32api.

>> So, the *correct* solution is to

>> mv /cygdrive/c/cygwin/usr/lib/w32api /cygdrive/c/cygwin/lib

>> Robert, I hope you're reading this.

>> cgf


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: OT: possible project/research project

2002-03-20 Thread Jesper Eskilson

"Gary R. Van Sickle" <[EMAIL PROTECTED]> writes:

> # Why should this...:
> rm //a/bunch/of/files/out/on/a/super/slow/server/*
> # ...block this:
> gcc hello.c
> 
> Obviously you're never going to be able to take advatage of all
> non-dependencies, but as a wise man once told me, "you can't win if you don't
> enter".

make -j?

-- 
/Jesper


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




STATUS_ACCESS_VIOLATION, but not on build machine

2002-03-20 Thread mark

I'm trying to compile mpeg2enc from the mjpegtools package. The package as a whole 
builds successfully with seemingly no problems. I'm also using ppmtoy4m.exe and 
mplex.exe from the package: these work fine.

mpeg2enc.exe works fine on the build machine (Win98SE with 64MB), but bombs out with a 
STATUS_ACCESS_VIOLATION error on another machine (Win2K with 256MB). This machine does 
not have the Cygwin environment installed, but I did (of course) copy the DLL across. 
I don't believe there is more than one copy of the DLL on the machine - I'll check 
later.

I know mpeg2enc allocates a lot of memory, and also uses threads. Any hints as to what 
I should check next?

-- 
Mark.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/