generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » Off Topic
Home Search
 

Re: What unit does command prompt use for layout?

Previous Thread :: Next Thread 
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 07:48 PM
Default size is 80x25, but 80x25 what? It's not inches or centimeters
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 07:56 PM
'screen pixels'
Report Abuse
hotsotse is not online. hotsotse
Joined: 09 Nov 2008
Total Posts: 267
12 Feb 2014 08:02 PM
Wat?
It's 80x25 pixels O.O
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 08:04 PM
is that like screen width/height = 1 pixel?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 08:04 PM
= 1 screen pixel*

80x25 pixels is tiny
Report Abuse
hotsotse is not online. hotsotse
Joined: 09 Nov 2008
Total Posts: 267
12 Feb 2014 08:06 PM
Control panel > Adjust screen resolution to find out how many pixels on your screen.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 08:08 PM
So if my screen size is: 1280x1024, would 1 screen pixel = (1280/1024) pixels?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 08:12 PM
Never mind, the width/height is relative to the font size.
So it's 80 * 8, 25 * 12 (if I'm correct)
Report Abuse
MrDoomBringer is not online. MrDoomBringer
Top 100 Poster
Joined: 21 Nov 2006
Total Posts: 6176
12 Feb 2014 08:17 PM
It's characters. More specifically, it's a monospace font (all characters fit into the same box size) which at standard values is 8 pixels wide and 12 pixels tall, with a 1 pixel border on the right side of each character block. This makes for a total of 720 pixels wide.

The command prompt size (80 columns by 25 rows) is a throwback to the original computer outputs, which were called 80 character displays and had (surprise!) 80 character widths. Every single computer (up until GUIs started appearing with their different resolutions and screwed everything up) on the planet would use this size of a display, sometimes with different heights, so you could plan for the width of these displays.

If you ever use very old applications that have to be worked on through the command prompt you'll find that they make boxes and tables and stuff out of various characters. This design is hard-coded, each box is made with a specific number of characters because the display will (should) always be 80 characters wide.

Of course, you can right-click the title bar of the command prompt and change all that, but then you'd be breaking from the history of the whole thing.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 08:24 PM
Thanks
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 08:28 PM
Yes, my textarea is perfect
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 08:39 PM
Is it also 1 pixel for the vertical border?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 08:45 PM
I don't think it is 1, it doesn't seem perfect, I got 400 and it seemed perfect (trial and error) so 1.333... vertical border?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Feb 2014 08:48 PM
(since 25 rows and 12 pixels tall = 300, and after trial and error, I got 400)
Report Abuse
MrDoomBringer is not online. MrDoomBringer
Top 100 Poster
Joined: 21 Nov 2006
Total Posts: 6176
12 Feb 2014 09:14 PM
You're right! I'm mixing up my raster fonts with fixed-width image fonts from long ago. There is no pixel space between characters, that pixel is actually factored into the characters themselves. Thus, 8 pixels per character * 80 characters = 640 pixels wide. This rises to the 640x480 resolution size on the original screens.

Note that vertical space was variable. 25 characters (300 pixels) is the default for the command prompt but other heights were present.
Report Abuse
hotsotse is not online. hotsotse
Joined: 09 Nov 2008
Total Posts: 267
13 Feb 2014 03:40 PM
Pfft I'm lost.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Off Topic
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image