Re: [dwm] uxterm - no syntax highlighting in "vi"

From: A A <tsinivla_AT_gmail.com>
Date: Wed, 8 Aug 2007 20:51:58 -0600

I managed to get this to work with your suggestions and a "-i".

Much thanks James!

Regards,
-Al

On 8/7/07, James Turner <james_AT_bsdgroup.org> wrote:
>
> On Tue, Aug 07, 2007 at 10:57:40AM -0600, A A wrote:
> > Greetings everyone!
> >
> > I'd like to write a script which will open up a bunch of uxterms & vim
> but
> > for some reason I don't get any colors? I've check all environment
> > variables and in vim "syntax on" won't work.
> > Anyone have any ideas or is there a better to do this?
> >
> >
> > #get file list
> > #open all files with:
> >
> > uxterm -bg '#000000' -fg '#eeeeee' -cr '#ffffff' +sb -e vim SOMEFILE
> (perl,
> > c++, etc...)
> >
> >
> >
> >
> >
> > Thanks everyone!
> >
> >
> > Regards,
> > -Al
>
> You need to do something like uxterm -e bash -l -c vim SOMEFILE. This
> will start bash as a login shell and then execute vim within it, which
> should provide you with syntax hilighting.
>
> --
> James Turner
> BSD Group Consulting
> http://www.bsdgroup.org
>
>
Received on Thu Aug 09 2007 - 04:52:02 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:48:09 UTC