Re: has('unix')

2006-10-26 Thread Martin Krischik
Am Mittwoch, 25. Oktober 2006 18:12 schrieb Tim Chase: for my font plug in I need to know which OS I am running on to choose an appropriate font. Now when Sun Solaris where added to the list of OS I use I run into a little problem: there is only has('unix') - but that's not good enough

Re: has('unix')

2006-10-26 Thread Tim Chase
-separated list of font-names. Thus, you could have it try something like if has('unix') set guifont=AntialiasedFontILike,FallbackFont Tony has a common bit of useful script that he drops on the list occasionally when this topic comes up (which you can find at http

Re: has('unix')

2006-10-26 Thread Gary Johnson
: there is only has('unix') - but that's not good enough as Linux allows for anti alias fonts and Sun Solaris does not. Perhaps something like if has('unix') let os = system('uname') if os ~= 'Linux' do linuxy stuff here

Re: has('unix')

2006-10-26 Thread A.J.Mechelynck
can take a comma-separated list of font-names. Thus, you could have it try something like if has('unix') set guifont=AntialiasedFontILike,FallbackFont Tony has a common bit of useful script that he drops on the list occasionally when this topic comes up (which you can find at http

Re: [2] has('unix')

2006-10-26 Thread A.J.Mechelynck
, the 'guifont' option can take a comma-separated list of font-names. Thus, you could have it try something like if has('unix') set guifont=AntialiasedFontILike,FallbackFont Tony has a common bit of useful script that he drops on the list occasionally when this topic comes up (which you

Re: has('unix')

2006-10-26 Thread Yakov Lerner
: there is only has('unix') - but that's not good enough as Linux allows for anti alias fonts and Sun Solaris does not. Perhaps something like if has('unix') let os = system('uname') if os ~= 'Linux' do linuxy stuff here

Re: has('unix')

2006-10-26 Thread Yegappan Lakshmanan
problem: there is only has('unix') - but that's not good enough as Linux allows for anti alias fonts and Sun Solaris does not. Perhaps something like if has('unix') let os = system('uname') if os ~= 'Linux' do linuxy stuff here

has('unix')

2006-10-25 Thread Martin Krischik
Hello, for my font plug in I need to know which OS I am running on to choose an appropriate font. Now when Sun Solaris where added to the list of OS I use I run into a little problem: there is only has('unix') - but that's not good enough as Linux allows for anti alias fonts and Sun Solaris

Re: has('unix')

2006-10-25 Thread Tim Chase
for my font plug in I need to know which OS I am running on to choose an appropriate font. Now when Sun Solaris where added to the list of OS I use I run into a little problem: there is only has('unix') - but that's not good enough as Linux allows for anti alias fonts and Sun Solaris does

Re: has('unix')

2006-10-25 Thread Mikolaj Machowski
On śro paź 25 2006, vim@vim.org wrote: Hello, for my font plug in I need to know which OS I am running on to choose an appropriate font. Now when Sun Solaris where added to the list of OS I use I run into a little problem: there is only has('unix') - but that's not good enough as Linux