Re: TECH: XP command prompt replacement
From: | Benct Philip Jonsson <bpj@...> |
Date: | Wednesday, April 9, 2008, 8:02 |
Philip Newton wrote:
> If it's just the font that's the problem, perhaps http://-
> blogs.msdn.com/michkap/archive/2006/10/19/842895.aspx will
> help? It shows how to make arbitrary TrueType fonts
> available to the console (they should be monospace, of
> course).
Mark J. Reed wrote:
> It's not. The terminal emulator program has to understand
> the character encoding in order to pick the right
> character out of the font.
>
Actually it can. Just say "chcp 65001" and the magic will
happen. Actually a point were the native prompt has an edge
on the various 'improvements' out there!
So between those two I've made a rundown:
1. Make sure you have the DejaVu fonts installed:
<http://dejavu.sourceforge.net/wiki/index.php/Main_Page>
or <http://tinyurl.com/yamuto>
2. Download <lingua.melroch.se/consolefont.reg>, to your
desktop for example
(It looks like this:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Console\TrueTypeFont] "00"="DejaVu
Sans Mono"
)
3. Double-click the file consolefont.reg and OK the up-
popping dialogs.
4. Reboot
5. Open a command prompt/console window
6. Right click the name bar of the window and choose
"Settings" or whatver 'tis called on Englysshe.
7. Choose "DejaVu Sans Mono" in the tab Fonts (or whatver
'tis called on Englysshe). You may want to set the size
to 14 too.
8. Save it for the future.
9. Type "chcp 65001" in the command prompt (you will have
to do that anew everytime you want to use Non-ASCII).
10. Voilà!
My command prompt now looks like
<http://tinyurl.com/4fknv3>!
/BP 8^)>
--
Benct Philip Jonsson -- melroch atte melroch dotte se
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"C'est en vain que nos Josués littéraires crient
à la langue de s'arrêter; les langues ni le soleil
ne s'arrêtent plus. Le jour où elles se *fixent*,
c'est qu'elles meurent." (Victor Hugo)
Replies