This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Editor to use with ssh'ing into NT server?


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@sources.redhat.com
>[mailto:cygwin-owner@sources.redhat.com] On Behalf Of David Edward
>Shapiro
>Sent: Tuesday, June 19, 2001 2:35 PM
>To: 'cygwin@cygwin.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@dufair.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]