tin shows ? for german umlauts

2007-09-17 Thread Reinhard.Irmer
hi list,

I'm a cygwin-nuser who wants to use unixbased programs as mutt, pine,
tin or slrn on my winxp(sp2)-machine. mutt and slrn are working fine in
bash, only tin makes problems:.look at subject.

In a german usenetgroup was said, that this problem is a cygwin- not a
tin-problem because cygwin is not made to support 'locales'. I'm not a
programmer, only a nuser, who wants tin working fine under cygwin. What
can I do, to see the german umlauts in tin instead of questionmarks?

regards
Reinhard


Re: tin shows ? for german umlauts

2007-09-17 Thread Christopher Faylor
On Mon, Sep 17, 2007 at 12:32:11PM -0400, Christopher Faylor wrote:
On Mon, Sep 17, 2007 at 05:56:21PM +0200, [EMAIL PROTECTED] wrote:
hi list,

I'm a cygwin-nuser who wants to use unixbased programs as mutt, pine,
tin or slrn on my winxp(sp2)-machine. mutt and slrn are working fine in
bash, only tin makes problems:.look at subject.

In a german usenetgroup was said, that this problem is a cygwin- not a
tin-problem because cygwin is not made to support 'locales'. I'm not a
programmer, only a nuser, who wants tin working fine under cygwin. What
can I do, to see the german umlauts in tin instead of questionmarks?

This is not a bug-reporting mailing list.  Please use the main cywin
cygwin
list for this type of question.


Re: tin shows ? for german umlauts

2007-09-17 Thread Christopher Faylor
On Mon, Sep 17, 2007 at 05:56:21PM +0200, [EMAIL PROTECTED] wrote:
hi list,

I'm a cygwin-nuser who wants to use unixbased programs as mutt, pine,
tin or slrn on my winxp(sp2)-machine. mutt and slrn are working fine in
bash, only tin makes problems:.look at subject.

In a german usenetgroup was said, that this problem is a cygwin- not a
tin-problem because cygwin is not made to support 'locales'. I'm not a
programmer, only a nuser, who wants tin working fine under cygwin. What
can I do, to see the german umlauts in tin instead of questionmarks?

This is not a bug-reporting mailing list.  Please use the main cywin
list for this type of question.


[RFU] flac-1.2.1-1

2007-09-17 Thread David Rothenberger
New upstream release. Please leave 1.2.0-2 as previous.

wget -x -nH --cut-dirs=2 \
  http://mysite.verizon.net/res00a7j/cygwin/flac/flac-1.2.1-1-src.tar.bz2 \
  http://mysite.verizon.net/res00a7j/cygwin/flac/flac-1.2.1-1.tar.bz2 \
  http://mysite.verizon.net/res00a7j/cygwin/flac/setup.hint \
  
http://mysite.verizon.net/res00a7j/cygwin/flac/flac-devel/flac-devel-1.2.1-1.tar.bz2
 \
  http://mysite.verizon.net/res00a7j/cygwin/flac/flac-devel/setup.hint \
  
http://mysite.verizon.net/res00a7j/cygwin/flac/libFLAC++6/libFLAC++6-1.2.1-1.tar.bz2
 \
  http://mysite.verizon.net/res00a7j/cygwin/flac/libFLAC++6/setup.hint \
  
http://mysite.verizon.net/res00a7j/cygwin/flac/libFLAC8/libFLAC8-1.2.1-1.tar.bz2
 \
  http://mysite.verizon.net/res00a7j/cygwin/flac/libFLAC8/setup.hint

-- 
David Rothenberger    [EMAIL PROTECTED]

filibuster, n.:
Throwing your wait around.



[upload] ctags-5.7-1

2007-09-17 Thread Warren Young

New upstream release; replaces previous.

http://tangentsoft.net/cygwin/ctags-5.7-1-src.tar.bz2
http://tangentsoft.net/cygwin/ctags-5.7-1.tar.bz2


RE: Problems starting X and a solution to be appended to the FAQ

2007-09-17 Thread Phil Betts
Martin Sebastian Wain wrote on Friday, September 14, 2007 4:45 PM::

 I was going crazy with the fixed font error... to later find out
 (somewhere) that it was caused by the DOS/Text mode (\r\n) in the
 instalation of cygwin.
 With a textmode mounted root, it seems the fonts fail to load, and the
 diagnostic from X isn't very helpfull.
 
 I'm a newbie with this, and it was hard enought to figure out. If you
 append it to the FAQ maybe someone else doesn't have to suffer from
 this. 
 
 -Martín

It's not obvious which FAQ you looked at.  Did you read this in 
the X FAQ?

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof

If you did, and followed the instructions, then even if your 
/usr/X11R6/lib/X11 is on a text mode mount, setup *should* have 
created a binary mount for the fonts directory.  At least, that's
what it used to do, but I've a suspicion it may have been removed.

If you followed those instructions and that didn't happen, then the 
FAQ should probably have a third reason added to question 8.4,
worded something like this:

| 3. /usr/X11R6/lib/X11/fonts is on a textmode mount.
|
| Run the command:
|
|   mount -M /usr/X11R6/lib/X11/fonts
|
| If it is shown as textmode, you should do the following:
|
|   umount /usr/X11R6/lib/X11/fonts
| 
| If this reports no such file or directory, you can safely ignore 
| this - it just means that the directory wasn't mounted.
|
|   rm -rf /usr/X11R6/lib/X11/fonts
|   mkdir /usr/X11R6/lib/X11/fonts
|   mount -b $(cygpath -m /usr/X11R6/lib/X11/fonts) /usr/X11R6/lib/X11/fonts
|
| If the last command fails with an error message stating 
| insufficient rights, try:
|
|   mount -b -u $(cygpath -m /usr/X11R6/lib/X11/fonts) 
/usr/X11R6/lib/X11/fonts
|
| Then re-run setup.exe.
|
| For each of the following packages, if they are marked Keep, then select 
| Reinstall, otherwise leave them as they are:
|   * xorg-x11-f100
|   * xorg-x11-fcyr
|   * xorg-x11-fenc
|   * xorg-x11-fnts
|   * xorg-x11-fscl

In case any of the above lines have been wrapped, lines not starting
with | are supposed to be on the end of the preceding line.

I don't know if anyone currently maintains the cygwin-X FAQ, so if it
doesn't appear there, hopefully this reply will be found by searching 
the archives.

Phil

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



Dead systray icon

2007-09-17 Thread xerces8
Hi!

When the XWin.exe program is closed (normally, not crash or forced), the 
systray icon stays behind,
like for crashed apps. Can this be fixed ?

I use the latest version, updated last week (I think the issue is months old 
anyway).

Regards,
David



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



FW: Uninstalling Cygwin/X ??

2007-09-17 Thread Lisa Di lorenzo

Hello, 
   I'd like to uninstall Cygwin/X from my hard drive, but can't seem to find 
instructions for doing so.  How should I go about doing this?

Thanks, 
Lisa

   p.s. I'd like to uninstall it so that I can re-install it, in the hopes of 
having a 'home' directory created for me the second time around: C:\cygwin\home\
I read that this should happen if I install Cygwin/X to the properly instructed 
places in the installation guide.  Is this correct?

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



Re: FW: Uninstalling Cygwin/X ??

2007-09-17 Thread Holger Krull
Lisa Di lorenzo schrieb:
p.s. I'd like to uninstall it so that I can re-install it, in the hopes of 
 having a 'home' directory created for me the second time around: 
 C:\cygwin\home\
 I read that this should happen if I install Cygwin/X to the properly 
 instructed places in the installation guide.  Is this correct?

http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all


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



Re: FW: Uninstalling Cygwin/X ??

2007-09-17 Thread Christopher Faylor
On Mon, Sep 17, 2007 at 05:02:23PM +0100, Lisa Di lorenzo wrote:
I'd like to uninstall Cygwin/X from my hard drive, but can't seem to
find instructions for doing so.?  How should I go about doing this?

p.s.  I'd like to uninstall it so that I can re-install it, in the
hopes of having a 'home' directory created for me the second time
around: C:\cygwin\home\ I read that this should happen if I install
Cygwin/X to the properly instructed places in the installation guide.?
Is this correct?

Reinstalling cygwin will not cause it to behave differently the second
time around.  If you need a home directory then just do a mkdir 
/home/yourname
and edit /etc/passwd to reference this location, assuming it is not already
doing so.

cgf

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



src/winsup/cygwin ChangeLog fhandler.cc

2007-09-17 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2007-09-17 16:48:14

Modified files:
winsup/cygwin  : ChangeLog fhandler.cc 

Log message:
* fhandler.cc (fhandler_base::open): Partly revert change from
2007-08-24:  Call has_acls to avoid permission problems getting
a handle to a file on a remote share.  Add comment.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3927r2=1.3928
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=srcr1=1.301r2=1.302



Re: sftp removing writable bit

2007-09-17 Thread Andrew DeFaria

Thorsten Kampe wrote:
Andrew, please, stop it. 

Why? Because I disagree with you?
Do you really don't understand the difference between a simple command 
line tool like scp and a client that offers extended functionality?!
Yes I understand the difference. What I don't understand is the 
advantage. Sorry that bugs you.

