X-Spam-Check-By: sourceware.org Date: Mon, 11 Dec 2006 14:31:50 -0500 From: Bob Rossi To: cygwin AT cygwin DOT com Subject: sh problems Message-ID: <20061211193150.GK18095@cox.net> Mail-Followup-To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.12-2006-07-14 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi, I think that I have narrowed this down enough to say that this is a cygwin issue. Hopefully, I can get some advice on this list. If I run these commands in a dos window that I started nativly on the machine, C:\Documents and Settings\kelli>set PATH=C:\windows\system32;C:\windows;C:\msys\1.0\bin C:\Documents and Settings\kelli>sh --login -i bob AT white~ $ ls bin rcs tmp vigilant bob AT white~ $ Then everything works fine. Including vim. However, if I login via ssh and run this command, $ TERM=vt100 HOME=C:/msys/1.0/home/kelli +PATH=/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/msys/1.0/bin +/cygdrive/c/windows/system32/cmd /c sh --login -i bob AT white ~ $ ls ls bin rcs tmp vigilant The sh doesn't properly. echo is turned on, tab completion doesn't work, the arrows literally move you around the terminal... Also, ls doesn't know how to display the files properly. If I start vim I get $ vim vim Vim: Warning: Output is not to a terminal Vim: Warning: Input is not from a terminal Does anyone know why this would be? I've talked extensivly with the mingw-users list, and they aren't sure why. They recommended asking here if cygwin does something odd in the background. Thanks, Bob Rossi -- 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/