Vai jūs varat mainīt izvades bufera izmēru komandu uzvednē Windows?

Satura rādītājs:

Vai jūs varat mainīt izvades bufera izmēru komandu uzvednē Windows?
Vai jūs varat mainīt izvades bufera izmēru komandu uzvednē Windows?

Video: Vai jūs varat mainīt izvades bufera izmēru komandu uzvednē Windows?

Video: Vai jūs varat mainīt izvades bufera izmēru komandu uzvednē Windows?
Video: How we afford to travel full time, becoming a travel blogger, etc | Q&A - YouTube 2024, Maijs
Anonim
Ja esat kāds, kurš mīl izmantot Windows komandu uzvedni, iespējams, esat iepazinies ar to, kāpēc ekrāna izvades buferam ir tik liels noklusējuma lielums. Vai jūs varat mainīt to mazāku (vai pat lielāku) izmēru? Šodienas SuperUser Q & A ziņas ir atbildes.
Ja esat kāds, kurš mīl izmantot Windows komandu uzvedni, iespējams, esat iepazinies ar to, kāpēc ekrāna izvades buferam ir tik liels noklusējuma lielums. Vai jūs varat mainīt to mazāku (vai pat lielāku) izmēru? Šodienas SuperUser Q & A ziņas ir atbildes.

Šodienas jautājumu un atbilžu sesija mums priecājas par SuperUser - Stack Exchange dalību, kas ir kopienas vadīta Q & A tīmekļa vietņu grupa.

Jautājums

SuperUser lasītājs Jay vēlas uzzināt, kāpēc noklusējuma Windows Command Prompt izvades bufera izmērs ir tik liels:

I have been using the Command Prompt in Windows for a while now and just realized that there are several pages worth of empty lines below the text entry prompt. Why is that?

Kāpēc noklusējuma Windows komandrindas izvades bufera izmērs ir tik liels? Vai tā lielumu var mainīt?

Atbilde

SuperUser autori Stevens un Miltonb ir atbildīgi par mums. Pirmkārt, Stevens:

The “empty lines” are the rows of screen buffer that have not been filled with output yet. To change the screen buffer size from the default of 300 lines (Microsoft’s chosen default), perform the following steps:

  1. Open the Windows Command Prompt
  2. Right-click on the application’s icon in the upper left corner of the window
  3. Click on Properties in the drop down menu
  4. Select the Layout Tab
  5. Set the Screen Buffer Size (Height Listing) to 20
  6. Click OK

Note: I recommend reverting the buffer size to something larger since 20 lines is not much in the way of displayed output.

Seko atbilde no miltonb:

I know that this is not the “why” with regard to your question, but if you want to change the screen buffer size from within a Command Prompt window (or batch file), you can make use of the mode command (mode columns, lines). I regularly use this from within the command prompt:

mode 200, 300

Vai kaut ko pievienot paskaidrojumam? Skatieties komentāros. Vēlaties lasīt citas atbildes no citiem tehnoloģiju savvy Stack Exchange lietotājiem? Šeit skatiet pilnu diskusiju pavedienu.

Ieteicams: