delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | "Michael Erdely" <cygwin AT cygwin DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Editor to use with ssh'ing into NT server? |
Date: | Wed, 20 Jun 2001 07:38:09 -0400 |
Message-ID: | <001301c0f97d$7b98e5e0$051865c6@merdely> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook, Build 10.0.2616 |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2462.0000 |
In-Reply-To: | <549AB966B45DD311A58A0000E86CEA8D0CAED5F2@postoffice.btitele.com> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |