Re: probe and set terminal type when shell is spawned

2006-09-07 Thread Carlo Florendo
Igor Peshansky wrote: On Fri, 8 Sep 2006, Carlo Florendo wrote: Hello, Is it possible for me to automatically set the TERM variable in bash depending on the type of my terminal. For example, these are the things I want to accomplish: 1. If I ssh into the cygwin box from an xterm on a Lin

Re: sshd is running as a service but cygwin and services.mmc thinks it's not

2006-09-07 Thread Igor Peshansky
On Thu, 7 Sep 2006, Ron Dozier wrote: > sshd has it's signals crossed. > > Summary: > > A program called active ports says sshd is running and windows and > cygrunsrv -Q sshd says it's not. Windows and cygwinsrv are both lying > since I can log in. The fact that you can log in says that sshd is

Re: probe and set terminal type when shell is spawned

2006-09-07 Thread Igor Peshansky
On Fri, 8 Sep 2006, Carlo Florendo wrote: > Hello, > > Is it possible for me to automatically set the TERM variable in bash > depending on the type of my terminal. > > For example, these are the things I want to accomplish: > > 1. If I ssh into the cygwin box from an xterm on a Linux box, I would

Re: Message: '/bin/bash: Permission denied' accessing server via ssh

2006-09-07 Thread Larry Hall (Cygwin)
alexandre oliveira wrote: I've installed cygwin version: cygrunsrv V1.16, Apr 27 2006 on Windows 2003 Server. I've used: ssh-host-config -y. The ssh was installed, the service is up and running, as follows: $ cygrunsrv.exe -Q sshd Service : sshd Displ

sshd is running as a service but cygwin and services.mmc thinks it's not

2006-09-07 Thread Ron Dozier
sshd has it's signals crossed. Summary: A program called active ports says sshd is running and windows and cygrunsrv -Q sshd says it's not. Windows and cygwinsrv are both lying since I can log in. I can't stop the service, because windows and cygwin think it's not started. but I can stop sshd.

probe and set terminal type when shell is spawned

2006-09-07 Thread Carlo Florendo
Hello, Is it possible for me to automatically set the TERM variable in bash depending on the type of my terminal. For example, these are the things I want to accomplish: 1. If I ssh into the cygwin box from an xterm on a Linux box, I would like TERM=xterm-color. 2. If I simply spawn a DOS

RE: Resource Temporarily Unavailable

2006-09-07 Thread Dave Korn
On 08 September 2006 00:56, Chris McIntosh wrote: > I have ran out of debugging ideas. Disable the "Logitech Process Monitor" service? (That's a huuge WAG btw. but it's been known to help before...) cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info

Re: Resource Temporarily Unavailable

2006-09-07 Thread Chris McIntosh
The actual error message was Message too long, which is the new mappnig you set for error 234 (ERROR_MORE_DATA) being returned from CreateProcess. I made a support call to microsoft and the reason this error is created is because any sub dll that CreateProcess might need will return its error thr

Message: '/bin/bash: Permission denied' accessing server via ssh

2006-09-07 Thread alexandre oliveira
I've installed cygwin version: cygrunsrv V1.16, Apr 27 2006 on Windows 2003 Server. I've used: ssh-host-config -y. The ssh was installed, the service is up and running, as follows: $ cygrunsrv.exe -Q sshd Service : sshd Display name: CYGWIN ssh

Re: Resource Temporarily Unavailable

2006-09-07 Thread Christopher Faylor
On Thu, Sep 07, 2006 at 04:28:13PM -0700, Chris McIntosh wrote: >Christopher, thanks for the quick response. > >Unfortunately it didn't change anything except we got a different error >message. Details are important. What was the actual error message? >Do you have any suggestions or pointers on

Re: Resource Temporarily Unavailable

2006-09-07 Thread Chris McIntosh
Christopher, thanks for the quick response. Unfortunately it didn't change anything except we got a different error message. Do you have any suggestions or pointers on how I can debug this further. Thanks Chris McIntosh On Thu, Sep 07, 2006 at 01:04:49PM -0700, Chris McIntosh wrote: Hello, I

stdio bug

