Xwin and urxvt-X quit when copy selection

2010-01-16 Thread Lenik
1, Specify -clipboard option to Xwin.exe 2, Open an urxvt-X window 3, Mouse drag and select a text range 4, Then urxvt-X is silently terminated, and Xwin process is terminated, too (the selection wasn't copied) Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.7.3.0 (10703000)

Re: ldd in cygwin

2009-10-01 Thread Lenik
On 2009-10-1 13:44, Steven Woody wrote: Hi, In Linux, we can get a library dependency list by running of 'ldd'. In windows, executable still depend on libraries, such as DLLs, but I don't find a 'ldd' command in cygwin. Is there any tool that will do the job? Thanks. There is a cygwin ldd,

cygpath output unnecessary ending slash/

2009-10-01 Thread Lenik
When specify --windows or --mixed form, cygpath will append `/' to the result path when it is a directory, this is unnecessary and inconformity, for example: cygpath -u some/dir > some/dir cygpath -m some/dir > some/dir/ cygpath -w . > x:\some\dir\ The ending `\' is only needed whe

Re: Mounting EXT2FS as Windows filesystem

2009-05-18 Thread Lenik
S driver, see http://www.fs-driver.org/ Both TrueCrypt and Ext2fs IFS driver don't support mountpoint directly. Lenik -- 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.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-18 Thread Lenik
On 2009-5-18 14:09, Christopher Faylor wrote: I think the main person you should be thanking isn't a guy. Ok. Thank you gods. Lenik -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-17 Thread Lenik
On 2009-5-17 15:52, Lenik wrote: 2, configure failed: bash-3.2$ ./configure 5 [main] expr 952 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) ./configure: line 56: 952 Segmentation fault (core dumped) expr a : '\(a\)' > /dev/null 2>&1 4 [mai

Re: expr error

2009-05-17 Thread Lenik
On 2009-5-18 11:45, Dave Korn wrote: Lenik wrote: ok, Thanks. Program received signal SIGSEGV, Segmentation fault. 0x0524 in ?? () (gdb) bt #0 0x0524 in ?? () #1 0x69181041 in ?? () from /usr/bin/cyggmp-3.dll #2 0x691c9000 in ?? () from /usr/bin/cyggmp-3.dll #3 0x691ca000 in

Re: expr error

2009-05-17 Thread Lenik
ok, (gdb) run Starting program: /usr/bin/expr [New thread 2412.0x92c] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols fo

Re: expr error

2009-05-17 Thread Lenik
On 2009-5-18 7:42, Dave Korn wrote: Lenik wrote: Are you sure you don't have some competing tools getting in the way of proper cygwin operation? No, I've set PATH to cygwin/bin only, before execute expr. Doesn't necessarily mean there aren't system-wide hooks bei

Re: expr error

2009-05-17 Thread Lenik
On 2009-5-17 22:53, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Are you sure you don't have some competing tools getting in the way of proper cygwin operation? No, I've set PATH to cygwin/bin only, before execute expr. stackdump added. Exception: STATUS_ACCESS_VIOLATION a

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-17 Thread Lenik
On 2009-5-17 19:53, Corinna Vinschen wrote: On May 17 15:52, Lenik wrote: On 2009-5-17 10:09, IWAMURO Motonori wrote: 2009/5/17 Lenik: Thanks, but where can I get this patch? You can checkout it from CVS HEAD. [...] 6 weeks to the next release maybe too long to wait. We have about 2 weeks

rsync: send_files failed to open

2009-05-17 Thread Lenik
11044 files in 3.87GB are correctly rsynced, while several files are failed. see the output. These files are marked as "Permission denied (13)", and my local directories are writable. -- # rsync -amv --delete --delete-excluded --exclude-from ./.msync/mod/cygwin.ex --log-file=/var/log/rsy

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-17 Thread Lenik
On 2009-5-17 10:09, IWAMURO Motonori wrote: 2009/5/17 Lenik: Thanks, but where can I get this patch? You can checkout it from CVS HEAD. Thanks for your information, well, I'm not expect to build from source, that really frustrates me, and brings me even more problems. Is there any m

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-16 Thread Lenik
version of cygpath should do the conversion more correctly. Corinna Thanks, but where can I get this patch? Lenik -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-15 Thread Lenik
2.2 GBK doesn't work for `cygpath -au PathContainsNonascii' Now the problem is, I must use GBK for 1.1, and I cannot use GBK for 2.2. and no more choice. -_-||... Lenik -- 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: Question of the necessity of rebaseall

2009-05-13 Thread Lenik
On 2009-5-14 9:34, Larry Hall (Cygwin) wrote: Lenik wrote: On 2009-5-14 8:55, Larry Hall (Cygwin) wrote: Lenik wrote: Imagebase in PE header is something a bit of optional, that means if two dlls with same imagebase, the OS kernel will automaticly relocate one of them, to put them in

Re: Question of the necessity of rebaseall

2009-05-13 Thread Lenik
On 2009-5-14 8:55, Larry Hall (Cygwin) wrote: Lenik wrote: Imagebase in PE header is something a bit of optional, that means if two dlls with same imagebase, the OS kernel will automaticly relocate one of them, to put them in different virtual spaces. So, rebase should be a utility for

Strange behavior of cygwin setup preferences

2009-05-13 Thread Lenik
like this, the setup remembered which components I've selected, and saved my selection to the win32 registry or somewhere, whatever, I don't know where it saved and I can't find it. Is there any command line option to force the setup.exe consider it's the first to install?

Question of the necessity of rebaseall

2009-05-13 Thread Lenik
relocations, rather then fix start-up errors. Any idea? Lenik -- 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: Cygwin 1.7, Win 2008 and rebase

2009-05-13 Thread Lenik
On 2009-5-14 8:13, Lenik wrote: On 2009-5-14 5:11, Darren Syzling wrote: I've just installed cygwin 1.7 for use under Winn 2008 - the latest version of 1.7 setup released today. I've read the threads on rebase issues with Vista but so far none of the suggestions help with my git

Re: Cygwin 1.7, Win 2008 and rebase

2009-05-13 Thread Lenik
uit bash and start a new cmd.exe session: rebase -vdb 0x7000 -o 0x10 -T /tmp/libs-nonperl rebase -vdb 0x1000 -o 0x2 -T /tmp/libs-p See also, http://lenik.99jsj.com/programming/cygwinperl-fatal-error-under-vista Good luck, Lenik -- Unsubscribe info: http://cygwi

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-13 Thread Lenik
http://cygwin.com/ml/cygwin/2009-05/msg00245.html? I found this web page doesn't display utf-8 characters correctly. BTW, I'm using thunderbird as news reader. Lenik -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/pro

Re: zip, unzip doesn't support locale settings

2009-05-13 Thread Lenik
On 2009-5-13 11:23, Christopher Faylor wrote: On Tue, May 12, 2009 at 10:58:00PM +0800, Lenik wrote: (This mail is encoded in utf-8) What is the point of three separate messages when you've already made the point in another thread? cgf Sorry, I think individual package maintainer

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Lenik
On 2009-5-12 21:54, Corinna Vinschen wrote: On May 9 23:12, Lenik wrote: (This mail is encoded in utf-8) [...] The two chinese characters encoding in: GB2312: d7 c0 c3 e6 UTF-8: e6 a1 8c e9 9d a2 Unicode: \u684c \u9762 [...] This is a new test don't use cygpath: C:\Profiles\Shecti&

gzip, gunzip doesn't support locale settings

2009-05-12 Thread Lenik
(This mail is encoded in utf-8) bash-3.2$ ls .zip .gz bash-3.2$ echo $LANG bash-3.2$ export LANG=zh_CN.GBK bash-3.2$ ls 好.gz 你好 世界.zip bash-3.2$ gzip 你好 gzip: 你好: No such file or directory bash-3.2$ gunzip 好.gz gzip: 好.gz: No such file or directory FYI 你 = \u4f60 好 = \u

zip, unzip doesn't support locale settings

2009-05-12 Thread Lenik
(This mail is encoded in utf-8) bash-3.2$ ls .zip .gz bash-3.2$ echo $LANG bash-3.2$ export LANG=zh_CN.GBK bash-3.2$ zip a * zip warning: name not matched: 好.gz zip warning: name not matched: 你好 zip error: Nothing to do! (a.zip) bash-3.2$ unzip 世界.zip unzi

d tool doesn't support locale setting

2009-05-12 Thread Lenik
(This mail is encoded in utf-8) bash-3.2$ ls .zip .gz bash-3.2$ echo $LANG bash-3.2$ export LANG=zh_CN.GBK bash-3.2$ ls 好.gz 你好 世界.zip bash-3.2$ d 世界.zip /mnt/c/Profiles/Shecti/lt/世界.zip doesn't exist! FYI 你 = \u4f60 好 = \u597d 世 = \u4e16 界 = \u754c -- Unsubscribe in

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Lenik
On 2009-5-12 16:30, Corinna Vinschen wrote: On May 12 15:49, Lenik wrote: I'd like to know if there is any build plan to upgrade tools like d, zip, unzip, jar, etc. to support locale settings, rather than C only. So I can tell customers when our cygwin-based scripts will work for Chinese

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Lenik
On 2009-5-9 23:44, Corinna Vinschen wrote: On May 9 23:12, Lenik wrote: The same result, it shows that `cat' from binutils can support locale well, while `d' isn't. Ok, but that's not Cygwin's problem, just the d tool would need an update at one point, perhaps. OTO

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-09 Thread Lenik
On 2009-5-9 23:44, Corinna Vinschen wrote: On May 9 23:12, Lenik wrote: (This mail is encoded in utf-8) On 2009-5-9 18:02, Corinna Vinschen wrote: [Repeated and additional question. I accidentally sent this as PM. Sorry about that. Let's keep this on the list, please] On May 9

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-09 Thread Lenik
(This mail is encoded in utf-8) On 2009-5-9 18:02, Corinna Vinschen wrote: [Repeated and additional question. I accidentally sent this as PM. Sorry about that. Let's keep this on the list, please] On May 9 11:43, Lenik wrote: (My system locale is zh_CN) What ANSI codepage is that?

Re: Bug: Cygwin won't export environ vars to win32 programs, when the current work dir contains non-ascii characters.

2009-05-08 Thread Lenik
On 2009-5-4 16:43, Corinna Vinschen wrote: On Apr 29 16:20, Lenik wrote: (Following example is based on bash, but the same to ash, tcsh, ksh, etc., so this should be bug of cygwin.) [...] (2) With Chinese characters, most variables are lost: C:\Profiles\Shecti\??>bash -c &quo

Cygwin programs doesn't support non-ASCII filenames

2009-05-08 Thread Lenik
(My system locale is zh_CN) 1, test path >>> set LANG=& cygpath -am . C:/Profiles/Shecti/桌面 >>> set LANG=zh_CN.GBK& cygpath -am . C:/Profiles/Shecti/桌面 >>> set LANG=C& cygpath -am . C:/Profiles/Shecti/×ÀÃæ 2, the `test' utility >>> set LANG=& bash -c "D=$(cygpath -a

Can cygwin boot faster?

2009-04-29 Thread Lenik
not a good example, what I mean is, I must consider the start up cost in cygwin, I write scripts in bash, and using binutils etc. to get the programs look more elegant and more precise, and more portable, but If I consider too much start up cost, the result code must be very dirty. Any id

Cygwin default path, or system-wide environment?

2009-04-29 Thread Lenik
Here I means when running bash or other shell in non-interactive mode, how can I set up environment variables, and without touch the Win32 System Environment? Default PATH, for example. When PATH variable isn't set, there is a default PATH. But if you set the PATH variable, the default PAT

Re: Bash doesn't launch the applications directly.

2009-01-15 Thread Lenik
"Eric Blake" 写入消息 news:496f34bb.6080...@byu.net... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Lenik on 1/14/2009 5:59 PM: Hi, all I noticed that when bash launches a program, for example win32 notepad.exe or cygwin sleep, it in fact launches another bash which la

Bash doesn't launch the applications directly.

2009-01-14 Thread Lenik
ure. Any idea? Lenik -- 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/