GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would think that the only *virtual* limit would be how many characters can fit into (video?) memory (and nowadays, that's a ridiculous amount). I would say that you could probably have a full-screen framebuffer terminal with a tiny 4 pt. font on a 1280x1024 screen (or something like that) and still have it work just fine.
..but of course there's the DPI of the display to take into account, too.
Typically a console has a 80-characters width, but it can be extended to 132 depending on the VGA/VESA video mode used. It depends on the capability of your video-card and on what modes are supported. In other words you cannot choose any combination of rows x columns size. To see which modes are available for you graphic card, you can try to set vga=ask among the boot parameters. Then at reboot you will be prompted to scan for available modes and it will show a list of available column x rows sizes together with the octal code of the related video mode. Nowadays a common choice for video mode is vga=791 which means a resolution of 1024x768 and 16-bit colors. On my monitor it brings to a console size of 128 x 48 characters.
Can we somehow determine through a program the set width of a screen ? since you said that "typically" a comp screen has 80 char width and it can be "extended" !
You meant to tell me that $COLUMNS is changeable at the run time ? What was that PS1 ? Ctrl-c didn't work after that, I had to press Ctrl-d to get out.
You must have a wide screen LCD, Brian..
Last edited by Aquarius_Girl; 02-16-2015 at 11:57 PM.
You meant to tell me that $COLUMNS is changeable at the run time ?
If you're using a terminal emulator, yes. If you're using a framebuffer console, no (at least I don't think).
EDIT EDIT: One last thing: another + to Compiz is that the "Window Resize Info" plugin shows the size of a terminal window in characters, not pixels, so I always know how big it is in chars without having to check $COLUMNS etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.