Re: Problem with rsync and Chinese character sets

2005-11-23 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Lucas wrote: > However, a couple systems will not backup, looking at the logfiles > reveals comments like "file has vanished:" and reports of filenames > with multiple questionmarks as the filename. Right now I'm resorting > to scp'ing, which of

Re: P.S. cygheap base mismatch

2005-11-23 Thread Christopher Faylor
On Wed, Nov 23, 2005 at 01:59:37PM -0800, Lester Ingber wrote: >I have use tcsh scripts run from a Cygwin window to start X-windows. I had >been using lines like: >#!/bintcsh -f >xterm -j -sb -bg white -fg darkblue -cr green -ms magenta -bd red -geometry >80x84-0+0 -name right >>& /tmp/log.xwin &

Re: Cygwin connection closing running on Server 2003

2005-11-23 Thread Larry Hall (Cygwin)
On 11/23/2005, Jack Romano wrote: I am running Cygwin 1.5.18 on Windows Sever 2003 with all current updates. My problem pertains to OpenSSH 4.2p1-1. I ran the setup script for OpenSSH and used the tool to import my Windows users. I am able to connect to the server both locally and from other ma

Re: Cygwin fork failure

2005-11-23 Thread Larry Hall (Cygwin)
On 11/23/2005, David Svoboda wrote: My best guess is that this bug was introduced by a new version of cygwin, as it did not occur until I did a cygwin-update. But didn't you claim that switching back to an older version of Cygwin didn't help? It seems that the oldest cygwin I can get is 1.5

Re: basename(1) defect

2005-11-23 Thread Eric Blake
> > This is a bug with basename 5.3.0 found in the latest Cygwin 1.5.15.1. Not a bug. > > 1.5.15 was three releases ago, it's most certainly not the latest. But > that's not really relevant to your question, I don't think. > > > $ basename NA A > > N > > $ basename N/A A > > A

Re: basename(1) defect

2005-11-23 Thread Brian Dessent
Stan Tsu wrote: > This is a bug with basename 5.3.0 found in the latest Cygwin 1.5.15.1. 1.5.15 was three releases ago, it's most certainly not the latest. But that's not really relevant to your question, I don't think. > $ basename NA A > N > $ basename N/A A > A <===

basename(1) defect

2005-11-23 Thread Stan Tsu
This is a bug with basename 5.3.0 found in the latest Cygwin 1.5.15.1. This used to work with basename in the March 2003 version. Sorry I don't know the version number any more because the update removed the old version. $ FCF=N/A $ echo $FCF N/A $ Z=${FCF:(-1)} $ echo $Z A $ FCG=`basename $FCF

RE: Paths in chere

2005-11-23 Thread Dave
Alireza Ghasemi wrote: > I used " chere -i " to add a bash command to my context menu.Now when I > Right-click on a folder an select "bash here" it opens bash in parent of > that folder , not the folder itself.How can I change it to show the real > folder. Which version of chere is installed? What

Re: P.S. cygheap base mismatch

2005-11-23 Thread Lester Ingber
I have use tcsh scripts run from a Cygwin window to start X-windows. I had been using lines like: #!/bintcsh -f xterm -j -sb -bg white -fg darkblue -cr green -ms magenta -bd red -geometry 80x84-0+0 -name right >>& /tmp/log.xwin & With cygwin1-20051117.dll I was now also getting additional DOS win

Re: Is there a default ssh password if no Windows password is present?

2005-11-23 Thread Brian Dessent
Jerry Moody wrote: > I believe "PermitEmptyPasswords no" is the solution. Unfortunately, this > keyword doesn't show in Cygwin's man pages for sshd, and I came up empty > searching the web without knoweldge that the keyword even existed. Thanks > for the pointer. You're looking at the wrong man

Re: Is there a default ssh password if no Windows password is present?

