Re: .a to .lib converting

2005-05-25 Thread Igor Pechtchanski
On Wed, 25 May 2005, Larry Hall wrote:

> At 09:21 AM 5/25/2005, you wrote:
> >On Wed, 25 May 2005, Alireza Ghasemi wrote:
> >
> >> Hello,
> >> I want to use some cygwin .a libraries with other environments(like
> >> VC++) as static .lib files.is this possible?
> >
> >Yes.
>
> Or no. ;-)

Eh?  Your response below points to a "yes", AFAICS...

> >> Can I convert .a files to windows static libraries?
> >
> >Yes.
>
> Or no. ;-)

Ditto.

> >> If possible,what program do I need?
> >
> >This was discussed before, though I'm not sure what the correct search
> >terms would be.  I believe you can simply use "mv libblah.a
> >libblah.lib".  might help,
> >too.
> >Igor
>
> Actually, this is the answer to the opposite question.  The answer to
> that is as the FAQ states.

Umm, right.  That's why I said "might help" rather than point the OP
directly to it... :-)

> Using Cygwin .a's with VC++ isn't as easy, since they are going to pull
> in 'cygwin1.dll' and this cannot currently be initialized properly by
> non-cygwin programs.  Of course, this subject has also be discussed in
> the email archives.  If interested, Alastair Growcott suggested a
> "workaround".  If you're interested in it, see
> .

Ah, yes, this is exactly the message I was thinking of (though I didn't
recall it being this complicated).  Thanks for including a pointer to it.
BTW, we're talking about linking C here, not C++.  The name mangling
differences will make C++ linking much more painful, IIUC.

FWIW, someone else has mentioned working on the DLL initialization code
quite recently -- he might benefit from this pointer as well.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: Questions on patching dcrt0.cc

2005-05-25 Thread Igor Pechtchanski
On Wed, 25 May 2005, Max Kaehn wrote:

> I'm working on a patch to make it possible to load cygwin1.dll
> via LoadLibrary() in MSVC.  The intent is to make it possible
> for non-cygwin applications to be cooperative with cygwin paths
> and signals.
> [snip]

A worthy goal.  Good luck, Max.

> Some questions:
> [snip]
> 2.  I have an MSVC test program that demonstrates and tests this
> functionality.  Where should I submit the source code and
> Makefile -- a subdirectory of contrib?  of winsup/testsuite?
> Since not everyone working on cygwin will have access to the
> Microsoft compiler, should I submit a binary as well as source?
> Where should I submit it?

As I understand it, the same issues arise whether cygwin1.dll is
dynamically loaded from an MSVC application or a MinGW application.
There is a simple way to compile MinGW applications on Cygwin (namely,
"gcc -mno-cygwin").  You could test your approach with a MinGW-compiled
app, and if you see the same behavior as with MSVC, the MinGW app could be
included in the testsuite.

> 3.  I want to spare anyone making use of the test program any
> worries over legalities.  Should I submit it under the cygwin
> license or put it in the public domain?

Either would be fine, AFAIU, but wait for CGF or Corinna to confirm it.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



connect()/cygwin_select() hangs in >=1.5.15

2005-05-25 Thread Sunil
This piece of code hangs with cygwin1.dll >=1.5.15
during connect(), strace is attached. The same code
runs fine with cygwin1.dll version 1.5.13.


 fd = socket (proto->family, 1,
   proto->stream_proto_num);

 if (fd < 0) {
  ;
  goto out;
 }

 if (options & LINK_CONNECTION_NONBLOCKING) {
# 553 "linc-connection.c"
  if (fcntl (fd, 4, 0x4000) < 0)
   goto out;

 }

 if (fcntl (fd, 2, 1) < 0)
  goto out;

 { long int __result; do __result = (long int)
(connect (fd, saddr, saddr_len)); while (__result ==
-1L && (*__errno()) == 4); rv = __result; };
# 596 "linc-connection.c"
 if (rv && (*__errno()) != 119)
  goto out;

---

Similar problem with select() hang has been reported
earlier but nothing came out of it. I don't know if
its related. I am not sure why errno 119 is seen(see
panel.log) in this case, but that and the hang are the
common factors and strace looks similar.

http://www.cygwin.com/ml/cygwin/2005-04/msg01331.html

Above code piece is taken from linc-connection.c in
the orbit2-2.12.2 package. This function is reached by
the gnome-panel and it hangs inside connect() as is
evident from the strace in panel.log and all I get is
a blank gnome-panel.

As I said, all I have to do to get it to work is to go
back to 1.5.13 snapshot. I am not sure what changed
between 1.5.13 and 1.5.15 to cause this.

Thanks for looking into it.
Sunil



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/

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

re: permissions for chmod on network drives

2005-05-25 Thread Lynn Wilson

As Corinna suggested, the latest snapshot does in fact fix the problem.
Thanks.
Lynn

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



Re: permissions for chmod on network drives

2005-05-25 Thread Andreas Huster
--On May 25, 2005 9:32 PM +0200 Corinna Vinschen 
<[EMAIL PROTECTED]> wrote:



On May 25 10:40, Andreas Huster wrote:

Hi,

I know there has been some discussion on permissions (specifically on
chmod) and network drives, but I haven't been able to make sense of
it.



See the thread beginning at
http://cygwin.com/ml/cygwin/2005-04/msg01227.html and try the latest
snapshot from http://cygwin.com/snapshots/


I installed the latest snapshot and the problem was resolved.  Yeah!  I 
suspect I picked up the problem when I updated my cygwin distribution 
sometime last week.


Thanks.

--Andreas

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



re: permissions for chmod on network drives

2005-05-25 Thread Lynn Wilson


I too have seen my CVS share stop working within the past two weeks.  I 
haven't had much time to work on it but I noticed a few things.  
Although I can create files on the share (touch foo) and delete them (rm 
foo) I get a 'permission denied' if I try to do a chmod 777 foo.


The share is on an XP-Home SP2 machine that has been working for many 
months.  I regularly download Cygwin updates so I'm never surprised by 
occasional gotchas.


lynn



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



Re: What are ioctl headers?

2005-05-25 Thread Larry Hall
At 02:42 PM 5/25/2005, you wrote:
>Hello,
>Whe compiling pcap I got following error in "./configure"
>"checking for ANSI ioctl definitions... no
>configure: error: see the INSTALL for more info"
>I got an error like this when compiling another net source.Any idea about
>solving it?
>Thanks.


Look at the 'configure' script to see what it's testing for here.



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


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



Re: .a to .lib converting

2005-05-25 Thread Larry Hall
At 09:21 AM 5/25/2005, you wrote:
>On Wed, 25 May 2005, Alireza Ghasemi wrote:
>
>> Hello,
>> I want to use some cygwin .a libraries with other environments(like VC++) as
>> static .lib files.is this possible?
>
>Yes.


Or no. ;-)


>> Can I convert .a files to windows static libraries?
>
>Yes.


Or no. ;-)


>> If possible,what program do I need?
>
>This was discussed before, though I'm not sure what the correct search
>terms would be.  I believe you can simply use "mv libblah.a libblah.lib".
> might help, too.
>Igor


Actually, this is the answer to the opposite question.  The answer to that
is as the FAQ states.  Using Cygwin .a's with VC++ isn't as easy, since 
they are going to pull in 'cygwin1.dll' and this cannot currently be 
initialized properly by non-cygwin programs.  Of course, this subject
has also be discussed in the email archives.  If interested, Alastair
Growcott suggested a "workaround".  If you're interested in it, see
.  I'd 
recommend directing questions about this to him, though it's worthwhile
to cc the list for posterity. :-)


>P.S. Your space key seems to be malfunctioning...


Yeah, I noticed that. :-)


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


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



Re: Problems with Cygwin Installer

2005-05-25 Thread Lev Bishop
On 25/05/05, Dave Korn wrote:
> Original Message
> >From: dirty(DOT)harry(ATSIGN)juno(DOT)com
  ^^^
Ahem.

>  This came up just recently and I'm quoting from memory and without doing
> my background research, so it may not be 100% accurate, but the root cause
> (connection times out while you're in the chooser) and workaround (don't
> spend so long in the chooser) should be correct!

Another workaround is to click try again and pick a *different* mirror
site than you did the first time. (Not perfect because presumably you
chose the first mirror site for a reason, but at least you haven't
completely wasted half an hour).

Lev

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



Re: [ANNOUNCEMENT] Updated: binutils-20050520-1

2005-05-25 Thread Lev Bishop
On 25/05/05, Dave Korn wrote:
> Original Message
> >From: Lev Bishop
> >Sent: 25 May 2005 11:54

> Yow.  So you copy it from a PE to an ELF, and then back to PE?  You very
> much need to read the section on canonicalisation in the bfd section of the
> ld manual.  "info ld" then search for "BFD information loss".

Yeah, I saw that. I wasn't really expecting the exe to still run after
this or anything, just that it would be something I could get a
reliable fingerprint from. In fact the reason I was doing this is that
I *wanted* to lose information (the date/time field in particular).

> > Segmentation fault (core dumped)
> >
> > This happens with the new binutils and also the previous version.
> 
>  Yup, so something vital didn't get carried over to the ELF format, or
> didn't get converted back.  To be expected really.

Well, I wasn't really expecting it to work, just stabbing in the dark.
However, from the binutils info file "Bug Criteria" section:
]   If you are not sure whether you have found a bug, here are some
] guidelines:
]
]   * If a binary utility gets a fatal signal, for any input whatever,
] that is a bug.  Reliable utilities never crash.

And from the "Bug Reporting"  section:
]   A number of companies and individuals offer support for GNU
] products.  If you obtained the binary utilities from a support
] organization, we recommend you contact that organization first.

I assumed "support organization"==Cygwin, and thought I'd better be a
good citizen and mention the crash.

Anyway, thanks DaveK for the hint to look at the gcc bootstrap files.

Lev

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



Questions on patching dcrt0.cc

