About ENV?

2002-10-18 Thread Huang.
Why env in cygwin work like these: $ =aaa echo $ $ =aaa; echo $ aaa $ echo $ aaa Maybe it not correct? Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.

More broken under cygwin-1.3.13-2?

2002-10-21 Thread Huang.
I update cygwin to 1.3.13-2, but found more works incorrect. It just showed one page and then broken. I change back to 1.3.12-4, and it works fine. And, under cygwin 1.3.13-2, dumper does not work too, when update libintl2 from 0.11.2-2 to 0.11.5-1, because of function dcgettext__ no longer in

Re: Cygwin Emacs-X uses 99% of cpu

2002-11-12 Thread Huang.
"J. Scott Edwards" <[EMAIL PROTECTED]> wrote: I installed X windows, WindowMaker, and the cygwin X11 emacs a few days ago and it seemed to work fine at that time. But now when I try to run emacs from WindowMaker (or TWM) it starts sucking up all of the CPU (99%). If I run it in the background (v

Re: Cygwin Emacs-X uses 99% of cpu

2002-11-12 Thread Huang.
Igor Pechtchanski wrote: > On Wed, 13 Nov 2002, Huang. wrote: > > >>"J. Scott Edwards" <[EMAIL PROTECTED]> wrote: >> >>>[snip] >> >>Oh! I have this problem too. > > > For the archives: &g

Failed non-blocking connect returns incorrect errno on AF_UNIX protocol

2003-03-25 Thread David Huang
Failed non-blocking connect returns incorrect errno on AF_UNIX protocol. See attached test program. On cygwin: $ ./afunix EINPROGRESS: Operation now in progress On Linux 2.4 (Debian 2.2) Linux 2.4 (Redhat 7.3) Sun Solaris (8): $ ./afunix ECONNREFUSED: Connection refused When i comment following cod

Re: Failed non-blocking connect returns incorrect errno on AF_UNIXprotocol

2003-03-26 Thread David Huang
Corinna Vinschen wrote: On Wed, Mar 26, 2003 at 08:48:33AM +0800, David Huang wrote: Failed non-blocking connect returns incorrect errno on AF_UNIX protocol. See attached test program. On cygwin: $ ./afunix EINPROGRESS: Operation now in progress On Linux 2.4 (Debian 2.2) Linux 2.4 (Redhat 7.3

Re: Failed non-blocking connect returns incorrect errno on AF_UNIXprotocol

2003-03-26 Thread David Huang
Steven O'Brien wrote: On Wed, Mar 26, 2003 at 08:48:33AM +0800, David Huang wrote: Failed non-blocking connect returns incorrect errno on AF_UNIX protocol. I think it is unlikely that the app really needs the connect() call to be non-blocking (otherwise it would have to handle the in-pro

Re: Mozilla 1.3 built on cygwin?

2003-03-26 Thread David Huang
Christopher Faylor wrote: On Wed, Mar 26, 2003 at 09:59:19PM -0800, Randall R Schulz wrote: 2. Having a complex GUI app like Mozilla ported to Cygwin could prove to be a stick in which to measure and compare the over all efficiency and performance of Cygwin. If the "native" Moz

Eager to cooperate

2003-07-15 Thread Eileen Huang
ew to our website http://www.mellga.com. If you are interested in these products, please contact us freely by sending your e-mail to [EMAIL PROTECTED] Your early reply is highly appreciated. Eileen Huang Sales Department Better Source Asi

Re: wvWare and cygwin

2003-02-12 Thread David Huang
neal somos wrote: Then when I download the latest libiconv-1.8 run ./configure and then 'make' I get the following --- builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" includedir="$builddir/lib" make[1]: Entering directory `/home/nas0426/

Re: failed to make ddd-3.3.1

2003-02-23 Thread David Huang
On Wed, 19 Feb 2003 11:07:23 -0500, Kirschner, Paul E. UTRC wrote: Previous posts claimed ddd built "out of the box". My attempt (configure; make) failed... Making all in ddd make[1]: Entering directory `/home/kirschpe/ddd-3.3.1/ddd' c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/includ

Re: motif libs

2003-03-04 Thread David Huang
Darbin Rowland-p95674 wrote: I have the rpm files for i386 motif but I can't install them because I don't have rpm. How do you isntall rpms on cygwin? Thanks, Rowland Hi, Please google rpm cygwin first. here: http://sourceforge.net/projects/cygwin-rpm/ Unfortunately, it had discontinued. Yo

initdb failed

2004-01-02 Thread Jian Huang
em call was shmget(key=1, size=1081344, 03600). initdb: failed initdb: removing data directory "/my_data" Sincerely yours, Jian Huang -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

A simple question on font color

2002-05-03 Thread Ming Huang
Thank advanced for anyone can help. I guess that it will be a simple question just not obvious for a new cygwin user. I installed cygwin successfully. When I run it, there is a line of text in a message similar to this: "username@computer folder_path", from bash response. Its color is too

Getting all "man" pages?

2002-02-20 Thread Alan Huang
Dear all, May I ask that how do I obtain most other "man" pages that exist in Linux but not in Cygwin when you install Cygwin? I'm especially looking for "man" documents for most C functions. eg. gethostbyname() I'm sorry that I might be asking stupid, newbie questions, but I really couldn't

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 h

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-

1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Vincent Huang
when i try to import sqlite3 in python, it results: ... File "/usr/lib/python2.5/sqlite3/dbapi2.py" from _sqlite3 import * ImportError: No module name _sqlite3 Actually, i can't find any modules named _sqlite3 in /usr/lib/python2.5/. Did anyone meet this befor?

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Vincent Huang
nload/_testcapi.dll Fri May 18 21:02:55 2007 36864 usr/lib/python2.5/lib-dynload/_tkinter.dll Fri May 18 21:02:55 2007 6144 usr/lib/python2.5/lib-dynload/_weakref.dll On 11/5/07, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > * Vincent Huang (Mon, 5 Nov 2007

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-08 Thread Vincent Huang
Something about python sqlite3: sqlite3 is a embeded database engine, it doesn't need server to support database service. since sqlite3 is just some kind of lib for all kinds of object develop lanage, so i don't think for python to support sqlite3 need to install sqlite3 packet. in fact, t

cygserver handle leak problem

2008-01-17 Thread Huang Bambo
Use task manager to view detail of cygserver. Operations, I ran a program with ipc operation( I used msgget ,msgsnd, msgrcv , others didn't test). After that, use ipcs command to show ipcs, found message que. use ipcrm command to remove the message que. Repeat the operations, you will find the ha

Re: Re: cygserver handle leak problem

2008-01-20 Thread Huang Bambo
> On Jan 18 08:58, Huang Bambo wrote: > > Use task manager to view detail of cygserver. > > > > Operations, > > I ran a program with ipc operation( I used msgget ,msgsnd, msgrcv , > > others didn't test). > > After that, use ipcs command to show ipcs,

Re: `cygwinpath -D' could not display the Chinese character

2009-12-08 Thread Huang Bambo
It works fine on my computer. Is it the setting of your terminal tool cause this? 2009/12/9 �屺��o名氏 > > Is it easy to solve the problem? > > On Mon, Nov 30, 2009 at 17:44, Corinna Vinschen > wrote: > > Nothing has changed in this code. > > -- > Problem reports: http://cygwin.com/problems.h

Re: Cannot find -lcurses

2009-12-17 Thread Huang Bambo
2009/12/18 anand85 > > Hello all, >            I am trying to install a speech synthesis software called > 'Festival' through cygwin. But when i try to configure and install it > through the 'make' command i am getting an error like this: > > i686-pc-cygwin/bin/id: cannot find -lcurses > collect2:

Re: Cannot find -lcurses

2009-12-17 Thread Huang Bambo
2009/12/18 anand85 : > > Please find below the output of the cygcheck -c: > http://old.nabble.com/file/p26839344/New%2BPicture%2B%25287%2529.bmp > New+Picture+%287%29.bmp > You should have a symble link in /usr/lib like: lrwxrwxrwx 1 Bambo None 12 2009-11-21 12:10 libcurses.a -> libncurses.a

dumper gen core file with bad file name problem

2010-01-13 Thread Huang Bambo
If there's non-english char in the program start path( /tmp/中文 ), the generated core file's name will be wrong like the following: $ pwd /tmp/中文 [ba...@bambo-pc /tmp/中文] $ ls foo.c foo.exe foo.exe".core [ba...@bambo-pc /tmp/中文] the core file comes with a unexpected '"' my CYGWIN environment is

ls command crashed

2010-01-21 Thread Huang Bambo
[ba...@bambo-pc /cygdrive/c/Sandbox/Bambo/DefaultBox] $ ls 6 [main] -bash 1104 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0xC10A, errno 11 1628483 [main] -bash 1104 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code

Re: Error buildind cross development tools with crosstool-ng on Cygwin

2010-05-03 Thread Huang Bambo
I've successfully build a cross-tool for arm, everything seems fine. I use cygwin 1.7.5 with WinXP 32-bit. 2010/5/4 Jeff Gilton > > I am trying to build PowerPC development tools using crosstool-ng in Cygwin. > I have successfully build a toolchain in  Linux with crosstool-ng but have > not bee

vfork always fail problem

2010-05-13 Thread Huang Bambo
[ba...@bambo-notebook 4.4.4]$ cat tvfork.c #include #include #include int main(void) { pid_t pid = vfork(); if ( pid > 0 ) { printf("I'm chield.\n"); _exit(0); } else if ( pid == 0 ) { printf("I'm pa

Re: vfork always fail problem

2010-05-13 Thread Huang Bambo
Finally I test and get another result. I run the test program at /home/Bambo/test/t1/ but /home/Bambo/test is a symbolic link to another directory. Maybe it's the problem that the system handle symbolic 2010/5/14 Huang Bambo : > [ba...@bambo-notebook 4.4.4]$ cat tvfork.c > #include

Re: vfork always fail problem

2010-05-13 Thread Huang Bambo
LANG=en_US.GBK [ba...@bambo-notebook ARM9]$ ./tvfork.exe I'm parentI'm chield. 2010/5/14 Huang Bambo : > Finally I test and get another result. > I run the test program at > /home/Bambo/test/t1/ > but /home/Bambo/test is a symbolic link to another directory. > Maybe it's

Re: vfork always fail problem

2010-05-14 Thread Huang Bambo
2010, 06:29 Uhr, schrieb Huang Bambo: > >> [ba...@bambo-notebook 4.4.4]$ cat tvfork.c >> #include >> #include >> #include >> >> int main(void) >> { >>        pid_t pid = vfork(); >>        if ( pid > 0 ) >>    

Re: Cygwin 1.7.5 fork() bug

2010-05-17 Thread Huang Bambo
2010/5/17 Christopher Faylor : > On Mon, May 17, 2010 at 11:09:55AM +0800, Huang Bambo wrote: >>fork() may translate a wrong encoded path name to CreateProcessW in somecase. >> >>My cygwin version: >> >>$ uname -a >>CYGWIN_NT-5.1 bambo-notebook 1.7.5(

Re: vfork always fail problem

2010-05-18 Thread Huang Bambo
>  http://cygwin.com/snapshots/ > > To the OP: please check it out and verify that it solves your problem. > Thanks a lot. I've changed my work directory to a full English name directory and it dosn't matter me. And this problem is first reported by gcc, strange :) . > cgf > > -- > Problem report

Re: vfork always fail problem

2010-05-19 Thread Huang Bambo
> Huang, > > you - as the person who first saw and documented the problem in public > (thank you!) - are in the best position to test it, if you can recreate the > original situation (with the GBK(?) directory names). > > It would be beneficial to all of us, and you would

Re: vfork always fail problem

2010-05-19 Thread Huang Bambo
2010/5/20 Huang Bambo : >> Huang, >> >> you - as the person who first saw and documented the problem in public >> (thank you!) - are in the best position to test it, if you can recreate the >> original situation (with the GBK(?) directory names). >> >> It

Re: Environment variable problem

2010-05-23 Thread Huang Bambo
There is no pathname like d: in cygwin, use /cygdriver/d/ instead. 2010/5/23 Willie Vu : > > I set an environment variable in /etc/profile.d/env.sh that is loaded when > Cygwin starts, like the following: > > export M2_HOME=d\:/java/apache-maven-2.2.1 > > When it is echoed, it shows the value corr

Cygwin 1.7(even in 1.5) user logined through cygwin.bat can't show whit "w" command

2009-05-26 Thread Huang Bambo
As showed in the title. If I start a shell from cygwin.bat, the "w" and "who" command showed nothing while the shell from ssh can. And I also think the tty should be pts/x, not ttyx. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problem

GCC --enable-auto-import problem

2009-06-04 Thread Huang Bambo
1. download db-4.7.25 from oracle at http://www.oracle.com/database/berkeley-db/index.html (havn't tested on other version) 2. configure like : ../dist/configure --prefix=/home/Bambo/db-for-1.7 --enable-cxx --enable-pthread_api 3. make, it will take you a few minutes 4. write a program like : #incl

GCC --enable-auto-import problem

2009-06-04 Thread Huang Bambo
In cygwin 1.7: 1. download db-4.7.25 from oracle at http://www.oracle.com/database/berkeley-db/index.html (havn't tested on other version) 2. configure like : ../dist/configure --prefix=/home/Bambo/db-for-1.7 --enable-cxx --enable-pthread_api 3. make, it will take you a few minutes 4. write a prog

Re: Cygwin SSH Multiple Users

2009-06-05 Thread Huang Bambo
use command /usr/sbin/sshd to try start first And which cygwin version you use? 2009/6/5 Holikar, Sachin (ext) : > > > Hello, > > We reinstalled WINXP and CYGWIN with another dumps. But still not able to > start the sshd service. Really frustrated as we followed exact steps given in > most of th

Re: why /etc/bash.bashrc is not executed when logging in as a domain user?

2009-06-08 Thread Huang Bambo
/etc/bash.bashrc is called by $HOME/.bash_profile like:  17 # source the system wide bashrc if it exists  18 if [ -e /etc/bash.bashrc ] ; then  19   source /etc/bash.bashrc  20 fi Check your $HOME/.bash_profile at first. 2009/6/9 Pan ruochen > > Hi All, > > The system wide bashrc file /etc/bash

Re: Cygwin SSH Multiple Users

2009-06-09 Thread Huang Bambo
Everyone should mount by itself. 2009/6/9 Holikar, Sachin (ext) : > > > Hi, > > After enough tries we were able to start the sshd in our environment and > local users are also able to login. But in comes the next problem. > We have samba mounted a share onto this windows system. The user with whi

Re: FW: OpenSSH server installation error on Windows Vista Business/Ultimate

2009-06-11 Thread Huang Bambo
What's your trouble? 2009/6/12 David Christensen : > cygwin: > > I installed a fresh copy of Cygwin and a fresh copy of the Cygwin > OpenSSH service on a fresh installation of Windows Vista Ultimate SP1 > 32-bit yesterday: > > 1.  Download Cygwin Setup to C:\cygwin\setup\setup.exe. > > 2.  Run Cyg

Re: where to get c++ and java 4.0

2009-06-13 Thread Huang Bambo
cygwin 1.5 has gcc-4, but default is gcc3, and cygwin 1.7's default compiler is gcc4 2009/6/13 Marvin Hunkin : > hi. > where can i get the c++ and java 4.4 from this site? > and where to download? > can any one help. > cheers Marvin. > E-Mail: startrekc...@gmail.com >  Msn: startrekc...@msn.com >

Re: Optimize cygwin on recent windows version (Vista and Seven)

2009-06-15 Thread Huang Bambo
I guess it is because of some security specialty, check your settings. 2009/6/15 Vincent R. : > Hi, > > Until now I was using cygwin on Windows XP and I was satisfied by > cygwin-1.7 but these last few days > I switched to a more powerful laptop with very fast hardware (Core Duo 3.0 > Ghz and SSD

Re: ssh-host-config on Win2k3

2009-06-29 Thread Huang Bambo
Have you installed the packages needed? 2009/6/30 Zachary Dean > > Hello, > > I am having trouble geting the ssh host to start on windows server 2003, it > tells me that > the command 'ssh-host-config' is not found. I am also unable to start > 'ssh-user-config'. > I have 'ssh-host-config -y' an

updatedb crashed

2009-07-22 Thread Huang Bambo
$ updatedb assertion "ent->fts_info == FTS_NSOK || state.type != 0" failed: file "/usr/src/findutils-4.5.4-1/src/findutils-4.5.4/find/ftsfind.c", line 475, function: consider_visiting *** starting debugger for pid 28372, tid 27324 5 [sig] find 30340 try_to_debug: Failed to start debugger, Win

Re: [1.7] Updated: cygwin-1.7.0-52

2009-07-24 Thread Huang Bambo
The previous version support GBK code well but this version can't. I now can only use utf-8. > > 2009/7/24 Corinna Vinschen >> >> Hi folks, >> >> >> I just uploaded a new Cygwin 1.7 test release, 1.7.0-52. >> >> As it turns out, there are still two problems to fix(*) and our vacation >> schedule

Re: Can't get sshd to start on windows (Win32 error 1062)

2009-07-24 Thread Huang Bambo
Maybe it is the problem of the permission of /var/empty 2009/7/24 Marc : > I am having trouble getting the sshd service to start on windows.  I > have read everything that I can on-line and on the cygwin archives, > but I can't seem to find an answer. > I am running windows XP.  I installed cygwin

Backgroud program uanble to go back

2009-07-31 Thread Huang Bambo
Cygwin 1.7.52 to 1.7.54 After I use Ctrl+D to make a working vim background, the process will not comeback with fg command. I havn't test if other programs are the same. $ cygcheck.exe -c -s Cygwin Package Information Package Version Status _update-info-dir 00827-1

Re: Backgroud program uanble to go back

2009-08-01 Thread Huang Bambo
It's Ctrl+Z to take vime to background, it's a typing mistake. Command jobs can show jobs. But fg command will not take the process back. After enter fg command, no warning will given while exit current shell. 2009/8/1 Robert Mark Bram : > Hi Huang, > >> Cygwin 1.7.52 to

Re: $DISPLAY variable empty after SSHing

2009-08-03 Thread Huang Bambo
You must have you ssh tool make X forward enabled. 2009/8/4 mcoughlin : > > This may be confusing because I have to SSH twice to reach the computer I > work on. > > On my home computer, I begin by starting the X server. I run the command: > > bash-3.2$ echo $DISPLAY > :0.0 > > And so it seems to b

Re: [1.7] Updated: cygwin-1.7.0-56

2009-08-03 Thread Huang Bambo
I confirm this problem. After ls command can't list anything, command "strace ls" will work with correct result. 2009/8/4 Jim Reisert AD1C : > I did NOT have the problem on my work PC.  I do have the problem on my > home PC (even after rebooting).  Home is running Wnidows SP3, work is > running Wi

Re: [1.7] Updated: cygwin-1.7.0-56

2009-08-03 Thread Huang Bambo
Try release 51, it's the last stable version for me. 2009/8/4 Jim Reisert AD1C : > I removed the *56* release file from my Cygwin install directory and > tried a re-install.  Now in a DOS window, when I try to start TCSH, I > get: > > f:\>tcsh >      3 [main] tcsh 6028 _cygtls::handle_exceptions:

Re: Please test the latest snapshot! (was Re: [1.7] Updated: cygwin-1.7.0-56)

2009-08-04 Thread Huang Bambo
The ls can't show file problem and vim go back forground problem seems fixed. 2009/8/4 Christopher Faylor > > On Tue, Aug 04, 2009 at 12:49:03AM -0400, Christopher Faylor wrote: > >On Mon, Aug 03, 2009 at 11:42:40PM -0400, Christopher Faylor wrote: > >>On Mon, Aug 03, 2009 at 09:21:35PM -0600, Ji

Re: Bad system call when calling msgsnd

2009-08-10 Thread Huang Bambo
Run "net star cygserver" first 2009/8/10 Scott > > When I compile and run the following example code within cygwin (gcc msgsnd.c > -o msgsnd), I get an error "Bad system call" > > This seems to be a bug; it runs fine under linux. > > #include > > int main() { >   int msqid = 0; >   int rc; >  

Re: No etc/passwd (was) Re: (everything!) command not found

2009-08-16 Thread Huang Bambo
I think you should learn some basic unix knowledge first. 2009/8/16 DY > > I figured out my old problem, but now I have no /etc/passwd.  How do I create > one? > I'd use vi, but I don't know what one should look like.  Is there an example > somewhere? > > In case anyone else ever needs this, if

PostgerSQL startup script bug

2009-08-18 Thread Huang Bambo
The cygwin 1.7 don't need “server” tag in CYGWIN environment but the start up of postgresql 8.2.11 checked this tag. code: 131 check_cygserver() { 132 # Check for running cygserver processes first. 133 if ps -ef | grep -v grep | grep -q cygserver 134 then 135 echo -n "- cygserv

Re: flex package requires m4

2009-08-23 Thread Huang Bambo
There's a package named m4. You should install it. 2009/8/24 Karl M > > Hi All... > > I just tried to use mlcscope on cygwin 1.7 but it hung at 100% cpu building > the data base. So I decided to download and build cscope 15.7a. It builds > OOTB, but along the way, I noticed that flex depends on

Re: Find cron failed script

2009-08-25 Thread Huang Bambo
Just add the cygwin's searh path at the beginning of PATH environment 2009/8/26 Wes S : > Drove myself nuts trying to figure out why my script ran fine from a > console and died under cron. > > Find is part of w2k,  cron doesn't seem to have a path unless I tell > it to.  I got the following: > >

Re: Can't get SSHD started after successfully running sshd-host-config‏

2009-09-21 Thread Huang Bambo
Try run /usr/sbin/sshd and tell me the output. 2009/9/22 Kyle Stanek > > > Hello, > > I'm having trouble getting the sshd service running under > cygwin.  I am running Cygwin on Windows XP SP3.  I have successfully > run ssh-host-config, however I get errors when I try and start the > service us

xsi ipc can't work under 1.7.0-063

2009-11-05 Thread Huang Bambo
cygserver service runs well but "ipcs" command report bad system call. Other programs need ipc operator also can't run now. I rollbacked to 1.7.0-062 and it seems everything goes fine -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentat

Encoding problem

2009-11-09 Thread Huang Bambo
Under 1.7.0-063: I use the following code to remove files: find . -name ".svn" | xargs -L 1 rm -rf and the result is all file without Chinese code in the path are removed but others not. I guess maybe 'find' and 'xargs' or 'rm' didn't use the same encoding make those problem. -- Problem reports:

Re: Encoding problem

2009-11-09 Thread Huang Bambo
Sorry, my mistake. 2009/11/9 Huang Bambo : > Under 1.7.0-063: > > I use the following code to remove files: > find . -name ".svn" | xargs -L 1 rm -rf > > and the result is all file without Chinese code in the path are > removed but others not. > I guess maybe &#x

ls and cd command don't use the same encoding

2009-11-09 Thread Huang Bambo
Under 1.7.0-63,64 With mintty export LANG=en_US.UTF-8 export LC_TYPE=zh_CN.UTF-8 ls can list some directory in Chinese but cd command can't enter it. If I set encoding to GBK, mintty works fine but ssh can't do so then. $ cd /tmp [ba...@revenco-bambo /tmp] $ ls 中文 [ba...@revenco-bambo /tmp] $ cd

Re: [1.7] Updated: cygwin-1.7.0-65

2009-11-19 Thread Huang Bambo
I think there maybe some bug with new "socket duplication" function. While I use ssh to connect remote cygwin, with previous version of cygwin, after type exit command, shell will close and sshd will close the connection forwardly but with 65 version connection will not close by sshd untile I type

Re: [1.7] Updated: cygwin-1.7.0-65

2009-11-20 Thread Huang Bambo
continue; } } } } printf("Parent %d close server socket %d\n", getpid(), sock_fd); close(sock_fd); return 0; } 2009/11/20 Corinna Vinschen : > On