2005-11-23 Thread Christopher Faylor
On Wed, Nov 23, 2005 at 04:30:59PM -0500, Jerry Moody wrote: >Corinna Vinschen wrote: >>On Nov 23 16:09, Dave Korn wrote: >>> Jerry Moody wrote: Is there a default ssh password if no Windows password is present? When I attempt to ssh into a WinXP machine with no Windows account password

Re: Practical method for automatic Cygwin install?

2005-11-23 Thread Christopher Faylor
On Wed, Nov 23, 2005 at 01:30:37PM -0800, Brian Dessent wrote: >Igor Pechtchanski wrote: >>Or you could look at how setup.exe/cygcheck does it and help extract >>the mount code into a library that could be linked into other apps. > >FWIW, this idea of creating a mingw "libcygpath" really appeals to

Re: Suggest cygrunsrv extension: --pidfile option (patch included)

2005-11-23 Thread Christian Franke
Corinna Vinschen wrote: [...] /* foo */ /* foo bla ... ... blub */ ;-) Sorry, I have no time now to answer in detail, let net new patch speak for itself ;-) http://franke.dvrdns.org/cygwin/cygrunsrv-pidfile-patch-1.txt Stale .pid file is now removed on exit of cygrunsrv (Testca

Re: Is there a default ssh password if no Windows password is present?

2005-11-23 Thread Jerry Moody
Corinna Vinschen wrote: >On Nov 23 16:09, Dave Korn wrote: >> Jerry Moody wrote: >> > Is there a default ssh password if no Windows password is present? When I >> > attempt to ssh into a WinXP machine with no Windows account password, I >> > still get prompted for a password and I can't seem to gue

Re: Practical method for automatic Cygwin install?

2005-11-23 Thread Brian Dessent
Igor Pechtchanski wrote: > Or you could look at how setup.exe/cygcheck does it and help extract the > mount code into a library that could be linked into other apps. FWIW, this idea of creating a mingw "libcygpath" really appeals to me and it's been an idea I've been meaning to look at for a whil

An uninstaller? and a Restore?

2005-11-23 Thread Jeff Sadowski
I would like to request an uninstaller for cygwin that removes the registry settings and all. And to remove related users if users where created. I think an sshd user was created no? I would also like to request a restore feature that sets everything back how it was at a certain point in time. Pa

Re: Practical method for automatic Cygwin install?

2005-11-23 Thread Igor Pechtchanski
On Wed, 23 Nov 2005, Christopher Faylor wrote: > On Tue, Nov 22, 2005 at 09:51:56PM -0600, William J. Leslie wrote: > >Note: I am rephrasing the question I asked last time (for which the > >conversation drifted into GPL and licensing issues). > > > >My program depends on cygwin DLLs, my installer

Re: exception while starting cygwin

2005-11-23 Thread Igor Pechtchanski
On Wed, 23 Nov 2005, Eric Blake wrote: > According to cygwin on 11/23/2005 7:08 AM: > > Not Found: sh > > Even worse - your cygwin installation is incomplete. The postinstall > script that installs /bin/sh probably failed because of your other > unix-y tools in your path, but without /bin/sh, man

RE: Is there a default ssh password if no Windows password is present?

2005-11-23 Thread Jerry Moody
DaveK wrote: >You aren't allowed to log in to a passwordless account from the network in >any version of Windows since XP. Is that perhaps the problem? Excellent pointer, but MS (http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/c16621675.mspx) seems to say this is true for XP Pro onl

Cygwin connection closing running on Server 2003

2005-11-23 Thread Jack Romano
I am running Cygwin 1.5.18 on Windows Sever 2003 with all current updates. My problem pertains to OpenSSH 4.2p1-1. I ran the setup script for OpenSSH and used the tool to import my Windows users. I am able to connect to the server both locally and from other machine and am prompted for my passw

Re: rcs 5.7 truncated one of my files

2005-11-23 Thread Richard Kandarian
H. I've removed cygwin from my system, and reinstalled it, and the problem seems to be gone. (I no longer have a problem with that particular file, and I have not exercised rcs beyond that.) I mentioned that I'd updated my cygwin recently. That update entailed downloading a new (the curr

Re: Cygwin fork failure

2005-11-23 Thread David Svoboda
Larry Hall (Cygwin) wrote: [EMAIL PROTECTED] wrote: On Saturday 19 November 2005 01:07 am, Larry Hall (Cygwin) wrote: David Svoboda wrote: I have built a C++ server program called 'analyzer'. But when I try to run it, it fails upon trying to execute a 'fork' command. Why? If runn

WSADuplicateSocket used to implement ssh session multiplexing?

2005-11-23 Thread Jeff Hardy
I understand that windows does not allow sending open file descriptors over sockets and that is the reason that session multiplexing through a control master doesn't work. The documentation for WSADuplicateSocket states that the resulting WSAPROTOCOL_INFO structure can be sent through an IPC to a t

Re: Practical method for automatic Cygwin install?

2005-11-23 Thread Christopher Faylor
On Tue, Nov 22, 2005 at 09:51:56PM -0600, William J. Leslie wrote: >Note: I am rephrasing the question I asked last time (for which the >conversation drifted into GPL and licensing issues). > >My program depends on cygwin DLLs, my installer must make sure these >dependencies are satisfied. I've he

Persisting values of environment variables

2005-11-23 Thread Nate Meyer
I'm trying to change the value of $HOME. If I do something like "export HOME="c:/whatever" $HOME is changed for that session. But after Cygwin is closed and restarted $HOME is set back to the default /home/user. How can I persist the change to $HOME? -Nate -- Unsubscribe info: http://cygwin

RE: syntax highlighting in vim

2005-11-23 Thread Williams, Gerald S \(Jerry\)
Eric Blake wrote: > Wrong again - alias expansion in bash starts ONLY at the > first word, and only progresses on to the next word if > the current alias expansion ended in a space. I stand corrected. In the first job where I used ksh, they had set up aliases for everything with the spaces at the

'cygpath' and 'mount' options (RE: Where is cygwin bin directory?)

2005-11-23 Thread Hannu E K Nevalainen
(machinegun on vowels in email addresses) [EMAIL PROTECTED] wrote: Blah, I'm getting tired of this. Why is it that there must be a problem inserting *user* names - from the cygwin list - in the above line? Elsewhere Outlok-quotefix takes this From: "Hannu Nevalainen" <[EMAIL PROTECTED]> and pro

Re: Is there a default ssh password if no Windows password is present?

2005-11-23 Thread Corinna Vinschen
On Nov 23 16:09, Dave Korn wrote: > Jerry Moody wrote: > > Is there a default ssh password if no Windows password is present? When I > > attempt to ssh into a WinXP machine with no Windows account password, I > > still get prompted for a password and I can't seem to guess what it is > > (null, ano

RE: syntax highlighting in vim

2005-11-23 Thread Eric Blake
> > The use of a trailing space in the alias controls > > whether the next word on the command line will also > > be subject to alias expansion; > > True, but I prefer not to make assumptions about how > people are using aliases. The space at the end of the > alias makes it behave like the unalias

RE: Is there a default ssh password if no Windows password is present?

2005-11-23 Thread Dave Korn
Jerry Moody wrote: > Is there a default ssh password if no Windows password is present? When I > attempt to ssh into a WinXP machine with no Windows account password, I > still get prompted for a password and I can't seem to guess what it is > (null, anonymous, etc don't seem to work). I have set

RE: INSTALLATION HANGING

2005-11-23 Thread Dave Korn
Silvio Bandeira wrote: > Hi, > the installation process hangs when executing > /etc/postinstall/update-info-dir.sh No it doesn't. It's still running. It just takes some time. Don't be so impatient! If you start up task-manager, you'll see that processes are still running and doing things.

RES: Problem accessing samba shares via ssh in XP