2005-05-25 Thread Max Kaehn
I'm working on a patch to make it possible to load cygwin1.dll
via LoadLibrary() in MSVC.  The intent is to make it possible
for non-cygwin applications to be cooperative with cygwin paths
and signals.  (Such applications will need to either be open
source as specified in the cygwin license, GPLed, or under the
Cygwin Contract available at http://www.redhat.com/software/cygwin/ .)

Some questions:

1.  As far as I can determine, the current problem with loading
the cygwin DLL via LoadLibrary is that the cygtls per-thread
context needs 4K of the bottom of the stack to be available to
work with.  That normally gets initialized when the application
loads or a thread is spawned, but it's hard to deal with that
retroactively in the LoadLibrary case.  If you ensure that there's
4K of padding at the bottom of the stack, you can just add
main_environ = user_data->envptr;
*main_environ = NULL;
initialize_main_tls(&_my_tls);
to cygwin_dll_init() just before the call to dll_crt0_1(NULL),
but that's the sort of thing that should come with big warning
signs.  Is this manner of solution-- combined with a sample
program that demonstrates and tests this functionality, a
FAQ entry, and thorough commenting in the code explaining all
the caveats-- acceptable?  Or should I be looking for a
different way to solve the problem?

2.  I have an MSVC test program that demonstrates and tests this
functionality.  Where should I submit the source code and
Makefile -- a subdirectory of contrib?  of winsup/testsuite?
Since not everyone working on cygwin will have access to the
Microsoft compiler, should I submit a binary as well as source?
Where should I submit it?

3.  I want to spare anyone making use of the test program any
worries over legalities.  Should I submit it under the cygwin
license or put it in the public domain?

Thanks,
Max



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



Re: Trying to build gcc from src package

2005-05-25 Thread Gerrit P. Haase

Gerrit P. Haase wrote:

Richard Copley wrote:


I want to be able to recompile the gcc-3.4.1 so that I can work out a
kludge for the problem I've been having - that is, programs compiled
with '-mno-cygwin -fprofile-arcs' can't open the output file to write
the arc-profiling data. I'm having a lot of trouble.

What I want to know is, given a working XP box and a fresh install of
every cygwin binary package (except mhash, whose install script
crashes) plus the gcc-3.4.1-core source package, is it possible to
follow the instructions in the accompanying README file and end up
with a working compiler? The number and variety of difficulties I'm
encountering suggest it's not something I should be trying to do.



It should work as it works for me when I compiled gcc to release it as a 
package.  However, my environment settings may be special, I don't know.


Have you tried it like I wrote in the README?  Are you getting errors?

Well, I never tried to build just the core without building the other
parts at the same time, so there may be bugs in the script I used.


The MinGW parts of the compiler are from mingw.org, not compiled by me.


Gerrit
--
=^..^=

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



Re: Problems installing binutils

2005-05-25 Thread Gerrit P. Haase

Aaron Gray wrote:

I am having problems installing binutils on just this machine. AFAIKS I 
haave the same instillation as my other machine which builds and 
installs binutils fine.


Doing 'make install' I get the following error :-

makeinfo --split-size=500 -I /usr/src/binutils-2.15/binutils/doc 
/usr/src/bi

nutils-2.15/binutils/doc/binutils.texi
/usr/src/binutils-2.15/binutils/doc/binutils.texi:52: Unknown index `ky' 
and/or

' in @synindex.
makeinfo: Removing output file 
`/usr/build/binutils-2.15/binutils/doc/binutils.i

nfo' due to errors; use --force to preserve.
make[2]: *** [binutils.info] Error 1
make[2]: Leaving directory `/usr/build/binutils-2.15/binutils/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/build/binutils-2.15/binutils'
make: *** [install-binutils] Error 2

Any ideas ?


Posting the same message twice will not force more replies.

Please see the "Reporting guidelines" here:
http://www.cygwin.com/problems.html


Gerrit
--
=^..^=

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



Test: bash-3.0-2

2005-05-25 Thread Eric Blake
A new version of bash, 3.0-2, has been uploaded and will appear shortly on the 
mirrors.  It comes from a new (well, 9 months old) upstream release, and 
includes all official upstream patches as well as forward ports of all cygwin 
patches to 2.05b-17 that have not been incorporated upstream.

It should work with stock cygwin 1.5.16, but some features such as filename 
completion rely on fixes that appear only in snapshots.  This release of bash 
is EXPERIMENTAL, and quite possibly has bugs that were not present in the 
current bash 2.05b-17, so I would appreciate any feedback from those brave 
enough to try it before making the release current for all users (hence this 
plea to the cygwin list, rather than an announcement on cygwin-announce).  To 
test the new version, use setup.exe, and on the file chooser window, select the 
EXP button, to see the new version of bash.  I have used the new version in my 
daily environment without problems, but bash is so big that I cannot promise 
that I have tested every obscure corner of the shell.

To further complicate the matter, I will be taking a vacation the first 3 weeks 
of June, so there may be some lag before I can address any problems that are 
encountered while testing this new version.

--
Eric Blake
(new) cygwin bash maintainer

Excerpt from /usr/share/doc/bash-3.0/NEWS:
This is a terse description of the new features added to bash-3.0 since
the release of bash-2.05b.  As always, the manual page (doc/bash.1) is
the place to look for complete descriptions.

1.  New Features in Bash

a.  ANSI string expansion now implements the \x{hexdigits} escape.

b.  There is a new loadable `strftime' builtin.

c.  New variable, COMP_WORDBREAKS, which controls the readline completer's
idea of word break characters.

d.  The `type' builtin no longer reports on aliases unless alias expansion
will actually be performed.

e.  HISTCONTROL is now a colon-separated list of values, which permits
more extensibility and backwards compatibility.

f.  HISTCONTROL may now include the `erasedups' option, which causes all lines
matching a line being added to be removed from the history list.

g.  `configure' has a new `--enable-multibyte' argument that permits multibyte
character support to be disabled even on systems that support it.

h.  New variables to support the bash debugger:  BASH_ARGC, BASH_ARGV,
BASH_SOURCE, BASH_LINENO, BASH_SUBSHELL, BASH_EXECUTION_STRING,
BASH_COMMAND

i.  FUNCNAME has been changed to support the debugger: it's now an array
variable.

j.  for, case, select, arithmetic commands now keep line number information
for the debugger.

k.  There is a new `RETURN' trap executed when a function or sourced script
returns (not inherited child processes; inherited by command substitution
if function tracing is enabled and the debugger is active).

l.  New invocation option:  --debugger.  Enables debugging and turns on new
`extdebug' shell option.

m.  New `functrace' and `errtrace' options to `set -o' cause DEBUG and ERR
traps, respectively, to be inherited by shell functions.  Equivalent to
`set -T' and `set -E' respectively.  The `functrace' option also controls
whether or not the DEBUG trap is inherited by sourced scripts.

n.  The DEBUG trap is run before binding the variable and running the action
list in a `for' command, binding the selection variable and running the
query in a `select' command, and before attempting a match in a `case'
command.

o.  New `--enable-debugger' option to `configure' to compile in the debugger
support code.

p.  `declare -F' now prints out extra line number and source file information
if the `extdebug' option is set.

q.  If `extdebug' is enabled, a non-zero return value from a DEBUG trap causes
the next command to be skipped, and a return value of 2 while in a
function or sourced script forces a `return'.

r.  New `caller' builtin to provide a call stack for the bash debugger.

s.  The DEBUG trap is run just before the first command in a function body is
executed, for the debugger.

t.  `for', `select', and `case' command heads are printed when `set -x' is
enabled.

u.  There is a new {x..y} brace expansion, which is shorthand for {x.x+1,
x+2,...,y}.  x and y can be integers or single characters; the sequence
may ascend or descend; the increment is always 1.

v.  New ksh93-like [EMAIL PROTECTED] expansion, expands to all the keys 
(indices)
of array.

w.  New `force_fignore' shopt option; if enabled, suffixes specified by
FIGNORE cause words to be ignored when performing word completion even
if they're the only possibilities.

x.  New `gnu_errfmt' shopt option; if enabled, error messages follow the `gnu
style' (filename:lineno:message) format.

y.  New `-o bashdefault' option to complete and compgen; if set, causes the
whole set of bash completions to be performed if the compspec doesn't
result in a ma

Problems installing binutils

2005-05-25 Thread Aaron Gray
I am having problems installing binutils on just this machine. AFAIKS I 
haave the same instillation as my other machine which builds and installs 
binutils fine.


Doing 'make install' I get the following error :-

makeinfo --split-size=500 -I /usr/src/binutils-2.15/binutils/doc 
/usr/src/bi

nutils-2.15/binutils/doc/binutils.texi
/usr/src/binutils-2.15/binutils/doc/binutils.texi:52: Unknown index `ky' 
and/or

' in @synindex.
makeinfo: Removing output file 
`/usr/build/binutils-2.15/binutils/doc/binutils.i

nfo' due to errors; use --force to preserve.
make[2]: *** [binutils.info] Error 1
make[2]: Leaving directory `/usr/build/binutils-2.15/binutils/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/build/binutils-2.15/binutils'
make: *** [install-binutils] Error 2

Any ideas ?

Aaron 



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



Re: Trying to build gcc from src package

2005-05-25 Thread Gerrit P. Haase

Richard Copley wrote:


I want to be able to recompile the gcc-3.4.1 so that I can work out a
kludge for the problem I've been having - that is, programs compiled
with '-mno-cygwin -fprofile-arcs' can't open the output file to write
the arc-profiling data. I'm having a lot of trouble.

What I want to know is, given a working XP box and a fresh install of
every cygwin binary package (except mhash, whose install script
crashes) plus the gcc-3.4.1-core source package, is it possible to
follow the instructions in the accompanying README file and end up
with a working compiler? The number and variety of difficulties I'm
encountering suggest it's not something I should be trying to do.


It should work as it works for me when I compiled gcc to release it as a 
package.  However, my environment settings may be special, I don't know.


Have you tried it like I wrote in the README?  Are you getting errors?

Well, I never tried to build just the core without building the other
parts at the same time, so there may be bugs in the script I used.


Gerrit
--
=^..^=

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



Re: Using Perl to access serial ports

2005-05-25 Thread Reini Urban

Jason Pearce schrieb:

There was some recent discussion about serial ports and Perl.
   http://sourceware.org/ml/cygwin/2005-05/msg00013.html

But I did not see any resolution.
Did anyone end up porting either Win32::SerialPort or Win32API::CommPort 
as Reini suggested?


I need to talk to a thermometer via a serial link. The protocol is not 
very complex.
Could I just use a system call to stty to set the baudrate and then pipe 
the thermometer comand to /dev/ttyS0 and read the response from 
/dev/ttyS0 using file handles?


Reini - you suggested adding cygwin support for Device::SerialPort would 
be the easiest route. Do you still recommend this? 


Sure.

I am not very 
familiar with Windows API library, but could I just use Win32::API to 
call some already existing entry points in Windows?


Uaing .xs is usually easier than using an FFI i.e. Win32::API.
And Win32::API doesn't compile out of the box on cygwin.
I have a stripped version without callback support at my site, but using 
xs is better.

If you really want an FFI I recommend FFI over Win32::API by far.

--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
http://phpwiki.org/

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



[ANNOUNCEMENT] And another test...

2005-05-25 Thread Corinna Vinschen
Just another test of mail forwarding.

PLEASE DON'T REPLY TO THIS MAIL!


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



Re: arpa headers

2005-05-25 Thread Igor Pechtchanski
On Wed, 25 May 2005, Alireza Ghasemi wrote:

> Hello,
> When compiling some network programs I got errors like "arpa/nameser.h:No
> such file..." or "rpc/... " and some other net headers like that .What
> packages should I get in order that this files get compiled.
> Thanks.

The answer to "what packages should I install to get file " is almost
always .
Igor
P.S. Your space key is apparently malfunctioning again...
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: permissions for chmod on network drives

2005-05-25 Thread Corinna Vinschen
On May 25 10:40, Andreas Huster wrote:
> Hi,
> 
> I know there has been some discussion on permissions (specifically on
> chmod) and network drives, but I haven't been able to make sense of
> it.


See the thread beginning at http://cygwin.com/ml/cygwin/2005-04/msg01227.html
and try the latest snapshot from http://cygwin.com/snapshots/


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



RE: How to create "." files

2005-05-25 Thread Buchbinder, Barry (NIH/NIAID)
At Wednesday, May 25, 2005 2:46 PM, Alireza Ghasemi wrote:
> Hello,
> I tried to create some hidden-Linux like files such as ".bashrc" but
> Windows did not allow me and said "You must type a file name". How can
> I solve this? Thanks

You did not say how you tried to create them so I'll have to guess what went
wrong.  See http://cygwin.com/problems.html

You probably used a Windows program that assumes that all files have
something before the period.  As far as I know, no cygwin program (see
setup/Editors) does that.  Windows itself allows dot files and there are
lots windows programs that will make them.  For example (in XP Pro) cmd.exe
and edit.com.  But if possible use a cygwin editor -- you will have a better
chance avoiding problems with line-endings and if your not using one, you
should not expect support from this list.

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



Re: How to create "." files

2005-05-25 Thread Olaf Föllinger
On Wed, May 25, 2005 at 11:15:36PM +0430, Alireza Ghasemi wrote:
> Hello,
> I tried to create some hidden-Linux like files such as ".bashrc" but Windows
> did not allow me and said "You must type a file name".How can I solve this?

Just start a shell like bash and work from there.
 
 
Mit freundlichen Grüßen

Olaf Föllinger

-- 
Tietoenator
Senior Consultant 

R&D Central Europe
Alt-Moabit 91a
D-10559 Berlin

Telefon +49 (0)30 39 07 22-291
Fax +49 (0)30 39 07 22-222
Mobil   +49 (0)173 6 22 70 80
Email [EMAIL PROTECTED]
http://www.sesa.de/

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



RE: Windows XP SP2

2005-05-25 Thread Reid Thompson
[EMAIL PROTECTED] wrote:
> Hi,
> 
> I have an application which uses Cygwin (1.5.12(0.116/4/2))
> to interact with a Sun workstation, e.g., rsh, rcp, awk, etc.
> Everything was working fine until I installed Windows XP SP2.
> The firewall is disabled, but the Cygwin commands aren't
> working properly. On one computer, I uninstalled SP2 and my
> app started working again. Is this a known problem or is my situation
> unique? 
> 
> thanks,
> Jason

cygwin works fine w/SP2

reid

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



Re: struct tm problem

2005-05-25 Thread Brian Dessent
Alireza Ghasemi wrote:

> (sorry if this is posted twice,I had a problem in my MailBox and I couldn't
> get this post and probable Replies)

It did come in twice.  Read the archives for the replies.

> When compiling some network programs I got errors like "arpa/nameser.h:No
> such file..." or "rpc/... " and some other net headers like that .What
> packages should I get in order that this files get compiled.

Install minires-devel.  And for all questions of "what package has file
X" just find out yourself by using .

> I tried to create some hidden-Linux like files such as ".bashrc" but Windows
> did not allow me and said "You must type a file name".How can I solve this?

You create them the same way you would in linux.  "nano .bashrc", "vim
.bashrc", "cat >.bashrc", etc.

Brian

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



Re: PATH oddity

2005-05-25 Thread Yitzchak Scott-Thoennes
On Wed, May 25, 2005 at 11:28:43AM -0700, Karl M wrote:
> Hi All...
> 
> While looking at my PATH environment variable (in response to the recent 
> postings about sshd and environment variables), I noticed that "." was 
> included.
> 
> It was caused by a double ; ( a ";;" sequence) in my PATH as defined in the 
> Windows XP My Computer Properties panel.
> 
> It is not an immediate problem, but it seemed a bit odd.

This has been discussed here before; IIRC (and I may not), the . is
the equivalent of what windows does.  An empty entry in the windows
path (;; in the middle or ; at the beginning or end) makes it search
the current directory.

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



How to create "." files

2005-05-25 Thread Alireza Ghasemi
Hello,
I tried to create some hidden-Linux like files such as ".bashrc" but Windows
did not allow me and said "You must type a file name".How can I solve this?
Thanks


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



struct tm problem

2005-05-25 Thread Alireza Ghasemi
Hello,
I have downloaded some c++ libraries and tried to download them.But All of
them give an error like :
"'struct tm' has no member called 'tm_gmtoff'"
(tm is defined as 'time_t t; time(&t);tm* ptm = localtime(&t);')
tm is defined in time.h..
What's the problem and what should I do?
Thanks
(sorry if this is posted twice,I had a problem in my MailBox and I couldn't
get this post and probable Replies)


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



arpa headers

2005-05-25 Thread Alireza Ghasemi
Hello,
When compiling some network programs I got errors like "arpa/nameser.h:No
such file..." or "rpc/... " and some other net headers like that .What
packages should I get in order that this files get compiled.
Thanks.


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



What are ioctl headers?

2005-05-25 Thread Alireza Ghasemi
Hello,
Whe compiling pcap I got following error in "./configure"
"checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info"
I got an error like this when compiling another net source.Any idea about
solving it?
Thanks.


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



PATH oddity

2005-05-25 Thread Karl M

Hi All...

While looking at my PATH environment variable (in response to the recent 
postings about sshd and environment variables), I noticed that "." was 
included.


It was caused by a double ; ( a ";;" sequence) in my PATH as defined in the 
Windows XP My Computer Properties panel.


It is not an immediate problem, but it seemed a bit odd.

Thanks,

...Karl



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



Re: Fw: bug in texi2dvi, and hack patch

2005-05-25 Thread Eli Zaretskii
> Date: Tue, 24 May 2005 13:35:38 -0400
> From: [EMAIL PROTECTED] (Karl Berry)
> Cc: [EMAIL PROTECTED], cygwin@cygwin.com, bug-texinfo@gnu.org
> 
> if { test -x "$dir/$1" && test -f "$dir/$1"; } ||
>{ test -x "$dir/$1.exe" && test -f "$dir/$1.exe"; }; then
> 
> This seems sensible.  I can't actually test it, since I don't have
> either Cygwin or DJPP, but at least it is symmetric.

It will work on DJGPP.

Thanks.

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



Trying to build gcc from src package

2005-05-25 Thread Richard Copley
I want to be able to recompile the gcc-3.4.1 so that I can work out a
kludge for the problem I've been having - that is, programs compiled
with '-mno-cygwin -fprofile-arcs' can't open the output file to write
the arc-profiling data. I'm having a lot of trouble.

What I want to know is, given a working XP box and a fresh install of
every cygwin binary package (except mhash, whose install script
crashes) plus the gcc-3.4.1-core source package, is it possible to
follow the instructions in the accompanying README file and end up
with a working compiler? The number and variety of difficulties I'm
encountering suggest it's not something I should be trying to do.

Many thanks and best regards,
Richard.

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



RE: Problem with £ sign at Cygwin prompt.

2005-05-25 Thread Dave Korn
Original Message
>From: Igor Pechtchanski
>Sent: 25 May 2005 18:37

> Probably the latter.  Does  help?

"  To type international characters (£åäö) in bash, add the following lines
to your ~/.inputrc file and restart bash:

set meta-flag on 
   set convert-meta off 
   set output-meta on 
set input-meta on
set kanji-code sjis
set meta-flag on"

  That doesn't exactly work for me: all it does is make the £ key generate
"\243" instead of actioning the insert-comment binding.

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


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



Windows XP SP2

2005-05-25 Thread jason_fritz




Hi,

I have an application which uses Cygwin (1.5.12(0.116/4/2)) to interact
with a Sun workstation, e.g., rsh, rcp, awk, etc. Everything was working
fine until I installed Windows XP SP2. The firewall is disabled, but the
Cygwin commands aren't working properly. On one computer, I uninstalled SP2
and my app started working again. Is this a known problem or is my
situation unique?

thanks,
Jason


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



permissions for chmod on network drives

2005-05-25 Thread Andreas Huster
Hi,

I know there has been some discussion on permissions (specifically on
chmod) and network drives, but I haven't been able to make sense of
it.  Something has changed recently for me and I can no longer execute
any chmod commands on my network drives.  This is particularly
troubling because cvs fails when it can't execute chmod, and my CVS
root is on my network drive.

My computer is on a domain over which I have no administrative
control.  I also really don't need any unix-like permissions to work. 
Is there an easy way to turn off this functionality.  I have tried
setting CYGWIN to both nontsec and nosmbntsec.  Although this changes
the way 'ls -l' generates its output, it hasn't made a difference on
how chmod works.

So, is there a simple way to open up my permissions so that chmod can
do all that attrib can do?  If setting CYGWIN to nontsec should do
that, what else can I check?  Also, with nosmbntsec set by default,
should I have this problem in the first place?

Thanks.

--Andreas

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



Re: Problem with £ sign at Cygwin prompt.

2005-05-25 Thread Igor Pechtchanski
On Wed, 25 May 2005, Chris January wrote:

> thomas.revellpowerconvalstomcom wrote:

.

> > Hi all,
> >
> > I've noticed a minor issue while typing at the bash prompt in cmd.exe. It
> > seems that when I try to type a £ sign, a hash character and newline is
> > entered instead. I'm aware of the issues surrounding these two characters,
> > but as far as I can tell all of my language settings in Windows are
> > configured for the UK.
> >
> > Anyone else noticed this?
>
> Yes - me too now you come to mention it...
> That means either this is a new bug or I've never typed a £ before at a
> Cygwin bash prompt. I wonder which it is?

Probably the latter.  Does  help?

In any case, bash running in a cmd window won't accept international
characters -- it'll strip the accents or print '?'s instead.

I did notice, however, that the UK layout behaves strangely in other ways:
in rxvt, the NumLock on my IBM ThinkPad laptop, for example (which is just
Shift-ScrollLock) behaves as if delete were pressed (in addition to
toggling NumLock).  Pressing Ctrl-V,NumLock generates a ^? character.
This also happens in ash, so I doubt it's readline-related.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

RE: Problem with £ sign at Cygwin prompt.

2005-05-25 Thread Dave Korn
Original Message
>From: Dave Korn
>Sent: 25 May 2005 18:10

> Original Message
>> From: Max Bowsher
>> Sent: 25 May 2005 17:43
> 
> 
>> 
>> Or, that it only happens in some situations.
> 
> 
>   Readline-based ones, isn't it?


  To answer my own question, it appears to be generating the readline
insert-comment event, which is normally M-#, which is mapped to Alt-# under
windows, which Ctrl-V reveals is equivalent to ^[#, and indeed the sequence
ESC-# also works.

  Hmm, maybe it's terminfo rather than readline settings.  There's nothing
abnormal in my .inputrc.


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


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



RE: Problem with £ sign at Cygwin prompt.

2005-05-25 Thread Dave Korn
Original Message
>From: Max Bowsher
>Sent: 25 May 2005 17:43


> 
> Or, that it only happens in some situations.


  Readline-based ones, isn't it?

  BTW, pressing "Ctrl-V £" tells me that it's generating character \243.
That's 163 decimal.  Which does indeed seem to be the correct code for a
 £ sign.


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


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



Re: Just another test

2005-05-25 Thread Mike McGinn
You are not alone.
On Wednesday 25 May 2005 12:49 pm, Corinna Vinschen wrote:
> I'm hating test message, too...

-- 
Mike McGinn
Registered Linux User 377849
"more kidneys than eyes!"

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



[ANNOUNCEMENT] Just another test

2005-05-25 Thread Corinna Vinschen
I'm hating test message, too...

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



Re: Problem with £ sign at Cygwin prompt.

2005-05-25 Thread Max Bowsher

Chris January wrote:

[EMAIL PROTECTED] wrote:

Hi all,

I've noticed a minor issue while typing at the bash prompt in cmd.exe. It
seems that when I try to type a £ sign, a hash character and newline is
entered instead. I'm aware of the issues surrounding these two 
characters,

but as far as I can tell all of my language settings in Windows are
configured for the UK.

Anyone else noticed this?


Yes - me too now you come to mention it...
That means either this is a new bug or I've never typed a £ before at a
Cygwin bash prompt. I wonder which it is?


Or, that it only happens in some situations.

£ works fine for me, both doxbox and rxvt.
WinXP english, [curr] versions of everything relevant.

Max.


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



[ANNOUNCEMENT] another test of cygwin-announce resender

2005-05-25 Thread Chris Faylor
I hate "test" email but I can't think of any other way to test this so here you 
go...

cgf

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



[ANNOUNCEMENT] testing cygwin-announce resender

2005-05-25 Thread Chris Faylor
I hate "test" email but I can't think of any other way to test this so here you 
go...

cgf

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



Re: Problems with Cygwin Installer

2005-05-25 Thread Yitzchak Scott-Thoennes
On Wed, May 25, 2005 at 04:35:29PM +0100, Dave Korn wrote:
>   This came up just recently and I'm quoting from memory and without doing
> my background research, so it may not be 100% accurate, but the root cause
> (connection times out while you're in the chooser) and workaround (don't
> spend so long in the chooser) should be correct!

I've never had this happen (though I recall reports of such a timeout
problem before).  Does it not happen using direct connections?

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



RE: Problems with Cygwin Installer

2005-05-25 Thread Dave Korn
Original Message
>From: [EMAIL PROTECTED]
>Sent: 25 May 2005 16:04

>   I download the  the setup.exe and run it.  I choose either the "Install
> from internet" or the "Download without installing" options, pick a site,
> and am then presented with the package list.  I then proceed to spend
> 15-20 minutes going through the packages I want.  Then when it I click
> Next to begin downloading, I get a Download Incomplete or Installation
> Incomplete message and asks if I want to try again.  I say Yes, pick the
> same site, and then it complains about not being able to download the
> setup.ini file I believe.  Thus I've wasted about half an hour of time. 
> My only solution is  to download everything (which I don't really want to
> do) and then do a "Install from Local Directory". 
> 
> This has been happening for at least the past year and a half and has
> occurred on several computers that I've attempted to install on.  I'm
> very frustrated with this procedure.  Either I'm really doing something
> wrong or there's a very annoying bug that I'm surprised hasn't been
> noticed and fixed.
> 
> Can someone enlighten me to what may be the problem.


  There is a bug in setup, and you can avoid it by not spending so long in
the package chooser.

  Setup uses windows' wininet functions to retrieve http/ftp URLs; when
fetching files by http, windows will attempt to use a Keep-Alive connection
to save having to repeatedly connect to the same server, but in the 15-20
minutes that you spend in the package chooser, the Keep-Alive connection
setup opened to fetch setup.ini will have been timed out (as inactive) by
the server, and the subsequent attempts to download files fail because the
connection has been closed by the remote end.

  It would be nice if the wininet library automatically re-opened a
Keep-Alive connection.  It is a bug in setup to not notice the connection
has failed and keep trying to use it.

  This came up just recently and I'm quoting from memory and without doing
my background research, so it may not be 100% accurate, but the root cause
(connection times out while you're in the chooser) and workaround (don't
spend so long in the chooser) should be correct!

  I don't know if wininet is clever enough to pool connections between
unrelated applications, but if it is you might be able to keep the
connection alive by browsing round the mirror site in your browser,
requesting a new page every few minutes to keep the connection alive while
you take your time in the chooser.


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


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



Re: Problems with Cygwin Installer

2005-05-25 Thread Archie Warnock
[EMAIL PROTECTED] wrote:
> This has been happening for at least the past year and a half and has
> occurred on several computers that I've attempted to install on.  I'm
> very frustrated with this procedure.  Either I'm really doing
> something wrong or there's a very annoying bug that I'm surprised
> hasn't been noticed and fixed.
> 
> Can someone enlighten me to what may be the problem.

I've seen this also, most recently when installing Cygwin on my laptop.
 My guess (and it's pure speculation) is that it's some sort of
limitation on size of the download.  The workaround (well, it worked for
me) was to select fewer packages to install and build up your installed
system piecemeal.  That took a bit longer, but seemed to work out the
same in the end.

I have no idea if it's a problem with setup or simply a limitation set
at your chosen download site, nor even how to tell which it might be.

-- 
Archie

-- Archie Warnock   Internet: [EMAIL PROTECTED]
-- A/WWW Enterpriseshttp://www.awcubed.com
--   As a matter of fact, I _do_ speak for my employer.

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



RE: Problem with £ sign at Cygwin prompt.

2005-05-25 Thread Dave Korn
Original Message
>From: [EMAIL PROTECTED]
>Sent: 25 May 2005 16:04

> Hi all,
> 
> I've noticed a minor issue while typing at the bash prompt in cmd.exe. It
> seems that when I try to type a £ sign, a hash character and newline is
> entered instead. I'm aware of the issues surrounding these two characters,
> but as far as I can tell all of my language settings in Windows are
> configured for the UK.
> 
> Anyone else noticed this?

  Yes, me.  It appears to have been mapped to some Kill-entire-command
control character.  Note that this happens in bash, but not in ash (£ key
works fine) nor tcsh (key fails to produce any character at all).  Since
it's bash specific, I think we probably need a readline guru to help
here

> Just in case anyone was wondering, I only discovered this by accident. I
> was going for the $ sign and pressed the wrong key. 

  That's nothing, you should see the godawful mess that squirts out all over
my command line when I press the 'euro' key!

  Oh, hang on, that one seems to have been fixed.  I just get a '?' now,
whereas I used to get a whole load of ANSI codes with control-] and stuff in
them.


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


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



Re: Problem with £ sign at Cygwin prompt.

2005-05-25 Thread Chris January

[EMAIL PROTECTED] wrote:

Hi all,

I've noticed a minor issue while typing at the bash prompt in cmd.exe. It 
seems that when I try to type a £ sign, a hash character and newline is 
entered instead. I'm aware of the issues surrounding these two characters, 
but as far as I can tell all of my language settings in Windows are 
configured for the UK.


Anyone else noticed this?


Yes - me too now you come to mention it...
That means either this is a new bug or I've never typed a £ before at a 
Cygwin bash prompt. I wonder which it is?


Chris

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



Problem with £ sign at Cygwin prompt.

2005-05-25 Thread thomas . revell
Hi all,

I've noticed a minor issue while typing at the bash prompt in cmd.exe. It 
seems that when I try to type a £ sign, a hash character and newline is 
entered instead. I'm aware of the issues surrounding these two characters, 
but as far as I can tell all of my language settings in Windows are 
configured for the UK.

Anyone else noticed this?

Just in case anyone was wondering, I only discovered this by accident. I 
was going for the $ sign and pressed the wrong key. I'll check this on my 
Linux system when I get home tonight, to see if it's Cygwin specific.

Thanks for your time!

Tom

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



Problems with Cygwin Installer

2005-05-25 Thread [EMAIL PROTECTED]

I have run into this problem the Cygwin install many times and wish to know if 
I am doing something wrong or if there is a bug of some kind.

The Problem:

  I download the  the setup.exe and run it.  I choose either the "Install from 
internet" or the "Download without installing" options, pick a site, and am 
then presented with the package list.  I then proceed to spend 15-20 minutes 
going through the packages I want.  Then when it I click Next to begin 
downloading, I get a Download Incomplete or Installation Incomplete message and 
asks if I want to try again.  I say Yes, pick the same site, and then it 
complains about not being able to download the setup.ini file I believe.  Thus 
I've wasted about half an hour of time.  My only solution is  to download 
everything (which I don't really want to do) and then do a "Install from Local 
Directory".

This has been happening for at least the past year and a half and has occurred 
on several computers that I've attempted to install on.  I'm very frustrated 
with this procedure.  Either I'm really doing something wrong or there's a very 
annoying bug that I'm surprised hasn't been noticed and fixed.  

Can someone enlighten me to what may be the problem.

___
Get Juno Platinum for as low as $4.97/month!
Unlimited Internet Access with 250MB of Email Storage.
Visit http://www.juno.com/half to sign up today!


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



RE: [ANNOUNCEMENT] Updated: binutils-20050520-1

2005-05-25 Thread Dave Korn
Original Message
>From: Lev Bishop
>Sent: 25 May 2005 11:54

> I don't have much clue what I'm doing with binutils, but I've managed
> to cause a SEGV in objdump. Here's how:
> $ cat > a.c
> int main (void)
> {
> int i=1;
> i++;
> return i;
> }
> $ gcc a.c
> $ objcopy -O elf32-i386 a.exe
> $ objcopy -O pei-i386 a.exe

  Yow.  So you copy it from a PE to an ELF, and then back to PE?  You very
much need to read the section on canonicalisation in the bfd section of the
ld manual.  "info ld" then search for "BFD information loss".

> The Import Tables (interpreted .idata section contents)
>  vma:HintTime  Forward  DLL   First
>  Table   Stamp ChainName  Thunk
>  00405000   5040   51c4 5088
> Segmentation fault (core dumped)
> 
> This happens with the new binutils and also the previous version.

  Yup, so something vital didn't get carried over to the ELF format, or
didn't get converted back.  To be expected really.
 
> (What I was actually hoping to do above was to remove/normalize the
> time/date header in pei-i386, so that my executables are repeatable
> functions of their sources, so I can checksum/fingerprint them in my
> build system. Clearly my above attempts failed, so does anybody know
> of a way to acheive this?)

  Yes, take look at the way gcc's bootstrap procedure compares files to make
sure they have the exact same contents, without being fooled by the
timestamp: it uses the 'cmp' command, with the --ignore-initial= option set
to about 16 or so to ignore the varying timestamp in the file header.


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


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



Re: [ANNOUNCEMENT] Updated: binutils-20050520-1

2005-05-25 Thread Christopher Faylor
On Wed, May 25, 2005 at 06:54:28AM -0400, Lev Bishop wrote:
>(What I was actually hoping to do above was to remove/normalize the
>time/date header in pei-i386, so that my executables are repeatable
>functions of their sources, so I can checksum/fingerprint them in my
>build system. Clearly my above attempts failed, so does anybody know
>of a way to acheive this?)

I'd suggest:

1) Using a subject appropriate to what you want to discuss.

2) Sending email to the binutils mailing list.

