aefb810c8dea1422b4197210f35a888f15f64966
[fbpad.git] / README
blobaefb810c8dea1422b4197210f35a888f15f64966
1 FBPAD
2 =====
4 Fbpad is a small and simple linux framebuffer virtual terminal.
5 It manages many terminals through single-letter tags; each tag can
6 hold two terminals.  The following table indicates fbpad's key-bindings
7 (m-k means pressing k, while holding the alt key).
9 ==============  =======================================
10 key             command
11 ==============  =======================================
12 m-c             execute a shell (SHELL)
13 m-m             execute mail program (MAIL)
14 m-e             execute editor program (EDITOR)
15 m-x             switch to tag 'x' (TAGS)
16 m-j             switch to alt terminal in this tag
17 m-k             like m-j
18 m-p             show tag summary
19 m-o             jump to last tag
20 m-tab           show next terminal
21 m-s             create a text screenshot (SCRSHOT)
22 m-y             redraw terminal
23 c-m-q           quit fbpad
24 m-f x           use font x in this terminal
25 ==============  =======================================
27 SETTING UP
28 ==========
30 You can edit config.h to configure fbpad.  To get fbpad running you need
31 to make sure F* point to a valid tinyfont file and SHELL is the
32 shell you want to execute.  Also the type of fbval_t should match
33 the framebuffer depth: unsigned char for 8-bit, short for 16-bit and int
34 for 24/32-bit framebuffers.  Once these are set, you should be able to
35 start fbpad without problems.
37 Next you may want to change the list of fbpad tags by changing TAGS.
38 The background and foreground colors can be changed using FGCOLOR and
39 BGCOLOR macros, for instance the FGCOLOR of 2 and BGCOLOR of 0 creates
40 green on black terminals.  Individual colors can be customized by
41 editing the hex RGB color description of COLOR* macros.  Also SCRSHOT
42 macro specifies text screenshot location.
44 If you are want to use fbpad's scrsnap feature, you can edit TAGS_SAVED
45 to change the list of saved terminals.  Framebuffer memory is saved and
46 reloaded for these tags, which is very convenient when you are using
47 programs that change the framebuffer simultaneously, like fbpdf.