2005-11-23 Thread Felipe Franciosi
Some people replied directly to me reporting the same problem. Does anyone have a solution??? []s -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Felipe Franciosi +55-51-91230557 CPAD/HP/PUCRS – Centro de Pesquisa em Alto Desempenho http://www.cpad.pucrs.br/

Re: lpr error (Was :Re: Enscript error with passwd uid field (enscript-1.6.3-3))

2005-11-23 Thread Corinna Vinschen
On Nov 23 14:36, Jurgen Defurne wrote: > Unfortunately, it doesn't. I am using the 20051117 snapshot > from the cygwin1.dll, but I still get the same error. Hmm, works for me. I just tried it. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project C

Is there a default ssh password if no Windows password is present?

2005-11-23 Thread Jerry Moody
Is there a default ssh password if no Windows password is present? When I attempt to ssh into a WinXP machine with no Windows account password, I still get prompted for a password and I can't seem to guess what it is (null, anonymous, etc don't seem to work). I have set up autentication keys and

RE: syntax highlighting in vim

2005-11-23 Thread Williams, Gerald S \(Jerry\)
Eric Blake wrote: > Actually, a better spelling would be > alias ls='ls --color=auto' Oops, I should have used cut and paste rather than typing it. I meant this of course: alias ls='ls --color=auto ' > The use of a trailing space in the alias controls > whether the next word on the command lin

Re: syntax highlighting in vim

2005-11-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Williams, Gerald S (Jerry) on 11/23/2005 7:18 AM: > Alireza Ghasemi wrote: > >>I have the same problem about ls too. Do they >>ever support syntax highlighting ? > > > For ls, this might work for you: > > alias ls='ls -color=auto '

RE: syntax highlighting in vim

2005-11-23 Thread Williams, Gerald S \(Jerry\)
Alireza Ghasemi wrote: > I have the same problem about ls too. Do they > ever support syntax highlighting ? For ls, this might work for you: alias ls='ls -color=auto ' -gsw -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.ht

RE: exception while starting cygwin

2005-11-23 Thread Dave Korn
cygwin wrote: > Hello, > > I install cygwin without errors. After that, I want to start cygwin with > cygwin.bat, but nothing happens. > When I start cygwin.bat under a tracesoftware (TRACEPLUS), I got this > output: > An exception occured in process bash at address 0x77E7B702. > The type of exc

Re: exception while starting cygwin

2005-11-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to cygwin on 11/23/2005 7:08 AM: > Hello, > > I install cygwin without errors. After that, I want to start cygwin with > cygwin.bat, but nothing happens. When I start cygwin.bat under a > tracesoftware (TRACEPLUS), I got this output: An exce

exception while starting cygwin

2005-11-23 Thread cygwin
Hello, I install cygwin without errors. After that, I want to start cygwin with cygwin.bat, but nothing happens. When I start cygwin.bat under a tracesoftware (TRACEPLUS), I got this output: An exception occured in process bash at address 0x77E7B702. The type of exception is: EXCEPTION_ACCESS_

Re: rcs 5.7 truncated one of my files

2005-11-23 Thread Richard Kandarian
At 06:09 AM 11/23/2005, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Max Bowsher on 11/22/2005 4:14 PM: > > RCS has not been updated in years. Could it be that RCS is still using 32-bit offsets because it has not been recompiled against newer cygwin headers to tu

Re: lpr error (Was :Re: Enscript error with passwd uid field (enscript-1.6.3-3))

2005-11-23 Thread Jurgen Defurne
Unfortunately, it doesn't. I am using the 20051117 snapshot from the cygwin1.dll, but I still get the same error. It's not critical, but printing using enscript is easier than pointing and clicking in the explorer. Btw. I compiled enscript 1.6.3-9 and the uid error is gone. Regards, Jurgen

Re: rcs 5.7 truncated one of my files

2005-11-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Max Bowsher on 11/22/2005 4:14 PM: > > RCS has not been updated in years. Could it be that RCS is still using 32-bit offsets because it has not been recompiled against newer cygwin headers to turn on 64-bit offsets? You can figure this