cgf

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



Re: "ssh-host-config -y" w/CYGWIN set to ntsec..; ssh works but CYGWIN *not* set

2005-05-25 Thread Corinna Vinschen
On May 25 09:08, Igor Pechtchanski wrote:
> On Wed, 25 May 2005, Corinna Vinschen wrote:
> > This is a change to sshd which had been requested upstream.  The main
> > developers felt that propagating all SYSTEM environment to the
> > unprivileged child applications has to be treated as unsecure.
> > Therefore I implemented to propagate only the core Windows environment
> > to child processes back in 3.9, AFAIR.
> 
> I would've thought that CYGWIN is a core environment variable (not a
> Windows one, of course).  I'm not sure, though, whether it would be
> correct to propagate it -- one could argue either way...

Right.  The upcoming 4.1p1 release will propagate the CYGWIN variable
as well.  I just got that patch upstream last minute :-)


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



Re: .a to .lib converting

2005-05-25 Thread Igor Pechtchanski
On Wed, 25 May 2005, Alireza Ghasemi wrote:

> Hello,
> I want to use some cygwin .a libraries with other environments(like VC++) as
> static .lib files.is this possible?

Yes.

> Can I convert .a files to windows static libraries?

Yes.

> If possible,what program do I need?

This was discussed before, though I'm not sure what the correct search
terms would be.  I believe you can simply use "mv libblah.a libblah.lib".
 might help, too.
