How does CMD look more like a Linux terminal?

Source: Internet
Author: User

Although you can use gcc/g ++ to compile code in windows CMD, the font of CMD is unbearable.

Without any discriminatory mentality, we feel that there is no aesthetic feeling and our psychology is uncomfortable.

Because CMD uses the Chinese Code Page (936), you can use the "attribute" to modify only the ugly font. If

Run "chcp 437" in the CMD window. You can see that there are two more fonts in the replaceable Font: Consolas and Lucida console.

Although the two fonts are not ugly, they are not my favorite fonts. The default font in Linux is Momospace, so I want to replace CMD with this font.

After Baidu, the solution is obtained, which is recorded as follows.

 

1. Of course, first obtain the next Bitstream Vera Sans Mono installation package.

2. decompress the package and install (copy) it under C: \ windows \ Fonts (unfortunately, it can be used only after restart, without restarting ).

3. Modify the registry. Open HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Console \ TrueTypeFont

Create "string values" -- 000 and 0000, and modify their values as follows:

(You can create only one value. Here I want to add my favorite Courier New font)

4. Open CMD, set the attribute to the Mono font (if not, Run "chcp 437" in CMD), and restart it.

 

In this way, we can make the CMD and Linux terminals look similar. Of course, this is similar. Because CMD does not seem to be as highlighted in color as the terminal, of course, the command line is also different.

But for the code writer, if only one small dev c ++ can be installed, you can use gcc/g ++ and gdb to compile the debugging program in the CMD window, do you feel immediately

CMD is something like Linux right away? It seems like it's blowing over, huh, but it doesn't matter. I like it ......

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.