delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/18/13:12:11

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
Message-ID: <A7AF87D6496DD411B50A00D0B76DEB2C1E6F5E@EX2BEBREYMBX02>
From: Darius DOT Clynes AT cec DOT eu DOT int
To: cygwin AT cygwin DOT com
Subject: RE: newbie qns
Date: Wed, 18 Jul 2001 19:00:40 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

I got vi syntax to work under rxvt by setting  TERM=cygwin.

here is the command that worked for me (from normal cygwin bash)

rxvt -e vi -T cygwin -c "syntax on" yourfile.c &

i also made an alias

alias vix='rxvt -e vi -T cygwin -c "syntax on"'

then just say

vix yourfile.c &

hopes this works for you.


>-----Original Message-----
>From: Michael Schaap [mailto:cygwin AT mscha DOT com]
>Sent: Tuesday, July 17, 2001 11:08 PM
>To: Arafat Mohamed; cygwin AT cygwin DOT com
>Subject: Re: newbie qns
>
>
>At 22:23 17-7-2001, Arafat Mohamed wrote:
>>2) Why can't I get color syntaxing when I use rxvt? I can use 
>it fine in a
>>normal cygwin shell
>
>Assuming you're talking about vi(m), make sure TERM=rxvt.
>(For some reason, rxvt sets TERM=xterm.)
>
>  - Michael
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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