Igor
P.S. Your space key seems to be malfunctioning...
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: "ssh-host-config -y" w/CYGWIN set to ntsec..; ssh works but CYGWIN *not* set

2005-05-25 Thread Igor Pechtchanski
On Wed, 25 May 2005, Corinna Vinschen wrote:

> On May 24 22:27, Brian Dessent wrote:
> > David Rothenberger wrote:
> >
> > > I have CYGWIN set in my sshd service and globally to "server", but when
> > > I ssh to my machine, CYGWIN is empty:
> > >
> > > % echo $CYGWIN
> > > server
> > > % ssh localhost
> > > Last login: Wed May  4 20:20:04 2005 from localhost
> > > % echo $CYGWIN
> >
> > Hmm, weird.  I see the same thing here too.  Not sure if it was always
> > this way or a recent change in the DLL / cygrunsrv / sshd.
>
> It's by design of sshd, right now.  Even though cygrunsrv propagates
> this environment to the child applications, sshd doesn't.
>
> This is a change to sshd which had been requested upstream.  The main
> developers felt that propagating all SYSTEM environment to the
> unprivileged child applications has to be treated as unsecure.
> Therefore I implemented to propagate only the core Windows environment
> to child processes back in 3.9, AFAIR.

I would've thought that CYGWIN is a core environment variable (not a
Windows one, of course).  I'm not sure, though, whether it would be
correct to propagate it -- one could argue either way...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: [ANNOUNCEMENT] Updated: Mutt-1.4.2.1i-1

