Re: using rsync with Win32/UNC pathnames?

2008-04-14 Thread Tomasz Chmielewski
lue except wantonly. The range from 0xf000-0xf0ff is used by Cygwin 1.7.0 to map special characters which are disallowed in DOS filenames. You can use every other UNICODE character in Cygwin, except for these values. I see. Thanks a lot for your support. -- Tomasz Chmielewski http://wpkg

Re: using rsync with Win32/UNC pathnames?

2008-04-14 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 14 11:30, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: On Apr 12 13:15, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: What's the wchar hex code value of that character? Hmm, I don't know. Is there some obvious way to get it? You cou

Re: using rsync with Win32/UNC pathnames?

2008-04-14 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 12 13:15, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: What's the wchar hex code value of that character? Hmm, I don't know. Is there some obvious way to get it? You could write a small application which does nothing but calling Find

Re: using rsync with Win32/UNC pathnames?

2008-04-12 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 12 12:02, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: And what's the actual filename? The actual filename is: 1.doc But I guess it doesn't help much. What's the wchar hex code value of that character? Hmm, I don't know. Is th

Re: using rsync with Win32/UNC pathnames?

2008-04-12 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 11 19:06, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: On Apr 11 18:04, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: utf-8 is supposed to be able to convert all wide chars to a multibyte sequence. If it's *not* the above server-side proble

Re: using rsync with Win32/UNC pathnames?

2008-04-12 Thread Tomasz Chmielewski
Charles Wilson schrieb: Tomasz Chmielewski wrote: If you want, download http://wpkg.org/test.7z You will need 7zip to extract it (or something compatible). Such as the cygwin p7zip program, or the native programs distributed by the upstream 7zip project (google...) However, be warning

Re: using rsync with Win32/UNC pathnames?

2008-04-11 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 11 18:04, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: utf-8 is supposed to be able to convert all wide chars to a multibyte sequence. If it's *not* the above server-side problem, we would need a simple, self-contained, reproducible tes

Re: using rsync with Win32/UNC pathnames?

2008-04-11 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 11 14:26, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: On Apr 3 13:10, Brian Dessent wrote: Tomasz Chmielewski wrote: So once Cygwin learns how to speak UTF-8, I will finally be able to backup all Windows files... :) Set CYGWIN=codepage:utf8 to

Re: using rsync with Win32/UNC pathnames?

2008-04-11 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 3 13:10, Brian Dessent wrote: Tomasz Chmielewski wrote: So once Cygwin learns how to speak UTF-8, I will finally be able to backup all Windows files... :) Set CYGWIN=codepage:utf8 to enable UTF-8 support. ...and set LC_CTYPE=C-UTF-8, otherwise multibyte

/dev/mem: permission denied

2008-04-08 Thread Tomasz Chmielewski
: permission denied problem in Cygwin? [1] http://www.nongnu.org/dmidecode/ [2] http://wpkg.org/Download [3] http://www.cygwin.com/ml/cygwin/2007-04/msg00458.html [4] http://www.breakoutbox.de/software/software.html -- Tomasz Chmielewski -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe

Re: using rsync with Win32/UNC pathnames?

2008-04-04 Thread Tomasz Chmielewski
ygwin/cygrunsrv.README lately? Look for the -e option. Works perfectly. Thanks a lot! -- Tomasz Chmielewski http://wpkg.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.htm

Re: using rsync with Win32/UNC pathnames?

2008-04-04 Thread Tomasz Chmielewski
Tomasz Chmielewski schrieb: Corinna Vinschen schrieb: On Apr 3 13:10, Brian Dessent wrote: Tomasz Chmielewski wrote: So once Cygwin learns how to speak UTF-8, I will finally be able to backup all Windows files... :) Set CYGWIN=codepage:utf8 to enable UTF-8 support. ...and set LC_CTYPE=C

Re: using rsync with Win32/UNC pathnames?

2008-04-04 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 3 13:10, Brian Dessent wrote: Tomasz Chmielewski wrote: So once Cygwin learns how to speak UTF-8, I will finally be able to backup all Windows files... :) Set CYGWIN=codepage:utf8 to enable UTF-8 support. ...and set LC_CTYPE=C-UTF-8, otherwise multibyte

Re: using rsync with Win32/UNC pathnames?

2008-04-03 Thread Tomasz Chmielewski
Tomasz Chmielewski schrieb: James Abley schrieb: (...) I've just tried the current snapshot and most (all?) of my problems with long path names have gone away, whereas the main release was failing at the start of the month. Previously: 2008/03/07 20:47:05 [13024] rsync: readlink &quo

Re: using rsync with Win32/UNC pathnames?

2008-04-03 Thread Tomasz Chmielewski
t cygwin1.dll snapshot. cwRsync (3.0.0) however, can read long filenames with the latest cygwin1.dll snapshot. And there is more to it: neither rsync.exe 2.6.9-2 from Cygwin nor cwRsync (3.0.0) can read long path names when rsync is started as a Windows service (cygrunsrv 1.34-1).

Re: using rsync with Win32/UNC pathnames?

2008-04-02 Thread Tomasz Chmielewski
h names and files with problematic ACLs, that's a major improvement. -- Tomasz Chmielewski http://wpkg.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: using rsync with Win32/UNC pathnames?

