Package Details: fbpad-git r271.66eb566-1

Git Clone URL: (read-only)
Package Base: fbpad-git
Description: A small linux framebuffer virtual terminal.
Upstream URL:
Licenses: ISC
Conflicts: fbpad
Provides: fbpad
Submitter: Sara
Maintainer: aksr
Last Packager: aksr
Votes: 9
Popularity: 1.658089
First Submitted: 2011-10-08 12:31
Last Updated: 2018-02-21 07:00

Required by (0)

Sources (4)

Latest Comments

aksr commented on 2017-04-12 14:17

erez: You're right.

erez commented on 2017-04-12 09:57

bash, mutt and vim are not dependencies of fbpad and are not required by it in any sense, and should not be forced on the user.

brynr commented on 2015-11-15 23:28

make fails with the following message:

fbpad.c: In function ‘main’:
fbpad.c:337:14: error: ‘FBDEV’ undeclared (first use in this function)
if (fb_init(FBDEV)) {
fbpad.c:337:14: note: each undeclared identifier is reported only once for each function it appears in
Makefile:7: recipe for target 'fbpad.o' failed
make: *** [fbpad.o] Error 1

It seems that the lines defining FBDEV are not present config.h from the sources, and this incomplete config is then copied into the src directory during the prepare stage, overwriting the complete config file from fbpad.git.

karol_007 commented on 2014-09-09 01:00

==> To use fbpad, read /usr/share/doc/fbpad/README.

$ ls -l /usr/share/doc/fbpad/README
ls: cannot access /usr/share/doc/fbpad/README: No such file or directory

There is /usr/share/doc/fbpad-git/README.

Sara commented on 2012-05-02 14:00

To use italic fonts with fbpad, add the following line to the PKGBUILD after line 24:

patch -p1 -i "${_gitname}-terminfo.diff" || return 1

where fbpad-terminfo.diff can be found here:

With my vim theme (solarized), I also had to add "export TERM_PROGRAM=fbpad" to my shellrc, and add fbpad to the terms_italic array (line 138 of the colorscheme file).

Sara commented on 2012-05-01 03:39

A "font set" consists of the regular, italic, and bold faces of a font. The latest git revision introduced font sets per terminal; [Mod]-'f i' activates the ith font set in the current term, where i in {0,..,4}. The advantage to this, as opposed to regular fonts, is that switching between fonts also changes the bold and/or italic text to match. Neat, right?

With the latest changes, the wiki is now a little outdated, but I can't get to updating it until after my finals. Let me know if issues arise.

Sara commented on 2012-04-29 15:14

When I said none of them obviously should be NULL, I meant none of them if it's a typeface you want to set. For instance, as I'm only using Monte Carlo, my config.h looks like this:

#define FR0 "/home/sara/.fonts/"
#define FI0 NULL
#define FB0 "/home/sara/.fonts/"
#define FR1 NULL
#define FI1 NULL
#define FB1 NULL
#define FR2 NULL
#define FI2 NULL
#define FB2 NULL

FR0 refers to the regular type face of the 0th font set, and similarly, I refers to the italic type face and B to the bold type face. I've set FI0 to NULL as Monte Carlo does not come in italic. If I enable a second font, replacing the NULLs corresponding to F{R|I|B}1 with /path/to/, then [Mod]-"f 1" will replace the font in my specific term with the 1th font.

Note that it's possible the configuration method will change again as the font branch (which the bold branch was rebased on) is still under development.

Sara commented on 2012-04-29 14:59

The latest git revision introduced some significant changes:

- Font sets: different typefaces can be enabled with keystrokes, and its regular, bold, and italic faces (any of which, though not all obviously, may be NULL) will all be loaded.
- Changes to ft2tf: Now, fonts, and all parameters other than the unicode glyphs to include are set at the command line. See `ft2tf -h` for more information, and examples can be found in /usr/share/doc/ft2tf/
- A new term launches when starting fbpad.
- Bug fixes.

This means that the wiki documentation is now slightly outdated, but I will be updating it as soon as humanly possible (I have finals upcoming).

Hope everyone enjoys the new features :).