2005-05-25 Thread zzapper
On Wed, 25 May 2005 10:55:08 +0200 (CEST),  wrote:

>I have updated the version of mutt on cygwin.com to 1.4.2.1i-1.
>
The Mutt E-Mail Client

"All mail clients suck. This one just sucks less." -me, circa 1995

http://www.mutt.org/


-- 
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips


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



Re: [ANNOUNCEMENT] Updated: binutils-20050520-1

2005-05-25 Thread zzapper
On Wed, 25 May 2005 07:40:17 +0200 (CEST),  wrote:

>I've made a new version of binutils available for installation.
>This version is a refresh from CVS on sources.redhat.com.
>

>For a brief description of this package, and a listing of the files it
>contains, see http://cygwin.com/packages/binutils .
> CF

usr/bin/addr2line.exe addr2line - convert addresses into file names and line 
numbers
usr/bin/ar.exe Archive Tool
usr/bin/as.exe AS - the portable GNU assembler
usr/bin/c++filt.exe
usr/bin/dlltool.exe
usr/bin/dllwrap.exe
usr/bin/gprof.exe gprof - display call graph profile data
usr/bin/ld.exeld - Using LD, the GNU linker
usr/bin/nm.exe nm - list symbols from object files
usr/bin/objcopy.exe
usr/bin/objdump.exe
usr/bin/ranlib.exe
usr/bin/readelf.exe
usr/bin/size.exe size - list section sizes and total size.
usr/bin/strings.exe strings - print the strings of printable characters in 
files. (Really Useful for
guessing what a program does)
usr/bin/strip.exe strip - Discard symbols from object files
usr/bin/windres.exe windres - manipulate Windows resources


-- 
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips


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



Re: How to install perl modules?

2005-05-25 Thread Jason Pearce
Yes, use the CPAN module as Brian suggests. Just make sure environment 
variable PERLIO is unset when using -MCPAN, otherwise it will fail. (You 
might set this to CRLF for DOS compatibility purposes).
Also be aware that you may have trouble building some modules that use C 
code and have not been ported to Cygwin, mainly OS modules like WIN32. 
Straight Perl modules should just work out of the box, and CPAN will get 
all pre-requisites for you too. You'll never want ppm again!


Regards,
Jason

Brian Dessent wrote:


Manuel Tejada wrote:

 


Somebody can tell me from what URL I must to download
a perl module and how to install it in Cygwing?
   



You use CPAN.  "perl -MCPAN -e 'install Foo::Bar'" or "perl -MCPAN -e
shell".  There is no URL to know, it takes care of all of that. 
http://cpan.org/misc/cpan-faq.html


 


In pure Windows is easy is you have Perl from
ActiveState but Perl installed in Cygwin doesnt have
the ppm Manager.
   



To me (and perhaps others) that's a feature and not a bug.  I can't
stand that ppm junk.

Brian
 




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



Re: [ANNOUNCEMENT] Updated: binutils-20050520-1

2005-05-25 Thread Lev Bishop
I don't have much clue what I'm doing with binutils, but I've managed
to cause a SEGV in objdump. Here's how:
$ cat > a.c
int main (void)
{
int i=1;
i++;
return i;
}
$ gcc a.c
$ objcopy -O elf32-i386 a.exe
$ objcopy -O pei-i386 a.exe
$ objdump -x a.exe
a.exe: file format pei-i386
a.exe
architecture: i386, flags 0x0132:
EXEC_P, HAS_SYMS, HAS_LOCALS, D_PAGED
start address 0x00401000

Characteristics 0x307
relocations stripped
executable
line numbers stripped
32 bit words
debugging information removed

Time/Date   Wed May 25 06:43:15 2005

ImageBase   
SectionAlignment
FileAlignment   
MajorOSystemVersion 0
MinorOSystemVersion 0
MajorImageVersion   0
MinorImageVersion   0
MajorSubsystemVersion   0
MinorSubsystemVersion   0
Win32Version
SizeOfImage 
SizeOfHeaders   0400
CheckSum00010ed7
Subsystem   (unspecified)
DllCharacteristics  
SizeOfStackReserve  
SizeOfStackCommit   
SizeOfHeapReserve   
SizeOfHeapCommit
LoaderFlags 
NumberOfRvaAndSizes 0010


