Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uobikiemukot/yaft
yet another framebuffer terminal
https://github.com/uobikiemukot/yaft
Last synced: 3 months ago
JSON representation
yet another framebuffer terminal
- Host: GitHub
- URL: https://github.com/uobikiemukot/yaft
- Owner: uobikiemukot
- License: mit
- Created: 2012-06-18T23:23:24.000Z (over 12 years ago)
- Default Branch: develop
- Last Pushed: 2024-02-05T05:38:06.000Z (12 months ago)
- Last Synced: 2024-08-01T22:43:42.548Z (6 months ago)
- Language: C
- Size: 8.81 MB
- Stars: 607
- Watchers: 20
- Forks: 43
- Open Issues: 30
-
Metadata Files:
- Readme: README.bsd
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
# yaft (yet another framebuffer terminal)
## test environment
using qemu (i386, vga cirrus)
- FreeBSD 10.1
- OpenBSD 5.7
- NetBSD 6.1.5## FreeBSD
### kernel rebuild
edit /usr/src/sys/i386/conf/GENERIC
~~~
options VESA
options SC_PIXEL_MODE
~~~build
~~~
# cd /usr/src
# make buildkernel
# make installkernel
~~~### module load (no kernel rebuild)
~~~
# kldload vesa
# echo "vesa_load=\"YES\"" >> /boot/loader.conf
~~~### vesa mode
check available mode
~~~
# vidcontrol -i mode
~~~change mode
~~~
# vidcontrol MODE_XXX
# echo "allscreens_flags=\"MODE_XXX\"" >> /etc/rc.conf
~~~### keyrepeat
~~~
# kbdcontrol -r fast
~~~### write-combine
~~~
# memcontrol set -b 0xe0000000 -l 0x10000000 -o SVGA write-combine
~~~## NetBSD
### vesa mode
check available mode
~~~
(boot prompt)
> vesa list
~~~edit /boot.cfg
~~~
menu=Boot normally:rndseed /var/db/entropy-file;vesa 1024x768x32;boot netbsd
~~~### key repeat
~~~
# wsconsctl -w repeat.del1=200 repeat.deln=50
~~~~~~
# echo "setvar repeat.del1=200" >> /etc/wscons.conf
# echo "setvar repeat.deln=50" >> /etc/wscons.conf
~~~## OpenBSD
### kernel
- patch http://mlterm.sf.net/openbsd-5.3-fixvesa.patch
edit /usr/src/sys/arch/i386/conf/GENERIC
~~~
vesabios0 at mainbus?
option VESAFB
~~~build
~~~
# cd /usr/src/sys/arch/i386/compile/GENERIC
# make clean && make depend && make
# make install
# reboot
~~~### change vesa mode
edit yaft/fb/openbsd.h
~~~
enum {
FB_WIDTH = 640,
FB_HEIGHT = 480,
FB_DEPTH = 8,
};
~~~### key repeat
~~~
# wsconsctl -w repeat.del1=200 repeat.deln=50
~~~~~~
# echo "setvar repeat.del1=200" >> /etc/wscons.conf
# echo "setvar repeat.deln=50" >> /etc/wscons.conf
~~~