Sara commented on 2011-11-26 22:46

There were just too many comments, and most of them were no longer relevant so I deleted them. This package now pulls the scrnsnap too, so you can have the best of both worlds. It merges very neatly, but if you have issues, please let me know.

Sara commented on 2011-11-26 03:28

Minor update to PKGBUILD.

Sara commented on 2011-11-23 18:33

Updated fbpad post install script with the below instructions for

Sara commented on 2011-11-21 23:14

Updated the terminfo; please report if you still have rendering issues
with dvtm with this package and "export NCURSES_NO_UTF8_ACS=1" in your
shell rc file.

Sara commented on 2011-11-21 01:50

Also, I will be making a wiki page with all of this information, and
more, when time permits.

Sara commented on 2011-11-21 01:49

From my testing, it appears that both the updated terminfo and the
following line in your shell rc file are needed in order to not get
wierd escape characters from popping up in dvtm:


Also, if you add a keybinding for dvtm, you'll need to use the
following script to make sure it launches with color. It'll work for
zsh users:

zsh -i -c dvtm

Sara commented on 2011-11-21 00:06

Updated the terminfo to fix a rendering bug in dvtm.

Sara commented on 2011-11-20 18:41

Updated the terminfo to agree with the instructions in the upstream README.

Sara commented on 2011-11-19 22:01

Minor update to PKGBUILD.

Sara commented on 2011-11-17 08:03

Also, if you want to use the patch I posted earlier, you need to copy the
scrsnap.c and scrsnap.h files from the scrsnap branch, put them in the
same directory as the PKGBUILD, add the three files to the source
array, and add these lines below the line that copies the config.h:

cp ${srcdir}/scrsnap.c scrsnap.c
cp ${srcdir}/scrsnap.h scrsnap.h
patch -p1 -i "${srcdir}/${_gitname}-scrsnap.diff" || return 1

Sara commented on 2011-11-17 07:57

Added a terminfo for fbpad-256 (for 256 color support).

Sara commented on 2011-11-14 01:38

Changed the default branch to the "bold" branch, which supports bold
fonts and 256 colors. (Finally, we have an alternative to fbterm!) If
you want to also use the features from the scrsnap branch (namely,
having graphical things, like fbpdf, saved into memory so that when
you switch terms, switching back to fbpdf restores the image
instantly), I've made a patch that will add the scrsnap functions to

Here's the patch (it has tab characters because the original C file
has tab characters):

Sara commented on 2011-11-01 04:17

Just fixed the pkgrel line.

Sara commented on 2011-10-28 20:57

Updated the PKGBUILD to use the scrsnap branch, which is really neat because it saves the contents of the framebuffer when you switch tags. i.e. if you have
multiple PDFs open, and you switch from one to another, you won't have to do Ctrl-L to make it reload because it's still visible, as it would be if you
switched windows in X. I don't know of another framebuffer virtual term with this feature.

Remember to modify the config.h before you build this.

Sara commented on 2011-10-09 23:23

This a terminal emulator much like fbterm, except that it is more barebones in that it supports only 16 colors and at the moment does not support gpm
(the mouse appears, but you can't select anything and when you mouse over text, the text is wiped off, and is only repainted by doing Ctrl-L). I like it very
much though, and you can use any TTF font you like so long as you convert it to a tiny font, using the ft2tf package that's also in the AUR. After creating
the font, supply the full path to the font file in your config.h in the TINYFONT variable.

Also, to convert Monte Carlo properly, you will need to change the WIDTHDIFF in ft2tf.c to "0" instead of "1". Other fonts might also require similar tweaks
to the WIDTHDIFF and HEIGHTDIFF variables, but I have not tested them.

To copy text, the author has suggested using the screenshot command (Ctrl-S), which by default saves the text currently visible on the screen to a text file,
which then can be manipulated from there.

Let me know if other questions arise.