The Data Directory
Entry 0   Export Directory [.edata (or where ever we found it)]
Entry 1 00405000 01f0 Import Directory [parts of .idata]
Entry 2   Resource Directory [.rsrc]
Entry 3   Exception Directory [.pdata]
Entry 4   Security Directory
Entry 5   Base Relocation Directory [.reloc]
Entry 6   Debug Directory
Entry 7   Description Directory
Entry 8   Special Directory
Entry 9   Thread Storage Directory [.tls]
Entry a   Load Configuration Directory
Entry b   Bound Import Directory
Entry c   Import Address Table Directory
Entry d   Delay Import Directory
Entry e   Reserved
Entry f   Reserved

There is an import table in .idata at 0x405000

The Import Tables (interpreted .idata section contents)
 vma:HintTime  Forward  DLL   First
 Table   Stamp ChainName  Thunk
 00405000   5040   51c4 5088
Segmentation fault (core dumped)

This happens with the new binutils and also the previous version. 

(What I was actually hoping to do above was to remove/normalize the
time/date header in pei-i386, so that my executables are repeatable
functions of their sources, so I can checksum/fingerprint them in my
build system. Clearly my above attempts failed, so does anybody know
of a way to acheive this?)

Lev

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



permission and hosts.equiv

2005-05-25 Thread Christophe DELARUE
Hi all,

I read the faq, the ntsec section, asked on my system administrator
... but I cannot figure out why I cannot get what I would like.

Consider this 

prompt # rsh ptxw09112
Password:
Last login: Wed May 25 10:23:35 from ptxw09247..fr
Fanfare!!!
You are successfully logged in to this server!!!
Bienvenue chrdelar
prompt - pc # 

Then I filled the file /etc/hosts.equiv on the cygwin machine
ptxw09247



prompt # rsh ptxw09112
Last login: Wed May 25 10:24:03 from ptxw09247..fr
Fanfare!!!
You are successfully logged in to this server!!!
-bash: //pchomesrv02/Home$/chrdelar/.profile: Permission denied
prompt - pc # 

The "Permission denied" comes I think from the permission. If I do a
"id -a" on each configuration. A lot of groups are missing in the second
form. 

If I use a telnet connection, the affected rights are the same without
the hosts.equiv.

What's is going on ?

The fact is that I'd like to use rsh ...

The c:/cygwin/etc/hosts contains both ips
the files c:/cygwin/etc/hosts.{allow,deny} are inexistent.

Thank's for any help/suggestion.

-- 
Christophe Delarue


-
Visit our Internet site at http://www.reuters.com

To find out more about Reuters Products and Services visit 
http://www.reuters.com/productinfo 

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.


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



Re: How to install perl modules?

2005-05-25 Thread Yitzchak Scott-Thoennes
On Tue, May 24, 2005 at 08:52:02PM -0700, Brian Dessent wrote:
> Manuel Tejada wrote:
> 
> > Somebody can tell me from what URL I must to download
> > a perl module and how to install it in Cygwing?
> 
> You use CPAN.  "perl -MCPAN -e 'install Foo::Bar'" or "perl -MCPAN -e
> shell".  There is no URL to know, it takes care of all of that. 
> http://cpan.org/misc/cpan-faq.html

Note that there's the cpan script also:

install a module:
$ cpan Foo::Bar

or 

start the cpan shell:
$ cpan

To install a module, you'll have to have the make package installed
(by cygwin's setup.exe program; it's in the Devel category).

To install a module with xs components, you'll need at least the gcc
package.

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



.a to .lib converting

2005-05-25 Thread Alireza Ghasemi
Hello,
I want to use some cygwin .a libraries with other environments(like VC++) as
static .lib files.is this possible?Can I convert .a files to windows static
libraries?
If possible,what program do I need?
Thanks.


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



Thanks for your contact,if your qurey is urgent please contact mansoorhassan46@hotmail.co

2005-05-25 Thread admin
Thanks for your contact,if your qurey is urgent please contact [EMAIL 
PROTECTED] and we will be contacting you shortly,
thanks
MUHAMMAD ALI SHAH,
HASHMI ED.CONSULTANTS,
52-B GULGUSHT COLONY
MULTAN 
PAKISTAN 60700
p:+92-61-6750764
f:+92-61-6750765
m:+92-300-9639745

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



RE: [ANNOUNCEMENT] Updated: Mutt-1.4.2.1i-1

2005-05-25 Thread Gary R. Van Sickle
> -Original Message-
> From: hermitte[snip]
> Subject: Re: [ANNOUNCEMENT] Updated: Mutt-1.4.2.1i-1
> 
> Hello.
> 
> "Gary R. Van Sickle" <[EMAIL PROTECTED]> wrote:
> 
> > I have updated the version of mutt on cygwin.com to 1.4.2.1i-1.
> 
> Do you plan to package the version 1.5.9 ? (which has a 
> definitivelly better support of imap)
> 
> Regards,
> --
> Luc Hermitte

