delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/03/22:09:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 3 Aug 2003 22:09:23 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: stuart gear <s DOT gear AT auckland DOT ac DOT nz>
cc: cygwin AT cygwin DOT com
Subject: RE: Cursor is frozen in Vim and Emacs
In-Reply-To: <A7AD3E09F65A024C929B080CCF28BCC9F219D8@finxchange.fin.auckland.ac.nz>
Message-ID: <Pine.GSO.4.44.0308032205380.15297-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

Stuart,

While "term=ansi" would indeed work (somewhat), Cygwin termcap/terminfo
databases provide TERM values better suited to the individual console
programs, namely 'cygwin' for cmd.exe and 'rxvt' for rxvt.  It is
suggested that you use those for maximum compatibility.

Also, vim inherits the TERM value from the environment, as do other
programs.  It might be better to actually see where the environment TERM
value is set wrong and correct that instead.  As cgf mentioned, the
correct TERM value is set automatically, so all you have to do is remove
the override from wherever it is in your startup scripts.
	Igor

On Mon, 4 Aug 2003, stuart gear wrote:

> Thank you good sir !!!
>
> Inserted:
>
> set term=ansi
>
> in my vimrc and it works perfectly now :)
>
> Stuart
>
> -----Original Message-----
> From: Christopher Faylor [mailto:cgf-idd AT cygwin DOT com]
> Sent: Monday, 4 August 2003 1:34 p.m.
> To: cygwin AT cygwin DOT com
> Subject: Re: Cursor is frozen in Vim and Emacs
>
>
> On Mon, Aug 04, 2003 at 01:08:51PM +1200, stuart gear wrote:
> >...if I call up either Vim or Emacs, the cursor is frozen in the top
> >left.  It is impossible to move around, and if you type any characters,
> >the cursor stays in the same place and types over itself.  If I exit
> >the program and return to the shell, typing and the cursor keys return
> >to working perfectly again.
>
> It sounds very much like you are setting your TERM environment variable
> to something incorrect (e.g., vt100, ansi, linux, etc.), like anything
> at all other than the default, which is set for you automatically.
>
> See also:  http://cygwin.com/problems.html
>
> cgf

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
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