write raw disk image to scsi in win98?

2003-04-04 Thread Mike Edwards
Hello list,

I understand that win98 imposes restrictions on physical drive access
however there must be a hack or workaround to accomplish what I need. I want
to write a raw disk image to my scsi zip. Trying to dd to //./d is blocked
by the OS. Is there a program that can accomplish this (possibly something
suitable in the cdr type tools?) via apsi?

Best regards,
Mike Edwards


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



Apache and rebase problem

2003-04-04 Thread Frédéric Bazin
Hello,
I have been using cygwin for 1 year, i just installed apache.
I don't know anything about apache.
I jsut started the server after installation without changing any 
configuration file. I got some error message which seems to be a rebase 
problem according to previous posting.
Anyone knows what should I do ?

Thx
Fred
$ /usr/sbin/apachectl start
[Fri Apr  4 10:28:06 2003] [alert] httpd: Could not determine the 
server's fully qualified domain na
me, using 10.0.0.208 for ServerName
C:\cygwin\usr\sbin\httpd.exe: *** unable to remap 
C:\cygwin\bin\cygssl.dll to same address as parent
(0xAF) != 0xB0
/usr/sbin/apachectl start: httpd could not be started

--
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 final pre-release..

2003-04-04 Thread Max Bowsher
Alan Dobkin wrote:
> On 4 Apr 2003, Robert Collins wrote:
>
>> you should use apache or IIS to serve out the mirror and add
>> it to your mirror selection creen in the custom URL field.
>>
>> Then, setup won't check the md5's of every package.
>
> This seems like an overly complex workaround just to preserve
> the existing functionality.

Horribly over-complex.

> And, it has the side effect of
> creating another cache on each client system and re-downloading
> each package before it is installed.

Yes, bad!

> This negates one of the
> main reasons why I set up the local mirror in the first place,
> i.e. so I could maintain a single repository on a local server
> and avoid having a bunch of local caches on each installation.
>
>> The reason setup checks all the md5's is to ensure that what
>> it's discovered in the cache hasn't been corrupted.
>
> That makes sense, but then there should be a way to bypass
> this check so it doesn't happen every time.  Perhaps something
> like a dirty/clean flag that filesystems use to prevent having
> to do a fsck/chkdsk every time it's mounted.  Setup could set
> this flag in its cache to dirty every time it does a download
> and then set it to clean every time the full MD5 scan is done.

I would consider a simple post-download check to be sufficient. If files are
being corrupted on a local drive, then the user has bigger problems than
Cygwin not working properly.

>> There was another thread on this in cygwin-apps. Max
>> considers it a release blocker, I don't. Accordingly,
>> I said I was happy to consider patches

Yep, and I've just re-awakened this discussion over on cygwin-apps :-)

Max.


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



trouble cross-compiling with latest cygwin and popt.1.6.4-4

2003-04-04 Thread Christophe Trophime
I am trying to cross-compile some in-house code
to latest cygwin 1.8.22-1. I need to link the executables
with popt. So I rebuild popt using popt.1.6.4-src.tar.gz package.
Note that I manage to cross-compile with previous version 1.8.19.

I manage to get the libpopt.dll.a.
But now when I try to compile test programs provided in the popt package
I end up with undefined symbols in libpopt.dll.a:

fu01.o(.idata$3+0xc): undefined reference to
`__libs_libpopt_dll_a_iname'
nmth00.o(.idata$4+0x0): undefined reference to
`__nm__poptHelpOptions'
Info: resolving _poptHelpOptions by linking to __imp__poptHelpOptions
(auto-import)
collect2: ld returned 1 exit status

If I link test*.c with cygpopt0.dll I get no error.

So my question is :
What has changed?
Do I have to link against cygxxx.dll or libxxx.dll.a?

I use binutils-20030307-1-src.tar.bz and gcc-3.2-3-src.tar.bz2 to get
the cross compiler tools (rebuild with cygwin 1.8.22, w32api 2.3-1)

I use the following linux rpm packages :
automake-1.6.3-1
autoconf-2.53-8 
libtool-1.4.3-5

-- 
Christophe Trophime <[EMAIL PROTECTED]>
LCMI


--
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 final pre-release..

2003-04-04 Thread Robert Collins
On Fri, 2003-04-04 at 10:45, Alan Dobkin wrote:

> I didn't mean to imply that it doesn't work now, only that the method 
> I've used to create the mirror doesn't seem to be the problem.

It's not the problem, it's just how you are using the mirror :}.

> > It's also clearly noted that cygwins local package directory is 
> > subject to change without notice - 
> 
> I understand that the directory is subject to change, but the 
> nature of a mirror implies that the changes are automatically 
> propogated and thus setup should still work.  Are you saying that 
> setup would no longer support the same directory structure that 
> is present on the current mirror sites at that same time?  Or in 
> other words, that setup would use different directory structures 
> for local and remote mirrors?  This doesn't make sense to me

Setup doesn't have a concept of a local mirror. It has a 'local package
dir', where it caches packages during install. The mirroring scripts
around create the same layout as setup uses for that local package dir.
Setup's needs are simple:
A setup.bz2/.ini on the mirror (ftp | http) site with correct paths and
MD5 detauls.
A local dir to work from.

the 'local' mode is designed for off-line reinstalls, *not* for
installing from a complete copy of the cygwin package site. The fact
that it allows that is a happy coincidence. I'm not about to
*deliberately* prevent that from working.

> > you should use apache or IIS to serve out the mirror and add 
> > it to your mirror selection creen in the custom URL field.
> > 
> > Then, setup won't check the md5's of every package.
> 
> This seems like an overly complex workaround just to preserve 
> the existing functionality.  And, it has the side effect of 
> creating another cache on each client system and re-downloading 
> each package before it is installed.   This negates one of the 
> main reasons why I set up the local mirror in the first place, 
> i.e. so I could maintain a single repository on a local server 
> and avoid having a bunch of local caches on each installation.

'local caches'. The whole point of a cache is that it's partial, and
transient. Your mirror is neither partial nor transient. I really don't
see the issue.

> > The reason setup checks all the md5's is to ensure that what 
> > it's discovered in the cache hasn't been corrupted.
> 
> That makes sense, but then there should be a way to bypass 
> this check so it doesn't happen every time.  Perhaps something 
> like a dirty/clean flag that filesystems use to prevent having 
> to do a fsck/chkdsk every time it's mounted.  Setup could set 
> this flag in its cache to dirty every time it does a download 
> and then set it to clean every time the full MD5 scan is done.  

To make this effective, the whole local cache would need to be opaque.
That would defeat your use of a mirror as a local cache. I'm not
discounting the idea, but I don't think it would achieve your goals.

> Or, a more simple workaround would be a setup option to just 
> bypass the initial scan.

At this point, I think you should grab the source and/or join
[EMAIL PROTECTED] We'll undoubtably has out all of the options
shortly. For this specific suggestion, it has the downside of offering
an incorrect view of what you have available in your package cache.

Cheers,
Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part


Re: setup.exe final pre-release..

2003-04-04 Thread Robert Collins
On Fri, 2003-04-04 at 19:22, Max Bowsher wrote:
> Alan Dobkin wrote:
> > On 4 Apr 2003, Robert Collins wrote:
> >
> >> you should use apache or IIS to serve out the mirror and add
> >> it to your mirror selection creen in the custom URL field.
> >>
> >> Then, setup won't check the md5's of every package.
> >
> > This seems like an overly complex workaround just to preserve
> > the existing functionality.
> 
> Horribly over-complex.

I disagree. The local package cache is *not* a mirror, and a mirror is
*not* a local package cache.

WHEN setup starts maintaining the content of it's caches, folk that use
a mirroring script to populate their local package cache rather than to
create a local mirror will be horribly upset that setup deletes files.
I'd really rather avoid that headache (which involves potential data
loss) than encourage it.

> > And, it has the side effect of
> > creating another cache on each client system and re-downloading
> > each package before it is installed.
> 
> Yes, bad!

Not at all. The packages won't be downloaded off the net, they'll come
from the local mirror. The local package cache for each client can be
deleted by a script if desired.

Rob

-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part


Most recent release

2003-04-04 Thread Raymond Mardle
Hi,
  I'm a long time user of Cygwin (love the product) and yesterday I
installed it on a computer that I personally use, for the first time in
a number of years. I don't know if I did anything wrong but after the
installation there were no less, page or vi executables (more was also
missing but I know about that from my first installation a few years
back). There might be other things missing but everything else I've
used has been there. Have these been dropped deliberately or is it a
problem?

  Thanks and keep up the good work

   Raymond


__
Yahoo! Plus
For a better Internet experience
http://www.yahoo.co.uk/btoffer

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



glibc-2.2.5 build problem on Cygwin : target i386-linux

2003-04-04 Thread babu
Hi,

We are in the process of building a crossgcc for "i386-linux" on cygwin.

Following are ok:

 - binutils-2.12

 - gccbootstrap - 2.95.4

while compiling the glibc-2.2.5,with the following configuration, we are
getting the errors attached. If you have come across this issue, please let
us know what is missing :

CC=i386-linux ./configure \
host=i386-linux \
build=i386-linux \
--enable-add-ons="linuxthreads" \
--with-headers=${KERNEL_DIR}/include/


