manhelp.diff 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. diff -Naur fbv-1.0b/fbv.1 fbv-1.0b.patched/fbv.1
  2. --- fbv-1.0b/fbv.1 2003-08-24 16:21:07.000000000 -0400
  3. +++ fbv-1.0b.patched/fbv.1 2014-10-16 23:35:49.000000000 -0400
  4. @@ -1,4 +1,4 @@
  5. -.TH fbv 1 "2001-02-18"
  6. +.TH fbv 1 "2014-10-16"
  7. .\" Some roff macros, for reference:
  8. .\" .nh disable hyphenation
  9. .\" .hy enable hyphenation
  10. @@ -42,12 +42,59 @@
  11. .TP
  12. .BR \fB--delay\fP , "\fB-s\fP \fI<delay>\fP"
  13. Slideshow, wait 'delay' tenths of a second before displaying each image
  14. -
  15. -.BR
  16. - Use a,d,w and x to scroll the image
  17. -
  18. -
  19. -
  20. +.TP
  21. +.BR \fB--enlarge\fP , "\fB-e\fP
  22. +Enlarge the image to fit the whole screen if necessary
  23. +.TP
  24. +.BR \fB--ignore-aspect\fP , "\fB-r\fP
  25. +Ignore the image aspect while resizing
  26. +.SH KEYS
  27. +.TP
  28. +.BR \fBSpace\fP , \fBEnter\fP , \fBperiod\fP , \fB>\fR
  29. +Next image (exits after last image)
  30. +.TP
  31. +.BR \fBcomma\fP , \fB<\fR
  32. +Previous image (no effect, on first image)
  33. +.TP
  34. +.BR \fBr\fP
  35. +Redraw the image
  36. +.TP
  37. +.BR \fBa\fP , \fBd\fP , \fBx\fP , \fBw\fP or \fBD\fP , \fBC\fP , \fBB\fP , \fBA\fP
  38. +Pan the image (only if larger than screen)
  39. +.TP
  40. +.BR \fBf\fP
  41. +Toggle resizing on/off
  42. +.TP
  43. +.BR \fBk\fP
  44. +Toggle resizing quality
  45. +.TP
  46. +.BR \fBe\fP
  47. +Toggle enlarging on/off
  48. +.TP
  49. +.BR \fBi\fP
  50. +Toggle respecting the image aspect on/off
  51. +.TP
  52. +.BR \fBn\fP
  53. +Rotate the image 90 degrees left
  54. +.TP
  55. +.BR \fBm\fP
  56. +Rotate the image 90 degrees right
  57. +.TP
  58. +.BR \fBp\fP
  59. +Disable all transformations
  60. +.TP
  61. +.BR \fBq\fP
  62. +Quit fbv
  63. +.PP
  64. +Keystrokes are read from standard input. Normally this is the user's
  65. +terminal, but pipes and redirection also work. This allows for things
  66. +like:
  67. +.PP
  68. +echo emq | fbv --noinfo --noclear image.jpg
  69. +.PP
  70. +\.\.\.which will display image.jpg (enlarged and rotated 90 degrees), then exit, leaving
  71. +the image visible. The "q" in the echo command is actually redundant, as
  72. +fbv will exit on stdin EOF.
  73. .SH AUTHOR
  74. Tomasz 'smoku' Sterna <tomek@smoczy.net>
  75. .br
  76. @@ -55,4 +102,3 @@
  77. .br
  78. Marcin 'Piaskowy' Zieba <piaskowy@irc.pl>
  79. .br
  80. -
  81. diff -Naur fbv-1.0b/main.c fbv-1.0b.patched/main.c
  82. --- fbv-1.0b/main.c 2004-09-07 10:11:00.000000000 -0400
  83. +++ fbv-1.0b.patched/main.c 2014-10-16 23:35:47.000000000 -0400
  84. @@ -443,8 +443,8 @@
  85. "Available options:\n"
  86. " --help | -h : Show this help\n"
  87. " --alpha | -a : Use the alpha channel (if applicable)\n"
  88. - " --dontclear | -c : Do not clear the screen before and after displaying the image\n"
  89. - " --donthide | -u : Do not hide the cursor before and after displaying the image\n"
  90. + " --noclear | -c : Do not clear the screen before and after displaying the image\n"
  91. + " --unhide | -u : Do not hide the cursor before and after displaying the image\n"
  92. " --noinfo | -i : Supress image information\n"
  93. " --stretch | -f : Strech (using a simple resizing routine) the image to fit onto screen if necessary\n"
  94. " --colorstretch| -k : Strech (using a 'color average' resizing routine) the image to fit onto screen if necessary\n"
  95. @@ -452,6 +452,8 @@
  96. " --ignore-aspect| -r : Ignore the image aspect while resizing\n"
  97. " --delay <d> | -s <delay> : Slideshow, 'delay' is the slideshow delay in tenths of seconds.\n\n"
  98. "Keys:\n"
  99. + " Space, Enter, period, > : Next image\n"
  100. + " comma, > : Previous image\n"
  101. " r : Redraw the image\n"
  102. " a, d, w, x : Pan the image\n"
  103. " f : Toggle resizing on/off\n"
  104. @@ -461,6 +463,7 @@
  105. " n : Rotate the image 90 degrees left\n"
  106. " m : Rotate the image 90 degrees right\n"
  107. " p : Disable all transformations\n"
  108. + " q : Quit\n"
  109. "Copyright (C) 2000 - 2004 Mateusz Golicz, Tomasz Sterna.\n", name);
  110. }