2006-09-07 Thread Eric Blake
POSIX requires "When a standard utility reads a seekable input file and terminates without an error before it reaches end-of-file, the utility shall ensure that the file offset in the open file description is properly positioned just past the last byte processed by the utility." For an example,

Re: Resource Temporarily Unavailable

2006-09-07 Thread Christopher Faylor
On Thu, Sep 07, 2006 at 01:04:49PM -0700, Chris McIntosh wrote: >Hello, I work at a company where we have a complicated Linux build. We >use cygwin to mimic this build on windows for some of our windows >centric people. > >At different times when cygwin forks it will throw a Resource >temporarily U

Resource Temporarily Unavailable

2006-09-07 Thread Chris McIntosh
Hello, I work at a company where we have a complicated Linux build. We use cygwin to mimic this build on windows for some of our windows centric people. At different times when cygwin forks it will throw a Resource temporarily Unavailble error. I am tempted to call this "Random" because it doesn'

Re: Cannot execute binary file

2006-09-07 Thread Arun Biyani
Thx, very much. There are 2 files there exactly as you state. Arun Christopher Faylor wrote: On Thu, Sep 07, 2006 at 07:19:39PM +0100, Dave Korn wrote: On 07 September 2006 19:08, Arun Biyani wrote: Recently, I've run into this "cannot execute binary file" problem. I have not run this

Re: Cannot execute binary file

2006-09-07 Thread Christopher Faylor
On Thu, Sep 07, 2006 at 07:19:39PM +0100, Dave Korn wrote: >On 07 September 2006 19:08, Arun Biyani wrote: >>Recently, I've run into this "cannot execute binary file" problem. I >>have not run this program for 3-4 months but before that it would run >>fine in Cygwin. It was compiled and linked fo

RE: Cannot execute binary file

2006-09-07 Thread Dave Korn
On 07 September 2006 19:08, Arun Biyani wrote: > Recently, I've run into this "cannot execute binary file" problem. I > have not run this > program for 3-4 months but before that it would run fine in Cygwin. It > was compiled > and linked for Cygwin even though "file" command says linux. > [rom$:

RE: FW: Problems with bash+cygwin and longjmp

2006-09-07 Thread Dave Korn
On 07 September 2006 15:33, Pavel Ivanoff wrote: >> You probably have a faulty driver that is >> interfering with cygwin; popular candidates include McAfee >> virus scanner >> and Logitech webcam, although there are probably others. > > Can you say something about Symantec Antivirus? It's been

RE: FW: Problems with bash+cygwin and longjmp

2006-09-07 Thread Pavel Ivanoff
> You probably have a faulty driver that is > interfering with cygwin; popular candidates include McAfee > virus scanner > and Logitech webcam, although there are probably others. Can you say something about Symantec Antivirus? Pavel > -Original Message- > From: Eric Blake [mailto:[EM

Re: FW: Problems with bash+cygwin and longjmp

2006-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Pavel Ivanoff on 9/7/2006 6:57 AM: > Hi, all! > > Please tell me any suggestions about problem with bash+cygwin written > below. Also below there is an answer about this problem from bash-bug > mailing list. Probably exactly what I alrea

FW: Problems with bash+cygwin and longjmp

2006-09-07 Thread Pavel Ivanoff
Hi, all! Please tell me any suggestions about problem with bash+cygwin written below. Also below there is an answer about this problem from bash-bug mailing list. Best regards. Pavel Ivanov According to Pavel Ivanoff on 8/28/2006 12:50 AM: > Hi! > > We have a very strange and non-repeatable bu

Re: Screen 4.0.2 for cygwin

2006-09-07 Thread burning shadow
Thanks a lot! On 9/7/06, Loic Grenie <[EMAIL PROTECTED]> wrote: If anybody is interested, screen-4.0.2 compiles without too much trouble. Get the source from four favorite gnu mirror, apply the followin short patch and screen is yours. -- Unsubscribe info: http://cygwin.com/ml/#u

Screen 4.0.2 for cygwin

2006-09-07 Thread Loic Grenie
If anybody is interested, screen-4.0.2 compiles without too much trouble. Get the source from four favorite gnu mirror, apply the followin short patch and screen is yours. screen is a wonderful program that allows you to have several terminals inside one text terminal. Only one is v