This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: newbie qns
- To: cygwin at cygwin dot com
- Subject: RE: newbie qns
- From: Darius dot Clynes at cec dot eu dot int
- Date: Wed, 18 Jul 2001 19:00:40 +0200
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@mscha.com]
>Sent: Tuesday, July 17, 2001 11:08 PM
>To: Arafat Mohamed; cygwin@cygwin.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/