X-Spam-Check-By: sourceware.org Message-ID: From: Bas van Gompel Subject: Re: Call for testing Cygwin snapshot References: <20051130171137 DOT GE2999 AT calimero DOT vinschen DOT de> <20051221054648 DOT GA30866 AT trixie DOT casa DOT cgf DOT cx> Reply-To: cygwin mailing-list Organisation: Ehm... User-Agent: slrn/0.9.8.1 (Win32) Hamster/2.1.0.0 KorrNews/4.2 To: cygwin AT cygwin DOT com In-Reply-To: <20051221054648.GA30866@trixie.casa.cgf.cx> Lines: 63 Date: Wed, 21 Dec 2005 20:46:34 +0100 (MET) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Op Wed, 21 Dec 2005 00:46:48 -0500 schreef Christopher Faylor in <20051221054648 DOT GA30866 AT trixie DOT casa DOT cgf DOT cx>: : On Wed, Dec 21, 2005 at 05:16:34AM +0100, Bas van Gompel wrote: [Testing freshly built from a CVS-checkout on Dec 20...] : > This is on win 95 again... : > I commonly source a file containing among other things: '' : > /usr/sbin/sshd : > ''. With this build, when logging in (using '' : > ssh : > ''), a new console pops up. It didn't before. When using '' : > ssh bash -li : > '' two consoles pop up, and typing '' : > tty : > '' on the resultant prompt reports ''not a tty''. : > If I can help by providing more info, let me know. : Could retype that without the strange quoting and maybe provide a little What do you mean when you write: ``strange quoting''? : more explanation about what you mean by "source a file", i.e., provide : step by step instructions for duplicating the problem? On a bash-prompt started from cygwin.bat I type `` . startsshd '', where startsshd contains: `` #!/bin/bash sshd_pid=`ps |grep -i /usr/sbin/sshd |sed 's, *\([^ ]*\).*,\1,'` if test -z "$sshd_pid" ; then /usr/sbin/sshd ; sshd_pid=`ps |grep -i /usr/sbin/sshd |sed 's, *\([^ ]*\).*,\1,'` ; PS1='sshd='$sshd_pid';'$PS1 ; trap 'sshd_pid=`ps |grep -i /usr/sbin/sshd |sed '\''s, *\([^ ]*\).*,\1,'\''`;if test -n "$sshd_pid"; then kill $sshd_pid; else echo sshd not running!; fi' 0 ; else echo sshd already running';' pid=$sshd_pid';' ; fi ''. Then from another console or another machine, login as I described before. Now on the (w85) machine, one (ssh ) or two (ssh bash -li) extra blank consoles appear. If in the 2nd case (ssh bash -li), I type ``tty'' at the prompt from the console/machine where I logged in, it reports back: ``not a tty'', instead of the usual /dev/ttyN. Need more info? Ask. L8r, Buzz. -- ) | | ---/ ---/ Yes, this | This message consists of true | I do not -- | | / / really is | and false bits entirely. | mail for ) | | / / a 72 by 4 +-------------------------------+ any1 but -- \--| /--- /--- .sigfile. | |perl -pe "s.u(z)\1.as." | me. 4^re -- 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/