Re: fork problem in latest snapshot on Win98

2005-11-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Christopher Faylor on 11/22/2005 8:17 AM: >>I'm getting a repeatable fork memory allocation error with snapshot >>20051116 on Win98, when trying to build CVS head of libtool; this was >>not a problem with 20051020. > > Is this problem sti

Re: lpr error (Was :Re: Enscript error with passwd uid field (enscript-1.6.3-3))

2005-11-23 Thread Corinna Vinschen
On Nov 23 12:49, Jurgen Defurne wrote: > I do have a real problem, but not with enscript, but with accessing > the printers. > > In the past, I could set PRINTER to //server/printershare, and use > enscript and lpr to print out my jobs. > > If I try to print now, I get the following message from

Re: syntax highlighting in vim

2005-11-23 Thread Jurgen Defurne
Goto /usr/share/vim/vim64 and copy the file vimrc_example.vim to /usr/share/vim/vimrc. Jurgen "Alireza Ghasemi" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 2005-11-23 11:52 AM To cc Subject syntax highlighting in vim Classification Hello, I have installed almost whole cygwin

lpr error (Was :Re: Enscript error with passwd uid field (enscript-1.6.3-3))

2005-11-23 Thread Jurgen Defurne
I do have a real problem, but not with enscript, but with accessing the printers. In the past, I could set PRINTER to //server/printershare, and use enscript and lpr to print out my jobs. If I try to print now, I get the following message from lpr : lpr: printer error: can't open '\\beqbr

Paths in chere

2005-11-23 Thread Alireza Ghasemi
Hi all, I used " chere -i " to add a bash command to my context menu.Now when I Right-click on a folder an select "bash here" it opens bash in parent of that folder , not the folder itself.How can I change it to show the real folder. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-si

syntax highlighting in vim

2005-11-23 Thread Alireza Ghasemi
Hello, I have installed almost whole cygwin from an ISO snapshot. When using vim in it I realized that it doesn't highlight .c or .cc files. " :syntax enable " didn't work.Can anybody help me about it ? I have the same problem about ls too.Do they ever support syntax highlighting ? -- Unsubscrib

Re: Enscript error with passwd uid field (enscript-1.6.3-3)

2005-11-23 Thread Corinna Vinschen
On Nov 23 03:22, Brian Dessent wrote: > It looks like preliminary support for 32 bit uid_t began around > 2002-02-09: > . The > release notes for 1.3.11 mentions this as well on 2002-05-23: >

Re: Enscript error with passwd uid field (enscript-1.6.3-3)

2005-11-23 Thread Corinna Vinschen
On Nov 23 11:44, Jurgen Defurne wrote: > Hello, > > I just installed enscript in the most current Cygwin > environment (stable), end I get the following error > when starting it. > > enscript: kan geen wachtwoord vinden voor uid=45056: No error > > This is Dutch, when translating I expec

Re: Enscript error with passwd uid field (enscript-1.6.3-3)

2005-11-23 Thread Brian Dessent
Jurgen Defurne wrote: > enscript: cannot find password for uid=45056: No error > > My generated passwd file however, contains 176128, not 45046. > > By replacing the former uid with the latter, the problem is solved. > > However, should this still be necessary ? I thought that a long >

Enscript error with passwd uid field (enscript-1.6.3-3)

2005-11-23 Thread Jurgen Defurne
Hello, I just installed enscript in the most current Cygwin environment (stable), end I get the following error when starting it. enscript: kan geen wachtwoord vinden voor uid=45056: No error This is Dutch, when translating I expect to get something like : enscript: cannot find

Re: Domain change: permission denied in sshd

2005-11-23 Thread Ludovic Drolez
Larry Hall (Cygwin) wrote: Ludovic Drolez wrote: Hi ! We use opensshd to remote admin windows systems. But If the SID is changed we have the following problems: - I can log in but we can see 'Could not chdir to home directory /home/Administrateur: Permission denied'. And key based auth works