Re: [1.7] Updated: cygwin-1.7.0-65

2009-11-20 Thread Huang Bambo
I don't think it's a SO_LINGER situation, at least there's no data to send in my test code. 2009/11/21 Christopher Faylor : > On Sat, Nov 21, 2009 at 12:03:05PM +0800, Huang Bambo wrote: >>Sorry for my bad expression. I mean the fd duplicated by fork() will >>not

Re: [1.7] Updated: cygwin-1.7.0-65

2009-11-20 Thread Huang Bambo
2009/11/21 Christopher Faylor : > On Sat, Nov 21, 2009 at 12:03:05PM +0800, Huang Bambo wrote: >>Sorry for my bad expression. I mean the fd duplicated by fork() will >>not be close >>by both parent and child. >>The following code listen on port , parent process f

Re: [1.7] Updated: cygwin-1.7.0-65

2009-11-21 Thread Huang Bambo
2009/11/21 Corinna Vinschen : > On Nov 21 12:03, Huang Bambo wrote: >> Sorry for my bad expression. I mean the fd duplicated by fork() will >> not be close > > Thanks for the testcase but can you still please send the output > of the test application I sent in > http://c

Re: [1.7] Updated: cygwin-1.7.0-65

2009-11-21 Thread Huang Bambo
And there's another quesiton: The handle of chile process( created by fork ) seems never been closed bye parent process. Is it need to be closed? 2009/11/22 Corinna Vinschen : > On Nov 21 23:43, Huang Bambo wrote: >> $ gcc-3 -mno-cygwin -g -o dup-sock dup-sock.c -lws2_32 -lntdll &g