Unfortunately I have no immediate plans to do so, no.  The 1.5.x series is
still marked as "Development", while 1.4.2.1i is "Stable".  While using
"Development" code doesn't necessarily bother me, I'd feel obligated to
provide both for those who it would bother, and I don't have the time or the
inclination (I don't actually use mutt much myself).

When it's deemed "Stable" by the upstream devs I'll of course package it up.

-- 
Gary R. Van Sickle
 


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



Re: Fw: bug in texi2dvi, and hack patch

2005-05-25 Thread Stepan Kasal
Hello,

On Tue, May 24, 2005 at 01:35:38PM -0400, Karl Berry wrote:
> if { test -x "$dir/$1" && test -f "$dir/$1"; } ||
>{ test -x "$dir/$1.exe" && test -f "$dir/$1.exe"; }; then
> 
> Stepan, do you have an objection to it?

OK, this will be the cleanest solution, after all.

I commited this.

Moreover, I moved IFS=$saveIFS up.  It's a good habit, though it has
no consequences here.

> This seems sensible.  I can't actually test it, since I don't have
> either Cygwin or DJPP, but at least it is symmetric.

I don't have Cygwin nor DJGPP, nor any sense for responsibility.  ;-)

Have a nice day,
Stepan

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



Re: How to install perl modules?

2005-05-25 Thread Gerrit P. Haase

Manuel Tejada wrote:


Hello!

Somebody can tell me from what URL I must to download
a perl module and how to install it in Cygwing?


To browse the CPAN (Comprehensive Perl Archive Network)
manually use http://www.cpan.org/ and http://search.cpan.org/ .



In pure Windows is easy is you have Perl from
ActiveState but Perl installed in Cygwin doesnt have
the ppm Manager.


Windows needs it because they do not have a compiler by default.
Cygwin has its own compiler and you use the CPAN module which
is much better since it also takes care about the dependencies
of modules.

Type `cpan' in a Bash shell and follow the instructions.


Gerrit
--
=^..^=

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



Re: [ANNOUNCEMENT] Updated: Mutt-1.4.2.1i-1

2005-05-25 Thread hermitte
Hello.

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

> I have updated the version of mutt on cygwin.com to 1.4.2.1i-1.

Do you plan to package the version 1.5.9 ? (which has a definitivelly
better support of imap)

Regards,
--
Luc Hermitte

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



[ANNOUNCEMENT] Updated: Mutt-1.4.2.1i-1

2005-05-25 Thread Gary R. Van Sickle
I have updated the version of mutt on cygwin.com to 1.4.2.1i-1.

This is essentially a bugfix update from upstream.  No new
functionality is added, though it is linked with the latest Cygwin
releases of libncurses and libintl.  I have also verified that
SSL functionality actually works.

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.

  *** 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]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available  
starting at the above URL.

-- 
Gary R. Van Sickle   Please, send mails regarding Cygwin to
Cygwin Mutt Maintainer mailto:cygwin@cygwin.com


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



RE: Auto-[ANNOUNCEMENT] busted again?

2005-05-25 Thread Gary R. Van Sickle
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen
> Sent: Wednesday, May 25, 2005 3:31 AM
> To: cygwin@cygwin.com
> Subject: Re: Auto-[ANNOUNCEMENT] busted again?
> 
> On May 25 03:15, Gary R. Van Sickle wrote:
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen So 
> > > you didn't read my message to you when I rejected your 
> yesterday's 
> > > postings to cygwin-announce?
> > 
> > I did, but clearly I missed something; you pointed me to the post 
> > sitting in [EMAIL PROTECTED]  AFAICT, it has not been propagated to 
> > cygwin@, which again as far as I can tell from the above quote and 
> > prior practice, is supposed to happen.  Is there something 
> I forgot to do?
> 
> Quote from my yesterday's rejection mail:
> 
> === SNIP ===
> Gary,
> 
> I'm going to reject the announcement in a minute.  Could you 
> please send the announcement again with the following change:
> 
> Not
> 
>   To: 
> 
> but
> 
>   To: cygwin-announce@cygwin.com
> 
> The reason is that either the procmailrc script which resends 
> the message to the Cygwin list somehow chokes on the  
> part, or the filters on sourceware scramble something up.  We 
> still don't understand what exactly happens, so, if you want 
> the message also showing up on the Cygwin list...
> 
> 
> Corinna
> === SNAP ===
  
Don't snap under pressure on me Corinna! ;-)

I never got that email.  I did get the two rejects, and I just checked them
and there's no message in either of them.  Bizarre.  Anyway, sure, I'll make
the change and resend shortly.

-- 
Gary R. Van Sickle
 


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



Re: Auto-[ANNOUNCEMENT] busted again?

2005-05-25 Thread Corinna Vinschen
On May 25 03:15, Gary R. Van Sickle wrote:
> > [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen
> > So you didn't read my message to you when I rejected your 
> > yesterday's postings to cygwin-announce?
> 
> I did, but clearly I missed something; you pointed me to the post sitting in
> [EMAIL PROTECTED]  AFAICT, it has not been propagated to cygwin@, which
> again as far as I can tell from the above quote and prior practice, is
> supposed to happen.  Is there something I forgot to do?

Quote from my yesterday's rejection mail:

=== SNIP ===
Gary,

I'm going to reject the announcement in a minute.  Could you please
send the announcement again with the following change:

Not

  To: 

but

  To: cygwin-announce@cygwin.com

The reason is that either the procmailrc script which resends the message
to the Cygwin list somehow chokes on the  part, or the filters on
sourceware scramble something up.  We still don't understand what exactly
happens, so, if you want the message also showing up on the Cygwin list...


Corinna
=== SNAP ===

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



RE: Auto-[ANNOUNCEMENT] busted again?

2005-05-25 Thread Gary R. Van Sickle
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen
> Sent: Wednesday, May 25, 2005 3:08 AM
> To: cygwin@cygwin.com
> Subject: Re: Auto-[ANNOUNCEMENT] busted again?
> 
> On May 25 00:59, Gary R. Van Sickle wrote:
> > "Once sent, your message will be reviewed by one of the 
> > cygwin-announce moderators and, once approved, will be 
> automatically 
> > forwarded to the cygwin mailing list with an [ANNOUNCEMENT] 
> prepended to the subject."
> > 
> > This never happened with the latest mutt release AFACT.
> 
> So you didn't read my message to you when I rejected your 
> yesterday's postings to cygwin-announce?
> 
> 
> Corinna
> 

I did, but clearly I missed something; you pointed me to the post sitting in
[EMAIL PROTECTED]  AFAICT, it has not been propagated to cygwin@, which
again as far as I can tell from the above quote and prior practice, is
supposed to happen.  Is there something I forgot to do?

-- 
Gary R. Van Sickle


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



Re: "ssh-host-config -y" w/CYGWIN set to ntsec..; ssh works but CYGWIN *not* set

2005-05-25 Thread Corinna Vinschen
On May 24 22:27, Brian Dessent wrote:
> David Rothenberger wrote:
> 
> > I have CYGWIN set in my sshd service and globally to "server", but when
> > I ssh to my machine, CYGWIN is empty:
> > 
> > % echo $CYGWIN
> > server
> > % ssh localhost
> > Last login: Wed May  4 20:20:04 2005 from localhost
> > % echo $CYGWIN
> 
> Hmm, weird.  I see the same thing here too.  Not sure if it was always
> this way or a recent change in the DLL / cygrunsrv / sshd.

It's by design of sshd, right now.  Even though cygrunsrv propagates
this environment to the child applications, sshd doesn't.

This is a change to sshd which had been requested upstream.  The main
developers felt that propagating all SYSTEM environment to the
unprivileged child applications has to be treated as unsecure.
Therefore I implemented to propagate only the core Windows environment
to child processes back in 3.9, AFAIR.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



Re: Auto-[ANNOUNCEMENT] busted again?

2005-05-25 Thread Corinna Vinschen
On May 25 00:59, Gary R. Van Sickle wrote:
> "Once sent, your message will be reviewed by one of the cygwin-announce
> moderators and, once approved, will be automatically forwarded to the cygwin
> mailing list with an [ANNOUNCEMENT] prepended to the subject."
> 
> This never happened with the latest mutt release AFACT.

So you didn't read my message to you when I rejected your yesterday's
postings to cygwin-announce?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



ssh-agent won't die peacefully at logout or shutdown

2005-05-25 Thread Gunnar Brading
The problem I am experiencing is that my ssh-agent won't die when 
logging out or shutting down my Windows XP.
Instead I get the standard dialog box about "Cannot end this program" 
with the option to end now, or cancel. Pusing the end now button
solves the problem, but I cannot find any reason for the dialog to 
appear at all.


Searching the net, and mail-archives I can find references to similar 
problems but no solutions. I have tried using keychain, and the same problem

exists there.

It seems that ssh-agent is the only program having this problem. It 
refuses to die automatically at logout, but requries some manual
intervention to be killed. All manual methods like "ssh-agent -k" and 
similar of course works. But why does it not die automatically?


The problem is the same if I use keychain, other scripts or just plain 
start it up manually from my bash.


-- Gunnar


Cygwin Configuration Diagnostics
Current System Time: Wed May 25 08:50:09 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\usr\local\etc
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\X11R6\bin
h:\bin\cygwin
h:\bin
h:\bin\windows
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\sbin
.\
c:\PROGRA~1\Java\JDK15~1.0_0\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(Gunnar)GID: 513(None)
0(root)  513(None)544(Administrators)
545(Users)   1005(Debugger Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(Gunnar)GID: 513(None)
0(root)  513(None)544(Administrators)
545(Users)   1005(Debugger Users)

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

CYGWIN = `nontsec'
HOME = `H:\'
LD_LIBRARY_PATH = `C:\cygwin\usr\local\lib'
MAKE_MODE = `unix'
PWD = `/cygdrive/h'
USER = `Gunnar'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Gunnar\Application Data'
ARCH = `i686'
CLASSPATH = `'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `EMMENTHALER'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVSROOT = `majros.astrogator.se:/var/cvs'
CVS_RSH = `ssh'
DISPLAY = `:0.0'
Desktop = `C:DOCUME~1GunnarDesktop'
EDITOR = `emacs'
FIGNORE = `CVS'
FP_NO_HOST_CHECK = `NO'
HISTCONTROL = `ignoredups'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Gunnar'
HOST = `emmenthaler'
HOSTNAME = `emmenthaler'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
INSTALLROOT = `C:/'
JAVA_HOME = `c:\PROGRA~1\Java\JDK15~1.0_0'
LC_COLLATE = `C'
LC_CTYPE = `C'
LC_MESSAGES = `C'
LESS = `-i -em -b64'
LESSCHARSET = `latin1'
LM_LICENSE_FILE = [EMAIL PROTECTED]'
LOGIN_EUID = `1003'
LOGIN_HOME = `/cygdrive/h'
LOGIN_USER = `Gunnar'
LOGNAME = `Gunnar'
LOGONSERVER = `\\EMMENTHALER'
MANPATH = `/cygdrive/h/lib/man:/usr/X11R6/man:/usr/man:/usr/share/man'
NUMBER_OF_PROCESSORS = `1'
NUTSUFFIX = `1'
NUT_SUFFIXED_SEARCHING = `1'
OLDPWD = `/cygdrive/h'
OS = `Windows_NT'
OSTYPE = `cygwin'
PAGER = `less'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PGPPATH = `/cygdrive/h/.pgp'
PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 7, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0207'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\h% '
RATL_RTHOME = `D:\Program Files\Rational\Rational Test'
REAL_HOME = `/cygdrive/h'
SESSIONNAME = `Console'
SHELL = `/usr/bin/bash'
SHLVL = `1'
SSH_AGENT_PID = `2828'
SSH_AUTH_SOCK = `/tmp/ssh-niyfIQ3096/agent.3096'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\Gunnar\LOCALS~1\Temp'
TERM = `ansi'
TMP = `C:\DOCUME~1\Gunnar\LOCALS~1\Temp'
TMPDIR = `C:\DOCUME~1\Gunnar\LOCALS~1\Temp'
USERDOMAIN = `EMMENTHALER'
USERNAME = `Gunnar'
USERPROFILE = `C:\Documents and Settings\Gunnar'
WINDIR = `C:\WINDOWS'
XAUTHORITY = `/cygdrive/h/.Xauthority'
XRSH_AUTH_TYPE = `xauth'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\