delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/11/14:32:18

X-Spam-Check-By: sourceware.org
Date: Mon, 11 Dec 2006 14:31:50 -0500
From: Bob Rossi <bob_rossi AT cox DOT net>
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
User-Agent: Mutt/1.5.12-2006-07-14
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019