ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/bin/cv
(Generate patch)

Comparing CV/bin/cv (file contents):
Revision 1.53 by root, Tue Aug 16 02:46:58 2005 UTC vs.
Revision 1.57 by root, Wed Sep 7 17:17:39 2005 UTC

160 160
161=over 4 161=over 4
162 162
163=item * optimized directory scanning algorithm 163=item * optimized directory scanning algorithm
164 164
165The directory scanning in CV plays some tricks that - on most modern 165The directory scanning in CV uses some tricks that - on most modern
166filesystems - makes it possible to detect filetypes faster than stat()'ing 166filesystems - makes it possible to detect filetypes faster than stat()'ing
167every file. This makes CV suitable for directories with lots of files 167every file. This makes CV suitable for directories with lots of files
168(10000+). 168(10000+).
169 169
170This algorithm is quite unprecise - it doesn't make a difference between 170This algorithm is quite unprecise - it doesn't make a difference between
171files, device nodes, symlinks and the like, and filetype detection is done 171files, device nodes, symlinks and the like, and filetype detection is done
172using the file extension only. 172using the file extension only.
173
174On the positive side, it is usually many orders of magnitude faster than
175traditional scanning techniques (good for directories with 10000 or
176100000+ files).
173 177
174=item * queuing for all time-consuming background tasks 178=item * queuing for all time-consuming background tasks
175 179
176All tasks, such as unlinking files or generating thumbnails, that can be 180All tasks, such as unlinking files or generating thumbnails, that can be
177done in the background will be done so - no waiting required, even when 181done in the background will be done so - no waiting required, even when
188=item * fast image loading 192=item * fast image loading
189 193
190The time span between the user issuing a command and displaying the new 194The time span between the user issuing a command and displaying the new
191image should be as small as possible. CV uses optimized (especially 195image should be as small as possible. CV uses optimized (especially
192for JPEG) loading functions and sacrifices some quality (e.g no gamma 196for JPEG) loading functions and sacrifices some quality (e.g no gamma
193correction) to achieve this speed. 197correction, although this might change) to achieve this speed.
194 198
195=item * fast thumbnail creation 199=item * fast thumbnail creation
196 200
197Thumbnail creation is crucial for me, so it's better be fast. Thumbnail 201Thumbnail creation uses both CPU and Disk-I/O. CV interleaves both, so
202on modern CPUs, thumbnailing is usually limited by I/O speed. Thumbnail
198creation for JPEGs has been specially optimized. 203creation for JPEGs has been specially optimized and can even take
204advantage of multiple CPUs.
199 205
200=item * minimum optical clutter 206=item * minimum optical clutter
201 207
202CV has no menus or other user interface elements that take up a lot of 208CV has no menus or other user interface elements that take up a lot of
203screen space. The schnauzer windows can also be somewhat crowded. 209screen space (or are useful for beginning users). The schnauzer windows
210can also be somewhat crowded.
204 211
205The point of an image viewer is viewing images, not a nice GUI. This is 212The point of an image viewer is viewing images, not a nice GUI. This is
206similar to XV's behaviour. 213similar to XV's behaviour.
207 214
208=item * efficient (and hard to learn) user interface 215=item * efficient (and hard to learn) user interface
209 216
210CV uses key combinations. A lot. If you are an experienced XV user, you 217CV uses key combinations. A lot. If you are an experienced XV user, you
211will find most of these keys familiar. If not, CV might be hard to use at 218will find most of these keys familiar. If not, CV might be hard to use at
212first, but will be an efficient tool later. 219first, but will be an efficient tool later.
213 220
221=item * multi-window GUI
222
223CV doesn't force you to use a specific layout, instead it relies on your
224window manager, thus enabling you to chose whatever layout that suits you
225most.
226
214=item * i18n'ed filename handling throughout 227=item * i18n'ed filename handling throughout
215 228
216As long as glib can recognize your filename encoding (either UTF-8 or 229As long as glib can recognize your filename encoding (either UTF-8 or
217locale-specific, depending on your settings) and you have the relevant 230locale-specific, depending on the setting of G_BROKEN_FILENAMES) and you
218fonts, CV will display your filenames correctly. 231have the relevant fonts, CV will display your filenames correctly.
219 232
220=item * extensible through plug-ins 233=item * extensible through plug-ins
221 234
222I have weird plug-ins that access remote databases to find a 235I have weird plug-ins that access remote databases to find a
223directory. This is not likely to be of any use to other people. Likewise, 236directory. This is not likely to be of any use to other people. Likewise,
252 shift-s set scaling mode to 'hyper' (slowest) 265 shift-s set scaling mode to 'hyper' (slowest)
253 t rotate clockwise 90° 266 t rotate clockwise 90°
254 T rotate counterclockwise° 267 T rotate counterclockwise°
255 ctrl-v open a new visual schnauzer window for the current dir 268 ctrl-v open a new visual schnauzer window for the current dir
256 ctrl-e run an editor ($CV_EDITOR or "gimp") on the current image 269 ctrl-e run an editor ($CV_EDITOR or "gimp") on the current image
257 ctrl-p fire up the print fialog 270 ctrl-p fire up the print dialog
258 escape cancel a crop action 271 escape cancel a crop action
259 272
260And when playing movies, these additional keys are active: 273And when playing movies, these additional keys are active:
261 274
262 left rewind by 10 seconds 275 left rewind by 10 seconds
300 ctrl-g force generation of thumbnais for the selected files 313 ctrl-g force generation of thumbnais for the selected files
301 ctrl-s rescan current direcory or files updates/deletes etc. 314 ctrl-s rescan current direcory or files updates/deletes etc.
302 ctrl-u update selected (or all) icons if neccessary 315 ctrl-u update selected (or all) icons if neccessary
303 ctrl-l don't use, will become a plug-in eventually 316 ctrl-l don't use, will become a plug-in eventually
304 317
318 ^ go to parent directory (caret).
319
305 0-9, 320 0-9,
306 a-z find the first filename beginning with this letter 321 a-z find the first filename beginning with this letter
307 322
308Right-clicking into the schnauzer window displays a pop-up menu with 323Right-clicking into the schnauzer window displays a pop-up menu with
309additional actions. 324additional actions.
341 356
342=back 357=back
343 358
344=head1 SECURITY CONSIDERATIONS 359=head1 SECURITY CONSIDERATIONS
345 360
346CV uses Pixbuf to load images. Pixbuf is not considered safe for this 361CV uses Pixbuf to load non-JPEG images. Pixbuf is not considered safe for
347purpose, though (from the gtk-2.2 release notes): 362this purpose, though (from the gtk-2.2 release notes):
348 363
349"While efforts have been made to make gdk-pixbuf robust against invalid 364"While efforts have been made to make gdk-pixbuf robust against invalid
350images, using gdk-pixbuf to load untrusted data is not recommended, due to 365images, using gdk-pixbuf to load untrusted data is not recommended, due to
351the likelyhood that there are additional problems where an invalid image 366the likelyhood that there are additional problems where an invalid image
352could cause gdk-pixbuf to crash or worse." 367could cause gdk-pixbuf to crash or worse."
354=head1 BUGS/TODO 369=head1 BUGS/TODO
355 370
356 Lots of functionality is missing. 371 Lots of functionality is missing.
357 372
358 Pixbuf doesn't always honor G_BROKEN_FILENAMES, so accessing files with 373 Pixbuf doesn't always honor G_BROKEN_FILENAMES, so accessing files with
359 names incompatible might utf-8 fail. 374 names incompatible with utf-8 might fail.
360 375
361 rotate on disk 376 rotate on disk
362 lots of ui issues 377 lots of ui issues
363 save(?) 378 save(?)
364 preferences 379 preferences
365 shift-cursor in schnauzer
366 380
367=head1 AUTHOR 381=head1 AUTHOR
368 382
369Marc Lehmann <cv@plan9.de>. 383Marc Lehmann <cv@plan9.de>.
370 384

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines