How do I use a console resolution of 80x50?
How do I use a console resolution of 80x50? (amd64, i386)
amd64 and i386 users normally get a console screen of 25 lines of 80 characters. However, many VGA video cards are capable of displaying a higher text resolution of 50 lines of 80 characters.
First, a font that supports the desired resolution must be loaded using the wsfontload(8) command. The standard 80x25 text screen uses 8x16 pixel fonts; to double the number of lines we will have to use 8x8 pixel fonts.
After that, we will have to delete and recreate a virtual console at the desired screen resolution, using the wsconscfg(8) command.
This can be done automatically at boot by adding the following lines to the end of your rc.local(8) file:
wsfontload -h 8 -e ibm /usr/share/misc/pcvtfonts/vt220l.808As with any modification to your system configuration, it is recommended you spend some time with the man pages to understand what these commands do.
wsconscfg -dF 5
wsconscfg -t 80x50 5
The first line above loads the 8x8 font. The second line deletes screen 5 (which would be accessed by [CTRL]+[ALT]+[F6]). The third line creates a new screen 5 with 50 lines of 80 characters each. If you do this, you will see your primary screen, and the other three default virtual consoles, come up in the standard 80x25 mode, but a new screen 5 at 80x50 accessible through [CTRL]+[ALT]+[F6].
Remember that [CTRL]+[ALT]+[F1] is screen 0 (ttyC0). If you wish to alter other screens, simply repeat the delete and add screen steps for whichever screens you want running at the 80x50 resolution.
You should avoid changing screen 4 (ttyC4, [CTRL]+[ALT]+[F5]), which is used by X as a graphical screen. It is also not possible to change the resolution of the primary console device (i.e., ttyC0).
As one might expect, all these commands can also be entered at the command prompt, as root, or (better) using sudo(8).
Note: this will not work on all video cards. Unfortunately, not all video cards support the uploaded fonts that wscons(4) requires to achieve the 80x50 text mode. In these cases, you might wish to consider running X(port from:openbsd FAQ)
- · FreeBSD的未来是什么?
- · 使用FreeBSD构建高性能群集(译)_续
- · 使用FreeBSD构建高性能群集(译)
- · 准备翻一篇Building FreeBSD Cluster的文章
- · 中国的新国耻!!!
- · VMWare 中配置 FreeBSD 5.4 X时的问题
- · shell 十三问 之 一
- · 用rsh实现自动执行
- · FREEBSD-IPFW
- · 使用Xnest
- · CPUTYPE=pentium-m?
- · 十大老牌黑客之:李纳斯
- · 十大老牌黑客之:埃里克·雷蒙德
- · FreeBsd
- · 一个很有意义的计算题!
- · apache服务器配置详解 转 喜悦
- · 无光驱无软驱安装BSD遇到的问题二问:
- · 我对freebsd分区的理解
- · SM240第五章读书笔记
- · samba的配置
- · MPI__通讯域
- · SM240第二章读书笔记
- · SM240第一章读书笔记
- · Schillix硬盘安装
- · 安装schillix失败
- · redhat linux 9下telnet的配置和使用
- · SA399第九章读书笔记
- · SA399第八章读书笔记
- · solaris10源码编译
- · db2 install随笔
- · Solaris10安装注意事项
- · SA399第六章读书笔记
- · SA399第五章读书笔记
- · 亚美呆,solaris10不能装
- · SA399第四章读书笔记
- · 真令人惊讶
- · 步长法-解决判断循环链表
- · 精灵王的提醒
