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
