I love stretching my terminal on unix. What is the history or reason behind windows lame command line?
相关问题
- Does specifying the encoding in javac yield the sa
- String Manipulation with case sensitivity
- Execute command with Excel macro and close cmd win
- Sails.js - PATH variable - sails command not recog
- ExtJS 6 - pivot without CMD
相关文章
- 在vscode如何用code runner打开独立的控制台窗口,以及设置好调试模式时窗口的编码?
- Command line escaping single quote for PowerShell
- Set variable in “if” block
- How can I get a password containing a caret (^) pa
- color single lines of ASCII characters with batch
- Convert Text to Table (Space Delimited or Fixed le
- Cmd/PowerShell/SQL server: Is there any way to see
- Batch file progress percentage
It's not limited.
You might want to check out Console. It's an open source app that lets you run multiple shells in a tabbed environment. You can also set the alpha-transparency of the shells.
You could also use a different terminal application, such as Console2, which allows you to resize the window all you want (among other things, such as transparency, and the ability to use any font you'd like). It's a great application, I've switched to it and now I only use
cmd.exe
when I absolutely have to.A simple command to fix the window size that I use all the time:
It will open the Windows Management Instrumentation Command-line and remove the size limits. Then just close it with Ctrl+C.
As others have pointed out, it's not limited to 80 characters wide, but my guess as to why it defaults to 80 characters would be that it's left over from the DOS days where CRT displays were 80 characters wide.
See also
Since it will scroll left to right as well as up and down, the very first thing I do on a system is define my width as 180 and save it. That's generally enough so that stack traces don't have to wrap for the most part, but not so much that you are waisting a ton of space.
While you're at it, set the vertical size (scrollback buffer) to all 9's. You'll be glad you did some day.
It IS limited. Check it out. (I mean window size NOT buffer)
You will find that the maximum width you can set is limited but varies according to your screen resolution. If your resolution is set to 1024 x 768 you will find that you can only get to 128 on the command prompt width. 128/1024=.125
you will find that ratio to be consistent across the board. I have an RDP session running at 2000x768 (across two of my three monitors) and get a max width of 250.
Now, that actaully turns out to be a little bigger than your actaul monitor size but I have three monitors all running individual desktops. (so in essence, 3 1024x768 resolutions) and if I want to do something SO SIMPLE as stretch a command prompt across 2 or more monitors, I CAN'T. (I want to when doing things with very long paths (diruse.exe/etc.)...
-c