--
Andrew DeFaria http://defaria.com
Do I BELIEVE in the Bible? Hell, I've actually SEEN one!


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



Re: sftp removing writable bit

2007-09-17 Thread Andrew DeFaria

Thorsten Kampe wrote:
This is no flaming war. It's just nonsense to say everything I can 
do with foo I can do with bar, too. 

Actually, no, it's not nonsense at all. In fact it's a very good argument!
Of course you can do everything you can do with mutt also with telnet 
to port 110. It's not /what/ you can do but /how/.

Not at all analogous...

What, extended functionality, are you referring to,
Jason R. DePriest described the difference between a simple command 
you run and a SFTP/SCP client quite well in [1].

[1] what? Difference? Yes. Advantage? Not necessarily...
If you still don't know what he's talking about, I refer you to the 
man page of yafc[2] or lftp[3] for example.

Yes, why bother explaining yourself...

besides a graphical user interface?

GUI? What are you talking about?

Thorsten

[1] http://permalink.gmane.org/gmane.os.cygwin/92306
Again, this tells you nothing other than sftp gives you a shell. BFD! 
ssh gives you a frigging shell...

[2] http://yafc.sourceforge.net/manual/index.php
[3] http://lftp.yar.ru/lftp-man.html

Neither of these are particularly compelling...
--
Andrew DeFaria http://defaria.com
Success always occurs in private, and failure in full view.


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



Re: sftp removing writable bit

2007-09-17 Thread Andrew DeFaria

Gary R. Van Sickle wrote:

[snip]

Cygwin Content-O-Meter(tm), as of a few dozen posts in this thread ago:

+---+
| 0% 100% |
| \ |
| \ |
| \ |
| O |
+---+

Too bad nobody polices such things.
Does your reader of choice lack functionality for skipping a particular 
thread that you find uninteresting? Who's holding a gun to your head and 
forcing you to read? STFU OK?

--
Andrew DeFaria http://defaria.com
Why do people leave cars worth tens of thousands of dollars in the 
driveway and leave useless things and junk in boxes in the garage?



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



Re: Lilypond package: fix for convert-ly bug

2007-09-17 Thread Jan Nieuwenhuizen
Silas S. Brown writes:

 convert-ly as shipped in the Cygwin lilypond
 package doesn't work because it complains about
 a missing module lilylib.

Thanks for the report.  It turns out that the relocation snippet
was not included.  This will be fixed in 2.10.29-2.

Jan.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org

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



Re: setup.exe crashes upgrading (uninstalling) bash

2007-09-17 Thread Mario Frasca
On 2007-0911 07:45:57, Brian Dessent wrote:
 It would help greatly if you could run one of them (ideally
 the latest) in gdb and get a backtrace at the faulting location.

hope this is what you meant...
greetings ang thanks,
Mario

Starting program: /cygdrive/c/Documents and Settings/Mario Frasca/Bureaublad/set
up-debug-2.578.exe 
[...]
warning: LOG: 2 Running preremove script for  bash
warning: LOG: 2 Uninstalling bash

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 4792.0x1490]
0x004ace23 in _Unwind_SjLj_RaiseException ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:77
77  /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream: No such file or
 directory.
in /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream
Current language:  auto; currently c++
(gdb) backtrace
#0  0x004ace23 in _Unwind_SjLj_RaiseException ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:77
#1  0x004a3635 in __cxa_throw ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:77
#2  0x004a57d8 in std::__throw_logic_error ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:77
#3  0x004d1c98 in std::string::_S_constructchar const* ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_vector.h:375
#4  0x004d4216 in std::basic_stringchar, std::char_traitschar, std::allocator
char ::basic_string ()
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/basic_string.h:198
#5  0x0040c3c6 in cygpackage::getfirstfile (this=0x3e9e78)
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ext/new_allocator.h:62
#6  0x004596fb in packageversion::getfirstfile (this=0x214ff38)
at ../package_version.cc:174
#7  0x00456e8b in packagemeta::uninstall (this=0x3e9d88)
at ../package_meta.cc:153
#8  0x00429b84 in Installer::uninstallOne (this=0x234fbc4, [EMAIL PROTECTED])
at ../install.cc:156
#9  0x004302c5 in do_install_reflector (p=0x214ff38)
at /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_iterator.h:614
#10 0x7c80b683 in KERNEL32!GetModuleFileNameA ()
   from /cygdrive/c/WINDOWS/system32/kernel32.dll
#11 0x0050a4b0 in std::__ioinit ()
#12 0x00100025 in ?? ()
#13 0x0022efb4 in ?? ()
#14 0x0050a4b0 in std::__ioinit ()
#15 0x7ffdd000 in ?? ()
#16 0x865bc600 in ?? ()
#17 0x0234ffc0 in ?? ()
#18 0x85a8a510 in ?? ()
#19 0x in ?? ()
#20 0x7c839aa8 in ValidateLocale ()
   from /cygdrive/c/WINDOWS/system32/kernel32.dll
#21 0x7c80b690 in KERNEL32!GetModuleFileNameA ()
   from /cygdrive/c/WINDOWS/system32/kernel32.dll
#22 0x in ?? ()

-- 
Le soldat et le prêtre, ce sont les pires ennemis de
 l'humanité, car si le soldat tue, le prêtre ment. 
