README.claws 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. README.claws
  2. ------------
  3. Summary:
  4. 1. What is Sylpheed Claws?
  5. 2. Switching between Sylpheed Claws and Sylpheed
  6. * From Sylpheed to Sylpheed Claws
  7. * From Sylpheed Claws to Sylpheed
  8. 3. Things Claws does different
  9. * auto address replacement in summary view
  10. * manual selection of MIME types for attachments
  11. * sharing mail folders
  12. * default to address for folders
  13. * threading mode per folder
  14. * simplify subject string
  15. * pixmap themes
  16. * user definable actions
  17. * spell checking (with installation instructions)
  18. 4. How to contribute
  19. 5. How to request features
  20. 6. Installing Claws from CVS
  21. 7. History
  22. 1. What is Sylpheed Claws?
  23. --------------------------
  24. Sylpheed Claws is a bleeding edge branch of Sylpheed, a light weight mail
  25. user agent for UNIX. Features in this branch may (or may not) end up in
  26. Sylpheed.
  27. Hiroyuki's ChangeLog is also included in the claws-branch distribution,
  28. so it should be easy to spot which features were merged with Sylpheed
  29. (and which features were not).
  30. For brevity Sylpheed Claws is referred to as Claws, and Sylpheed as either
  31. Sylpheed or Main.
  32. 2. Switching between Sylpheed Claws and Sylpheed
  33. ------------------------------------------------
  34. From Sylpheed to Sylpheed Claws
  35. -------------------------------
  36. From the user perspective Claws is just a fancy Sylpheed, so it uses the
  37. same sylpheed setting files located in ~/.sylpheed.
  38. It's always a good idea to back up all files in ~/.sylpheed in case
  39. you want to switch back to Sylpheed. (You don't have to backup the
  40. directories.)
  41. There are some things that frequently come up when switching to Claws:
  42. * Why does the advanced filtering system not work?
  43. Claws uses the new filtering system as soon as you define a new rule for it.
  44. Your old sylpheed filter rules will not be used. In subdirectory tools/ of
  45. the distribution there is a Perl script called filter_conv.pl which converts
  46. old filter rules to the claws filtering system.
  47. * What happened to the compose email and compose news buttons?
  48. There's a composite button for both composing mail and news. You can toggle
  49. between composing mail and news by clicking on the button with the triangle.
  50. * And to the Preferences and Execute buttons?
  51. Sorry, they're not there.
  52. From Sylpheed Claws to Sylpheed
  53. -------------------------------
  54. Moving from Claws to Sylpheed is also simple. Sylpheed should neglect the things
  55. Claws put in the settings files. This also means that the old rules will work
  56. again.
  57. If you want to switch back to Claws at a later time, make sure you back up at least
  58. ~/.sylpheed/matcherrc (the Claws filtering rules), and ~/.sylpheed/sylpheedrc
  59. (which may have some claws specific settings).
  60. When switching back to Sylpheed you will not lose messages or message flags (color
  61. labels, read / unread status of messages).
  62. Switching between Sylpheed Claws and Sylpheed on a regular basis
  63. ----------------------------------------------------------------
  64. If you want to have both claws and main installed concurrently simply pass them
  65. a different --prefix when doing ./configure. Then use the script 'sylpheed-switcher',
  66. (which is provided in the tools directory), to launch the version you require without
  67. fear of losing specific settings related to either claws or main. Further details can
  68. be found in tools/README.
  69. 3. Things Claws does different
  70. ------------------------------
  71. Claws does a lot of things different. Here a quick run-down of things that
  72. are hardly noticeable, but deserve mentioning:
  73. * auto address replacement in summary view
  74. -----------------------------------
  75. This matches a plain email address with a person in the address book. This
  76. feature is enabled in Common Preferences | Tab Display | SummaryView Group |
  77. Display sender using addressbook
  78. * manual selection of MIME types for attachments
  79. -----------------------------------
  80. You can change the MIME type of an attachment by right-clicking in the
  81. attachment list, selecting Property in the menu. The MIME type list
  82. is a combo box with the known MIME types.
  83. * sharing mail folders
  84. -----------------------------------
  85. You can also share or use shared mail folders. Right-click a folder and
  86. select Property. Change the Folder chmod setting.
  87. * default to address for folders
  88. -----------------------------------
  89. Most people filter mailing list mails to separate folders. Claws allows
  90. you to associate a folder with a mailing list or a person. Right-click a
  91. folder, select Property and change the Default To setting. When you
  92. compose a new mail, when this folder is selected the recipient address
  93. will be set to this address.
  94. (NOTE: this is also a shoot-yourself-in-the-foot-setting! If you want
  95. to send a private mail, don't have a folder selected with this setting
  96. set.)
  97. * pixmap themes
  98. -----------------------------------
  99. To use different icon sets you need to create a directory:
  100. mkdir ~/.sylpheed/themes
  101. Icon sets should be placed in this directory in their own sub-directory.
  102. They are then selectable from Pixmap Theme on the Interface tab of Commmon
  103. Preferences.
  104. * user definable actions
  105. -----------------------------------
  106. The "actions" feature is a convenient way for the user to launch external
  107. commands to process a complete message file including headers and body or
  108. just one of its parts. It allows also the use of an external command to
  109. filter the whole text or just a selected part in the message window or in
  110. the compose window. This is a generic tool that allows to do any uncommon
  111. actions on the messages, and thus extends the possibilities of Sylpheed.
  112. For example, Sylpheed does not include the rot13 cyphering algorithm
  113. popular in some newsgroups. It does not support natively armored
  114. encryption or clear signing. It does not support uuencoded messages. As
  115. all these features can be handled by external programs, the actions
  116. provide a convenient way to use them from the menu bar.
  117. a. Usage
  118. --------
  119. To create a new action, go to Configuration -> Actions.... The "Action
  120. Creation" dialog offers to enter the Menu name that will trigger the
  121. command. The created menu will be found in the Tools -> Actions submenu.
  122. By inserting a slash / in the menu name, you create a submenu.
  123. The command is entered in the Command line entry. Note that Sylpheed
  124. stores every single email in a separate file. This allows to use the
  125. following syntax for the command:
  126. * %f denotes the file name of the selected message. If you selected more
  127. than one, then the command will be launched for each message with
  128. the appropriate file name
  129. * %F denotes the list of the file names of the selected message. If only
  130. one message is selected, this amounts to %f, but if more messages
  131. are selected, then the command will be launched only once with the
  132. list of the file names. (You can use both %f and %F in one command:
  133. then the command will be launched for each selected message with
  134. the name of this message and with the list of all selected
  135. messages. I did not find a practical example for this.)
  136. * %p denotes the current selected message part of a multipart message.
  137. The part is decoded accordingly. If the message is not a multipart
  138. message, it denotes the message body.
  139. * Prepending >: this will allow you to send to the command's standard
  140. input a text that you will enter in a dialog window.
  141. * Prepending *: this will allow you to send to the command's standard
  142. input a text that you will enter in a dialog window. But in
  143. contrast to prepending >, the entered text is hidden (useful when
  144. entering passwords).
  145. * Appending an ampersand &: this will run the command asynchronously.
  146. That means "fire and forget". Sylpheed won't wait for the command
  147. to finish, nor will it catch its output or its error messages.
  148. * Prepending the vertical bar | (pipe-in): this will send the current
  149. displayed text or the current selected text from the message view
  150. or the compose window to the command standard input. The command
  151. will silently fail if more than one message is selected.
  152. * Appending the vertical bar | (pipe-out): this will replace the current
  153. displayed text or the current selected text from the message window
  154. or the compose window by the command standard output. The command
  155. will silently fail if more than one message is selected.
  156. Note: It is not possible to use actions containing %f, %F or %p from the
  157. compose window.
  158. When a command is run, and unless it is run asynchronously, Sylpheed will
  159. be insensitive to any interaction and it will wait for the command to
  160. finish. If the command takes too long (5 seconds), it will popup a dialog
  161. window allowing to stop it. This dialog will also be displayed as soon as
  162. the command has some output: error messages or even its standard output
  163. when the command is not a "pipe-out" command. When multiple commands are
  164. being run, they are run in parallel and each command output is separated
  165. from the outputs of the others.
  166. a. Examples
  167. -----------
  168. Here are some examples that are listed in the same syntax as used for
  169. storing the actions list. You can copy and past the definition in your
  170. ~/.sylpheed/actionsrc file (exit Sylpheed before). The syntax is very
  171. simple: one line per action, each action contains the menu name and the
  172. command line separated by a colon and a space ": "
  173. Purpose: rot13 cyphering
  174. Definition: Rot13: |tr a-zA-Z n-za-mN-ZA-M|
  175. Details: This will apply the rot13 cyphering algorithm to the
  176. (selected) text in the message/compose view.
  177. Purpose: Decoding uuencoded messages
  178. Definition: UUdeview: xdeview %F&
  179. Details: xdeview comes with uudeview. If an encoded file is split in
  180. multiple messages, just select them all and run the command.
  181. Purpose: Display uuencoded image
  182. Definition: Display uuencoded: uudec %f&
  183. Details: Displays uuencoded files. The uudec[1] script can be found in
  184. the 'tools' directory of the distribution package.
  185. Purpose: Alter messages
  186. Definition: Edit message: gvim -f %F
  187. Details: Allows editing of any received message. Can be used to remove
  188. unneeded message parts, etc.
  189. Purpose: Pretty format
  190. Definition: Par: |par 72Tbgjqw74bEe B=._A_a 72bg|
  191. Details: par is a utility that can pretty format any text. It does a
  192. very good job in indenting quoted messages, and justifying
  193. text. Used when composing a message
  194. Purpose: Browse
  195. Definition: Part/Dillo: dillo %p&
  196. Details: Browse the selected message part in Dillo.
  197. Purpose: Clear Sign
  198. Definition: GnuPG/Clear Sign: |gpg-sign-syl|
  199. Details: Clear sign a message. The gpg-sign-syl[2] script is responsible
  200. for asking the passphrase and for running gnupg.
  201. Purpose: Verify Clear Signed
  202. Definition: GnuPG/Verify: |gpg --no-tty --verify
  203. Details: Verify clear signed messages. The result is displayed in the
  204. actions output dialog.
  205. Purpose: Decrypt ASCII Armored
  206. Definition: GnuPG/Decrypt: *gpg --no-tty --command-fd 0 --passphrase-fd 0 --decrypt %f|
  207. Details: Decrypt ASCII armored messages. The passphrase is entered
  208. into the opened action's input dialog.
  209. [1] The uudec script can be found in the 'tools' directory of the
  210. distribution package. It needs uudecode and ImageMagick's display. The
  211. latter can be replaced by any image viewer that can get input from
  212. standard input. The script could also be modified to use temporary files
  213. instead of standard input.
  214. [2] The gpg-sign-syl script can be found in the 'tools' directory of the
  215. distribution package.
  216. * Spell checker for Sylpheed-Claws
  217. -----------------------------------
  218. a. Requirements
  219. b. Configuration and installation
  220. c. Usage
  221. d. Known problems
  222. a. Requirements
  223. ---------------
  224. The spell checker in sylpheed requires the Portable Spell Checker
  225. Interface Library pspell (http://pspell.sourceforge.net), version
  226. 0.12.2 or newer.
  227. You will need also the actual spell checker. There are two alternatives:
  228. i) ispell (http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html),
  229. which is found on quasi every distribution. You have then to
  230. install the pspell-ispell module found at the pspell site.
  231. ii) aspell (http://aspell.sourceforge.net). This spell checker
  232. must be installed after installing pspell. The version tested
  233. is .33.7 alpha. It has three different suggestion modes (fast
  234. -default- , normal, bad spellers), has the ability to learn
  235. from mistakes (default).
  236. And, last but not least, do not forget to install the dictionaries. Check
  237. the corresponding spell checker home page for more information on this.
  238. b. Configuring Sylpheed
  239. -----------------------
  240. Spell checking is enabled if you configure sylpheed appropriately. Add
  241. the option '--enable-pspell' when configuring. E.g.:
  242. ./configure --enable-pspell
  243. The configure script needs 'pspell-config' in your path. If it is
  244. in weird places, use '--with-pspell-prefix' to tell the path to
  245. pspell-config. E.g., if pspell-config is really
  246. /foo/bar/pspell-config, then use:
  247. ./configure --enable-pspell --with-pspell-prefix=/foo/bar
  248. If you have problems with not found includes or libraries, check
  249. first where these are located, and add either options:
  250. --with-pspell-includes=/foo/bar/include
  251. or
  252. --with-pspell-libs=/foo/bar/lib
  253. as appropriate.
  254. Configure script summarizes the options compiled in. Check that
  255. configure lists 'Pspell = yes'.
  256. Then proceed as usual, with 'make' and 'make install'.
  257. c. Usage
  258. --------
  259. NOTE: if you upgraded from 0.7.0claws, please reselect your default
  260. dictionary in the preferences.
  261. After successful compiling, you need to tell sylpheed where your
  262. dictionaries reside. First run 'pspell-config pkgdatadir' on the
  263. shell to get their path.
  264. Then run sylpheed and go to Configuration -> Common preferences ->
  265. Spell Checker. Check the box 'Enable spell checker (EXPERIMENTAL)' and
  266. use the file selector ('...' button) to select the path where the
  267. dictionaries reside. Within the file selector, go to that directory
  268. and select *any* file in the file lists. Click ok. You should then
  269. be able to select your default dictionary.
  270. When composing, misspelled words are highlighted. Click on any
  271. highlighted word with the right mouse button to get a list of
  272. suggestions. The first entry of the menu just displays the unknown
  273. word. Selecting "Accept in this session" (or hitting MOD1-Space,
  274. where MOD1 is usually the ALT key), will ignore this word and accept
  275. it in this message. Selecting the next entry "Add to dictionary", which
  276. is bound to MOD1-Enter combination will add the unknown word to the
  277. dictionary to learn it. The next entries are the suggested words.
  278. The first 15 suggestions can be accessed typing one of the first letters
  279. of Latin alphabet (if this does not suit your language, please send
  280. a mail to melvin.hadasht@free.fr). If you are using an aspell
  281. dictionary, you can use its 'learn from mistake' feature, by pressing
  282. the MOD1 key and selecting the suggestion (with the keyboard or with
  283. the mouse). See pspell manual §4.7.1 for an explanation of this
  284. feature.
  285. If you click with the right mouse button everywhere else, or if you
  286. shift-right-click even on a misspelled word, you get the
  287. configuration menu. 'Check all' highlights all misspelled words.
  288. With this menu, you can also change the dictionary while editing.
  289. Finally, you can change the suggestion mode, and the learn from
  290. misktakes feature (only when using an aspell dictionary).
  291. Spell checking can also be done using keyboard shortcuts. In the
  292. "Edit" menu of the compose window, there are two menus "Check backwards
  293. misspelled word" and "Forward to next misspelled word". Add to them
  294. appropriate keyboard shortcuts. "Check backwards misspelled word"
  295. checks backwards from cursor position for the first misspelled word.
  296. If it finds one, it displays the suggestions lists which can be handled
  297. with the keyboard as described before. When the suggestion menu is
  298. closed, the cursor returns to its original position to be able to
  299. continue editing. The "Forward to next misspelled word" do the same
  300. thing in the other direction but moves the cursor at the end of the
  301. misspelled word. This way, you can spell check easily a whole message
  302. starting from its beginning and using the "Forward to next misspelled
  303. word" keyboard short cut.
  304. d. Known problems
  305. -----------------
  306. i) libtool
  307. The only real known problems until now are configuration and
  308. compilation problems due to libtool interaction with pspell.
  309. If you do not compile pspell/aspell/pspell-ispell yourself, you
  310. need to install them with their devel packages.
  311. Pspell work with dynamic linking of libraries and thus uses the
  312. libltdl library of libtool. If you have weird problems when
  313. configuring showing 'libtool', chances are the libtool used when
  314. compiling the pspell package is not compatible with what you have
  315. on your system. The best solution, is to install the latest
  316. libtool AND compile yourself pspell package. I can't help more
  317. than that in this issue.
  318. After successfully compiled and used sylpheed with spell checking,
  319. the same problem can appear if you upgrade your libtool to a
  320. version which libltdl is incompatible to your older one. The
  321. symptoms are a crash when starting to compose. Disabling spell
  322. checking avoids the problem. The solution should be to recompile pspell.
  323. ii) New installed ispell dictionary are not detected
  324. Installing a new ispell dictionary needs an additional step. Go
  325. to the 'pkgdatadir' and run 'make-ispell-pwli'. You may need to
  326. su root.
  327. * simplify subject string
  328. It is possible to remove parts of string from the subject line.
  329. Example: [Sylpheed-claws-users] This is a test
  330. becomes: This is a test
  331. This is a per folder property. Right click on a folder and select
  332. property, enable Simplify Subject RegExp check box. Example
  333. regexp for the above is: \[Sylpheed-claws-(devel|users)\]
  334. Another example for the Sylpheed mailing list (not claws!) is:
  335. \[sylpheed:[0-9]{5}\]
  336. There are a lot more options. If you find one, don't hesitate to
  337. mention it.
  338. 4. How to contribute
  339. --------------------
  340. Sylpheed Main:
  341. submit it to the Sylpheed ML, Hiroyuki, or Paul Mangan
  342. (for incorporation on the Sylpheed Patches page,
  343. <http://www.thewildbeast.co.uk/sylpheed/>)
  344. Sylpheed Claws:
  345. It is highly recommended to use the sourceforge project page
  346. of claws. Check:
  347. http://sourceforge.net/tracker/?atid=384600&group_id=25528&func=browse
  348. If that's too troublesome, either contact Paul Mangan or consider
  349. posting to the sylpheed claws users mailing list.
  350. Bugs can be reported in the same way; the recommended web page:
  351. http://sourceforge.net/tracker/?group_id=25528&atid=384598
  352. Of course you can also post to the sylpheed claws users
  353. mailing list.
  354. Also, we really try to incorporate good contributions, but sometimes we
  355. don't have enough time. If the contribution is really big, or requires
  356. a long time to stabilize, send a mail to Paul Mangan. We can probably
  357. arrange access to the Claws branch.
  358. 5. How to request features
  359. --------------------------
  360. Ask around in both Sylpheed ML and Sylpheed Claws Users ML. Note
  361. that some developers may already thought about your feature, may
  362. perhaps be implementing it - or the feature was already discussed
  363. and rejected for whatever reason. You might want to go ahead and
  364. hack a patch for it. (That would be very cool!) Another
  365. possibility is to use the Feature Request Tracker at the
  366. sourceforge project page.
  367. 6. Installing Claws from CVS
  368. ----------------------------
  369. a. Downloading
  370. --------------
  371. To download the latest cvs cd to the directory where you wish to download
  372. to and type the following information:
  373. cvs -d:pserver:anonymous@cvs.sylpheed-claws.sourceforge.net:/cvsroot/sylpheed-claws login
  374. When prompted for a password press the RETURN key.
  375. After anonymously logging in:
  376. cvs -z3 -d:pserver:anonymous@cvs.sylpheed-claws.sourceforge.net:/cvsroot/sylpheed-claws co sylpheed-claws
  377. b. Installing
  378. -------------
  379. To compile and install use the following commands:
  380. ./autogen.sh [add configure options as required]
  381. make
  382. make install [as root]
  383. You will need a full set of development tools installed to be able to run
  384. autogen.sh. See also ac/README.
  385. 7. History
  386. ----------
  387. TODO