fgrep или grep -F, что лучше для переносимого скрипта? [closed]

Согласно Эндрю Гэбриэлу в ветке Usenet в 2013 г. :

In article <87y5c3j...@newsguy.com>,
- show quoted text -
I don't think you can. There's only one font built-in to the vgatext
driver which is 8x16, which gives standard size (80x24?) on 1024x768
VGA console.

I have a vague recollection it could be done with much older releases
of Solaris x86 which used the fonts stored in the VGA card (of which
there are several standard sizes), but now it loads Sun's workstation
font into the VGA card, and there's only one resolution of that
included in the x86 driver.

BTW, the font is a bitmap font called Sun Gallant Demi, or in X,
-sun-gallant-demi-*-normal-*-*-*-*-*-*-*-*-*

So in theory you could run:

xterm -font '-sun-gallant-demi-*-normal-*-*-*-*-*-*-*-*-*' -fg white -bg black

to run an xterm looking like the console, except Solaris 11 no longer
includes the Sun fonts. You may be able to extract them from an
older release or find them somewhere on the web.

-- 
Andrew Gabriel
[email address is not usable -- followup in the newsgroup] 

Учитывая солнце в названии шрифта, маловероятно, что вы получите именно этот шрифт в Windows.

3
23.05.2017, 15:40
0 ответов

Теги

Похожие вопросы