{"id":386,"date":"2013-12-29T16:23:21","date_gmt":"2013-12-29T15:23:21","guid":{"rendered":"http:\/\/www.simweb.ch\/blog\/?p=386"},"modified":"2013-12-29T16:23:42","modified_gmt":"2013-12-29T15:23:42","slug":"a-low-power-freebsd-journey-high-resolution-terminal","status":"publish","type":"post","link":"https:\/\/www.simweb.ch\/blog\/2013\/12\/a-low-power-freebsd-journey-high-resolution-terminal\/","title":{"rendered":"A low-power FreeBSD journey: High resolution terminal"},"content":{"rendered":"<p>Certainly managing a Unix-like server includes SSH and less often local console the screen resolution on the local console isn't much of a matter, though having a little bit more than the standard\u00a0can be nice when browsing through large files or grepping through logfiles. Thankfully as I learned, on the current (yet upcoming) FreeBSD 10 the GENERIC kernel is coming with reasonable defaults which limits the effort for high(er) resolution terminal to a minimum, or in short:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">echo \"allscreens_flags=\"MODE_280\" &gt;&gt; \/etc\/rc.conf\r\nreboot<\/pre>\n<p><span style=\"line-height: 1.5em;\">... OK that's definitely to short to be helpful. This article in the\u00a0<\/span><span style=\"line-height: 1.5em;\"><a href=\"http:\/\/www.freebsdwiki.net\/index.php\/High_Resolution_Console\">FreeBSDwiki.net<\/a>\u00a0is quite good for me as beginners but, but it starts about having to recompile your kernel with VESA included. Right, not particularly something I'd like to do first just to get a better resolution right on a server's console?\u00a0<\/span>Actually it seems that FreeBSD 10.0-RC3 on amd64 (at least) have the vesa driver built into the GENERIC kernel. The section of how to compile your own kernel is not required (anymore?). Just check your available modes, test it before messing up rc.conf and be happy.<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\"># To check the available modes\r\nvidcontrol -i mode\r\n\r\n# To test your chosen mode works \r\n# FIXME: You do unmess if it doesn't except from rebooting?<\/pre>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">vidcontrol MODE_280<\/pre>\n<pre class=\"brush: bash; gutter: true; first-line: 1\"># Once\u00a0successful put the appropriate line in your rc.conf<\/pre>\n<pre>allscreens_flags=\"MODE_280\"<\/pre>\n<p>MODE_280 equals to 1024x768 in 24-bit colour which isn't exactly considered a high resolution to current standards but still more pleasant than the mere 80x25 characters yet still not too big for my smallest and oldest screen in the back of my cellar (i.e. a regular 4:3 15\" TFT) . Finally I should add that the FreeBSD handbook also contains a <a href=\"https:\/\/www.freebsd.org\/doc\/handbook\/consoles.html\">worthy-to-read section on this topic<\/a> - and apparently it seems sufficient to load the vesa module with kldload. Though, not having an older release available I can't relly check back. Another similar post can be found on <a href=\"https:\/\/www.dan.me.uk\/blog\/2012\/05\/06\/text-console-resolution-and-geometry-settings-in-freebsd-9-x\/\">this blog<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Certainly managing a Unix-like server includes SSH and less often local console the screen resolution on the local console isn&#8217;t much of a matter, though having a little bit more than the standard\u00a0can be nice when browsing through large files or grepping through logfiles. Thankfully as I learned, on the current (yet upcoming) FreeBSD 10 &#8230; <a class=\"moretag\" href=\"https:\/\/www.simweb.ch\/blog\/2013\/12\/a-low-power-freebsd-journey-high-resolution-terminal\/\">more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[1],"tags":[36],"class_list":["post-386","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-freebsd"],"_links":{"self":[{"href":"https:\/\/www.simweb.ch\/blog\/wp-json\/wp\/v2\/posts\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simweb.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simweb.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simweb.ch\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simweb.ch\/blog\/wp-json\/wp\/v2\/comments?post=386"}],"version-history":[{"count":0,"href":"https:\/\/www.simweb.ch\/blog\/wp-json\/wp\/v2\/posts\/386\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.simweb.ch\/blog\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simweb.ch\/blog\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simweb.ch\/blog\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}