2008-04-01 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 1 06:43, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tomasz Chmielewski on 4/1/2008 6:34 AM: | Nope, they are not supported in snapshots; drive snapshots are nothing | different than a normal drive (I assume you're ta

Re: using rsync with Win32/UNC pathnames?

2008-04-01 Thread Tomasz Chmielewski
Eric Blake schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tomasz Chmielewski on 4/1/2008 6:34 AM: | Nope, they are not supported in snapshots; drive snapshots are nothing | different than a normal drive (I assume you're talking about VSS / | shadow copy snapshots fo

Re: using rsync with Win32/UNC pathnames?

2008-04-01 Thread Tomasz Chmielewski
Eric Blake schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tomasz Chmielewski on 4/1/2008 6:15 AM: | In Windows, path can have only up to 260 characters. In Windows, the ASCII functions can only handle up to 260 characters. But the Unicode functions handle more. You may

Re: using rsync with Win32/UNC pathnames?

2008-04-01 Thread Tomasz Chmielewski
Eric Blake schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tomasz Chmielewski on 4/1/2008 5:59 AM: | According to http://www.cygwin.com/cygwin-ug-net/using.html: | | Cygwin supports both Win32- and POSIX-style paths, where directory | delimiters may be either forward or

using rsync with Win32/UNC pathnames?

2008-04-01 Thread Tomasz Chmielewski
fine with cygwin paths: $ rsync -v /cygdrive/c/1 /cygdrive/c/2 1 sent 150 bytes received 42 bytes 384.00 bytes/sec total size is 68 speedup is 0.35 Why does it fail with Win32-paths? Is is possible to use rsync.exe with Win32 and/or UNC paths? -- Tomasz Chmielewski http://wpkg.org -- Unsubs

Re: using Windows backup API?

2008-03-31 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Mar 31 11:37, Tomasz Chmielewski wrote: Traditionally, in UNIX, a root user can access any file in the system without doing anything special. This contrasts with Windows, where even Administrator user can't read files for which he has not access permissions

using Windows backup API?

2008-03-31 Thread Tomasz Chmielewski
h can be accessed by using shadow copy -- Tomasz Chmielewski http://wpkg.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/

cygwin1.dll with UTF8 support

2006-05-03 Thread Tomasz Chmielewski
et ??? characters instead). -- Tomasz Chmielewski Software deployment with Samba http://wpkg.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/

UTF8 problem with rsync

2006-03-29 Thread Tomasz Chmielewski
his is the same as if I mounted a Windows share on a Linux server without specifying iocharset=utf8 option. Is there any solution for this? I saw some reference on the list in a post one year ago, but no solution. -- Tomasz Chmielewski Software deployment with Samba http://wpkg.org -- U

UTF8 problem with rsync

2006-03-29 Thread Tomasz Chmielewski
his is the same as if I mounted a Windows share on a Linux server without specifying iocharset=utf8 option. Is there any solution for this? I saw some reference on the list in a post one year ago, but no solution. -- Tomasz Chmielewski Software deployment with Samba http://wpkg.org -- U

Re: encoding scripts (so that user can't see passwords easily)?

2005-12-06 Thread Tomasz Chmielewski
Jim Drash schrieb: If someone can get physical access to the disk, then there is not a single thing you can do to stop someone who is: 1) Knowledgeable 2) Determined 3) has time 4) is a criminal But I could certainly stop someone who is *not* knowledgeable nor determined, and his "criminal cr

Re: encoding scripts (so that user can't see passwords easily)?

2005-12-06 Thread Tomasz Chmielewski
Wayne Willcox schrieb: On Tue, Dec 06, 2005 at 02:58:15PM -0500, Jim Drash wrote: Don't put the user names or passwords in the script put them in a file only readable by SYSTEM > that would not solve the requirement of protecting the passwords > if the disk was stolen. The scripts are suppo

Re: encoding scripts (so that user can't see passwords easily)?

2005-12-06 Thread Tomasz Chmielewski
Svend Sorensen schrieb: On 12/4/05, nidhog <[EMAIL PROTECTED]> wrote: On 12/4/05, Christopher Faylor <[EMAIL PROTECTED]> wrote: On Sun, Dec 04, 2005 at 12:20:57PM +0100, Tomasz Chmielewski wrote: I have a little open-source project, which eases Windows administration a bit. In

Re: encoding scripts (so that user can't see passwords easily)?

2005-12-05 Thread Tomasz Chmielewski
Christopher Faylor schrieb: On Sun, Dec 04, 2005 at 12:20:57PM +0100, Tomasz Chmielewski wrote: I have a little open-source project, which eases Windows administration a bit. In some of the scripts, I use usernames and passwords (to get to a password-protected network share etc.). Because

encoding scripts (so that user can't see passwords easily)?

2005-12-04 Thread Tomasz Chmielewski
I have a little open-source project, which eases Windows administration a bit. In some of the scripts, I use usernames and passwords (to get to a password-protected network share etc.). Because they are scripts, username and password is in plain. Although the script files are only readable by

Re: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Tomasz Chmielewski
You are making an assumption that MS Windows was designed as a networked windowing system. It's not. It's not Cygwin's fault nor X windows fault rather it is MS' fault in that their concept of GUI windowed apps is not cleanly divided into the client/server paradigm. No, I don't make any assump

Re: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Tomasz Chmielewski
Michael Uman schrieb: Hello, I would recommend looking at VNC server.. If you run VNC server on your windows box, you can log into it from your Linux VNC client and view your Windows desktop... This works in both directions {you can run VNC server on Linux and log into it from Windows} Thi

Re: displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Tomasz Chmielewski
Christopher Faylor schrieb: I want to do something in an opposite direction: start Windows apps on Linux display: linuxbox$ ssh -l user windows_cygwin -X windows_cygwin$ notepad or windows_cygwin$ iexplore.exe And these Windows applications would be displayed on my Linux. Is it possible wi

displaying Windows program on Linux via ssh / X?

2005-06-14 Thread Tomasz Chmielewski
I couldn't find it on Google and I feel it's a different thing than running Linux X applications (like xterm etc.), which is done by Cygwin/X. Is it possible to "display" Windows program on Linux via ssh / X? What I mean, normally we do something like that: windows_cygwin$ ssh -l user linuxbox