Re: localtime and TZ

2010-10-30 Thread Ken Brown
On 10/30/2010 3:24 PM, Christopher Faylor wrote: This should be fixed in the next snapshot. Confirmed. Thanks. And this fixes the timezone bug that's described in /usr/share/doc/Cygwin/emacs.README. The workaround given there (defining TZ before starting emacs) is no longer necessary. Ke

Re: cygwin-1.7.7: tclsh84 does not pass environment to exec sub-process

2010-10-30 Thread Craig Miller
Hi Stas, This may help you. I had the need to compile a more recent version of expect on cygwin for my open source project expect-lite. Expect is built on TCL, and I used the most recent version 8.5.9. http://expect-lite.sourceforge.net/expect-lite_cygwin.html I have put the recent version of

Re: localtime and TZ

2010-10-30 Thread Christopher Faylor
On Sat, Oct 30, 2010 at 01:53:11PM -0400, Ken Brown wrote: >How's the attached patch? I'm not set up to build cygwin1.dll, so I >can't test it right now. I hope the intent is clear in case I got >something wrong. That would do it, yes. I chose to just track the initialization state in lcl_is_

Re: localtime and TZ

2010-10-30 Thread Ken Brown
On 10/30/2010 8:58 AM, Ken Brown wrote: I've looked at Cygwin's localtime.cc, and the behavior I'm complaining about is caused by the following code at the beginning of tzset: const char *name = getenv("TZ"); if (name == NULL) { if (!lcl_is_set)

Re: Connection timed out

2010-10-30 Thread KeithLaw
It works now. There is another freeware firewall installed on the system although I have disabled the windows firewall.. Many many thanks for your advice and patience. :) Dawud Medina wrote: > > On Sat, Oct 30, 2010 at 09:38:05AM -0700, KeithLaw wrote: >> >> This is the output. >> >> 6. Here

Re: Connection timed out

2010-10-30 Thread David Sastre
On Sat, Oct 30, 2010 at 09:38:05AM -0700, KeithLaw wrote: > > This is the output. > > 6. Here is the debug messages. > debug1: Reading configuration data /etc/ssh_config > debug1: Applying options for * > debug2: ssh_connect: needpriv 0 > debug1: Connecting to 192.168.x.xx [192.168.x.xx] port

Re: Connection timed out

2010-10-30 Thread KeithLaw
Yes, I tried with the default settings and the same time out result appears. My platform is windows 7 and not sure if there is any compatibility issue. Jeremy Bopp-3 wrote: > > On 10/30/2010 09:41 AM, KeithLaw wrote: >> 4. I modified the ssh_config as below. > > > >> 5. I modified the sshd_

Re: Connection timed out

2010-10-30 Thread KeithLaw
This is the output. 6. Here is the debug messages. debug1: Reading configuration data /etc/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 192.168.x.xx [192.168.x.xx] port 22 debug1: connect to address 192.168.x.xx port 22: Connection timed out

Re: Connection timed out

2010-10-30 Thread David Sastre
On Sat, Oct 30, 2010 at 07:41:39AM -0700, KeithLaw wrote: > > 1. can ping 192.168.x.xx. > 2. I didn't install telnet program. > 3. There are many entries for listening and here are the main entries > TCP 0.0.0.0:22 0.0.0.0:0 LISTENING > TCP 192.168.x.xx:22 0.0.0.0:0 LISTENING > > 5. I modified th

Re: Connection timed out

2010-10-30 Thread Jeremy Bopp
On 10/30/2010 09:41 AM, KeithLaw wrote: > 4. I modified the ssh_config as below. > 5. I modified the sshd_config as below > That's it for my settings but still cannot connect. Did you try any of this with default settings for sshd_config and ssh_config before making your modifications to the

Re: Connection timed out

2010-10-30 Thread KeithLaw
Hi, Thanks for your reply but I have turned off all the firewall. Huang Bambo wrote: > > 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

Re: Connection timed out

2010-10-30 Thread KeithLaw
Hi, Thanks for your reply and still doesn't work for some testings. Here are the details. 1. can ping 192.168.x.xx. 2. I didn't install telnet program. 3. There are many entries for listening and here are the main entries TCP 0.0.0.0:22 0.0.0.0:0 LISTENING TCP 192.168.x.xx:22 0.0.0.0:0 LISTENING

Re: Slowdown after update on Win32 (XP Home)

2010-10-30 Thread Michael Ludwig
Michael Ludwig schrieb am 07.10.2010 um 00:27 (+0200): > SZABÓ Gergely schrieb am 06.10.2010 um 23:30 (+0200): > > > > please see this thread (test scripts included): > > http://cygwin.com/ml/cygwin/2010-09/msg00871.html > > Thanks, Gabor - I saw your thread, which reinforces my belief that it >

Re: localtime and TZ

2010-10-30 Thread Ken Brown
On 10/30/2010 8:43 AM, Ken Brown wrote: On 10/29/2010 7:17 PM, Ken Brown wrote: On 10/29/2010 6:16 PM, Eric Blake wrote: On 10/29/2010 04:11 PM, Ken Brown wrote: Thanks, Eric. I didn't know about any of this. (I was using a modification of a configure test from the emacs sources.) Probab

Re: localtime and TZ

2010-10-30 Thread Ken Brown
On 10/29/2010 7:17 PM, Ken Brown wrote: On 10/29/2010 6:16 PM, Eric Blake wrote: On 10/29/2010 04:11 PM, Ken Brown wrote: Thanks, Eric. I didn't know about any of this. (I was using a modification of a configure test from the emacs sources.) Probably worth pointing it out to the emacs ups

Re: Connection timed out

2010-10-30 Thread David Sastre
On Sat, Oct 30, 2010 at 12:37:09AM -0700, 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 localhost. I have turned off > all th

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

Connection timed out

2010-10-30 Thread KeithLaw
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 localhost. I have turned off all the windows firewall. The error message is: ssh: connect to host 192.168