make[2]: Leaving directory `/sys/build_tools/glibc-2.2.5/dirent'
make  -C grp others
make[2]: Entering directory `/sys/build_tools/glibc-2.2.5/grp'
make[2]: Nothing to be done for `others'.
make[2]: Leaving directory `/sys/build_tools/glibc-2.2.5/grp'
make  -C pwd others
make[2]: Entering directory `/sys/build_tools/glibc-2.2.5/pwd'
make[2]: Nothing to be done for `others'.
make[2]: Leaving directory `/sys/build_tools/glibc-2.2.5/pwd'
make  -C posix others
make[2]: Entering directory `/sys/build_tools/glibc-2.2.5/posix'
/opt/rtldkw-1.2/bin/i386-linux-gcc.exe -nostdlib -nostartfiles -o
/sys/build_tools/glibc-2.2.5/build-i386-linux/posix/getconf 
-Wl,-dynamic-linker=/opt/rtldkw-1.2/i386-linux//lib/ld-linux.so.2  
-Wl,-z,combreloc /sys/build_tools/glibc-2.2.5/build-i386-linux/csu/crt1.o
/sys/build_tools/glibc-2.2.5/build-i386-linux/csu/crti.o
`/opt/rtldkw-1.2/bin/i386-linux-gcc.exe --print-file-name=crtbegin.o`
/sys/build_tools/glibc-2.2.5/build-i386-linux/posix/getconf.o 
-Wl,-rpath-link=/sys/build_tools/glibc-2.2.5/build-i386-linux:/sys/build_tools/glibc-2.2.5/build-i386-linux/math:/sys/build_tools/glibc-2.2.5/build-i386-linux/elf:/sys/build_tools/glibc-2.2.5/build-i386-linux/dlfcn:/sys/build_tools/glibc-2.2.5/build-i386-linux/nss:/sys/build_tools/glibc-2.2.5/build-i386-linux/nis:/sys/build_tools/glibc-2.2.5/build-i386-linux/rt:/sys/build_tools/glibc-2.2.5/build-i386-linux/resolv:/sys/build_tools/glibc-2.2.5/build-i386-linux/crypt:/sys/build_tools/glibc-2.2.5/build-i386-linux/linuxthreads
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc_nonshared.a -lgcc
`/opt/rtldkw-1.2/bin/i386-linux-gcc.exe --print-file-name=crtend.o`
/sys/build_tools/glibc-2.2.5/build-i386-linux/csu/crtn.o
/sys/build_tools/glibc-2.2.5/build-i386-linux/posix/getconf.o: In function
`usage':
/sys/build_tools/glibc-2.2.5/posix/getconf.c:885: undefined reference to `exit'
/sys/build_tools/glibc-2.2.5/build-i386-linux/posix/getconf.o: In function
`main':
/sys/build_tools/glibc-2.2.5/posix/getconf.c:972: undefined reference to `exit'
/sys/build_tools/glibc-2.2.5/posix/getconf.c:988: undefined reference to `exit'
/sys/build_tools/glibc-2.2.5/posix/getconf.c:1002: undefined reference to `exit'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__dup'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__strtod_internal'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `utime'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `lrand48_r'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__strtoull_internal'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__mpn_extract_long_double'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__mpn_cmp'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__libc_fcntl'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__write'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `getenv'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__getcwd'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__strtol_internal'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `bsearch'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__dup2'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `qsort'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__strtoll_internal'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__read'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__unlink'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__mpn_lshift'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__mpn_mul'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__mpn_submul_1'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to `__open'
/sys/build_tools/glibc-2.2.5/build-i386-linux/libc.so.6: undefined reference
to

RE: Most recent release

2003-04-04 Thread Vince Hoffman
sounds like you have a (minor i hope) problem, less at least should have
installed. IIRC vi(m) isnt installed by default, less is and page i dont
think we have. If its been a few years then have a look through the packages
available though setup these days. You can also see whats available online
at http://cygwin.com/packages .


> -Original Message-
> From: Raymond Mardle [mailto:[EMAIL PROTECTED]
> Sent: 04 April 2003 11:21
> To: [EMAIL PROTECTED]
> Subject: Most recent release
> 
> 
> Hi,
>   I'm a long time user of Cygwin (love the product) and yesterday I
> installed it on a computer that I personally use, for the 
> first time in
> a number of years. I don't know if I did anything wrong but after the
> installation there were no less, page or vi executables (more was also
> missing but I know about that from my first installation a few years
> back). There might be other things missing but everything else I've
> used has been there. Have these been dropped deliberately or is it a
> problem?
> 
>   Thanks and keep up the good work
> 
>Raymond
> 
> 
> __
> Yahoo! Plus
> For a better Internet experience
> http://www.yahoo.co.uk/btoffer
> 
> --
> 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: Binary patch tool?

2003-04-04 Thread Ronald Landheer-Cieslak
On Thu, 3 Apr 2003, Igor Pechtchanski wrote:
> vim -b -c ":%s/xygwin1.dll/cygwin1.dll/g|:wq" $f
> 
> Ain't vim grand? ;-)
Wow [takes hat off and bows deeply to Vim]

I use Vim on a daily basis for nearly all my source file editing, but I'd 
never used it as a stream editor before - too cool :)

Thanx Igor!

rlc



--
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 final pre-release..

2003-04-04 Thread Ronald Landheer-Cieslak
I've been following this discussion from the sidelines for a while.. hope 
you don't mind be butting in.

On 4 Apr 2003, Robert Collins wrote:
> Setup doesn't have a concept of a local mirror. It has a 'local package
> dir', where it caches packages during install. The mirroring scripts
> around create the same layout as setup uses for that local package dir.
> Setup's needs are simple:
> A setup.bz2/.ini on the mirror (ftp | http) site with correct paths and
> MD5 detauls.
> A local dir to work from.
What if support were added for a "file://" mirror?
For a "file://" mirror,
* Setup could work just as with http:// or ftp://, and download the thing 
  to a local cache,
* no design changes would be needed - it's just another "protocol" for 
  downloading files,
* it would not require network admins to set up an FTP or HTTP server just 
  to have a local mirror (because most already have a file server 
  accessible through the network which is not HTTP or FTP, this can make a 
  real difference)

Just a thought - I'm not a lawyer, so you can safely ignore me
(although I am married with a lawyer.. does that help?)

rlc



--
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: su questions

2003-04-04 Thread Jason Tishler
Rodrigo,

On Fri, Apr 04, 2003 at 02:33:05AM -0300, Rodrigo Serra wrote:
> I need this because postgresql daemon need run by "postgres" user.
> 
> Of course I can use the cygrunsrv to start daemons with "postgres"
> credentials, but the possibility to use one nt daemon, init, and use
> standard linux/unix start script is good for me and maybe for other
> peoples interested in ported unix services to cygwin.

See the following:

http://www.cygwin.com/ml/cygwin/2002-11/msg00669.html

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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



Re: Apache and rebase problem

2003-04-04 Thread Jason Tishler
Fred,

On Fri, Apr 04, 2003 at 10:33:39AM +0200, Frédéric Bazin wrote:
> Anyone knows what should I do ?

Do the Google thing:

http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=cygwin+rebase

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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



OpenSSH PublicKeyAuthentication failure using cygrunsrv

2003-04-04 Thread jim . a . davidson
I have recently installed the latest Cygwin Version on my W2k test server
along with the latest
OpenSSH package.
I find that if I manually start the sshd daemon I can login ok using
PublicKeyAuthentication but when I create an NT Service using cygrunsrv that
this fails (although password authentication is ok).I suspect that this may
be a permissions problem but have run out of things to try.
Here is the debug output from the sshd server using the loopback address.
If anyone can offer any advice/suggestions,it would be much appreciated.
Thanks.

OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
debug1: Reading configuration data /etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug2: ssh_connect: needpriv 0
debug1: Connecting to hhh [81.134.40.222] port 22.
debug1: Connection established.
debug1: identity file /ssh/.ssh/identity type -1
debug1: identity file /ssh/.ssh/id_rsa type -1
debug3: Not a RSA1 key file /ssh/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-END'
debug3: key_read: missing keytype
debug1: identity file /ssh/.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote software version
OpenSSH_3.6.1p1
debug1: match: OpenSSH_3.6.1p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.6.1p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,r
[EMAIL PROTECTED]
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,r
[EMAIL PROTECTED]
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hm
ac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hm
ac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,r
[EMAIL PROTECTED]
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,r
[EMAIL PROTECTED]
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hm
ac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hm
ac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 115/256
debug2: bits set: 1595/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /ssh/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug3: check_host_in_hostfile: filename /ssh/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 3
debug1: Host 'hh' is known and matches the RSA host key.
debug1: Found key in /ssh/.ssh/known_hosts:1
debug2: bits set: 1590/3191
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug3: start over, passed a different list
publickey,password,keyboard-interactive
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: public

[ANNOUNCEMENT] Updated: swig-1.3.19-1

2003-04-04 Thread Williams, Gerald S (Jerry)
I've updated the version of SWIG to 1.3.19-1. Tarballs should
be available on the Cygwin mirrors shortly.

As per the SWIG web page (http://www.swig.org):

  SWIG (Simplified Wrapper Interface Generator) is a software
  development tool that connects programs written in C and C++
  with a variety of high-level programming languages. SWIG is
  primarily used with common scripting languages such as Perl,
  Python, Tcl/Tk, Ruby, Guile and MzScheme, however the list
  of supported languages also includes non-scripting languages
  such as Java and OCAML. SWIG is most commonly used to create
  high-level interpreted programming environments, user
  interfaces, and as a tool for testing and prototyping C/C++
  software. SWIG may be freely used, distributed, and modified
  for commercial and noncommercial use.

Version 1.3.19 is a regular development release of SWIG. More
information, including release notes and user documentation,
can be found in the directory /usr/doc/swig-1.3.19/.

***LATE-BREAKING NEWS***

One thing that won't be currently found in that directory is
an issue that has come up with the latest Cygwin release of
Perl (5.8.0), which uses 64-bit integers. This results in
some warnings of the following type when compiling the output
of SWIG:
  warning: cast to pointer from integer of different size

It is specifically caused by the SWIG_ConvertPtr() function,
which casts Perl type IV (now a long long) into a pointer in
several circumstances.

This warning does not appear to cause any test cases to fail.
This issue just came up and is being addressed by the SWIG
development community.

--
Gerald Williams
Cygwin SWIG maintainer


*** INSTALLATION ***

To update your installation, download and run setup.exe using the
"Install Cygwin now" link at http://cygwin.com/. SWIG is in the
'Devel' category.

Questions or comments? First check the FAQ and Cygwin mailing list
archives at http://cygwin.com/lists.html (you may want to sign up
for the list as well). Then mailto:[EMAIL PROTECTED]


*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

To unsubscribe to 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]


--
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 final pre-release..

2003-04-04 Thread Igor Pechtchanski
On Fri, 4 Apr 2003, Ronald Landheer-Cieslak wrote:

> [snip]
> On 4 Apr 2003, Robert Collins wrote:
> > Setup doesn't have a concept of a local mirror. It has a 'local package
> > dir', where it caches packages during install. The mirroring scripts
> > around create the same layout as setup uses for that local package dir.
> > Setup's needs are simple:
> > A setup.bz2/.ini on the mirror (ftp | http) site with correct paths and
> > MD5 detauls.
> > A local dir to work from.
> What if support were added for a "file://" mirror?
> For a "file://" mirror,
> * Setup could work just as with http:// or ftp://, and download the thing
>   to a local cache,
> * no design changes would be needed - it's just another "protocol" for
>   downloading files,
> * it would not require network admins to set up an FTP or HTTP server just
>   to have a local mirror (because most already have a file server
>   accessible through the network which is not HTTP or FTP, this can make a
>   real difference)

FWIW, I like this.  I'll try for a patch at some point unless someone
beats me to it.

> Just a thought - I'm not a lawyer, so you can safely ignore me
> (although I am married with a lawyer.. does that help?)
> rlc

IANALBIMTO [1]?  Hmm...
Igor
[1] I Am Not A Lawyer But I'm Married To One
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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: Postinstall failure: file not found

2003-04-04 Thread Pierre A. Humblet
Rudiyanto Gunawan wrote:
>
> Ok, here is what I got
> 
> bash-2.05b$ /usr/bin/sh -c /etc/postinstall/passwd-grp.sh.done
> /etc/postinstall/passwd-grp.sh.done: not found
> 
> I don't have /etc/passwd. After mkpasswd and mkgroup,
> getfacl /etc gave me:
> bash-2.05b$ /usr/bin/getfacl /etc
> # file: /etc
> # owner: Administrators
> # group: Users
> user::---
> user:ryg:rwx
> user:Administrator:rwx
> group::---
> group:SYSTEM:rwx
> mask:rwx
> other:---
> default:user:ryg:rwx
> default:user:Administrator:rwx
> default:group:SYSTEM:rwx
> default:mask:rwx

We are making some progress.
1) At this site, the acl goesn't give any access to Users
2) Because Rudiyanto is in Administrators, the owner is Administrators
3) But the acl doesn't give any access to Administrators either.
   1 and 3 are very unusual conditions
3) If setup had the 2nd ntsec patch I sent a while ago, the owner would
   be ryg and everything would be allright.
4) Still the basic problem remains: why does sh -c script.sh  fail although
   script.sh is rxw by the current user?
   I tried to reproduce it here, but everything is fine

/> cat sayhi
echo hi
/> getfacl sayhi
# file: sayhi
# owner: AdministratorS
# group: Users
user::---
user:PHumblet:rwx
group::---
mask:rwx
other:---
/> sh -c sayhi
hi

Pierre

--
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: su questions

2003-04-04 Thread Pierre A. Humblet
Rodrigo Serra wrote:
> 
> Pierre,
> 
> The cygwin environment is binmode ntsec tty. This following string is
> extracted from cygwin1.dll "1.3.22-dontuse-21". Windows is "Windows.NET
> Server 2003" RC2.
> 
> This happen only when try to use no password authentication.
> 
OK, It may have to do with your version of Windows
I need your help for some debugging

1) Edit /etc/passwd to
   a) remove the passwd of SYSTEM
   b) add a home directory for SYSTEM (e.g. /)
   c) add a shell for SYSTEM
   d) remove your password (uid 1003)
2) telnet localhost and login as SYSTEM
   It should let you in without password
   You are now running as SYSTEM, confirm with "id"
3) su yourself (uid 1003)
   If that fails: 
4) strace -o trace su yourself
   and send me the trace 
5) Put the SYSTEM password back if your machine is directly accessible.

Pierre

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



perl 5.8.0-2 and WaitForMultipleObjects under win98

2003-04-04 Thread Eric Blake
Has anyone else seen this?  Ever since I upgraded from perl 5.6 to perl 
5.8.0-2, I am no longer able to run automake or autoconf on my Win98 
machine.  Both of those invoke perl, and then hang, printing messages 
such as:

406 [main] perl 614369 sync_with_child: WaitForMultipleObjects 
timed out
307776554 [main] perl 614369 sync_with_child: WaitForMultipleObjects 
timed out
620499865 [main] perl 614369 sync_with_child: WaitForMultipleObjects 
timed out

Once this has happened, I cannot kill the console that perl was invoked 
in, even after using Ctrl-C or kill -9 to stop autoconf.  I basically 
have to reboot the machine to recover.

cygcheck.out is attached; but I have all the latest software packages. 
It is tedious to use the setup to revert to perl 5.6, but when I do 
that, the bug disappears.

--
This signature intentionally left boring.
Eric Blake [EMAIL PROTECTED]
  BYU student, free software programmer

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Apr 04 07:28:43 2003

Windows 98 Ver 4.10 Build 1998 

Path:   d:\cygwin\usr\local\bin
d:\cygwin\bin
d:\cygwin\bin
c:\windows
c:\windows\command
c:\
.
c:\msoffice\office
c:\miscel~1\pfe101i
c:\progra~1\mcafee\mcafee~1\mcafee~1
c:\jdk1.4\bin
c:\emacs-20.7\bin
c:\javacc\bin
c:\jtb\bin
c:\program files\tcl\bin
d:\cygwin\usr\x11r6\bin

d:\cygwin\bin\id.exe output (nontsec)
UID: 500(eblake)  GID: 544(unknown)
544(unknown)

d:\cygwin\bin\id.exe output (ntsec)
UID: 500(eblake)  GID: 544(unknown)
544(unknown)

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

HOME = `d:\cygwin\home\eblake'
MAKE_MODE = `unix'
PWD = `/home/eblake'
USER = `eblake'

BLASTER = `A220 I7 D1 T2 '
BOOTCLASSPATH = `c:\jdk1.4\jre\lib\rt.jar'
CMDLINE = `bash --login -i'
COMSPEC = `C:\COMMAND.COM'
CVSEDITOR = `/cygdrive/c/emacs-20.7/bin/emacs'
CVS_RSH = `ssh'
DIRCMD = ` /o:gne'
HOMEDRIVE = `d:'
HOMEPATH = `\cygwin\home\eblake'
JAVA_HOME = `/cygdrive/c/jdk1.4'
MANPATH = `:/usr/ssl/man'
OLDPWD = `/usr/bin'
PROMPT = `$e[1m-$q$l$p$g$q-$_$e[0m#'
PS1 = `]0;\w
[EMAIL PROTECTED] \w
$ '
QTJAVA = `"C:\Program Files\JavaSoft\JRE\1.3.0_01\lib\ext\QTJava.zip"'
SHLVL = `1'
SNDSCAPE = `C:\WINDOWS'
TEMP = `c:\windows\temp'
TERM = `cygwin'
TEXMF = `{/usr/share/lilypond/1.6.8,/usr/share/texmf}'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
WINPMT = `$e[1m-$q$l$p$g$q-$_$e[0m#'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
  (default) = `C:'
  unix = `/'
  fbinary = 0x
  fsilent = 0x
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus 
Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1
  (default) = `c:\cygnus\cygwin-b20'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\

Re: Cygwin Python regression testers wanted

2003-04-04 Thread Jason Tishler
On Fri, Apr 04, 2003 at 12:07:13AM +0200, Hannu E K Nevalainen wrote:
> Thought about it:
> apache contains a "rebase" causing malfunction of "fork"...

AFAICT, the apache rebase just corrupts DLLs on Me.

> test_fork1
>  =>
> PYTHON2 orsakade ett ogiltigt sidfel i("page fault" in swedish)
> modul MATH.DLL på adress 0187:6ca02478.
> Registrerar:  (thats a bad translation, sigh)
> EAX= CS=0187 EIP=6ca02478 EFLGS=00010246
> EBX=6ca05000 SS=018f ESP=0073eab8 EBP=0073eac0
> ECX= DS=018f ESI=6ca03a9c FS=5b9f
> EDX=819838ac ES=018f EDI=610d1fd8 GS=
> Byte på CS:EIP:   (bytes at...)
> 8b 11 85 d2 74 15 89 f6 39 5a 0c 74 60 8b 42 14
> Stackdump:
> 011e6a98 0002 0073ead0 6ca01042 6ca05000 0073eb30 0073eae0 61009903
> 6ca1 6ca0 0073eb30 61009d42 6ca10008 0073eaf8 001c 5c322e32

I'm not sure what to make of the above.

> After some [Close]'ing... the tests continued...  until...
> 
> test_hotshot
> 

Please rerun the regress test using the -x option to exclude tests that
hang.  For example:

python -E -tt /usr/lib/python2.2/test/regrtest.py -l -x test_hotshot

> Well, does that help? :-7

It's a start.

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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



Re: Postinstall failure: file not found

2003-04-04 Thread Pierre A. Humblet
OK, I've got it:

/> sh -c sayhi
hi
/> sh -c /sayhi
/sayhi: not found

With strace I saw that sh uses stat (which won't show rxw rights
in this case) and it behaves differently for absolute paths.

Possible fixes:
1) cd to /etc/postinstall before running the scripts and use relative paths
2) Put my 2nd ntsec patch in setup (I have asked Rudiyanto to test it)
3) Run the postinstall scripts with CYGWIN=nontsec, for boostrap.
   Note that scripts that rely on ntsec (chmod or chown) will need to turn 
   ntsec on.
4) patch sh.exe
5) ???

Pierre

--
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.. release ready?

2003-04-04 Thread Igor Pechtchanski
On 4 Apr 2003, Robert Collins wrote:

> So, while we have a few quirks, we have no regressions now.
>
> Any last objections from the crowd here to my marking 2.340.2.4 as
> released?
> Rob

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

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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: Postinstall failure: file not found

2003-04-04 Thread Pierre A. Humblet
On Fri, Apr 04, 2003 at 10:18:40AM -0500, Pierre A. Humblet wrote:
> OK, I've got it:
> 
> /> sh -c sayhi
> hi
> /> sh -c /sayhi
> /sayhi: not found
> 
> With strace I saw that sh uses stat (which won't show rxw rights
> in this case) and it behaves differently for absolute paths.
> 
> Possible fixes:
> 1) cd to /etc/postinstall before running the scripts and use relative paths
> 2) Put my 2nd ntsec patch in setup (I have asked Rudiyanto to test it)
> 3) Run the postinstall scripts with CYGWIN=nontsec, for boostrap.
>Note that scripts that rely on ntsec (chmod or chown) will need to turn 
>ntsec on.
> 4) patch sh.exe
> 5) ???
Use bash
/> bash -c /sayhi
hi
/> bash -c sayhi
hi
6) ???

Pierre



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



[ANNOUNCEMENT] Updated: cURL 7.10.4

2003-04-04 Thread Roth, Kevin P.
cURL has been updated to version 7.10.4-1.

Along with a large number of bugfixes, this release includes=20
these changes:

7.10.3:
 o Added CURLOPT_PRIVATE and CURLINFO_PRIVATE
 o Added CURLOPT_HTTP200ALIASES
 o Added --create-dirs
 o The first few libcurl test cases have been added
 o configure --enable-maintainer-mode was added

7.10.4:
 o curl tool "clears" sensitive commands line args from ps output
 o no emacs local variables in the source files anymore, curl-style.el=20
   is the new file to use.
 o the "scratch buffer" only allocated when actually needed. This=20
   drasticly reduces the amount of memory used for a single handle.
 o started implementing the 'share' system (detailed elsewhere)
 o removed the strequal and strnequal macros from curl/curl.h
 o added CURLOPT_UNRESTRICTED_AUTH / --location-trusted

See the following URLs for full release details, including bugfixes:
 7.10.3: http://curl.haxx.se/mail/archive-2003-01/0054.html
 7.10.4: http://curl.haxx.se/mail/archive-2003-04/0002.html
=20

-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=20

To obtain this update, run Cygwin's setup.exe wizard.

You can obtain a copy of setup.exe by clicking
 the "Install Now!" icon at http://cygwin.com/.

To install cURL for the first time, choose "cURL" from the=20
 packages list, in the "Web" category. If you already have=20
 it installed, the update will be pre-selected.

Remember that some mirror sites may not have updated before
 this announcement is made. If your usual mirror doesn't have=20
 the latest version of this package, please be patient.
 (or select an alternate mirror...)

If you have Cygwin-related questions or comments, please send=20
 them to the Cygwin mailing list .=20
 PLEASE read this page FIRST: http://cygwin.com/lists.html.

If you have cURL-related questions or comments, please visit
 the cURL mailing lists page (http://curl.haxx.se/mail/),
 where you can view the archives online, or subscribe, or find=20
 the address(es) to which you can send a question or comment.

-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=20

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want off of this mailing list, send email (any email) to:
 [EMAIL PROTECTED]
 

If at first you don't succeed, please look at the following:=20
 o This email's "List-Unsubscribe: " header.

 o Sourceware mailing list FAQS (scroll down...):=20
 http://sources.redhat.com/lists.html#faqs

 o Cygwin mailing list info: http://cygwin.com/lists.html


--
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: write raw disk image to scsi in win98?

2003-04-04 Thread Martin
Mike:
Did you read this link on how to configure SCSI Zip drivers?
http://www.iomega.com/support/documents/4085.html
Martin
- Original Message -
From: "Mike Edwards" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 1:16 AM
Subject: write raw disk image to scsi in win98?


> Hello list,
>
> I understand that win98 imposes restrictions on physical drive access
> however there must be a hack or workaround to accomplish what I need. I
want
> to write a raw disk image to my scsi zip. Trying to dd to //./d is blocked
> by the OS. Is there a program that can accomplish this (possibly something
> suitable in the cdr type tools?) via apsi?
>
> Best regards,
> Mike Edwards
>
>
> --
> 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: Postinstall failure: file not found

2003-04-04 Thread Pierre A. Humblet
On Fri, Apr 04, 2003 at 10:17:41AM -0500, Pierre A. Humblet wrote:
> > Possible fixes:
> > 1) cd to /etc/postinstall before running the scripts and use relative paths
> > 2) Put my 2nd ntsec patch in setup (I have asked Rudiyanto to test it)
> > 3) Run the postinstall scripts with CYGWIN=nontsec, for boostrap.
> >Note that scripts that rely on ntsec (chmod or chown) will need to turn 
> >ntsec on.
> > 4) patch sh.exe
> > 5) ???
> Use bash
> /> bash -c /sayhi
> hi
> /> bash -c sayhi
> hi
> 6) ???
Don't use -c
/> sh -c /sayhi
/sayhi: not found
/> sh /sayhi
hi
7) ???

Pierre


--
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: Binary patch tool?

2003-04-04 Thread Igor Pechtchanski
On Fri, 4 Apr 2003, Ronald Landheer-Cieslak wrote:

> On Thu, 3 Apr 2003, Igor Pechtchanski wrote:
> > vim -b -c ":%s/xygwin1.dll/cygwin1.dll/g|:wq" $f
> >
> > Ain't vim grand? ;-)
> Wow [takes hat off and bows deeply to Vim]
>
> I use Vim on a daily basis for nearly all my source file editing, but I'd
> never used it as a stream editor before - too cool :)
>
> Thanx Igor!
> rlc

Well, technically, the above will not act as a "stream editor", as it
still edits (and saves) the files...  A stream editor would be something
like

cat $f | vim -b -c ":se t_ti= t_te= nosc |:sil %s/xygwin1.dll/cygwin1.dll/g|:%p |:q!" 
> new-$f

except I can't quite figure out how to turn off the display codes and
the "Vim: Reading from stdin..." message (perhaps others will know how).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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.. release ready?

2003-04-04 Thread Igor Pechtchanski
On Fri, 4 Apr 2003, Igor Pechtchanski wrote:

> On 4 Apr 2003, Robert Collins wrote:
>
> > So, while we have a few quirks, we have no regressions now.
> >
> > Any last objections from the crowd here to my marking 2.340.2.4 as
> > released?
> > Rob
>
>  looks like a release
> blocker to me...
> Igor

Sorry, sent to the wrong list by accident...  Move along, folks!..
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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 final pre-release..

2003-04-04 Thread Randall R Schulz
Igor,

At 06:18 2003-04-04, you wrote:
On Fri, 4 Apr 2003, Ronald Landheer-Cieslak wrote:

> Just a thought - I'm not a lawyer, so you can safely ignore me
> (although I am married with a lawyer.. does that help?)
> rlc
IANALBIMTO [1]?  Hmm...
Igor
[1] I Am Not A Lawyer But I'm Married To One
Uh, uh, uh! Careful.

He's married _with_ a lawyer. To whom or what is what I want to know.

RRS 

--
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 final pre-release..

2003-04-04 Thread Igor Pechtchanski
On Fri, 4 Apr 2003, Randall R Schulz wrote:

> Igor,
>
> At 06:18 2003-04-04, you wrote:
> >On Fri, 4 Apr 2003, Ronald Landheer-Cieslak wrote:
> >
> > > Just a thought - I'm not a lawyer, so you can safely ignore me
> > > (although I am married with a lawyer.. does that help?)
> > > rlc
> >
> >IANALBIMTO [1]?  Hmm...
> > Igor
> >[1] I Am Not A Lawyer But I'm Married To One
>
> Uh, uh, uh! Careful.
>
> He's married _with_ a lawyer. To whom or what is what I want to know.
> RRS

Ah.  And it's not even _by_ a lawyer (are all judges supposed to be
lawyers?  I don't know).
Must be a prenuptual agreement thing... ;-)
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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 final pre-release..

2003-04-04 Thread Ronald Landheer-Cieslak
On Fri, 4 Apr 2003, Randall R Schulz wrote:
> Igor,
> At 06:18 2003-04-04, you wrote:
> >On Fri, 4 Apr 2003, Ronald Landheer-Cieslak wrote:
> >
> > > Just a thought - I'm not a lawyer, so you can safely ignore me
> > > (although I am married with a lawyer.. does that help?)
> > > rlc
> >
> >IANALBIMTO [1]?  Hmm...
> > Igor
> >[1] I Am Not A Lawyer But I'm Married To One
> Uh, uh, uh! Careful.
> He's married _with_ a lawyer. To whom or what is what I want to know.
Well, IANAL, but..

I prefer to say "with" and not "to" when talking about my wife because I 
consented in marying her - and so did she. It's a decision we took 
together, so I think "with" is more appropriate.

However, if you prefer: s/with/to/g :)

rlc



--
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 final pre-release..

2003-04-04 Thread Ronald Landheer-Cieslak
On Fri, 4 Apr 2003, Igor Pechtchanski wrote:
> On Fri, 4 Apr 2003, Randall R Schulz wrote:
> > Igor,
> > At 06:18 2003-04-04, you wrote:
> > >On Fri, 4 Apr 2003, Ronald Landheer-Cieslak wrote:
> > >
> > > > Just a thought - I'm not a lawyer, so you can safely ignore me
> > > > (although I am married with a lawyer.. does that help?)
> > > > rlc
> > >
> > >IANALBIMTO [1]?  Hmm...
> > > Igor
> > >[1] I Am Not A Lawyer But I'm Married To One
> >
> > Uh, uh, uh! Careful.
> >
> > He's married _with_ a lawyer. To whom or what is what I want to know.
> > RRS
> 
> Ah.  And it's not even _by_ a lawyer (are all judges supposed to be
> lawyers?  I don't know).
> Must be a prenuptual agreement thing... ;-)
Don't have one - so we have the default "contract" under French law (she's 
French, I'm Dutch - that makes us Canadian.. doesn't it? ;)

We didn't get married by a lawyer, BTW - we got married by a politician, 
which is the way it works in France (the Mayor or one of his/her 
"associates").

rlc



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



WinXP username with spaces --> wmaker ko

2003-04-04 Thread kaio
i have my administrator user named with a space on WInXP.
cygwin installation is ok, but windowmaker don't install: seems that the
space generates a new parameter in installation commands!
in fact, wmaker installation creates a new dir in /home/ with the first half
of username!





--
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: tin says "Can't get a (fully-qualified) domain-name!"

2003-04-04 Thread Yadin Y. Goldschmidt
create a file /etc/tin/tin.defaults and put a line there
domainname=yourdomain
where yourdomain is something like cmu.edu or whatever.
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> but I can't find any meaningful info on it in the docs or via
> google (at least not in english).
>
> Does the maintainer or anyone here have any ideas?
>




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



Bug in GUI App WinMain Arguements

2003-04-04 Thread BB
I'm having a problem running a windows gui app with arguments from a mounted
directory if the Win32Path mounted to contains blanks. (i.e. mount -s -b
"C:/foo bar" "/foobar"). It's not a mount specific problem because it also
occurs if the directory has a space in it.  Since mkpasswd defaulted my home
directory to "/cygdrive/c/Documents and Settings/cygusr", I am assuming
Cygwin supports directories with spaces in them.  I have included a small
program that illustrates the bug.

By the way, I'm running on XP with the latest version of Cygwin newly
installed.

Also, according to the "Cygwin Users Guide", I have included the following
line in the code.
WinMainCRTStartup() { mainCRTStartup(); }
It doesnt seem to be called.  Is the User Guide correct? The same problem
occurs if I omit the line and use the "-e _mainCRTStartup" as suggested in
the User Guide.

Any suggestions?
BB.

Assuming the program listed below (prtcmdline.exe) is in
"/cygdrive/c/Documents and Settings/cygusr"...

$ cd ~
$ pwd
/cygdrive/c/Documents and Settings/cygusr
$ ./prtcmdline arg1 arg2 | tail -
default
and Settings\cygusr\prtcmdline.exe" arg1 arg2  << wrong
$ cp prtcmdline.exe /home/cygusr
$ /home/cygusr/prtcmdline arg1 arg2 | tail -
default
arg1 arg2   <
#include 

char *gstr = "default\r";

WinMainCRTStartup()
{
 gstr = "WinMainCRTStartup() called\r";
 mainCRTStartup();
}

int APIENTRY WinMain(HINSTANCE hInstance,
 HINSTANCE hPrevInstance,
 LPSTR lpCmdLine,
 int   nCmdShow)
{
 puts(gstr);
 puts(lpCmdLine);
 return 0;
}
//







--
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: Bug in GUI App WinMain Arguements

2003-04-04 Thread Martin
here is the workaround we use in Ant build (which by the way outclasses
anything any make can do)
/cygdrive/c/Documents and Settings/cygusr   //becomes
/cygdrive/c/DOCUME~1\cyguser  //workaround for 95/98 inability to
handle spaces in directory name

Martin
- Original Message -
From: "BB" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 10:34 AM
Subject: Bug in GUI App WinMain Arguements


> I'm having a problem running a windows gui app with arguments from a
mounted
> directory if the Win32Path mounted to contains blanks. (i.e. mount -s -b
> "C:/foo bar" "/foobar"). It's not a mount specific problem because it also
> occurs if the directory has a space in it.  Since mkpasswd defaulted my
home
> directory to "/cygdrive/c/Documents and Settings/cygusr", I am assuming
> Cygwin supports directories with spaces in them.  I have included a small
> program that illustrates the bug.
>
> By the way, I'm running on XP with the latest version of Cygwin newly
> installed.
>
> Also, according to the "Cygwin Users Guide", I have included the following
> line in the code.
> WinMainCRTStartup() { mainCRTStartup(); }
> It doesnt seem to be called.  Is the User Guide correct? The same problem
> occurs if I omit the line and use the "-e _mainCRTStartup" as suggested in
> the User Guide.
>
> Any suggestions?
> BB.
>
> Assuming the program listed below (prtcmdline.exe) is in
> "/cygdrive/c/Documents and Settings/cygusr"...
>
> $ cd ~
> $ pwd
> /cygdrive/c/Documents and Settings/cygusr
> $ ./prtcmdline arg1 arg2 | tail -
> default
> and Settings\cygusr\prtcmdline.exe" arg1 arg2  << wrong
> $ cp prtcmdline.exe /home/cygusr
> $ /home/cygusr/prtcmdline arg1 arg2 | tail -
> default
> arg1 arg2   < $
>
> //
> /* prtcmdline.c */
> /* gcc -mwindows prtcmdline.c -o prtcmdline.exe */
> //
> #include 
> #include 
>
> char *gstr = "default\r";
>
> WinMainCRTStartup()
> {
>  gstr = "WinMainCRTStartup() called\r";
>  mainCRTStartup();
> }
>
> int APIENTRY WinMain(HINSTANCE hInstance,
>  HINSTANCE hPrevInstance,
>  LPSTR lpCmdLine,
>  int   nCmdShow)
> {
>  puts(gstr);
>  puts(lpCmdLine);
>  return 0;
> }
> //
>
>
>
>
>
>
>
> --
> 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: Bug in GUI App WinMain Arguements

2003-04-04 Thread BB
I added a call to GetCommadLine() to see what it returns. It correctly
quotes the directory with spaces in it, so the caller of WinMain() should
easily be able to handle it.  Win95 does too.

>From "/home/cygusr"
GetCommandLine() returns [C:\cygwin\home\bkash\prtcmdline\prtcmdline.exe
arg1 arg]

>From "/cygdrive/c/Documents and Settings/cygusr"
GetCommandLine() returns ["c:\Documents and Settings\bkash\prtcmdline.exe"
arg1 arg2]

"Martin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> here is the workaround we use in Ant build (which by the way outclasses
> anything any make can do)
> /cygdrive/c/Documents and Settings/cygusr   //becomes
> /cygdrive/c/DOCUME~1\cyguser  //workaround for 95/98 inability to
> handle spaces in directory name
>
> Martin
> - Original Message -
> From: "BB" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 04, 2003 10:34 AM
> Subject: Bug in GUI App WinMain Arguements
>
>
> > I'm having a problem running a windows gui app with arguments from a
> mounted
> > directory if the Win32Path mounted to contains blanks. (i.e. mount -s -b
> > "C:/foo bar" "/foobar"). It's not a mount specific problem because it
also
> > occurs if the directory has a space in it.  Since mkpasswd defaulted my
> home
> > directory to "/cygdrive/c/Documents and Settings/cygusr", I am assuming
> > Cygwin supports directories with spaces in them.  I have included a
small
> > program that illustrates the bug.
> >
> > By the way, I'm running on XP with the latest version of Cygwin newly
> > installed.
> >
> > Also, according to the "Cygwin Users Guide", I have included the
following
> > line in the code.
> > WinMainCRTStartup() { mainCRTStartup(); }
> > It doesnt seem to be called.  Is the User Guide correct? The same
problem
> > occurs if I omit the line and use the "-e _mainCRTStartup" as suggested
in
> > the User Guide.
> >
> > Any suggestions?
> > BB.
> >
> > Assuming the program listed below (prtcmdline.exe) is in
> > "/cygdrive/c/Documents and Settings/cygusr"...
> >
> > $ cd ~
> > $ pwd
> > /cygdrive/c/Documents and Settings/cygusr
> > $ ./prtcmdline arg1 arg2 | tail -
> > default
> > and Settings\cygusr\prtcmdline.exe" arg1 arg2  << wrong
> > $ cp prtcmdline.exe /home/cygusr
> > $ /home/cygusr/prtcmdline arg1 arg2 | tail -
> > default
> > arg1 arg2   < > $
> >
> > //
> > /* prtcmdline.c */
> > /* gcc -mwindows prtcmdline.c -o prtcmdline.exe */
> > //
> > #include 
> > #include 
> >
> > char *gstr = "default\r";
> >
> > WinMainCRTStartup()
> > {
> >  gstr = "WinMainCRTStartup() called\r";
> >  mainCRTStartup();
> > }
> >
> > int APIENTRY WinMain(HINSTANCE hInstance,
> >  HINSTANCE hPrevInstance,
> >  LPSTR lpCmdLine,
> >  int   nCmdShow)
> > {
> >  puts(gstr);
> >  puts(lpCmdLine);
> >  return 0;
> > }
> > //
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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: Postinstall failure: file not found

2003-04-04 Thread Rudiyanto Gunawan







From: "Pierre A. Humblet" <[EMAIL PROTECTED]>
Possible fixes:
1) cd to /etc/postinstall before running the scripts and use relative paths
2) Put my 2nd ntsec patch in setup (I have asked Rudiyanto to test it)
3) Run the postinstall scripts with CYGWIN=nontsec, for boostrap.
   Note that scripts that rely on ntsec (chmod or chown) will need to turn
   ntsec on.
4) patch sh.exe
5) ???
Pierre
Pierre,

I tried your patched setup file and IT WORKS!!
I didn't try other fixes, so they also may work.
THANK YOU! THANK YOU! IGOR and PIERRE
You just made my friday :)
ryg



_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

--
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: Bug in GUI App WinMain Arguements

2003-04-04 Thread Christopher Faylor
On Fri, Apr 04, 2003 at 12:08:46PM -0600, BB wrote:
>I added a call to GetCommadLine() to see what it returns. It correctly
>quotes the directory with spaces in it, so the caller of WinMain() should
>easily be able to handle it.  Win95 does too.

Sounds like a really simple patch then.  Looking forward to it.

cgf
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.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: su questions

2003-04-04 Thread Rodrigo Serra
Pierre,

I follow your instructions and su command fails with "access denied"
message. Attached file is the output of strace.

Rodrigo

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
Pierre A. Humblet
Enviado el: Viernes, 04 de Abril de 2003 11:40 a.m.
Para: Rodrigo Serra
CC: [EMAIL PROTECTED]
Asunto: Re: su questions

Rodrigo Serra wrote:
> 
> Pierre,
> 
> The cygwin environment is binmode ntsec tty. This following string is
> extracted from cygwin1.dll "1.3.22-dontuse-21". Windows is "Windows.NET
> Server 2003" RC2.
> 
> This happen only when try to use no password authentication.
> 
OK, It may have to do with your version of Windows
I need your help for some debugging

1) Edit /etc/passwd to
   a) remove the passwd of SYSTEM
   b) add a home directory for SYSTEM (e.g. /)
   c) add a shell for SYSTEM
   d) remove your password (uid 1003)
2) telnet localhost and login as SYSTEM
   It should let you in without password
   You are now running as SYSTEM, confirm with "id"
3) su yourself (uid 1003)
   If that fails: 
4) strace -o trace su yourself
   and send me the trace 
5) Put the SYSTEM password back if your machine is directly accessible.

Pierre

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


trace
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: su questions

2003-04-04 Thread Pierre A. Humblet
Rodrigo Serra wrote:
> 
> Pierre,
> 
> I follow your instructions and su command fails with "access denied"
> message. Attached file is the output of strace.
> 
> Rodrigo
>

 2070   29565 [main] su 2316 seterrno_from_win_error:
/netrel/src/cygwin-1.3.22-1/winsup/cygwin/sec_helper.cc:340 windows error 1300
  175   29740 [main] su 2316 geterrno_from_win_error: unknown windows error 1300, 
setting errno to
13
   58   29798 [main] su 2316 set_process_privilege: -1 = set_process_privilege
(SeCreateTokenPrivilege, 1)
   65   29863 [main] su 2316 create_token: -1 = create_token ()

So on your machine, SYSTEM does not have SeCreateTokenPrivilege
That's unexpected. "id" was showing that you were running as SYSTEM
when you issued the su command. Correct?

Does any one know about the peculiarities of "Windows.NET
Server 2003" RC2 and how to enable this privilege?

Pierre


> -Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
> Pierre A. Humblet
> Enviado el: Viernes, 04 de Abril de 2003 11:40 a.m.
> Para: Rodrigo Serra
> CC: [EMAIL PROTECTED]
> Asunto: Re: su questions
> 
> Rodrigo Serra wrote:
> >
> > Pierre,
> >
> > The cygwin environment is binmode ntsec tty. This following string is
> > extracted from cygwin1.dll "1.3.22-dontuse-21". Windows is "Windows.NET
> > Server 2003" RC2.
> >
> > This happen only when try to use no password authentication.
> >
> OK, It may have to do with your version of Windows
> I need your help for some debugging
> 
> 1) Edit /etc/passwd to
>a) remove the passwd of SYSTEM
>b) add a home directory for SYSTEM (e.g. /)
>c) add a shell for SYSTEM
>d) remove your password (uid 1003)
> 2) telnet localhost and login as SYSTEM
>It should let you in without password
>You are now running as SYSTEM, confirm with "id"
> 3) su yourself (uid 1003)
>If that fails:
> 4) strace -o trace su yourself
>and send me the trace
> 5) Put the SYSTEM password back if your machine is directly accessible.
> 
> Pierre

--
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: Bug in GUI App WinMain Arguements

2003-04-04 Thread Max Bowsher
BB wrote:
> I'm having a problem running a windows gui app with arguments from a
> mounted directory if the Win32Path mounted to contains blanks. (i.e.
> mount -s -b "C:/foo bar" "/foobar"). It's not a mount specific problem
> because it also occurs if the directory has a space in it.  Since
> mkpasswd defaulted my home directory to "/cygdrive/c/Documents and
> Settings/cygusr", I am assuming Cygwin supports directories with spaces
> in them.

Cygwin is a collection of many programs and scripts. Some of them don't
support spaces in directory names. Therefore, it is advisable to avoid using
spaces.

The default home dir is not in "Documents and Settings". Cygwin is noticing
that you have HOME set in your environment, and using that. You probably
don't want that. Why is HOME set?

>  I have included a small program that illustrates the bug.
>
> By the way, I'm running on XP with the latest version of Cygwin newly
> installed.
>
> Also, according to the "Cygwin Users Guide", I have included the following
> line in the code.
> WinMainCRTStartup() { mainCRTStartup(); }
> It doesnt seem to be called.  Is the User Guide correct? The same problem
> occurs if I omit the line and use the "-e _mainCRTStartup" as suggested in
> the User Guide.

This sounds like out-of-date info to me (but that's just a guess).

> Any suggestions?

There seems to be a bug in Cygwin.
The following are unrelated to the bug:
- HOME directory
- "| tail -"
- WinMainCRTStartup
- gstr
- -mwindows

I have snipped your testcase appropriately.

You can easily show that the bug is in Cygwin, as it does not occur when the
testcase is compiled with -mno-cygwin.

> $ pwd
> /cygdrive/c/Documents and Settings/cygusr
> $ ./prtcmdline arg1 arg2
> and Settings\cygusr\prtcmdline.exe" arg1 arg2  << wrong
> $ cp prtcmdline.exe /home/cygusr
> $ /home/cygusr/prtcmdline arg1 arg2
> arg1 arg2   < $
>
> //
> /* prtcmdline.c */
> /* gcc prtcmdline.c -o prtcmdline.exe   */
> //
> #include 
> #include 
>
> int APIENTRY WinMain(HINSTANCE hInstance,
>  HINSTANCE hPrevInstance,
>  LPSTR lpCmdLine,
>  int   nCmdShow)
> {
>  puts(lpCmdLine);
>  return 0;
> }
> //

Max.


--
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: OpenSSH PublicKeyAuthentication failure using cygrunsrv

2003-04-04 Thread Max Bowsher
[EMAIL PROTECTED] wrote:
> I have recently installed the latest Cygwin Version on my W2k test server
> along with the latest
> OpenSSH package.
> I find that if I manually start the sshd daemon I can login ok using
> PublicKeyAuthentication but when I create an NT Service using cygrunsrv
> that this fails (although password authentication is ok).I suspect that
> this may be a permissions problem but have run out of things to try.
> Here is the debug output from the sshd server using the loopback address.
> If anyone can offer any advice/suggestions,it would be much appreciated.
> Thanks.
> 
> OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
> debug1: Reading configuration data /etc/ssh_config
> debug1: Rhosts Authentication disabled, originating port will not be
> trusted.
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to hhh [81.134.40.222] port 22.
> debug1: Connection established.
> debug1: identity file /ssh/.ssh/identity type -1
> debug1: identity file /ssh/.ssh/id_rsa type -1
> debug1: identity file /ssh/.ssh/id_dsa type 2

Why is ssh looking in this rather odd location?
Did you previously have NetworkSimplicity SSH installed?
Please attach the output of "cygcheck -svr" to your reply.


Max.


--
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: su questions

2003-04-04 Thread Rodrigo Serra
Pierre

Yes the account of the test is SYSTEM.

I search on msdn and found a tiny explanation of how privileges are needed
to run the SeCreateTokenPrivilege api.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/se
curity/authorization_constants.asp

The page show the privilege "Create a token object". upsss

I create a new user named init, and assigned privileges "Act as part of the
operating system", "Create a token object", "Log on as service", and
"Replace a process level token" and the ssh and su with no password prompt
work!!!

I not understand what happened. In the documentation of openssh mentioned
the necessary privileges and not indicate "Create a token object" but
indicate "Increase quotas". This privileges not exists in my Windows .net

Well now setguid works in my Windows .net box.

Rodrigo

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
Pierre A. Humblet
Enviado el: Viernes, 04 de Abril de 2003 04:36 p.m.
Para: Rodrigo Serra
CC: [EMAIL PROTECTED]
Asunto: Re: su questions

Rodrigo Serra wrote:
> 
> Pierre,
> 
> I follow your instructions and su command fails with "access denied"
> message. Attached file is the output of strace.
> 
> Rodrigo
>

 2070   29565 [main] su 2316 seterrno_from_win_error:
/netrel/src/cygwin-1.3.22-1/winsup/cygwin/sec_helper.cc:340 windows error
1300
  175   29740 [main] su 2316 geterrno_from_win_error: unknown windows error
1300, setting errno to
13
   58   29798 [main] su 2316 set_process_privilege: -1 =
set_process_privilege
(SeCreateTokenPrivilege, 1)
   65   29863 [main] su 2316 create_token: -1 = create_token ()

So on your machine, SYSTEM does not have SeCreateTokenPrivilege
That's unexpected. "id" was showing that you were running as SYSTEM
when you issued the su command. Correct?

Does any one know about the peculiarities of "Windows.NET
Server 2003" RC2 and how to enable this privilege?

Pierre


> -Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
> Pierre A. Humblet
> Enviado el: Viernes, 04 de Abril de 2003 11:40 a.m.
> Para: Rodrigo Serra
> CC: [EMAIL PROTECTED]
> Asunto: Re: su questions
> 
> Rodrigo Serra wrote:
> >
> > Pierre,
> >
> > The cygwin environment is binmode ntsec tty. This following string is
> > extracted from cygwin1.dll "1.3.22-dontuse-21". Windows is "Windows.NET
> > Server 2003" RC2.
> >
> > This happen only when try to use no password authentication.
> >
> OK, It may have to do with your version of Windows
> I need your help for some debugging
> 
> 1) Edit /etc/passwd to
>a) remove the passwd of SYSTEM
>b) add a home directory for SYSTEM (e.g. /)
>c) add a shell for SYSTEM
>d) remove your password (uid 1003)
> 2) telnet localhost and login as SYSTEM
>It should let you in without password
>You are now running as SYSTEM, confirm with "id"
> 3) su yourself (uid 1003)
>If that fails:
> 4) strace -o trace su yourself
>and send me the trace
> 5) Put the SYSTEM password back if your machine is directly accessible.
> 
> Pierre

--
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: perl 5.8.0-2 and WaitForMultipleObjects under win98

2003-04-04 Thread Nicholas Wourms
Eric Blake wrote:
Has anyone else seen this?  Ever since I upgraded from perl 5.6 to perl 
5.8.0-2, I am no longer able to run automake or autoconf on my Win98 
machine.  Both of those invoke perl, and then hang, printing messages 
such as:

406 [main] perl 614369 sync_with_child: WaitForMultipleObjects timed 
out
307776554 [main] perl 614369 sync_with_child: WaitForMultipleObjects 
timed out
620499865 [main] perl 614369 sync_with_child: WaitForMultipleObjects 
timed out

This is also happening on WinME when I try to run either of 
those programs with the new perl.  Except I get something 
along the lines of "failed to sync with child" instead of 
WaitForMultipleObjects timed out.  The net effect is the 
same as you reported, though.  I had to revert back to 5.6.1 
because it was so bad.  Rebasing does *not* work, nor do I 
believe this to be a rebasing issue.  I honestly think this 
is the result of fiddling with the stack size during the 
build (--stack,8388608) and non NT systems just don't like 
it.  I may be wrong...

Pierre, since you have WinME, are you seeing this as well?

Cheers,
Nicholas


--
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: su questions

2003-04-04 Thread Pierre A. Humblet
Rodrigo Serra wrote:
> 
> Pierre
> 
> I create a new user named init, and assigned privileges "Act as part of the
> operating system", "Create a token object", "Log on as service", and
> "Replace a process level token" and the ssh and su with no password prompt
> work!!!
> 
> I not understand what happened. In the documentation of openssh mentioned
> the necessary privileges and not indicate "Create a token object" but
> indicate "Increase quotas". This privileges not exists in my Windows .net
> 
> Well now setguid works in my Windows .net box.

Great. I don't think you need "Act as part of the operating system",
try removing it to increase security and let us know.
According to MS "Increase Quota" is needed for CreateProcessAsUser

but your box seems to be special.

Pierre

--
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: su questions

2003-04-04 Thread Rodrigo Serra
Pierre,

Yes work without "Act as part of the operating system".
In the next days I install a fresh Windows .net release and test again and
share the result.

Thank
Rodrigo

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
Pierre A. Humblet
Enviado el: Viernes, 04 de Abril de 2003 06:21 p.m.
Para: Rodrigo Serra
CC: [EMAIL PROTECTED]
Asunto: Re: su questions

Rodrigo Serra wrote:
> 
> Pierre
> 
> I create a new user named init, and assigned privileges "Act as part of
the
> operating system", "Create a token object", "Log on as service", and
> "Replace a process level token" and the ssh and su with no password prompt
> work!!!
> 
> I not understand what happened. In the documentation of openssh mentioned
> the necessary privileges and not indicate "Create a token object" but
> indicate "Increase quotas". This privileges not exists in my Windows .net
> 
> Well now setguid works in my Windows .net box.

Great. I don't think you need "Act as part of the operating system",
try removing it to increase security and let us know.
According to MS "Increase Quota" is needed for CreateProcessAsUser

but your box seems to be special.

Pierre

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



How to access a Linux partition

2003-04-04 Thread Martin
How does Cygwin access a Linux partition?
Thank You,

Martin

--
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: How to access a Linux partition

2003-04-04 Thread Max Bowsher
Martin wrote:
> How does Cygwin access a Linux partition?

It doesn't.


Max.


--
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: How to access a Linux partition

2003-04-04 Thread Elfyn McBratney
> How does Cygwin access a Linux partition?
> Thank You,

It doesn't. If you want to access Linux ext[23] partitions under Windows you
will need a filesystem driver for your version of Windows.


Regards,

Elfyn McBratney
[EMAIL PROTECTED]
http://www.exposure.org.uk


--
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 final pre-release..

2003-04-04 Thread Robert Collins
On Fri, 2003-04-04 at 20:42, Ronald Landheer-Cieslak wrote:
> I've been following this discussion from the sidelines for a while.. hope 
> you don't mind be butting in.

Oh, terribly. No gold stars for you. ;].

> On 4 Apr 2003, Robert Collins wrote:
> > Setup doesn't have a concept of a local mirror. It has a 'local package
> > dir', where it caches packages during install. The mirroring scripts
> > around create the same layout as setup uses for that local package dir.
> > Setup's needs are simple:
> > A setup.bz2/.ini on the mirror (ftp | http) site with correct paths and
> > MD5 detauls.
> > A local dir to work from.
> What if support were added for a "file://" mirror?

Sure, be happy to have such support added.

Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part


Re: How to access a Linux partition

2003-04-04 Thread Randall R Schulz
Martin,

At 14:06 2003-04-04, Martin wrote:
How does Cygwin access a Linux partition?
I guess you still need help from us "short-tempered chits," eh?

There's no way to directly access a file system in Cygwin. Cygwin 
relies on Windows for file access. If you can find a file system driver 
for Windows that accesses one of the many Linux file system types, then 
Cygwin will have access to those file systems.

Without non-standard (non-Microsoft) file system drivers, you're 
limited to FAT, NTFS and SMB.


Thank You,
You're most welcome.


Martin


Randall Schulz  

--
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: How to access a Linux partition

2003-04-04 Thread Andrew Markebo
/ "Elfyn McBratney" <[EMAIL PROTECTED]> wrote:
|> How does Cygwin access a Linux partition?
|> Thank You,
|
| It doesn't. If you want to access Linux ext[23] partitions under Windows you
| will need a filesystem driver for your version of Windows.

Or.. Well there are a couple of alternatives.. ltools (read/write)
 http://www.it.fht-esslingen.de/~zimmerma/software/ltools/ltools.html
Explore2fs 
 http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm

Not yet dos native/drive access, but through a wrapper command.. or
similar.

/Andy
-- 
 The eye of the compiler rests on the code!


--
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: How to access a Linux partition

2003-04-04 Thread Martin
Andrew et. al:
I especially like the work done at http://jcifs.samba.org/
for SMB access to all drives Linux ,NTFS or remote
The only quandary is I wanted to stay with C for Raw Speed
h...
Thanks to all for the invaluable suggestions,
Martin
- Original Message -
From: "Andrew Markebo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 3:41 PM
Subject: Re: How to access a Linux partition


> / "Elfyn McBratney" <[EMAIL PROTECTED]> wrote:
> |> How does Cygwin access a Linux partition?
> |> Thank You,
> |
> | It doesn't. If you want to access Linux ext[23] partitions under Windows
you
> | will need a filesystem driver for your version of Windows.
>
> Or.. Well there are a couple of alternatives.. ltools (read/write)
>  http://www.it.fht-esslingen.de/~zimmerma/software/ltools/ltools.html
> Explore2fs
>  http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm
>
> Not yet dos native/drive access, but through a wrapper command.. or
> similar.
>
> /Andy
> --
>  The eye of the compiler rests on the code!
>
>
> --
> 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/



Ash ntsec woes [was: Re: Postinstall failure: file not found]

2003-04-04 Thread Pierre A. Humblet
Here is how sh behaves when executing a script with strange permissions
/> cat sayhi
echo hi
/> getfacl sayhi
# file: sayhi
# owner: AdministratorS
# group: Users
user::---
user:PHumblet:rwx
group::---
mask:rwx
other:---
/> sh -c sayhi<== OK
hi
/> sh -c /sayhi   <== Does not realize file is executable
/sayhi: not found 
/> setfacl -s u::---,g::---,o:--- sayhi
/> sh -c sayhi<== Goes ahead even though file is unreadable
/> echo $?
255

The reason why ash is inconsistent is that when it searches 
a command on PATH it does NOT check for executable or even
readable files.
There is code that used to do that on line 558 of exec.c,
but it is "#ifdef notdef".
On the other hand, absolute paths are checked with stat on lines
459 and 472 (partly in Cygwin specific code).

So ash is always too permissive or too strict when looking up
commands, although its builtin "test" is fine. 
The "just right" way in Cygwin is to use access(X_OK) on all
3 lines listed above.

Pierre

--
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: How to access a Linux partition

2003-04-04 Thread Christopher Faylor
On Fri, Apr 04, 2003 at 03:57:35PM -0700, Martin wrote:
>Andrew et. al:
>I especially like the work done at http://jcifs.samba.org/ for SMB
>access to all drives Linux ,NTFS or remote The only quandary is I
>wanted to stay with C for Raw Speed h...

Hmm...  If you are looking for network access then you should have said
so.  Just plain ol' samba (http://samba.org) is written in C and works
quite well.

cgf
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.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: Most recent release

2003-04-04 Thread Joshua Daniel Franklin
On Fri, Apr 04, 2003 at 11:20:48AM +0100, Raymond Mardle wrote:
>   I'm a long time user of Cygwin (love the product) and yesterday I
> installed it on a computer that I personally use, for the first time in
> a number of years. I don't know if I did anything wrong but after the
> installation there were no less, page or vi executables (more was also
> missing but I know about that from my first installation a few years
> back). There might be other things missing but everything else I've
> used has been there. Have these been dropped deliberately or is it a
> problem?

No, now all but a minimal install are optional. There was a disagreement
about wether 'less' or 'more' should be included, but in the end they were
not.  I don't think 'vim' was ever a candidate... doesn't everyone use 'cat'
as their text editor??? You may want to read



to learn out some other things that have changed since then with setup.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/



how to build the latest ctags for cygiwn?

2003-04-04 Thread maxiangjiang


ctags version is 15 months old. Why not posted the latest one?

Thanks

=
Exuberant Ctags 5.2, Copyright (C) 1996-2001 Darren Hiebert
  Compiled: Dec 25 2001, 23:40:03
  Addresses: <[EMAIL PROTECTED]>, http://ctags.sourceforge.net
=



Re: how to build the latest ctags for cygiwn?

2003-04-04 Thread Christopher Faylor
On Fri, Apr 04, 2003 at 08:46:03PM -0800, maxiangjiang wrote:
>ctags version is 15 months old. Why not posted the latest one?

Shear cantankerousness.

cgf
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.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: how to build the latest ctags for cygiwn?

2003-04-04 Thread Christopher Faylor
On Fri, Apr 04, 2003 at 11:53:50PM -0500, Christopher Faylor wrote:
>On Fri, Apr 04, 2003 at 08:46:03PM -0800, maxiangjiang wrote:
>>ctags version is 15 months old. Why not posted the latest one?
>
>Shear cantankerousness.
 Sheer

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: How to access a Linux partition

2003-04-04 Thread Andrew Markebo
/ "Martin" <[EMAIL PROTECTED]> wrote:
| Andrew et. al:
| I especially like the work done at http://jcifs.samba.org/
| for SMB access to all drives Linux ,NTFS or remote
| The only quandary is I wanted to stay with C for Raw Speed

Yeah but SMB requires linux to be booted, I assumed a linux-partition
on the computer that has booted Windows.. 

If you want to samba-access a linux-machine.. tried accessing
//computername/share[...], or mount it from windows.. 

/Andy

-- 
 The eye of the linker rests on the libs!


--
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: 1.3.22: TMPDIR Initialization

2003-04-04 Thread Mark Moore
Christopher,

I've read the http://cygwin.com/lists.html.  Here's the description for the
mailing list I posted to:


* cygwin-apps: a subscriber-only list for discussing packaging issues
regarding applications that are distributed with the Cygwin DLL. If you are
maintaining or volunteering to maintain one of the packages that is
distributed with the Cygwin net releases you should be subscribed to this
list. This list is intended for discussing solutions. It is not (with one
exception) for bug reports, "it would be nice", or "how do I" type of
musings. Use the main cygwin mailing list for that.


Here's the one exception: This mailing list is the preferred location for
design discussions and bug reports regarding cygwin's setup.exe program,
although such discussions may occur on the cygwin mailing list, as well. The
setup program is found in the cygwin-apps/setup directory. 



The passage "[cygwin-apps] is the preferred location for design discussions
and bug reports regarding cygwin's setup.exe program" prompted me to send
the post to the cygwin-apps forum.

If this is no longer the case, someone may want to change the instructions.

-MM




-Original Message-
From: Christopher Faylor [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 04, 2003 8:51 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: 1.3.22: TMPDIR Initialization

This is not a bug report mailing list.
See: http://cygwin.com/lists.html

Please use the cygwin mailing list for this type of thing.

I've redirected replies there.

On Fri, Apr 04, 2003 at 08:16:03PM -0800, Mark Moore wrote:
>TWIMC:
>
> 
>
>I recently did a fresh install of Cygwin on a fresh install of Win2K (my HD
>blew a gasket :-( .).  Once the dust settled, I tried to issue the
following
>command:
>
> 
>
>perldoc perldoc
>
> 
>
>I was quite surprised to see that it didn't work.  I received the following
>error message:
>
> 
>
>$ perldoc perldoc
>
>Error in tempfile() using /XX: Parent directory (/) is not writable
>
> at /usr/bin/perldoc line 564
>
> 
>
> 
>
>After hunting around for half a day, I got it cornered in the
>/usr/lib/perl5/5.8.0/File/Spec/cygwin.pm where the code makes an assumption
>that the TMPDIR environment variable points to a directory with write
>permission.  I'll post a bug on the Perl site, but it seems this is a
Cygwin
>setup problem as well.
>
> 
>
>A number of Unix ports assume TMPDIR points to an existing directory with
>full access to create/delete/read/write files and directories (e.g. Perl).
>Shouldn't the Cygwin setup ensure this is a valid assumption?
>
> 
>
>Easy fixes might be to simply set TMPDIR to $TEMP or $TMP, which appear to
>be defined as part of the regular Win2K installation, or hard code it to
>"/tmp" since that directory seems to be created as part of the Cygwin
>install.  (IMHO, the best would be to mount $TEMP as /tmp, and setenv
>TMPDIR=/tmp).
>
> 
>
>Either way, the temp directory should grant full r/w/m permission to all
>users for that directory (chmod 777 /tmp).  BTW, I tried the chmod fix, and
>it didn't seem to stick.  The only way I could really change the permission
>was to use the Security tab on the folder Properties dialog.
>
> 
>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.467 / Virus Database: 266 - Release Date: 4/1/2003
 


--
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: 1.3.22: TMPDIR Initialization

2003-04-04 Thread Robert Collins
On Sat, 2003-04-05 at 17:43, Mark Moore wrote:
> Christopher,
> 
> I've read the http://cygwin.com/lists.html.  Here's the description for the
> mailing list I posted to:
...

> The passage "[cygwin-apps] is the preferred location for design discussions
> and bug reports regarding cygwin's setup.exe program" prompted me to send
> the post to the cygwin-apps forum.
> 
> If this is no longer the case, someone may want to change the instructions.

What you posted has nothing to do with setup.exe.

Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part


Re: Updated: perl-5.8.0-2

2003-04-04 Thread Gerrit P. Haase
Hallo Rolf,

Rolf wrote:
>>>So, I've recieved confirmation that this problem is only with cygwin
>>>perl, and not with GNU/Linux perl (5.8).
>> So, please file a bugreport, perlbug is included in the dist.

> Which ports is perlbug for?

It is for Perl, regardless which port.

The perlbug tool is a script to submit a syntactically correct
bugreport to the perl bug-tracking system.  It needs a mailserver or
the report is written to a file which you can send to the bug-tracker.

Probably you need to do an export PERLIO=perlio before using it
because of this bug!

The report will be posted to the perl5-porters list so the developers
may comment on it and the pumpking will assign it to someone
responsible or resolve the problem himself.

Since I don't see the problem in the latest development version the
chances are good that this problem is known and already fixed in the
past.


Gerrit
-- 
=^..^=


--
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: 1.3.22: TMPDIR Initialization

2003-04-04 Thread Christopher Faylor
This is not a bug report mailing list.
See: http://cygwin.com/lists.html

Please use the cygwin mailing list for this type of thing.

I've redirected replies there.

On Fri, Apr 04, 2003 at 08:16:03PM -0800, Mark Moore wrote:
>TWIMC:
>
> 
>
>I recently did a fresh install of Cygwin on a fresh install of Win2K (my HD
>blew a gasket :-( .).  Once the dust settled, I tried to issue the following
>command:
>
> 
>
>perldoc perldoc
>
> 
>
>I was quite surprised to see that it didn't work.  I received the following
>error message:
>
> 
>
>$ perldoc perldoc
>
>Error in tempfile() using /XX: Parent directory (/) is not writable
>
> at /usr/bin/perldoc line 564
>
> 
>
> 
>
>After hunting around for half a day, I got it cornered in the
>/usr/lib/perl5/5.8.0/File/Spec/cygwin.pm where the code makes an assumption
>that the TMPDIR environment variable points to a directory with write
>permission.  I'll post a bug on the Perl site, but it seems this is a Cygwin
>setup problem as well.
>
> 
>
>A number of Unix ports assume TMPDIR points to an existing directory with
>full access to create/delete/read/write files and directories (e.g. Perl).
>Shouldn't the Cygwin setup ensure this is a valid assumption?
>
> 
>
>Easy fixes might be to simply set TMPDIR to $TEMP or $TMP, which appear to
>be defined as part of the regular Win2K installation, or hard code it to
>"/tmp" since that directory seems to be created as part of the Cygwin
>install.  (IMHO, the best would be to mount $TEMP as /tmp, and setenv
>TMPDIR=/tmp).
>
> 
>
>Either way, the temp directory should grant full r/w/m permission to all
>users for that directory (chmod 777 /tmp).  BTW, I tried the chmod fix, and
>it didn't seem to stick.  The only way I could really change the permission
>was to use the Security tab on the folder Properties dialog.
>
> 
>

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