Re: Cannot run SSH

2009-11-21 Thread Huang Bambo
run /usr/sbin/sshd directly and check if it can start. 2009/11/22 baykusderki : > Hello, > > In the past I have managed to install Cygwin and SSH on multiple computers. > All of them are running fine and serving SSH just fine. So I am not that new > to installing this stuff. > > At the moment I am

Re: [1.7] Updated: cygwin-1.7.0-65

2009-11-23 Thread Huang Bambo
2009/11/23 Corinna Vinschen : > On Nov 22 09:33, Huang Bambo wrote: >> And there's another quesiton: >> The handle of chile process( created by fork ) seems never been closed >> bye parent process. Is it need to be closed? > > I don't understand the question

Re: [1.7] Updated: cygwin-1.7.0-65

2009-11-23 Thread Huang Bambo
2009/11/23 Corinna Vinschen : > On Nov 23 17:43, Huang Bambo wrote: >> 2009/11/23 Corinna Vinschen : >> > On Nov 22 09:33, Huang Bambo wrote: >> >> And there's another quesiton: >> >> The handle of chile process( created by fork ) seems never been cl

Re: Defunct processes with 1.5.25-15; seemingly reproducible

2009-11-26 Thread Huang Bambo
2009/11/27 Dave Steenburgh > > cgf wrote: > > Defunct processes are not necessarily indicative of a cygwin problem. > > This could easily be a problem with gnuplot. > > Given the sum of my own limited knowledge of the problem at hand (in > summary: every program involved is in my local cygwin dire

Re: how to get the windows PATH env in cygwin

2009-11-30 Thread Huang Bambo
2009/12/1 �屺��o名氏 : > What i mean is that, how to only get the env path of windows, such as, > `C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem". > > `echo $PATH' would display the path of cygwin: > echo $PATH > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin > D

Question about porting eCAP

2014-10-22 Thread DongMing Huang
Hi. Recently, I want run squid with eCAP feature on windows. Now, I have compiled eCAP-0.2.0 on cygwin. As a result, I some files as follow. --eCAP- DDD@DDD-PC /usr/local/lib $ ls libecap.a libecap.la pkgconfig DDD@DDD-PC /usr/local/

QT 3.3.8 doesn't work for GUI

2010-06-23 Thread Peter Huang
Has anybody noticed the problem with QT (qt3.3.8)? The GUI executive compiling with it doesn't work, I have to keep a copy of old qt3.3.4 to work. Also if you use "designer" which is part of qt3.3.8, it gives you error "Mutex lock faiture" and stops. -- Problem reports: http://cygwin.com

Re: DHCP and resolv.conf

2010-06-27 Thread Huang Bambo
It's not possible. DHCP is handled by Windows, not by cygwin. 2010/6/27 Alex Leigh > > Hi, > > Apologies if this has been asked before, but is it possible to have > /etc/resolv.conf in Cygwin to be automatically updated with > nameservers obtained using DHCP from Windows networking? Thanks. > > A

Re: Cygwin extremely slow after updating from 1.5.1 to 1.7.5

2010-07-11 Thread Huang Bambo
Use "strace ls" and "strace -t ls" and attach the output first. 2010/7/12 Jet Thompson > > It is now taking over 30 seconds for bash to come up, > whereas in 1.5 it would take 1-2 seconds. > > Doing an ls of my ~ directory takes 5 seconds. > > Running a cucumber test takes 5-6 minutes. > > Any id

Re: XWin seg fault on Vista (cygwin 1.7)

2010-07-12 Thread Peter Huang
Xwin doesn't work with Windows XP as well. But when I update all X11 libraries (libxcb) from version 1.6-1 to 1.5-1, Xwin works. --- On Fri, 7/9/10, Larry Hall (Cygwin) wrote: > From: Larry Hall (Cygwin) > Subject: Re: XWin seg fault on Vista (cygwin 1.7) > To: cygwin@cygwin.com > Date: Frid

Re: cygwin case-sensitivity: more picky than linux, by default/w no option?

2010-07-13 Thread Huang Bambo
cygwin is more like RedHat than Suse and there's many diffirence between diffirent linuxes 2010/7/14 Linda Walsh : > How many different versions of 'man' are there, anyway? > > I've always wondered why cygwin's was so different from the few > linux versions I've seen -- bug especially in this sens

Re: cygwin 1.7.5 psql does not run

2010-07-20 Thread Huang Bambo
Maybe your psql command linked to a wrong cygpq.dll. 2010/7/21 David Einstein : > Windows 7 64 bit > > When I run the cygwin provided psql it immediately returns.  Even if I > run 'psql --help' or 'psql -v'. > > I tried recompiling postgres from source, and got the same behavior. > > All the dlls

Re: cygwin 1.7.5 psql does not run

2010-07-20 Thread Huang Bambo
2010/7/21 David Einstein : > Huang Bambo: >> Maybe your psql command linked to a wrong cygpq.dll. > > I tried reloading all of the cygwin packages related to postgres to no > avail.  Would a locally compiled cygpq.dll be better? use ldd command and list the dll's used by

When will the next gcc come out

2010-07-23 Thread Huang Bambo
The current gcc( 4.3.4 ) has some bug with O3 option. it will optimized out some needed code in some case. I meet this bug when I compile ACE library. If I use O2 option, everything goes fine. So, maybe many people may waiting for the new version. :> Thanks ! -- Problem reports: http://cygwi

Re: When will the next gcc come out

2010-07-23 Thread Huang Bambo
2010/7/23 Andy Koppe : > On 23 July 2010 09:24, Huang Bambo wrote: >> The current gcc( 4.3.4 ) has some bug with O3 option. it will >> optimized out some needed code in some case. >> I meet this bug when I compile ACE library. >> If I use O2 option, everything goes

Re: Runtime SEGV from gcc -O3 -march=native

2010-07-26 Thread Huang Bambo
Use -O2 instead, I also have trouble on use -O3. 2010/7/27 Joseph Quinsey : > Again, just FYI, with a simpler example, and with -march=native replaced by > k8 or athlon64. > > Source code: > > int main(void) { >    static int foo[4]; >    int i; >    for (i = 0; i < 4; i++) >        foo[i] = 0; >

cygwin 1.7 lock directory problem

2010-08-17 Thread Huang Bambo
cygwin version: 1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin I don't know if this happen to previous version or not. If I first cd to a directory, for example /cygdriver/x then cd to a virtual directory, for example /proc the /cygdriver/x will be locked untile I change director to other non-virt

Re: cygwin 1.7 lock directory problem

2010-08-17 Thread Huang Bambo
> > Do you have a series of steps that produces the problem you see? > As I said in previous mail. 1. cd /cygdriver/i( I is mounted as a usb-stick) 2. cd /proc 3. Use some tools such as Unlocker to check driver I, Unlocker said driver I is locked by bash. 4. cd / ( / is at d:\cygwin )

Re: cygwin 1.7 lock directory problem

2010-08-18 Thread Huang Bambo
2010/8/18 Eric Blake : > On 08/18/2010 05:08 AM, Corinna Vinschen wrote: Looks like this behaviour is a problem and we should better close the old handle.  What to do with the new one?  Just set it to NULL and disallow stackdumps as long as we're in a virtual path?  Or set it to

Re: build cygwin apps on linux

2010-08-19 Thread Huang Bambo
I've build gcc 4.4.0 for arm in cygwin. 2010/8/20 Slide : > I've looked through the archives and saw some messages about building > a cross-compiler to build cygwin apps on linux, but most of those > messages/articles are pretty old. Has anyone done this recently with > more recent GCC and Cygwin

Re: libpq: problem with shared library

2010-10-06 Thread Huang Bambo
Can you give the outpuoutput of 'ldd pqtest' ? 2010/10/6 Tomáš Hajas > > Hello, > > I'm trying to use PostgreSQL C API under Cygwin, but libpq attempts load a > very > strange shared library. On run-time it states: > "error while loading shared libraries: ?: cannot open shared object file: No >

Re: Connection timed out

2010-10-30 Thread Huang Bambo
Check your system firewall settings first. On Sat, Oct 30, 2010 at 3:37 PM, KeithLaw wrote: > > Hi, > > I have set up the ssh server(cygwin) and it works fine for "ssh > [userna...@localhost" in my command prompt  at server but it doesn't work > for "ssh [userna...@192.168.x.xx" which is also loc

gdb bt gives many question marks

2013-03-14 Thread Ken Huang
Hi all, I have a problem when using gdb to debug my program in cygwin, the 'bt' command gives me many '??'. So I write a quite easy program named abort.c which just aborts. after compiled with "gcc -g abort.c -o abort" and run with " gdb abort", it aborts as expected. At this time I type "bt" in

Re: gdb bt gives many question marks

2013-03-14 Thread Ken Huang
2013/3/14 jojelino : > On 2013-03-14 PM 4:37, Ken Huang wrote: >> >> Hi all, >> >> I have a problem when using gdb to debug my program in cygwin, the 'bt' >> command >> gives me many '??'. >> (gdb) bt full >> #0 0x7c92

Re: heic to jpg conversion

2022-10-01 Thread ambrose huang
Hello, I have Cygwin with imagemagick 7.0.10-27 and I installed libheif just in case. But when I try to convert from heic to jpg I get the following error: $ magick test.heic test.jpg magick: no decode delegate for this image format `HEIC' @ error/constitute.c/ReadImage/562. $ mogrify -format

Exception handling across dll?

2002-03-31 Thread Yi-An Huang
Does the shared library linking currently handle C++ exception handling across dll properly? I have a sample program which tries to throw some exception in dll and catch it in main program, which fails. If I use static linking, it works. The program uses autoxxx/libtool and is heavily borrowed fr

Oct. pthread problem seems still there

2004-11-22 Thread Peter Xiaochuan Huang
I am using pthread extensively in my program and I am getting problem from pthread similar to those posted in October in this same mailing list. The problems can described as below: 1. It seems that main execution thread randomly hangs while the dispatched threads are joined or collected. It happ

gcc exception handling

2004-10-12 Thread Peter Xiaochuan Huang
that is related or not. Anybody else has similar problem ? Any suggestion? -Peter X Huang -- 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   2   >