(Victor Hugo

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



Re: Webdav batch file transfer: curl, wget

2007-09-17 Thread Richard Ivarson
Many thanks to all posters on the thread; your comments have been very 
helpful and it works fine now.

Also I learned the differences between wget and curl, too.

All the best!

-ric


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



NFS mount problem: portmap error

2007-09-17 Thread DanieleRm

Hello guys,
I'm new here... I get a really strange problem with portmap and conseguently
with NFS mount

If I try to mount a directory I get this error: 

pmap_getmaps rpc problem: RPC: Timed out
mount: RPC: Unable to receive; errno = Connection refused

than if i launch rpcinfo  $/usr/sbin/rpcinfo -p i get this error:
rpcinfo: can't contact portmapper: RPC Timed out

I think portmap service (port 111) doesn't start but I don't undertsand why:
no windows firewall active, mountd-nfsd-portmap services started on Windows
Xp

my server.map file:

# Sample server map for nfsd
#
# This file maps 500/500 on an NFS client to the uid/gid of the
# user who ran nfs-server-config, and maps 0/0 on an NFS client
# the uid/gid of the Administrator account.
#
# Note that a server map is host-specific (which makes sense,
# if you think about it ...)  So you can only use a plain IP
# address or DNS name to specify a client that uses a map_static.
# directive.
#
# Examples of valid /etc/exports lines using map_static:
# 
#   /gaunt   192.168.1.42(map_static=/etc/nfs/server.map)
#   /chaney  twilley(map_static=/etc/nfs/server.map)
#
uid 500 1003# user id for 
gid 500 513 # group id for 
uid 0   500 # user id for Administrator
gid 0   513 # group id for Administrator


my /etc/exports file:

# sample /etc/exports file

# Export the entire Cygwin filesystem to machines master and
# trusty. In addition to write access, all uid squashing is
# turned off for host trusty.

# / master(rw) trusty(rw,no_root_squash)

# Example of wildcard hostnames.

# /projects proj*.local.domain(rw)

# Example of wildcard netgroups (this is the entry '@trusted').

# /usr  *.local.domain(ro) @trusted(rw)

# Gives read-only access to the host grimjack.  The UID and GID
# for anonymous requests are explicitly set, and all requests
# are forced to use the anonymous UID/GID.

# /home/joe grimjack(ro,all_squash,anonuid=501,anongid=546)

# Give read-write access to anyone, and force all requests to
# use the default anonymous UID/GID. The insecure option in this
# entry also allows clients with NFS implementations that don't
# use a reserved port for NFS.

# /pub  (ro,all_squash)

# Deny all NFS users access to the private directory that exists
# under the public directory.

# /pub/private  (noaccess)

/VMA192.168.1.1/255.255.255.0 (rw)
/VMA192.168.1.11
/VMA192.168.0.50


and this is my mount code line

$ telnet 192.168.1.11

$ mount -t nfs 192.168.1.6:/VMA /mnt/VMA


but i think my problem is due at portmapper service error.

Any suggestions?? 

if can help:
$ /usr/sbin/rpcinfo -u 192.168.1.11 nfs   
return
program 13 version 2 ready and waiting while TCP port

$ /usr/sbin/rpcinfo -t 192.168.1.11 nfs   
return
rpcinfo : RPC : Timed out
program 13 version 0 is not available


-- 
View this message in context: 
http://www.nabble.com/NFS-mount-problem%3A-portmap-error-tf4465246.html#a12731710
Sent from the Cygwin Users mailing list archive at Nabble.com.


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



1.5.24-2 question about using echo on remote node.

2007-09-17 Thread Prakash Babu
Hello all,
 
I am trying to run the following command using cygwin
on a remote node using ssh.
 
/bin/sh -c 'echo Number=\1234567\   /tmp/file1'
 
The command executes successfully but the  file has
content Number=1234567(double quotes missing) instead
of Number=1234567.
 
The same command works as expected when i run it from
red hat Linux.
 
Any idea on why this is happening.
 
thanks,
Prakash


  5, 50, 500, 5000 - Store N number of mails in your inbox. Go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

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



Re: wxPython build

2007-09-17 Thread Steve Holden

Morgan Gangwere wrote:

are you sure that the lihe breaks are the same consistantly? thats
what happened to me once...


Thanks, that's a worthwhile idea.

Unfortunately an examination of several files (not conclusive, I know, 
but indicative) reveals no carriage returns. The source I downloaded was 
a .tar.gz, unpacked with tar -xzf, and mount confirms that all mounts 
are binmode.


regards
 Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden

Sorry, the dog ate my .sigline


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



Re: [BUG] python-2.5.1-2 file usr/bin/python2.5-config

2007-09-17 Thread Jason Tishler
On Fri, Sep 14, 2007 at 11:09:56PM -0500, Ren? Berber wrote:
 There is an obvious bug on the first line of that script.
 
 --- usr/bin/python2.5-config.orig   2007-09-15 03:58:10.671875000 +
 +++ usr/bin/python2.5-config2007-09-15 03:58:41.640625000 +
 @@ -1,4 +1,4 @@
 -#!/tmp/python.6884/usr/bin/python2.5.exe
 +#!/bin/python2.5.exe
 
  import sys
  import os

Thanks for the report.  I will fix this in the next release.

Jason

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

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



severe performance problems in cygwin

2007-09-17 Thread Boris Ouretskey
Hi,

I have severe performance problems with cygwin. Cygwin becomes almost
unusable. 

The problem seems to go away when cygwin window is out of focus, e.g.
when I click on some other window (not cygwin), cygwin performance
rapidly increases.

It has something with output to console window. When I decrease the
windows size performance also increases.

Does anyone have an idea.


Cygcheck attached.

Cygwin Configuration Diagnostics
Current System Time: Mon Sep 17 15:01:03 2007

Windows 2003 Enterprise Server Ver 5.2 Build 3790 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Perforce
c:\Program Files\QuickTime\QTSystem\

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

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

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

USER = 'Administrator'
PWD = '/home/Administrator'
HOME = '/home/Administrator'
MAKE_MODE = 'unix'

Use '-r' to scan registry

c:  hd  NTFS 76285Mb  43% CP CS UN PA FC
d:  hd  NTFS 76293Mb   3% CP CS UN PA FC
e:  cd  CDFS   646Mb 100%CS UN   MobilePhoneTools

C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Not Found: patch
Not Found: perl
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Not Found: ssh
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   61k 2006/11/10 C:\cygwin\bin\cygbz2-1.dll
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll
   40k 2006/11/15 C:\cygwin\bin\cygform-8.dll
   25k 2007/08/23 C:\cygwin\bin\cyghistory6.dll
  271k 2007/08/24 C:\cygwin\bin\cygicons-0.dll
  976k 2006/10/22 C:\cygwin\bin\cygiconv-2.dll
   37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll
   31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll
   31k 2006/10/23 C:\cygwin\bin\cygintl-8.dll
   21k 2006/11/15 C:\cygwin\bin\cygmenu-8.dll
   67k 2006/11/15 C:\cygwin\bin\cygncurses++-8.dll
  237k 2006/11/15 C:\cygwin\bin\cygncurses-8.dll
   12k 2006/11/15 C:\cygwin\bin\cygpanel-8.dll
  133k 2007/06/27 C:\cygwin\bin\cygpcre-0.dll
  303k 2007/06/27 C:\cygwin\bin\cygpcrecpp-0.dll
7k 2007/06/27 C:\cygwin\bin\cygpcreposix-0.dll
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll
  154k 2007/08/23 C:\cygwin\bin\cygreadline6.dll
 1830k 2007/01/31 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.24
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Wed Jan 31 10:57:51 CET 2007
CVS tag: cr-0x5f1
Shared id: cygwin1S4


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Package  Version
_update-info-dir 00545-1
alternatives 1.3.29a-1
ash  20040127-3
base-files   3.7-1
base-passwd  2.2-1
bash 3.2.25-16
bzip21.0.3-2
coreutils6.9-5
crypt1.1-1
cygutils 1.3.2-1
cygwin   1.5.24-2
cygwin-doc   1.4-4
editrights   1.01-1
findutils4.3.8-1
gawk 3.1.5-4
grep 2.5.1a-4
groff1.18.1-2
gzip 1.3.12-2
less 382-1
libbz2_1 1.0.3-2
libiconv21.11-1
libintl2 0.12.1-3
libintl3 0.14.5-1
libintl8 0.15-1
libncurses8  5.5-3
libpcre0 7.2-1
libpopt0 1.6.4-4
libreadline6 5.2.7-9
login1.9-7
man  1.6e-1
mktemp   1.5-4
rebase   2.4.3-1
run  1.1.10-1
sed   

Re: severe performance problems in cygwin

2007-09-17 Thread Tim Prince
Boris Ouretskey wrote:

 I have severe performance problems with cygwin. Cygwin becomes almost
 unusable. 
 
 The problem seems to go away when cygwin window is out of focus, e.g.
 when I click on some other window (not cygwin), cygwin performance
 rapidly increases.
 
 It has something with output to console window. When I decrease the
 windows size performance also increases.
 
This seems likely to be associated with your video driver.  For example,
you might be using a generic text emulation installed automatically by
Windows, when a driver meant for your video card might be better.  Do
save your hardware configuration before trying a new one.

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



Re: [ipc] semtimedop undeclared

2007-09-17 Thread Corinna Vinschen
On Aug 28 14:47, Dave Korn wrote:
 On 28 August 2007 14:28, Mehdi Rabah wrote:
 
  Hi,
  
  I'm trying to compile a linux project with cygwin. There is a file
  which use IPC and include all the necessary files
  
  #include sys/types.h
  #include sys/ipc.h
  #include sys/shm.h
  #include sys/sem.h
  #include sys/time.h
  
  
  but still, I have this error at compile time:
  
  error: `semtimedop' undeclared (first use this function)
  
  what can I do about this ?
 
   Cygwin doesn't currently implement semtimedop, so your choices are 1) patch 
 the
 cygwin source and implement it in the dll 2) change your linux project to not 
 use
 it 3) implement it in your linux project as a wrapper around semop, possibly
 using a SIGALARM or other timer to trigger the timeout...

I'd opt for solution 2.  semtimedop is a Linux-only function.  It's not
in the POSIX standard, nor will it become part of the next upcoming POSIX
standard.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



RE: Is there someone offering cygwin paid support?

2007-09-17 Thread Phil Betts
Marko Loparic wrote on Friday, September 14, 2007 3:42 PM::

 Hello,
 
 Is there someone that could offer paid support for a cygwin problem I
 have? 
 
 I have tried to contact Red Hat but they did not seem interested in
 offering support for the type of problem I have (or perhaps I didn't
 reach the right person...).
 
 It is described in the cygwin list:
 
  http://cygwin.com/ml/cygwin/2007-02/msg00023.html
  http://cygwin.com/ml/cygwin/2007-08/msg00468.html
  http://cygwin.com/ml/cygwin/2007-08/msg00517.html
 
 Some people helped, but it was not enough to solve the problem.
 
 Thanks a lot,
 Marko

Nobody seems to have noticed that the group is listed as mkgroup-l-d.
This suggests that you need to set up /etc/groups properly by running 
the command:

  mkgroup -l  /etc/group

or more likely in this case (as it's a network share):

  mkgroup -d  /etc/group

For more information, man mkgroup and/or man mkpasswd.

No charge, no guarantee.  (If it sorts out your problem, my insincere
apologies go to anyone who fancied making a quick buck!)

Phil

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



Re: sftp removing writable bit

2007-09-17 Thread Christopher Faylor
On Sun, Sep 16, 2007 at 11:09:41PM -0700, Andrew DeFaria wrote:
 Gary R. Van Sickle wrote:
 [snip]

 Cygwin Content-O-Meter(tm), as of a few dozen posts in this thread ago:

 +---+
 | 0% 100% |
 | \ |
 | \ |
 | \ |
 | O |
 +---+

 Too bad nobody polices such things.

Does your reader of choice lack functionality for skipping a particular
thread that you find uninteresting?  Who's holding a gun to your head
and forcing you to read?  STFU OK?

Gary's evaluation of the situation was correct.  This thread has
devolved into an uninteresting argument about whether sftp is useful to
you or not.  What you don't seem to be getting is that no one besides
you finds this very interesting.

Give it a rest please.  The discussion was over several messages ago.

cgf

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



Re: sftp removing writable bit

2007-09-17 Thread Andrew DeFaria

Christopher Faylor wrote:
Gary's evaluation of the situation was correct. This thread has 
devolved into an uninteresting argument about whether sftp is useful 
to you or not. What you don't seem to be getting is that no one 
besides you finds this very interesting.


Give it a rest please. The discussion was over several messages ago.

You suffer from the delusion that even I found it interesting
--
Andrew DeFaria http://defaria.com
Always remember to pillage BEFORE you burn.


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



Re: executing an executable

2007-09-17 Thread Igor Peshansky
On Sun, 16 Sep 2007, Cole Radcliffe wrote:

 I do an ls -la and I see I have an executable called executable.exe.
 I chmod to 777. Then I try to type execut and I press tab and it
 does not find it. When I type in the entire name and press enter, bash
 says the command is not found! It works fine on cygwin-x.

The FAQ is your friend:
http://cygwin.com/faq/faq.using.html#faq.using.not-found.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

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



Re: cross-device mv regression in latest snapshot

2007-09-17 Thread Corinna Vinschen
On Aug 31 14:18, Eric Blake wrote:
 Eric Blake ebb9 at byu.net writes:
 
  I'm trying to track down a breakage in cross-device moves in the latest 
 cygwin 
  CVS code, whether it is in coreutils-9.6-5 or due to a recent cygwin 
  change, 
  although my current suspect is Corinna's changes.
 
 I've ruled out my changes in coreutils-9.6-5, as a fresh CVS coreutils build 
 exhibits the same problem.  Rather, via a gdb trace, it appears this call is 
 the problem:
 
 open(file2, O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0600);
 
 It is creating the file on the samba share, then returning -1 as the fd.

This is weird behaviour.  It turned out that this was a result of always
creating a file with a valid security descriptor instead of just a
default descriptor when creating a file on a Samba share.  The security
descriptor has the local user SID in it's ACL, but Samba maintains
another user SID.  There's still no solution for a transparent mapping
between these two SIDs.  Anyway, the behaviour of the NtCreateFile call
is rather strange.  Apparently Samba creates the file first, and then,
afterwards, checks the security descriptor when it should return the
file handle.  It finds that the permissions don't match and *bing*
returns STATUS_ACCESS_DENIED and a NULL handle.  That's not helpful.
I have reverted the patch from last month for now.


Thanks for the report,
Corinna


-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



[ANNOUNCEMENT] Updated: OpenSSH-4.7p1-1

2007-09-17 Thread Corinna Vinschen
I've just updated the version of OpenSSH to 4.7p1-1.

This is a new major upstream release.  The Cygwin release is created
from the vanilla sources.


The official release message of 4.7p1:


OpenSSH 4.7 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.

OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.

Once again, we would like to thank the OpenSSH community for their
continued support of the project, especially those who contributed
code or patches, reported bugs, tested snapshots and purchased
T-shirts or posters.

T-shirt, poster and CD sales directly support the project. Pictures
and more information can be found at:
http://www.openbsd.org/tshirts.html and
http://www.openbsd.org/orders.html

For international orders use http://https.openbsd.org/cgi-bin/order
and for European orders, use http://https.openbsd.org/cgi-bin/order.eu

Changes since OpenSSH 4.6:


Security bugs resolved in this release:

 * Prevent ssh(1) from using a trusted X11 cookie if creation of an
   untrusted cookie fails; found and fixed by Jan Pechanec.

Other changes, new functionality and fixes in this release:

 * sshd(8) in new installations defaults to SSH Protocol 2 only.
   Existing installations are unchanged.

 * The SSH channel window size has been increased, and both ssh(1)
   sshd(8) now send window updates more aggressively. These improves
   performance on high-BDP (Bandwidth Delay Product) networks.

 * ssh(1) and sshd(8) now preserve MAC contexts between packets, which
   saves 2 hash calls per packet and results in 12-16% speedup for
   arcfour256/hmac-md5.

 * A new MAC algorithm has been added, UMAC-64 (RFC4418) as
   [EMAIL PROTECTED]. UMAC-64 has been measured to be
   approximately 20% faster than HMAC-MD5.

 * A -K flag was added to ssh(1) to set GSSAPIAuthentication=Yes

 * Failure to establish a ssh(1) TunnelForward is now treated as a
   fatal error when the ExitOnForwardFailure option is set.

 * ssh(1) returns a sensible exit status if the control master goes
   away without passing the full exit status. (bz #1261)

 * The following bugs have been fixed in this release:

   - When using a ProxyCommand in ssh(1), set the outgoing hostname with
 gethostname(2), allowing hostbased authentication to work (bz #616)
   - Make scp(1) skip FIFOs rather than hanging (bz #856)
   - Encode non-printing characters in scp(1) filenames.
 these could cause copies to be aborted with a protocol error
 (bz #891)
   - Handle SIGINT in sshd(8) privilege separation child process to
 ensure that wtmp and lastlog records are correctly updated
 (bz #1196)
   - Report GSSAPI mechanism in errors, for libraries that support
 multiple mechanisms (bz #1220)
   - Improve documentation for ssh-add(1)'s -d option (bz #1224)
   - Rearrange and tidy GSSAPI code, removing server-only code being
 linked into the client. (bz #1225)
   - Delay execution of ssh(1)'s LocalCommand until after all forwadings
 have been established. (bz #1232)
   - In scp(1), do not truncate non-regular files (bz #1236)
   - Improve exit message from ControlMaster clients. (bz #1262)
   - Prevent sftp-server(8) from reading until it runs out of buffer
 space, whereupon it would exit with a fatal error. (bz #1286)

 * Portable OpenSSH bugs fixed:

   - Fix multiple inclusion of paths.h on AIX 5.1 systems. (bz #1243)
   - Implement getpeereid for Solaris using getpeerucred. Solaris
 systems will now refuse ssh-agent(1) and ssh(1) ControlMaster
 clients from different, non-root users (bz #1287)
   - Fix compilation warnings by including string.h if found. (bz #1294)
   - Remove redefinition of _res in getrrsetbyname.c for platforms that
 already define it. (bz #1299)
   - Fix spurious chan_read_failed for istate 3 errors from sshd(8),
 a side-effect of the hang on exit fix introduced in 4.6p1.
 (bz #1306)
   - pam_end() was not being called if authentication failed (bz #1322)
   - Fix SELinux support when SELinux is in permissive mode. Previously
 sshd(8) was treating SELinux errors as always fatal. (bz #1325)
   - Ensure that pam_setcred(..., PAM_ESTABLISH_CRED) is called before
 pam_setcred(..., PAM_REINITIALIZE_CRED), fixing pam_dhkeys.
 (bz #1339)
   - Fix privilege separation on QNX - pre-auth only, this platform does
 not support file descriptior passing needed for post-auth privilege
 separation. (bz #1343)

Thanks to everyone who has contributed patches, reported bugs and
tested releases.

Checksums:
==

- SHA1 (openssh-4.7.tar.gz) = 9ebaab9b31e01bd0d04425dc23536bcc78f8d990
- SHA1 (openssh-4.7p1.tar.gz) = 58357db9e64ba6382bef3d73d1d386fcdc0508f4

Reporting Bugs:
===

- please read http://www.openssh.com/report.html
  and 

Re: Is there someone offering cygwin paid support?

2007-09-17 Thread Marko Loparic
Hi Phil,

I have also tried to do what you say but it did not solve the problem.

Thanks a lot anyway,
Marko

On 9/17/07, Phil Betts [EMAIL PROTECTED] wrote:
 Marko Loparic wrote on Friday, September 14, 2007 3:42 PM::

  Hello,
 
  Is there someone that could offer paid support for a cygwin problem I
  have?
 
  I have tried to contact Red Hat but they did not seem interested in
  offering support for the type of problem I have (or perhaps I didn't
  reach the right person...).
 
  It is described in the cygwin list:
 
   http://cygwin.com/ml/cygwin/2007-02/msg00023.html
   http://cygwin.com/ml/cygwin/2007-08/msg00468.html
   http://cygwin.com/ml/cygwin/2007-08/msg00517.html
 
  Some people helped, but it was not enough to solve the problem.
 
  Thanks a lot,
  Marko

 Nobody seems to have noticed that the group is listed as mkgroup-l-d.
 This suggests that you need to set up /etc/groups properly by running
 the command:

   mkgroup -l  /etc/group

 or more likely in this case (as it's a network share):

   mkgroup -d  /etc/group

 For more information, man mkgroup and/or man mkpasswd.

 No charge, no guarantee.  (If it sorts out your problem, my insincere
 apologies go to anyone who fancied making a quick buck!)

 Phil

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



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



Re: Is there someone offering cygwin paid support?

2007-09-17 Thread Steve Holden

Marko Loparic wrote:

Hi Phil,

I have also tried to do what you say but it did not solve the problem.

Thanks a lot anyway,


Just a quick note, by the way, to question your apparent assumption that 
paid support will get you any further than using this list!


The information you get here is straight from the horse's mouth, by 
the developers of the software. I doubt there is anyone better-informed 
about the issues, and paying for support doesn't actually get you 
anything better, nor any guarantee that your issues will be resolved.


We are all lucky they are prepared to contribute so willingly and so much.

regards
 Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden

Sorry, the dog ate my .sigline


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



math packages

2007-09-17 Thread Cole Radcliffe
Is there any math package that I can install for free on cygwin that
will allow me to do symbolic algebra and symbolically solve DEs and
symbolically integrate better than my TI-89? Apparently Octave only
produces numeric solutions.

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



Re: math packages

2007-09-17 Thread Reid Thompson
not sure if qalculate will compile or meet your needs, but it may be
worth a look


On Mon, 2007-09-17 at 13:49 -0500, Cole Radcliffe wrote:
 Is there any math package that I can install for free on cygwin that
 will allow me to do symbolic algebra and symbolically solve DEs and
 symbolically integrate better than my TI-89? Apparently Octave only
 produces numeric solutions.
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/

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



Re: 1.5.24-2 question about using echo on remote node.

2007-09-17 Thread DePriest, Jason R.
On 9/17/07, Prakash Babu  wrote:
 Hello all,

 I am trying to run the following command using cygwin
 on a remote node using ssh.

 /bin/sh -c 'echo Number=\1234567\   /tmp/file1'

 The command executes successfully but the  file has
 content Number=1234567(double quotes missing) instead
 of Number=1234567.

 The same command works as expected when i run it from
 red hat Linux.

 Any idea on why this is happening.

 thanks,
 Prakash



No idea.

If I cut and paste your command directly from your email and into my
rxvt bash window, it runs properly (double-quotes are in the resulting
file).

Following the
 Problem reports:   http://cygwin.com/problems.html
might help narrow it down.

-Jason

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



Re: ssh ProxyCommand not finding anything to execute

2007-09-17 Thread DePriest, Jason R.
On 9/17/07, SQueeZe  wrote:

 Hi All
 I am trying to connect to my home computer from work and I have to use the
 work HTTP proxy on port 443 in order to do so.  I have done this using PuTTY
 just fine so I know there is nothing wrong with my setup.  I have downloaded
 the windows binary of Connect and placed it in the same folder as the ssh
 binary (c:\cwrsync\bin).  If I try to run the connect command by itself in
 debug mode I can connect to the proxy and thus my home PC just fine:

 bash-3.00$ connect -d -H proxy:8085 myhomepc 443

- - -  deleted DEBUG - - -
 SSH-2.0-OpenSSH_4.3p2 Debian-9

 DEBUG: sent 2 bytes
 DEBUG: recv 19 bytes
 Protocol mismatch.
 DEBUG: connection closed by peer
 DEBUG: relaying done.
 DEBUG: that's all, bye.

 I have installed cwRsync which has the OpenSSH client version 4.5.  I should
 be able to type in the following:

 ssh -v -o ProxyCommand=connect -H -d proxy:8085 %h 443 [EMAIL PROTECTED]

 However I get the following error:

 OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
 debug1: Executing proxy command: exec connect.exe -H proxy:8085 myhomepc 443
 debug1: permanently_drop_suid: 400
 /bin/sh: No such file or directory
 debug1: identity file /cygdrive/c/Documents and
 Settings/myuser/.ssh/identity type -1
 debug1: identity file /cygdrive/c/Documents and Settings/myuser/.ssh/id_rsa
 type 1
 debug1: identity file /cygdrive/c/Documents and Settings/myuser/.ssh/id_dsa
 type -1
 ssh_exchange_identification: Connection closed by remote host

 The problem is that it doesn't seem to be finding the connect binary.  If I
 remove all the connect.exe stuff and just leave it as  or put random
 stuff in there, I get exactly the same error.  C:\cwRsync\bin is in my PATH
 variable so I can type it from anywhere.
 I have tried specifying the location with:
 C:\cwRsync\bin\connect
 /cygdrive/c/cwRsync/bin/connect
 and I have tried copying the binary to various places on my hard drive to no
 avail.

 My understanding is that I should get some output from Connect once it finds
 it as I have specified the -d flag.
 What am I doing wrong?
 Thanks
 SQueeZe
 --

Hello.

I have used the ProxyConnect option successfully.  However, I do not
use your method.
Instead, I modify my ~/.ssh/config file to contain ProxyCommand
sections for specific IP addresses or hosts.
It might make your command line a little bit easier to read and would
elimiate potential quoting errors.

I am also using corkscrew instead of connect.exe for ProxyCommand and
I compiled it myself inside of cygwin.

See man ssh_config

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

-Jason

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



Re: math packages

2007-09-17 Thread Lewis Hyatt

Cole Radcliffe wrote:

Is there any math package that I can install for free on cygwin that
will allow me to do symbolic algebra and symbolically solve DEs and
symbolically integrate better than my TI-89? Apparently Octave only
produces numeric solutions.



mathomatic might do what you need.

-Lewis


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



Re: Is there someone offering cygwin paid support?

2007-09-17 Thread Keith Christian
- Original Message 
From: Marko Loparic [EMAIL PROTECTED]
To: cygwin@cygwin.com
Sent: Monday, September 17, 2007 1:49:39 PM
Subject: Re: Is there someone offering cygwin paid support?


Hello Steve,

On 9/17/07, Steve Holden [EMAIL PROTECTED] wrote:
 Just a quick note, by the way, to question your apparent assumption that
 paid support will get you any further than using this list!

I have already tried the list, some people helped, someone suggested
me to use cacls, which certainly put me closer to the solution, but it
was not enough. If you have an idea of what else I could try please
tell me. DOS commands have no permission problem, emacs for windows
also opens the directory without problems, but all cygwin commands get
a permission denied error...

Thanks,
Marko



Marko, you could download Process Explorer 
(http://www.microsoft.com/technet/sysinternals/utilities/processexplorer.mspx) 
and use it to watch for Windows messages while trying to access the 
directories/files you are having problems with.  It's an excellent tool.

=Keith

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



Re: Is there someone offering cygwin paid support?

2007-09-17 Thread Marko Loparic
Hello Steve,

On 9/17/07, Steve Holden [EMAIL PROTECTED] wrote:
 Just a quick note, by the way, to question your apparent assumption that
 paid support will get you any further than using this list!

I have already tried the list, some people helped, someone suggested
me to use cacls, which certainly put me closer to the solution, but it
was not enough. If you have an idea of what else I could try please
tell me. DOS commands have no permission problem, emacs for windows
also opens the directory without problems, but all cygwin commands get
a permission denied error...

Thanks,
Marko

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



Re: ssh ProxyCommand not finding anything to execute

2007-09-17 Thread SQueeZe

Thanks for your reply Jason.
I have also tried putting it in a config file but it had the same result.  I
ended up using the command-line just because I could be sure that it was
using correct parameter.

I did look at corkscrew, however I couldn't find a precompiled download.  I
know I can compile it but I dont have a full cygwin install, and I am trying
to make it as simple for other people to follow.

I know I must be doing something really simply wrong, but I just can't think
what it is!

Thanks again.

SQueeZe


DePriest, Jason R. wrote:
 
 On 9/17/07, SQueeZe  wrote:

 Hi All
 I am trying to connect to my home computer from work and I have to use
 the
 work HTTP proxy on port 443 in order to do so.  I have done this using
 PuTTY
 just fine so I know there is nothing wrong with my setup.  I have
 downloaded
 the windows binary of Connect and placed it in the same folder as the ssh
 binary (c:\cwrsync\bin).  If I try to run the connect command by itself
 in
 debug mode I can connect to the proxy and thus my home PC just fine:

 bash-3.00$ connect -d -H proxy:8085 myhomepc 443

 - - -  deleted DEBUG - - -
 SSH-2.0-OpenSSH_4.3p2 Debian-9

 DEBUG: sent 2 bytes
 DEBUG: recv 19 bytes
 Protocol mismatch.
 DEBUG: connection closed by peer
 DEBUG: relaying done.
 DEBUG: that's all, bye.

 I have installed cwRsync which has the OpenSSH client version 4.5.  I
 should
 be able to type in the following:

 ssh -v -o ProxyCommand=connect -H -d proxy:8085 %h 443 [EMAIL PROTECTED]

 However I get the following error:

 OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
 debug1: Executing proxy command: exec connect.exe -H proxy:8085 myhomepc
 443
 debug1: permanently_drop_suid: 400
 /bin/sh: No such file or directory
 debug1: identity file /cygdrive/c/Documents and
 Settings/myuser/.ssh/identity type -1
 debug1: identity file /cygdrive/c/Documents and
 Settings/myuser/.ssh/id_rsa
 type 1
 debug1: identity file /cygdrive/c/Documents and
 Settings/myuser/.ssh/id_dsa
 type -1
 ssh_exchange_identification: Connection closed by remote host

 The problem is that it doesn't seem to be finding the connect binary.  If
 I
 remove all the connect.exe stuff and just leave it as  or put
 random
 stuff in there, I get exactly the same error.  C:\cwRsync\bin is in my
 PATH
 variable so I can type it from anywhere.
 I have tried specifying the location with:
 C:\cwRsync\bin\connect
 /cygdrive/c/cwRsync/bin/connect
 and I have tried copying the binary to various places on my hard drive to
 no
 avail.

 My understanding is that I should get some output from Connect once it
 finds
 it as I have specified the -d flag.
 What am I doing wrong?
 Thanks
 SQueeZe
 --
 
 Hello.
 
 I have used the ProxyConnect option successfully.  However, I do not
 use your method.
 Instead, I modify my ~/.ssh/config file to contain ProxyCommand
 sections for specific IP addresses or hosts.
 It might make your command line a little bit easier to read and would
 elimiate potential quoting errors.
 
 I am also using corkscrew instead of connect.exe for ProxyCommand and
 I compiled it myself inside of cygwin.
 
 See man ssh_config
 
 Also
 Problem reports:   http://cygwin.com/problems.html
 
 -Jason
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 

-- 
View this message in context: 
http://www.nabble.com/ssh-ProxyCommand-not-finding-anything-to-execute-tf4469005.html#a12745596
Sent from the Cygwin Users mailing list archive at Nabble.com.


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



Re: [rxvt packaging bug?] New rxvt introduces broken font default

2007-09-17 Thread Rodrigo Medina
Hi,
Max Bowsher wrote:
I don't think it makes sense to now start shipping rxvt with a font
configuration which leaves native mode broken out-of-the-box.

I agree 100% with that, besides I have X11 installed and use it extensively,
but I never use rxvt-X11 because it does not work properly with the dead
accents, and it is almost useless for non-English languages.

Perhaps, instead of bothering about how the console looks, something that
is better to leave to the user, it would be more useful to provide a
rxvt-X11
linked to the standard X11 library, so that dead accents are supported.

Bye

RM


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



Space in Home Directory Path

2007-09-17 Thread G. Huang
Ok this is really a newbie question.

I moved from W2k to XP and reinstalled cygwin. On W2k, my Cygwin home
directory was placed in c:\cygwin\home\gang upon installation, where gang
is the user
name. Now on the XP, it is in c:\Document and Settings\gang. This
created a lot of problem whenever I have to use path names because of
the spaces in the path name.

So my question is: Is there a way to change the home directory on the XP
machine to c:\cygwin\home\gang? Or alternatively, get around the space
problem? I read the FAQ, and it only says to avoid names with space but
doesn't say why it installs the home dir to a path with space, or how to
correct it. I tried reinstalling Cygwin but it didn't offer any choice of
where the home should be placed.

I know I can simply create another home/gang under anywhere but cd won't
bring me there.


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



Re: ssh ProxyCommand not finding anything to execute

2007-09-17 Thread SQueeZe

OK, I have installed the full version of Cygwin and now it is working as
expected.  I still need to get this working without a full installation of
Cygwin though, so if anyone has any ideas, they would be greatfully
received.



SQueeZe wrote:
 
 Thanks for your reply Jason.
 I have also tried putting it in a config file but it had the same result. 
 I ended up using the command-line just because I could be sure that it was
 using correct parameter.
 
 I did look at corkscrew, however I couldn't find a precompiled download. 
 I know I can compile it but I dont have a full cygwin install, and I am
 trying to make it as simple for other people to follow.
 
 I know I must be doing something really simply wrong, but I just can't
 think what it is!
 
 Thanks again.
 
 SQueeZe
 
 
 DePriest, Jason R. wrote:
 
 On 9/17/07, SQueeZe  wrote:

 Hi All
 I am trying to connect to my home computer from work and I have to use
 the
 work HTTP proxy on port 443 in order to do so.  I have done this using
 PuTTY
 just fine so I know there is nothing wrong with my setup.  I have
 downloaded
 the windows binary of Connect and placed it in the same folder as the
 ssh
 binary (c:\cwrsync\bin).  If I try to run the connect command by itself
 in
 debug mode I can connect to the proxy and thus my home PC just fine:

 bash-3.00$ connect -d -H proxy:8085 myhomepc 443

 - - -  deleted DEBUG - - -
 SSH-2.0-OpenSSH_4.3p2 Debian-9

 DEBUG: sent 2 bytes
 DEBUG: recv 19 bytes
 Protocol mismatch.
 DEBUG: connection closed by peer
 DEBUG: relaying done.
 DEBUG: that's all, bye.

 I have installed cwRsync which has the OpenSSH client version 4.5.  I
 should
 be able to type in the following:

 ssh -v -o ProxyCommand=connect -H -d proxy:8085 %h 443 [EMAIL PROTECTED]

 However I get the following error:

 OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
 debug1: Executing proxy command: exec connect.exe -H proxy:8085 myhomepc
 443
 debug1: permanently_drop_suid: 400
 /bin/sh: No such file or directory
 debug1: identity file /cygdrive/c/Documents and
 Settings/myuser/.ssh/identity type -1
 debug1: identity file /cygdrive/c/Documents and
 Settings/myuser/.ssh/id_rsa
 type 1
 debug1: identity file /cygdrive/c/Documents and
 Settings/myuser/.ssh/id_dsa
 type -1
 ssh_exchange_identification: Connection closed by remote host

 The problem is that it doesn't seem to be finding the connect binary. 
 If I
 remove all the connect.exe stuff and just leave it as  or put
 random
 stuff in there, I get exactly the same error.  C:\cwRsync\bin is in my
 PATH
 variable so I can type it from anywhere.
 I have tried specifying the location with:
 C:\cwRsync\bin\connect
 /cygdrive/c/cwRsync/bin/connect
 and I have tried copying the binary to various places on my hard drive
 to no
 avail.

 My understanding is that I should get some output from Connect once it
 finds
 it as I have specified the -d flag.
 What am I doing wrong?
 Thanks
 SQueeZe
 --
 
 Hello.
 
 I have used the ProxyConnect option successfully.  However, I do not
 use your method.
 Instead, I modify my ~/.ssh/config file to contain ProxyCommand
 sections for specific IP addresses or hosts.
 It might make your command line a little bit easier to read and would
 elimiate potential quoting errors.
 
 I am also using corkscrew instead of connect.exe for ProxyCommand and
 I compiled it myself inside of cygwin.
 
 See man ssh_config
 
 Also
 Problem reports:   http://cygwin.com/problems.html
 
 -Jason
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/ssh-ProxyCommand-not-finding-anything-to-execute-tf4469005.html#a12746485
Sent from the Cygwin Users mailing list archive at Nabble.com.


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



Re: math packages

2007-09-17 Thread Markus E L

Cole Radcliffe wrote:

 Is there any math package that I can install for free on cygwin that
 will allow me to do symbolic algebra and symbolically solve DEs and
 symbolically integrate better than my TI-89? Apparently Octave only
 produces numeric solutions.

Maxima? I'm almost sure it's not in the cygwin distribution itself,
but have heard about packages forcygwin floating around (it's written
in common lisp and there is at least clisp in cygwin.

Regards -- Markus


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



ssh ProxyCommand not finding anything to execute

2007-09-17 Thread SQueeZe

Hi All
I am trying to connect to my home computer from work and I have to use the
work HTTP proxy on port 443 in order to do so.  I have done this using PuTTY
just fine so I know there is nothing wrong with my setup.  I have downloaded
the windows binary of Connect and placed it in the same folder as the ssh
binary (c:\cwrsync\bin).  If I try to run the connect command by itself in
debug mode I can connect to the proxy and thus my home PC just fine:

bash-3.00$ connect -d -H proxy:8085 myhomepc 443
DEBUG: No direct address are specified.
DEBUG: relay_method = HTTP (3)
DEBUG: relay_host=proxy
DEBUG: relay_port=8085
DEBUG: relay_user=myuser
DEBUG: local_type=stdio
DEBUG: dest_host=myhomepc 
DEBUG: dest_port=443
DEBUG: Program is $Revision: 100 $
DEBUG: checking myhomepc is for direct?
DEBUG: myhomepc for not direct.
DEBUG: resolving host by name: proxy
DEBUG: resolved: proxy (192.168.100.10)
DEBUG: connecting to 192.168.100.2:8085
DEBUG: begin_http_relay()
DEBUG:  CONNECT myhomepc:443 HTTP/1.0\r\n
DEBUG:  \r\n
DEBUG:  HTTP/1.0 200 Connection established\r\n
DEBUG: connected, start user session.
DEBUG:  \r\n
DEBUG: connected
DEBUG: start relaying.
DEBUG: recv 31 bytes
SSH-2.0-OpenSSH_4.3p2 Debian-9

DEBUG: sent 2 bytes
DEBUG: recv 19 bytes
Protocol mismatch.
DEBUG: connection closed by peer
DEBUG: relaying done.
DEBUG: that's all, bye.

I have installed cwRsync which has the OpenSSH client version 4.5.  I should
be able to type in the following:

ssh -v -o ProxyCommand=connect -H -d proxy:8085 %h 443 [EMAIL PROTECTED]

However I get the following error:

OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
debug1: Executing proxy command: exec connect.exe -H proxy:8085 myhomepc 443
debug1: permanently_drop_suid: 400
/bin/sh: No such file or directory
debug1: identity file /cygdrive/c/Documents and
Settings/myuser/.ssh/identity type -1
debug1: identity file /cygdrive/c/Documents and Settings/myuser/.ssh/id_rsa
type 1
debug1: identity file /cygdrive/c/Documents and Settings/myuser/.ssh/id_dsa
type -1
ssh_exchange_identification: Connection closed by remote host

The problem is that it doesn't seem to be finding the connect binary.  If I
remove all the connect.exe stuff and just leave it as  or put random
stuff in there, I get exactly the same error.  C:\cwRsync\bin is in my PATH
variable so I can type it from anywhere.
I have tried specifying the location with:
C:\cwRsync\bin\connect
/cygdrive/c/cwRsync/bin/connect
and I have tried copying the binary to various places on my hard drive to no
avail.

My understanding is that I should get some output from Connect once it finds
it as I have specified the -d flag.
What am I doing wrong?
Thanks
SQueeZe
-- 
View this message in context: 
http://www.nabble.com/ssh-ProxyCommand-not-finding-anything-to-execute-tf4469005.html#a12742301
Sent from the Cygwin Users mailing list archive at Nabble.com.


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



Re: Space in Home Directory Path

2007-09-17 Thread Markus Schönhaber
G. Huang wrote:

 So my question is: Is there a way to change the home directory on the XP
 machine to c:\cygwin\home\gang? Or alternatively, get around the space
 problem?

http://cygwin.com/faq/faq.setup.html#faq.setup.home

In /etc/passwd, set the the user home directory field to the desired
value, ex.
/cygdrive/c/home/gang.

The workaround for the problem with spaces in paths is to not have
spaces in paths - as the FAQ has already told you. One possible way to
achieve this is to use the 8.3-style-version of the path. For example,
the user home directory field in /etc/passwd for my main account is set to
/cygdrive/c/DOKUME~1/mks/Home
(i. e. pointing to C:\Dokumente und Einstellungen\mks\Home) and I have
never had any problems with this setting.

Regards
  mks

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



Re: ssh ProxyCommand not finding anything to execute

2007-09-17 Thread David Rothenberger

On 9/17/2007 11:38 AM, SQueeZe wrote:

I have installed cwRsync which has the OpenSSH client version 4.5.


You should probably ask for support from the cwRsync project.

 I should be able to type in the following:


ssh -v -o ProxyCommand=connect -H -d proxy:8085 %h 443 [EMAIL PROTECTED]

However I get the following error:

OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
debug1: Executing proxy command: exec connect.exe -H proxy:8085 myhomepc 443
debug1: permanently_drop_suid: 400
/bin/sh: No such file or directory


OpenSSH invokes /bin/sh -c proxycmd (see sshconnect.c line 98 in the 
4.7 sources) and the cwRsync package does not include sh. Even if you 
included sh.exe in your installation directory, I doubt it would work 
because you won't have the Cygwin mount table setup so that /bin/sh 
would map to the correct directory.


You really should raise this with the cwRsync developers.

--
David Rothenberger    [EMAIL PROTECTED]

Duty, n:
What one expects from others.
-- Oscar Wilde


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



Re: sftp removing writable bit

2007-09-17 Thread Matthew Woehlke

Andrew DeFaria wrote:

IOW what's the advantage of an sftp client over just plain scp?


Directory listings. Unless I miss something, it's hard to scp a file 
when you don't already know its path.


--
Matthew
It's impossible! But... do-able.
  -- Robert MacDougal (Sean Connery, Entrapment)


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



Re: Is there someone offering cygwin paid support?

2007-09-17 Thread Steve Holden

Marko Loparic wrote:

Hello Steve,

On 9/17/07, Steve Holden [EMAIL PROTECTED] wrote:

Just a quick note, by the way, to question your apparent assumption that
paid support will get you any further than using this list!


I have already tried the list, some people helped, someone suggested
me to use cacls, which certainly put me closer to the solution, but it
was not enough. If you have an idea of what else I could try please
tell me. DOS commands have no permission problem, emacs for windows
also opens the directory without problems, but all cygwin commands get
a permission denied error...

Sorry, if people like Dave Korn can't help I doubt anything I bring to 
the party will be of more assistance.


I think the people most likely to help are the administrators who put 
those funky access control lists on the share.


I suppose one thing you could do is use a local security policy to audit 
directory access: that might give you some clue as to why Cygwin 
processes were being denied access, but there are no guarantees.


Auditing on the server might also give you further information.

regards
 Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden

Sorry, the dog ate my .sigline


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



Re: Space in Home Directory Path

2007-09-17 Thread G. Huang
From: Markus Schönhaber [EMAIL PROTECTED]
 http://cygwin.com/faq/faq.setup.html#faq.setup.home

 In /etc/passwd, set the the user home directory field to the desired
 value, ex.
 /cygdrive/c/home/gang.


That worked.
Thanks
GH


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



find command in script getting access denied in my crontab but works when I run it manually

2007-09-17 Thread kuliksco

so i have two scripts for generating shortcuts to my movies to put in one
centralized folder.

i have the crontab service installed and it is running under my user name.

both scripts work from the command line when run manually as me but script
#2 does not.

script #1 - works from the command line and in crontab:
rm c:/Movies/*
ln -s f:/Movies\ 2/* c:/Movies
ln -s g:/Movies\ 3/* c:/Movies

script #2 - works from the command line but not in crontab (this scripts
creates links for movies modified less than 30 days old):
rm c:/NEW\ Movies/*
find f:/Movies\ 2/* -maxdepth 0 -mtime -30 -exec ln -s {} c:/NEW\ Movies \;
find g:/Movies\ 3/* -maxdepth 0 -mtime -30 -exec ln -s {} c:/NEW\ Movies \;

Here is the output from cron.log in my home directory

Access denied - F:/MOVIES 2/15 MINUTES
Access denied - F:/MOVIES 2/28 DAYS LATER
Access denied - F:/MOVIES 2/FINAL DESTINATION 2
Access denied - F:/MOVIES 2/LED ZEPPELIN - THE SONG REMAINS THE SAME
Access denied - F:/MOVIES 2/MUSIC AND LYRICS
Access denied - F:/MOVIES 2/NAPOLEON DYNAMITE
Access denied - F:/MOVIES 2/SCARY MOVIE
Access denied - F:/MOVIES 2/SPIDERMAN 2
Access denied - F:/MOVIES 2/SUICIDE KINGS
Access denied - F:/MOVIES 2/THE BUTTERFLY EFFECT
Access denied - F:/MOVIES 2/THE GOOD SHEPHERD
Access denied - F:/MOVIES 2/UNCLE BUCK
Access denied - F:/MOVIES 2/UNDERWORLD
Access denied - F:/MOVIES 2/WAYNE'S WORLD
Access denied - F:/MOVIES 2/WAYNE'S WORLD 2
File not found - -MAXDEPTH
File not found - 0
File not found - -MTIME
File not found - -30
File not found - -EXEC
File not found - LN
File not found - -S
File not found - {}
Access denied - C:/NEW MOVIES
File not found - ;
Access denied - G:/MOVIES 3/ALIEN
Access denied - G:/MOVIES 3/AMERICAN PSYCHO
Access denied - G:/MOVIES 3/AUSTIN POWERS 2 - THE SPY WHO SHAGGED ME
Access denied - G:/MOVIES 3/BILL AND TED'S EXCELLENT ADVENTURE
Access denied - G:/MOVIES 3/COYOTE UGLY
Access denied - G:/MOVIES 3/DESPERADO
Access denied - G:/MOVIES 3/GHOSTBUSTERS 2
Access denied - G:/MOVIES 3/GOLDENEYE
Access denied - G:/MOVIES 3/HELLRAISER I
Access denied - G:/MOVIES 3/IN THE MOUTH OF MADNESS
Access denied - G:/MOVIES 3/JURASSIC PARK 3
Access denied - G:/MOVIES 3/KINDERGARTEN COP
Access denied - G:/MOVIES 3/LIFE OF BRIAN
Access denied - G:/MOVIES 3/O
Access denied - G:/MOVIES 3/REMEMBER THE TITANS
Access denied - G:/MOVIES 3/SAVING PRIVATE RYAN
Access denied - G:/MOVIES 3/SOUTH PARK - BIGGER, LONGER, AND UNCUT
Access denied - G:/MOVIES 3/SURVIVING CHRISTMAS
Access denied - G:/MOVIES 3/TERMINATOR
Access denied - G:/MOVIES 3/TERMINATOR 2
Access denied - G:/MOVIES 3/TERMINATOR 3 - RISE OF THE MACHINES
Access denied - G:/MOVIES 3/THE CROW
Access denied - G:/MOVIES 3/THE TRUMAN SHOW
Access denied - G:/MOVIES 3/TRUE LIES
Access denied - G:/MOVIES 3/WISHMASTER 3 - BEYOND THE GATES OF HELL
Access denied - G:/MOVIES 3/WITHOUT A PADDLE
Access denied - G:/MOVIES 3/X-MEN
File not found - -MAXDEPTH
File not found - 0
File not found - -MTIME
File not found - -30
File not found - -EXEC
File not found - LN
File not found - -S
File not found - {}
Access denied - C:/NEW MOVIES
File not found - ;
FIND: Parameter format not correct
FIND: Parameter format not correct

Anyone have any idea why the find isn't working properly when in the
crontab?  I dont actually think it's a permission denied issue but something
with the parsing possible (since I made sure i have full access to all the
files and the script works from the command line).  maybe it's something
with the environment variables.  thanks in advance for any ideas.

-- 
View this message in context: 
http://www.nabble.com/find-command-in-script-getting-access-denied-in-my-crontab-but-works-when-I-run-it-manually-tf4471242.html#a12748796
Sent from the Cygwin Users mailing list archive at Nabble.com.


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



Re: find command in script getting access denied in my crontab but works when I run it manually

2007-09-17 Thread Larry Hall (Cygwin)

On 09/17/2007, kuliksco wrote:
Anyone have any idea why the find isn't working properly when in the 
crontab? I dont actually think it's a permission denied issue but something 
with the parsing possible (since I made sure i have full access to all the 
files and the script works from the command line). maybe it's something 
with the environment variables. thanks in advance for any ideas.


The problem is that you're assuming that the environment you have when you
run interactively is the same environment you have when you run the script
through 'cron'.  That is not true.  If you require a particular environment
for a script to run, you need to include those settings in your crontab.
This is standard operating procedure for 'cron'.  It is not Cygwin specific.
See cron/crontab documentation for more information.

Actually, both your scripts suffer from the problem I mentioned above.  You
just have better luck with the first because:

  1. You apparently do have Cygwin's bin directory in your system-wide
 Windows path.
  2. There is no like-named Windows utility.

(2) does not hold true for 'find'.  You should either define the same
path as you use for your user environment in your crontab or fully
qualify the path to the utilities you want (i.e. '/bin/find' and '/bin/ln').
I'd also highly recommend using POSIX-style paths (i.e. '/cygdrive/f') over
DOS-like paths (i.e. 'f:/').  You'll have less troubles in general.

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

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



Re: find command in script getting access denied in my crontab but works when I run it manually

2007-09-17 Thread kuliksco

thanks i got it working!

yea i knew they had separate environments i forgot microsoft had a find
command though :\  thanks alot though!!


Larry Hall (Cygwin) wrote:
 
 On 09/17/2007, kuliksco wrote:
 Anyone have any idea why the find isn't working properly when in the 
 crontab? I dont actually think it's a permission denied issue but
 something 
 with the parsing possible (since I made sure i have full access to all
 the 
 files and the script works from the command line). maybe it's something 
 with the environment variables. thanks in advance for any ideas.
 
 The problem is that you're assuming that the environment you have when you
 run interactively is the same environment you have when you run the script
 through 'cron'.  That is not true.  If you require a particular
 environment
 for a script to run, you need to include those settings in your crontab.
 This is standard operating procedure for 'cron'.  It is not Cygwin
 specific.
 See cron/crontab documentation for more information.
 
 Actually, both your scripts suffer from the problem I mentioned above. 
 You
 just have better luck with the first because:
 
1. You apparently do have Cygwin's bin directory in your system-wide
   Windows path.
2. There is no like-named Windows utility.
 
 (2) does not hold true for 'find'.  You should either define the same
 path as you use for your user environment in your crontab or fully
 qualify the path to the utilities you want (i.e. '/bin/find' and
 '/bin/ln').
 I'd also highly recommend using POSIX-style paths (i.e. '/cygdrive/f')
 over
 DOS-like paths (i.e. 'f:/').  You'll have less troubles in general.
 
 -- 
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 216 Dalton Rd.  (508) 893-9889 - FAX
 Holliston, MA 01746
 
 _
 
 A: Yes.
   Q: Are you sure?
   A: Because it reverses the logical flow of conversation.
   Q: Why is top posting annoying in email?
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 

-- 
View this message in context: 
http://www.nabble.com/find-command-in-script-getting-access-denied-in-my-crontab-but-works-when-I-run-it-manually-tf4471242.html#a12749094
Sent from the Cygwin Users mailing list archive at Nabble.com.


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



Re: find command in script getting access denied in my crontab but works when I run it manually

2007-09-17 Thread Larry Hall (Cygwin)

kuliksco wrote:

thanks i got it working!

yea i knew they had separate environments i forgot microsoft had a find
command though :\  thanks alot though!!



You're welcome.

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

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



How to use the X clipboard

2007-09-17 Thread Robert Kiesling

I need to set the X server option, emulate3Buttons, in order to use
the X clipboard with the Cygwin system's mouse.  The FAQ tells me that
I can add, -emulate3buttons ms, to the X server arguments.
However, if I start the server with

  startx -- -emulate3buttons 10

all of the X server's default arguments seem to get overriden.  I
would like to know where are the X server resources are located so I
can add this option without overriding the X server's default
arguments.

On a related note, the server and display addresses default to 127.0.0.1, 
and that limits clipboard use to clients on the local host.  Because 
this network gets its addresses through DHCP, I would like to know if
there's a way to tell the X server beforehand what the network address is.
I assume I can parse the output of Windows netstat after booting and add 
the address to /etc/hosts before starting the X server, but I would
welcome any clues, hints, or suggestions how to go about telling the
resolver library about the network address with a documented interface.

Thanks,

Robert

-- 
Ctalk Home Page: http://ctalk-lang.sourceforge.net


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



Updated: OpenSSH-4.7p1-1

2007-09-17 Thread Corinna Vinschen
I've just updated the version of OpenSSH to 4.7p1-1.

This is a new major upstream release.  The Cygwin release is created
from the vanilla sources.


The official release message of 4.7p1:


OpenSSH 4.7 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.

OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.

Once again, we would like to thank the OpenSSH community for their
continued support of the project, especially those who contributed
code or patches, reported bugs, tested snapshots and purchased
T-shirts or posters.

T-shirt, poster and CD sales directly support the project. Pictures
and more information can be found at:
http://www.openbsd.org/tshirts.html and
http://www.openbsd.org/orders.html

For international orders use http://https.openbsd.org/cgi-bin/order
and for European orders, use http://https.openbsd.org/cgi-bin/order.eu

Changes since OpenSSH 4.6:


Security bugs resolved in this release:

 * Prevent ssh(1) from using a trusted X11 cookie if creation of an
   untrusted cookie fails; found and fixed by Jan Pechanec.

Other changes, new functionality and fixes in this release:

 * sshd(8) in new installations defaults to SSH Protocol 2 only.
   Existing installations are unchanged.

 * The SSH channel window size has been increased, and both ssh(1)
   sshd(8) now send window updates more aggressively. These improves
   performance on high-BDP (Bandwidth Delay Product) networks.

 * ssh(1) and sshd(8) now preserve MAC contexts between packets, which
   saves 2 hash calls per packet and results in 12-16% speedup for
   arcfour256/hmac-md5.

 * A new MAC algorithm has been added, UMAC-64 (RFC4418) as
   [EMAIL PROTECTED]. UMAC-64 has been measured to be
   approximately 20% faster than HMAC-MD5.

 * A -K flag was added to ssh(1) to set GSSAPIAuthentication=Yes

 * Failure to establish a ssh(1) TunnelForward is now treated as a
   fatal error when the ExitOnForwardFailure option is set.

 * ssh(1) returns a sensible exit status if the control master goes
   away without passing the full exit status. (bz #1261)

 * The following bugs have been fixed in this release:

   - When using a ProxyCommand in ssh(1), set the outgoing hostname with
 gethostname(2), allowing hostbased authentication to work (bz #616)
   - Make scp(1) skip FIFOs rather than hanging (bz #856)
   - Encode non-printing characters in scp(1) filenames.
 these could cause copies to be aborted with a protocol error
 (bz #891)
   - Handle SIGINT in sshd(8) privilege separation child process to
 ensure that wtmp and lastlog records are correctly updated
 (bz #1196)
   - Report GSSAPI mechanism in errors, for libraries that support
 multiple mechanisms (bz #1220)
   - Improve documentation for ssh-add(1)'s -d option (bz #1224)
   - Rearrange and tidy GSSAPI code, removing server-only code being
 linked into the client. (bz #1225)
   - Delay execution of ssh(1)'s LocalCommand until after all forwadings
 have been established. (bz #1232)
   - In scp(1), do not truncate non-regular files (bz #1236)
   - Improve exit message from ControlMaster clients. (bz #1262)
   - Prevent sftp-server(8) from reading until it runs out of buffer
 space, whereupon it would exit with a fatal error. (bz #1286)

 * Portable OpenSSH bugs fixed:

   - Fix multiple inclusion of paths.h on AIX 5.1 systems. (bz #1243)
   - Implement getpeereid for Solaris using getpeerucred. Solaris
 systems will now refuse ssh-agent(1) and ssh(1) ControlMaster
 clients from different, non-root users (bz #1287)
   - Fix compilation warnings by including string.h if found. (bz #1294)
   - Remove redefinition of _res in getrrsetbyname.c for platforms that
 already define it. (bz #1299)
   - Fix spurious chan_read_failed for istate 3 errors from sshd(8),
 a side-effect of the hang on exit fix introduced in 4.6p1.
 (bz #1306)
   - pam_end() was not being called if authentication failed (bz #1322)
   - Fix SELinux support when SELinux is in permissive mode. Previously
 sshd(8) was treating SELinux errors as always fatal. (bz #1325)
   - Ensure that pam_setcred(..., PAM_ESTABLISH_CRED) is called before
 pam_setcred(..., PAM_REINITIALIZE_CRED), fixing pam_dhkeys.
 (bz #1339)
   - Fix privilege separation on QNX - pre-auth only, this platform does
 not support file descriptior passing needed for post-auth privilege
 separation. (bz #1343)

Thanks to everyone who has contributed patches, reported bugs and
tested releases.

Checksums:
==

- SHA1 (openssh-4.7.tar.gz) = 9ebaab9b31e01bd0d04425dc23536bcc78f8d990
- SHA1 (openssh-4.7p1.tar.gz) = 58357db9e64ba6382bef3d73d1d386fcdc0508f4

Reporting Bugs:
===

- please read http://www.openssh.com/report.html
  and