FbTerm is a fast terminal emulator for linux with frame buffer device. Features include:
- mostly as fast as terminal of linux kernel while accelerated scrolling is enabled on framebuffer device
- select font with fontconfig and draw text with freetype2, same as Qt/Gtk+ based GUI apps
- dynamicly create/destroy up to 10 windows initially running default shell
- record scrollback history for every window
- auto-detect text encoding with current locale, support double width scripts like Chinese, Japanese etc
- switch between configurable additional text encodings with hot keys on the fly
- copy/past selected text between windows with mouse when gpm server is running
News
[2008-10-12] Release version 1.2
- improved escape and control sequences compability with linux console, support sequences for changing the color palette and cursor shape
- added option to adjust default cursor shape and flash interval
- added option to modify chars considered as part of a word while auto-selecting text
- added handle signal SIGHUP, FbTerm will exit normally while shutdown system directly in it
- fixed a freeze issue caused by changing console winsize under kernel 2.6.26
- fixed a crash bug when font size is greater than screen size
- cleaned text selection code and fixed a crash bug
- fixed a error of not repainting screen when switch back to virtual console which FbTerm running on, but FbTerm not have active window
- fixed a buffer overflow issue which may cause denial of service via application crash
FbTerm now support linux control sequence for changing the color palette, let's see a example:
if [ "$TERM" = "linux" ]; then
echo -en "\e]P0222222" #black
echo -en "\e]P8222222" #darkgrey
echo -en "\e]P1803232" #darkred
echo -en "\e]P9982b2b" #red
echo -en "\e]P25b762f" #darkgreen
echo -en "\e]PA89b83f" #green
echo -en "\e]P3aa9943" #brown
echo -en "\e]PBefef60" #yellow
echo -en "\e]P4324c80" #darkblue
echo -en "\e]PC2b4f98" #blue
echo -en "\e]P5706c9a" #darkmagenta
echo -en "\e]PD826ab1" #magenta
echo -en "\e]P692b19e" #darkcyan
echo -en "\e]PEa1cdcd" #cyan
echo -en "\e]P7ffffff" #lightgrey
echo -en "\e]PFdedede" #white
clear #for background artifacting
fiAs with all escape codes, it begins with a little prefix indicating what the escape is actually doing: in this case "\e]P", which is the "set color" escape. The format for the data is "XRRGGBB" where X is the number of the color to modify (in hex). This is a standard 16 color notation, which I have commented above. RRGGBB indicates the red/green/blue values (0-255). To reset the color palette, use "\e]R".
[2008-08-23] Release version 1.1
- add configurable additional text encoding support and switch between them with hot keys
- add option in configure file to let user adjust max scroll-back history lines of every window
- fixed cursor drawing issue while shell command line containing double width characters
- fixed a spelling error in source for older kernel support
- fixed a compile failure while kernel headers version less than 2.6.24
