Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3B310B92.1060303@dufair.org> Date: Wed, 20 Jun 2001 15:46:10 -0500 From: Jason Dufair User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.1) Gecko/20010607 X-Accept-Language: en-us MIME-Version: 1.0 To: Michael Erdely Subject: Re: Editor to use with ssh'ing into NT server? References: <001301c0f97d$7b98e5e0$051865c6 AT merdely> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit FWIW, I tried it with NTEmacs (with bash as my shell) and got the same error. Michael Erdely wrote: >Can I make a guess that you're using cmd as your shell? > >You could write a batch file that starts bash launching vim and using >cygpath to map the Windows path to a Cygwin path for vim to understand. > >Your batch file could contain the following: >@echo off >c:\cygwin\bin\bash.exe -c '/usr/bin/vim "`cygpath -u %1`"' > >HTH, >-ME > >-----Original Message----- >From: cygwin-owner AT sources DOT redhat DOT com >[mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of David Edward >Shapiro >Sent: Tuesday, June 19, 2001 2:35 PM >To: 'cygwin AT cygwin DOT com' >Subject: Editor to use with ssh'ing into NT server? > > >I can't get an editor to work correctly when I ssh into NT server. I >get > > > >C:\winnt\profiles\mailmon>vim >vim >Vim: Warning: Output is not to a terminal >Vim: Warning: Input is not from a terminal > >I have set TERM to just about everything I can think of > >vt100 >ansi >cygwin > >but I do not get any better results. > >vim starts up, but the keyboard mappings are wrong. I can't use esc to >get >into command mode, i for insert, I can't scroll down in the file (you >just >see the first 12 or so lines). What are you all using to edit via an >ssh >connection into the nt boxes? Certainly there is some easy fix to this, >no >(i.e., ssh option, variable setting, etc.)? > >David > > >-- >Want to unsubscribe from this list? >Check out: http://cygwin.com/ml/#unsubscribe-simple > > > >-- >Want to unsubscribe from this list? >Check out: http://cygwin.com/ml/#unsubscribe-simple > -- Jason Dufair - jase AT dufair DOT org http://www.dufair.org/ "Wish I was a headlight on a northbound train I'd shine my light through the cool Colorado rain" -- The Grateful Dead -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple