aboutsummaryrefslogtreecommitdiffstats
path: root/fbiconfig.c
diff options
context:
space:
mode:
authorkraxel <kraxel>2006-08-12 19:36:12 +0000
committerkraxel <kraxel>2006-08-12 19:36:12 +0000
commit2ab7c9002b6ec7f326be0e7fb439a1aceb52356f (patch)
treee8daadcc04c70f2bda1c38997b8d49df6d6ece26 /fbiconfig.c
parentc3b7637e5014039fab997488ed35637bece05d6b (diff)
downloadfbida-2ab7c9002b6ec7f326be0e7fb439a1aceb52356f.tar.gz
image caching
Diffstat (limited to 'fbiconfig.c')
-rw-r--r--fbiconfig.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/fbiconfig.c b/fbiconfig.c
index eec7fd0..b219d2c 100644
--- a/fbiconfig.c
+++ b/fbiconfig.c
@@ -61,11 +61,6 @@ struct cfg_cmdline fbi_cfg[] = {
.yesno = 1,
.desc = " like the above, but downscale only",
},{
- .cmdline = "autofirst",
- .option = { O_AUTO_FIRST },
- .yesno = 1,
- .desc = " autoscale first image only",
- },{
.cmdline = "fitwidth",
.option = { O_FIT_WIDTH },
.yesno = 1,
@@ -110,8 +105,18 @@ struct cfg_cmdline fbi_cfg[] = {
.option = { O_PRESERVE },
.yesno = 1,
.desc = " preserve timestamps when editing",
+ },{
+ .cmdline = "readahead",
+ .option = { O_READ_AHEAD },
+ .yesno = 1,
+ .desc = "read ahead images into cache",
},{
+ .cmdline = "cachemem",
+ .option = { O_CACHE_MEM },
+ .needsarg = 1,
+ .desc = "image cache size in megabytes",
+ },{
.letter = 'T',
.cmdline = "vt",
.option = { O_VT },