From 2ab7c9002b6ec7f326be0e7fb439a1aceb52356f Mon Sep 17 00:00:00 2001 From: kraxel Date: Sat, 12 Aug 2006 19:36:12 +0000 Subject: image caching --- fbiconfig.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'fbiconfig.c') diff --git a/fbiconfig.c b/fbiconfig.c index eec7fd0..b219d2c 100644 --- a/fbiconfig.c +++ b/fbiconfig.c @@ -60,11 +60,6 @@ struct cfg_cmdline fbi_cfg[] = { .option = { O_AUTO_DOWN }, .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 }, @@ -110,7 +105,17 @@ 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", -- cgit