From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9106 invoked by alias); 12 Dec 2011 06:31:57 -0000 Received: (qmail 9093 invoked by uid 22791); 12 Dec 2011 06:31:55 -0000 X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_RX X-Spam-Check-By: sourceware.org Received: from mail.vidiot.com (HELO mrvideo.vidiot.com) (75.100.112.198) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Dec 2011 06:31:40 +0000 Received: from localhost ([127.0.0.1] helo=mrvideo.vidiot.com) by mrvideo.vidiot.com with esmtp (Exim 4.69) (envelope-from ) id 1RZzQJ-0002ri-P4 for cygwin@cygwin.com; Mon, 12 Dec 2011 00:31:39 -0600 Received: (from brown@localhost) by mrvideo.vidiot.com (8.13.8+Sun/8.13.8/Submit) id pBC6VVja011017 for cygwin@cygwin.com; Mon, 12 Dec 2011 00:31:31 -0600 (CST) Date: Mon, 12 Dec 2011 06:31:00 -0000 From: Mike Brown To: cygwin@cygwin.com Subject: Re: Latest cygwin.bat - need one Message-ID: <20111212063131.GE4028@mrvideo.vidiot.com> References: <20111212054801.GD4028@mrvideo.vidiot.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111212054801.GD4028@mrvideo.vidiot.com> User-Agent: Mutt/1.5.17 (2007-11-01) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-12/txt/msg00260.txt.bz2 On Sun, Dec 11, 2011 at 11:48:01PM -0600, Mike Brown wrote: > As a result of there not being a sample, my current bat file will not > correctly start my Z-shell. Most of the time double-clicking on the shortcut > results in the program (CMD) flashing on the screen and going away. When it > does manage to stick, it seems to fail to start the zsh login process, i.e., > the reading on my .z* startup files. That results in any entered characters > being ignored, as there isn't a prompt there to accept input. >From what I can discover, the default cygwin.bat file does not use rxvt. It has been a while since I first installed cygwin. I was starting my shell with the following line: rxvt -e zsh --login -i That got me the window, but not the shell. Doing some more digging I found the following posting (via google): > Does changing 'bash' to '/bin/bash' make a difference? Answering my own question: yes. There was a change in execvp()'s behaviour to no longer look up an executable in the current working directory, wasn't there? I can't find it in the ChangeLog though. You've got to be kidding. Why was the looking into CWD removed? Probably beating a dead horse. Suggestions for document improvement: FAQ addition to show how to modify the cygwin.bat file, or a copied file for modification, in order to be able to run rxvt to start a better terminal. This would solve the issue of users upgrading and their BAT file being broken. Be sure to explain that "/bin/" is now required. Same thing with the main documention. There are pieces about starting the shell, but absolutely nothing about using a better terminal (rxvt) and how to start/configure it. Hell, why not make the use of rxvt standard in the default BAT file. The rxvt terminal is many times superior to the Windblows cmd terminal. The only thing left now is getting ssh configured correctly so that I can remotely log into the Windblows box using ssh. The two config scripts failed to provide a working config. The remote login fails at the password checking. MB -- e-mail: vidiot@vidiot.com | vidiot@vidiot.net /~\ The ASCII [I've been to Earth. I know where it is. ] \ / Ribbon Campaign [And I'm gonna take us there. Starbuck 3/25/07] X Against Visit - URL: http://vidiot.com/ | http://vidiot.net/ / \ HTML Email -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple