sup 1.0 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/checks.yml +58 -0
  3. data/.rubocop.yml +5 -0
  4. data/CONTRIBUTORS +5 -2
  5. data/Gemfile +5 -1
  6. data/History.txt +33 -0
  7. data/Manifest.txt +171 -0
  8. data/README.md +9 -4
  9. data/Rakefile +40 -1
  10. data/bin/sup-add +4 -8
  11. data/bin/sup-sync-back-maildir +1 -1
  12. data/contrib/nix/Gemfile +22 -0
  13. data/contrib/nix/Gemfile.lock +80 -0
  14. data/contrib/nix/README +7 -0
  15. data/contrib/nix/gem-install-shell.nix +12 -0
  16. data/contrib/nix/gemset.nix +339 -0
  17. data/contrib/nix/ruby2.4-Gemfile.lock +81 -0
  18. data/contrib/nix/ruby2.4-gemset.nix +309 -0
  19. data/contrib/nix/ruby2.4-shell.nix +30 -0
  20. data/contrib/nix/ruby2.5-Gemfile.lock +81 -0
  21. data/contrib/nix/ruby2.5-gemset.nix +309 -0
  22. data/contrib/nix/ruby2.5-shell.nix +30 -0
  23. data/contrib/nix/ruby2.6-Gemfile.lock +83 -0
  24. data/contrib/nix/ruby2.6-gemset.nix +319 -0
  25. data/contrib/nix/ruby2.6-shell.nix +30 -0
  26. data/contrib/nix/ruby2.7-shell.nix +23 -0
  27. data/contrib/nix/ruby3.0-shell.nix +23 -0
  28. data/contrib/nix/ruby3.1-shell.nix +23 -0
  29. data/contrib/nix/ruby3.2-shell.nix +23 -0
  30. data/contrib/nix/ruby3.3-shell.nix +23 -0
  31. data/contrib/nix/test-all-rubies.sh +6 -0
  32. data/doc/Hooks.txt +1 -1
  33. data/ext/mkrf_conf_xapian.rb +12 -6
  34. data/lib/sup/colormap.rb +1 -1
  35. data/lib/sup/crypto.rb +1 -1
  36. data/lib/sup/hook.rb +1 -1
  37. data/lib/sup/index.rb +4 -4
  38. data/lib/sup/keymap.rb +1 -1
  39. data/lib/sup/maildir.rb +5 -5
  40. data/lib/sup/mbox.rb +5 -5
  41. data/lib/sup/message.rb +8 -7
  42. data/lib/sup/message_chunks.rb +27 -19
  43. data/lib/sup/modes/completion_mode.rb +0 -1
  44. data/lib/sup/modes/console_mode.rb +1 -1
  45. data/lib/sup/modes/file_browser_mode.rb +2 -2
  46. data/lib/sup/modes/label_list_mode.rb +1 -1
  47. data/lib/sup/modes/search_list_mode.rb +2 -2
  48. data/lib/sup/modes/thread_view_mode.rb +1 -2
  49. data/lib/sup/rfc2047.rb +21 -6
  50. data/lib/sup/source.rb +8 -2
  51. data/lib/sup/textfield.rb +0 -1
  52. data/lib/sup/thread.rb +20 -21
  53. data/lib/sup/util.rb +31 -53
  54. data/lib/sup/version.rb +1 -1
  55. data/lib/sup.rb +12 -8
  56. data/man/sup-add.1 +39 -39
  57. data/man/sup-config.1 +31 -27
  58. data/man/sup-dump.1 +34 -35
  59. data/man/sup-import-dump.1 +36 -32
  60. data/man/sup-psych-ify-config-files.1 +29 -25
  61. data/man/sup-recover-sources.1 +32 -28
  62. data/man/sup-sync-back-maildir.1 +34 -30
  63. data/man/sup-sync.1 +40 -36
  64. data/man/sup-tweak-labels.1 +36 -32
  65. data/man/sup.1 +41 -37
  66. data/shell.nix +1 -0
  67. data/sup.gemspec +6 -4
  68. data/test/dummy_source.rb +21 -15
  69. data/test/fixtures/embedded-message.eml +34 -0
  70. data/test/fixtures/non-ascii-header-in-nested-message.eml +36 -0
  71. data/test/fixtures/non-ascii-header.eml +8 -0
  72. data/test/fixtures/rfc2047-header-encoding.eml +15 -0
  73. data/test/fixtures/text-attachments-with-charset.eml +15 -1
  74. data/test/fixtures/utf8-header.eml +17 -0
  75. data/test/integration/test_maildir.rb +3 -0
  76. data/test/integration/test_mbox.rb +4 -1
  77. data/test/integration/test_sup-add.rb +83 -0
  78. data/test/integration/test_sup-sync-back-maildir.rb +40 -0
  79. data/test/test_crypto.rb +44 -0
  80. data/test/test_header_parsing.rb +11 -3
  81. data/test/test_helper.rb +7 -4
  82. data/test/test_message.rb +124 -32
  83. data/test/test_messages_dir.rb +13 -15
  84. data/test/unit/test_horizontal_selector.rb +4 -4
  85. data/test/unit/test_locale_fiddler.rb +1 -1
  86. data/test/unit/util/test_query.rb +1 -1
  87. data/test/unit/util/test_string.rb +3 -3
  88. data/test/unit/util/test_uri.rb +2 -2
  89. metadata +69 -18
  90. data/.travis.yml +0 -18
  91. data/bin/sup-psych-ify-config-files +0 -21
  92. data/test/integration/test_label_service.rb +0 -18
  93. data/test/test_yaml_migration.rb +0 -85
data/man/sup-add.1 CHANGED
@@ -1,97 +1,95 @@
1
- .\" Automatically generated by Pandoc 2.7.3
1
+ .\" Automatically generated by Pandoc 3.1.9
2
2
  .\"
3
3
  .TH "SUP-ADD" "1" "April 9, 2012" "Sup User Manual" ""
4
- .hy
5
4
  .SH NAME
6
- .PP
7
5
  sup-add - add a source to the Sup source list
8
6
  .SH SYNOPSIS
9
- .PP
10
7
  sup-add [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
11
8
  .SH DESCRIPTION
12
- .PP
13
9
  Add one ore more sources to the Sup source list
14
10
  .PP
15
11
  For mbox files on local disk, use the form:
16
12
  .IP
17
- .nf
18
- \f[C]
13
+ .EX
19
14
  mbox:<path to mbox file>, or
20
15
 
21
16
  mbox://<path to mbox file>
22
- \f[R]
23
- .fi
17
+ .EE
24
18
  .PP
25
19
  For Maildir folders, use the form:
26
20
  .IP
27
- .nf
28
- \f[C]
21
+ .EX
29
22
  maildir:<path to Maildir directory>; or
30
23
 
31
24
  maildir://<path to Maildir directory>
32
- \f[R]
33
- .fi
25
+ .EE
34
26
  .SH OPTIONS
35
27
  .TP
36
- .B -a, --archive
28
+ -a, --archive
37
29
  Automatically archive all new messages from thesesources.
38
30
  .TP
39
- .B -u, --unusual
31
+ -u, --unusual
40
32
  Do not automatically poll these sources for new messages.
41
33
  .TP
42
- .B -l \f[I]STRING\f[R], --labels \f[I]STRING\f[R]
34
+ -l \f[I]STRING\f[R], --labels \f[I]STRING\f[R]
43
35
  A comma-separated set of labels to apply to all messages from this
44
36
  source
45
37
  .TP
46
- .B -f, --force-new
38
+ -f, --force-new
47
39
  Create a new account for this source, even if one already exists
48
40
  .TP
49
- .B -o \f[I]STRING\f[R], --force-account \f[I]STRING\f[R]
41
+ -o \f[I]STRING\f[R], --force-account \f[I]STRING\f[R]
50
42
  Reuse previously defined account user\[at]hostname
51
43
  .TP
52
- .B -v, --version
44
+ -v, --version
53
45
  Print version and exit
54
46
  .TP
55
- .B -h, --help
47
+ -h, --help
56
48
  Show help message
57
49
  .SH FILES
58
50
  .TP
59
- .B $HOME/.sup/sources.yaml
51
+ $HOME/.sup/sources.yaml
60
52
  Configuration file for Sup mail sources
61
53
  .SH SEE ALSO
62
- .PP
63
54
  sup(1), sup-config(1)
64
55
  .SH REPORTING BUGS
65
- .PP
66
56
  You are welcome to submit bug reports to the Sup issue tracker, located
67
57
  at
68
58
  .PP
69
- <https://github.com/sup-heliotrope/sup/issues>
59
+ \c
60
+ .UR https://github.com/sup-heliotrope/sup/issues
61
+ .UE \c
70
62
  .SH CONTACT INFORMATION
71
63
  .TP
72
- .B The Sup web page:
73
- <http://supmua.org/>
74
- .TP
75
- .B Code repository:
76
- <https://github.com/sup-heliotrope/sup/>
64
+ The Sup web page:
65
+ \c
66
+ .UR https://sup-heliotrope.github.io/
67
+ .UE \c
77
68
  .TP
78
- .B Sup Wiki:
79
- <https://github.com/sup-heliotrope/sup/wiki/>
69
+ Code repository:
70
+ \c
71
+ .UR https://github.com/sup-heliotrope/sup/
72
+ .UE \c
80
73
  .TP
81
- .B Sup IRC channel:
82
- #sup \[at] freenode.net
74
+ Sup Wiki:
75
+ \c
76
+ .UR https://github.com/sup-heliotrope/sup/wiki/
77
+ .UE \c
83
78
  .TP
84
- .B Mailing list:
79
+ Mailing list:
85
80
  supmua\[at]googlegroups.com
86
81
  .RS
87
82
  .PP
88
83
  supmua+subscribe\[at]googlegroups.com
89
84
  .PP
90
- Archives: <https://groups.google.com/d/forum/supmua/>
85
+ Archives: \c
86
+ .UR https://groups.google.com/d/forum/supmua/
87
+ .UE \c
91
88
  .RE
92
89
  .SH COPYRIGHT
93
- .PP
94
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
90
+ Copyright © 2006-2009 William Morgan \c
91
+ .MT mworgan-sup@masanjin.net
92
+ .ME \c
95
93
  .PP
96
94
  Copyright \[at] 2013-2014 Sup developers
97
95
  .PP
@@ -99,5 +97,7 @@ Permission is granted to copy and distribute this manual under the terms
99
97
  of the GNU General Public License; either version 2 or (at your option)
100
98
  any later version.
101
99
  .SH AUTHORS
102
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
103
- and is now developed and maintained by the Sup developers.
100
+ Sup was originally written by William Morgan \c
101
+ .MT wmorgan-sup@masanjin.net
102
+ .ME \c
103
+ \ and is now developed and maintained by the Sup developers.
data/man/sup-config.1 CHANGED
@@ -1,65 +1,67 @@
1
- .\" Automatically generated by Pandoc 2.7.3
1
+ .\" Automatically generated by Pandoc 3.1.9
2
2
  .\"
3
3
  .TH "SUP-CONFIG" "1" "April 9, 2012" "Sup User Manual" ""
4
- .hy
5
4
  .SH NAME
6
- .PP
7
5
  sup-config - interactive configuration tool for Sup
8
6
  .SH SYNOPSIS
9
- .PP
10
7
  sup-config [\f[I]options\f[R]]
11
8
  .SH DESCRIPTION
12
- .PP
13
9
  Interactive configuration tool for Sup.
14
10
  Won\[cq]t destroy existing configuration.
15
11
  .SH OPTIONS
16
12
  .TP
17
- .B -v, --version
13
+ -v, --version
18
14
  Print versian and exit
19
15
  .TP
20
- .B -h, --help
16
+ -h, --help
21
17
  Show help message
22
18
  .SH FILES
23
19
  .TP
24
- .B $HOME/.sup/config.yaml
20
+ $HOME/.sup/config.yaml
25
21
  Configuration file for Sup
26
22
  .TP
27
- .B $HOME/.sup/sources.yaml
23
+ $HOME/.sup/sources.yaml
28
24
  Configuration file for Sup mail sources
29
25
  .SH SEE ALSO
30
- .PP
31
26
  sup(1), sup-add(1)
32
27
  .SH REPORTING BUGS
33
- .PP
34
28
  You are welcome to submit bug reports to the Sup issue tracker, located
35
29
  at
36
30
  .PP
37
- <https://github.com/sup-heliotrope/sup/issues>
31
+ \c
32
+ .UR https://github.com/sup-heliotrope/sup/issues
33
+ .UE \c
38
34
  .SH CONTACT INFORMATION
39
35
  .TP
40
- .B The Sup web page:
41
- <http://supmua.org/>
42
- .TP
43
- .B Code repository:
44
- <https://github.com/sup-heliotrope/sup/>
36
+ The Sup web page:
37
+ \c
38
+ .UR https://sup-heliotrope.github.io/
39
+ .UE \c
45
40
  .TP
46
- .B Sup Wiki:
47
- <https://github.com/sup-heliotrope/sup/wiki/>
41
+ Code repository:
42
+ \c
43
+ .UR https://github.com/sup-heliotrope/sup/
44
+ .UE \c
48
45
  .TP
49
- .B Sup IRC channel:
50
- #sup \[at] freenode.net
46
+ Sup Wiki:
47
+ \c
48
+ .UR https://github.com/sup-heliotrope/sup/wiki/
49
+ .UE \c
51
50
  .TP
52
- .B Mailing list:
51
+ Mailing list:
53
52
  supmua\[at]googlegroups.com
54
53
  .RS
55
54
  .PP
56
55
  supmua+subscribe\[at]googlegroups.com
57
56
  .PP
58
- Archives: <https://groups.google.com/d/forum/supmua/>
57
+ Archives: \c
58
+ .UR https://groups.google.com/d/forum/supmua/
59
+ .UE \c
59
60
  .RE
60
61
  .SH COPYRIGHT
61
- .PP
62
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
62
+ Copyright © 2006-2009 William Morgan \c
63
+ .MT mworgan-sup@masanjin.net
64
+ .ME \c
63
65
  .PP
64
66
  Copyright \[at] 2013-2014 Sup developers
65
67
  .PP
@@ -67,5 +69,7 @@ Permission is granted to copy and distribute this manual under the terms
67
69
  of the GNU General Public License; either version 2 or (at your option)
68
70
  any later version.
69
71
  .SH AUTHORS
70
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
71
- and is now developed and maintained by the Sup developers.
72
+ Sup was originally written by William Morgan \c
73
+ .MT wmorgan-sup@masanjin.net
74
+ .ME \c
75
+ \ and is now developed and maintained by the Sup developers.
data/man/sup-dump.1 CHANGED
@@ -1,78 +1,75 @@
1
- .\" Automatically generated by Pandoc 2.7.3
1
+ .\" Automatically generated by Pandoc 3.1.9
2
2
  .\"
3
3
  .TH "SUP-DUMP" "1" "April 9, 2012" "Sup User Manual" ""
4
- .hy
5
4
  .SH NAME
6
- .PP
7
5
  sup-dump - dumps message state from Sup index
8
6
  .SH SYNOPSIS
9
- .PP
10
7
  sup-dump [\f[I]options\f[R]]
11
8
  .SH DESCRIPTION
12
- .PP
13
9
  Dumps all message state from the Sup index to standard out.
14
- You can later use sup-sync --restored --restore to recover the index.
10
+ You can later use sup-sync --restored --restore to recover the index.
15
11
  .PP
16
12
  This tool is primarily useful in the event that a Sup upgrade breaks
17
13
  index format compatibility.
18
14
  .SH OPTIONS
19
15
  .TP
20
- .B -v, --version
16
+ -v, --version
21
17
  Print version and exit
22
18
  .TP
23
- .B -h, --help
19
+ -h, --help
24
20
  Show help message
25
21
  .SH EXAMPLES
26
- .PP
27
22
  Dump message state and store in file
28
23
  .IP
29
- .nf
30
- \f[C]
24
+ .EX
31
25
  sup-dump > filename
32
- \f[R]
33
- .fi
26
+ .EE
34
27
  .PP
35
28
  Dump message state and compress output to store in file
36
29
  .IP
37
- .nf
38
- \f[C]
30
+ .EX
39
31
  sup-dump | bzip2 > filename.bz2
40
- \f[R]
41
- .fi
32
+ .EE
42
33
  .SH SEE ALSO
43
- .PP
44
34
  sup(1), sup-sync(1), sup-import-dump(1)
45
35
  .SH REPORTING BUGS
46
- .PP
47
36
  You are welcome to submit bug reports to the Sup issue tracker, located
48
37
  at
49
38
  .PP
50
- <https://github.com/sup-heliotrope/sup/issues>
39
+ \c
40
+ .UR https://github.com/sup-heliotrope/sup/issues
41
+ .UE \c
51
42
  .SH CONTACT INFORMATION
52
43
  .TP
53
- .B The Sup web page:
54
- <http://supmua.org/>
44
+ The Sup web page:
45
+ \c
46
+ .UR https://sup-heliotrope.github.io/
47
+ .UE \c
55
48
  .TP
56
- .B Code repository:
57
- <https://github.com/sup-heliotrope/sup/>
49
+ Code repository:
50
+ \c
51
+ .UR https://github.com/sup-heliotrope/sup/
52
+ .UE \c
58
53
  .TP
59
- .B Sup Wiki:
60
- <https://github.com/sup-heliotrope/sup/wiki/>
54
+ Sup Wiki:
55
+ \c
56
+ .UR https://github.com/sup-heliotrope/sup/wiki/
57
+ .UE \c
61
58
  .TP
62
- .B Sup IRC channel:
63
- #sup \[at] freenode.net
64
- .TP
65
- .B Mailing list:
59
+ Mailing list:
66
60
  supmua\[at]googlegroups.com
67
61
  .RS
68
62
  .PP
69
63
  supmua+subscribe\[at]googlegroups.com
70
64
  .PP
71
- Archives: <https://groups.google.com/d/forum/supmua/>
65
+ Archives: \c
66
+ .UR https://groups.google.com/d/forum/supmua/
67
+ .UE \c
72
68
  .RE
73
69
  .SH COPYRIGHT
74
- .PP
75
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
70
+ Copyright © 2006-2009 William Morgan \c
71
+ .MT mworgan-sup@masanjin.net
72
+ .ME \c
76
73
  .PP
77
74
  Copyright \[at] 2013-2014 Sup developers
78
75
  .PP
@@ -80,5 +77,7 @@ Permission is granted to copy and distribute this manual under the terms
80
77
  of the GNU General Public License; either version 2 or (at your option)
81
78
  any later version.
82
79
  .SH AUTHORS
83
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
84
- and is now developed and maintained by the Sup developers.
80
+ Sup was originally written by William Morgan \c
81
+ .MT wmorgan-sup@masanjin.net
82
+ .ME \c
83
+ \ and is now developed and maintained by the Sup developers.
@@ -1,81 +1,83 @@
1
- .\" Automatically generated by Pandoc 2.7.3
1
+ .\" Automatically generated by Pandoc 3.1.9
2
2
  .\"
3
3
  .TH "SUP-IMPORT-DUMP" "1" "April 9, 2012" "Sup User Manual" ""
4
- .hy
5
4
  .SH NAME
6
- .PP
7
5
  sup-import-dump - import message state dump to Sup index
8
6
  .SH SYNOPSIS
9
- .PP
10
7
  sup-import-dump [\f[I]options\f[R]] dumpfile
11
8
  .SH DESCRIPTION
12
- .PP
13
9
  Imports message state previously exported by sup-dump into the index.
14
10
  sup-import-dump operates on the index only, so the messages must have
15
11
  already been added using sup-sync.
16
- If you need to recreate the index, see sup-sync --restore instead.
12
+ If you need to recreate the index, see sup-sync --restore instead.
17
13
  .PP
18
14
  Messages not mentioned in the dump file will not be modified.
19
15
  .SH OPTIONS
20
16
  .TP
21
- .B -v, --verbose
17
+ -v, --verbose
22
18
  Print message ids as they\[cq]re processed
23
19
  .TP
24
- .B -i, --ignore-missing
20
+ -i, --ignore-missing
25
21
  Silently skip over messages that are not in the index
26
22
  .TP
27
- .B -w, --warn-missing
23
+ -w, --warn-missing
28
24
  Warn about messages that are not in the index, but continue
29
25
  .TP
30
- .B -a, --abort-missing
26
+ -a, --abort-missing
31
27
  Abort on encountering messages that are not in the index (default)
32
28
  .TP
33
- .B -t, --atomic
29
+ -t, --atomic
34
30
  Use transaction to apply all changes atomically
35
31
  .TP
36
- .B -n, --dry-run
32
+ -n, --dry-run
37
33
  Don\[cq]t actually modify the index.
38
34
  Probably only useful with --verbose
39
35
  .TP
40
- .B --version
36
+ --version
41
37
  Show version information
42
38
  .TP
43
- .B -h, --help
39
+ -h, --help
44
40
  Show help message
45
41
  .SH SEE ALSO
46
- .PP
47
42
  sup(1), sup-sync(1), sup-dump(1)
48
43
  .SH REPORTING BUGS
49
- .PP
50
44
  You are welcome to submit bug reports to the Sup issue tracker, located
51
45
  at
52
46
  .PP
53
- <https://github.com/sup-heliotrope/sup/issues>
47
+ \c
48
+ .UR https://github.com/sup-heliotrope/sup/issues
49
+ .UE \c
54
50
  .SH CONTACT INFORMATION
55
51
  .TP
56
- .B The Sup web page:
57
- <http://supmua.org/>
58
- .TP
59
- .B Code repository:
60
- <https://github.com/sup-heliotrope/sup/>
52
+ The Sup web page:
53
+ \c
54
+ .UR https://sup-heliotrope.github.io/
55
+ .UE \c
61
56
  .TP
62
- .B Sup Wiki:
63
- <https://github.com/sup-heliotrope/sup/wiki/>
57
+ Code repository:
58
+ \c
59
+ .UR https://github.com/sup-heliotrope/sup/
60
+ .UE \c
64
61
  .TP
65
- .B Sup IRC channel:
66
- #sup \[at] freenode.net
62
+ Sup Wiki:
63
+ \c
64
+ .UR https://github.com/sup-heliotrope/sup/wiki/
65
+ .UE \c
67
66
  .TP
68
- .B Mailing list:
67
+ Mailing list:
69
68
  supmua\[at]googlegroups.com
70
69
  .RS
71
70
  .PP
72
71
  supmua+subscribe\[at]googlegroups.com
73
72
  .PP
74
- Archives: <https://groups.google.com/d/forum/supmua/>
73
+ Archives: \c
74
+ .UR https://groups.google.com/d/forum/supmua/
75
+ .UE \c
75
76
  .RE
76
77
  .SH COPYRIGHT
77
- .PP
78
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
78
+ Copyright © 2006-2009 William Morgan \c
79
+ .MT mworgan-sup@masanjin.net
80
+ .ME \c
79
81
  .PP
80
82
  Copyright \[at] 2013-2014 Sup developers
81
83
  .PP
@@ -83,5 +85,7 @@ Permission is granted to copy and distribute this manual under the terms
83
85
  of the GNU General Public License; either version 2 or (at your option)
84
86
  any later version.
85
87
  .SH AUTHORS
86
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
87
- and is now developed and maintained by the Sup developers.
88
+ Sup was originally written by William Morgan \c
89
+ .MT wmorgan-sup@masanjin.net
90
+ .ME \c
91
+ \ and is now developed and maintained by the Sup developers.
@@ -1,15 +1,11 @@
1
- .\" Automatically generated by Pandoc 2.7.3
1
+ .\" Automatically generated by Pandoc 3.1.9
2
2
  .\"
3
3
  .TH "SUP-SYNC" "1" "September 3, 2014" "Sup User Manual" ""
4
- .hy
5
4
  .SH NAME
6
- .PP
7
5
  sup-psych-ify-config-files - migrate Sup configuration
8
6
  .SH SYNOPSIS
9
- .PP
10
7
  sup-psych-ify-config-files
11
8
  .SH DESCRIPTION
12
- .PP
13
9
  \f[B]YAML migration is deprecated by Ruby 2.1 and newer.\f[R]
14
10
  .PP
15
11
  If sup-psych-ify-config-files is executed by Ruby <= 2.0 it migrates the
@@ -22,45 +18,51 @@ Read more on the Sup wiki
22
18
  https://github.com/sup-heliotrope/sup/wiki/Migration-0.13-to-0.14
23
19
  .SH FILES
24
20
  .TP
25
- .B $HOME/.sup/config.yaml
21
+ $HOME/.sup/config.yaml
26
22
  Sup configuration file
27
23
  .TP
28
- .B $HOME/.sup/sources.yaml
24
+ $HOME/.sup/sources.yaml
29
25
  Configuration file for Sup mail sources
30
26
  .SH SEE ALSO
31
- .PP
32
27
  sup(1), sup-add(1), sup-config(1), sup-dump(1)
33
28
  .SH REPORTING BUGS
34
- .PP
35
29
  You are welcome to submit bug reports to the Sup issue tracker, located
36
30
  at
37
31
  .PP
38
- <https://github.com/sup-heliotrope/sup/issues>
32
+ \c
33
+ .UR https://github.com/sup-heliotrope/sup/issues
34
+ .UE \c
39
35
  .SH CONTACT INFORMATION
40
36
  .TP
41
- .B The Sup web page:
42
- <http://supmua.org/>
43
- .TP
44
- .B Code repository:
45
- <https://github.com/sup-heliotrope/sup/>
37
+ The Sup web page:
38
+ \c
39
+ .UR https://sup-heliotrope.github.io/
40
+ .UE \c
46
41
  .TP
47
- .B Sup Wiki:
48
- <https://github.com/sup-heliotrope/sup/wiki/>
42
+ Code repository:
43
+ \c
44
+ .UR https://github.com/sup-heliotrope/sup/
45
+ .UE \c
49
46
  .TP
50
- .B Sup IRC channel:
51
- #sup \[at] freenode.net
47
+ Sup Wiki:
48
+ \c
49
+ .UR https://github.com/sup-heliotrope/sup/wiki/
50
+ .UE \c
52
51
  .TP
53
- .B Mailing list:
52
+ Mailing list:
54
53
  supmua\[at]googlegroups.com
55
54
  .RS
56
55
  .PP
57
56
  supmua+subscribe\[at]googlegroups.com
58
57
  .PP
59
- Archives: <https://groups.google.com/d/forum/supmua/>
58
+ Archives: \c
59
+ .UR https://groups.google.com/d/forum/supmua/
60
+ .UE \c
60
61
  .RE
61
62
  .SH COPYRIGHT
62
- .PP
63
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
63
+ Copyright © 2006-2009 William Morgan \c
64
+ .MT mworgan-sup@masanjin.net
65
+ .ME \c
64
66
  .PP
65
67
  Copyright \[at] 2013-2014 Sup developers
66
68
  .PP
@@ -68,5 +70,7 @@ Permission is granted to copy and distribute this manual under the terms
68
70
  of the GNU General Public License; either version 2 or (at your option)
69
71
  any later version.
70
72
  .SH AUTHORS
71
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
72
- and is now developed and maintained by the Sup developers.
73
+ Sup was originally written by William Morgan \c
74
+ .MT wmorgan-sup@masanjin.net
75
+ .ME \c
76
+ \ and is now developed and maintained by the Sup developers.
@@ -1,15 +1,11 @@
1
- .\" Automatically generated by Pandoc 2.7.3
1
+ .\" Automatically generated by Pandoc 3.1.9
2
2
  .\"
3
3
  .TH "SUP-RECOVER-SOURCES" "1" "April 9, 2012" "Sup User Manual" ""
4
- .hy
5
4
  .SH NAME
6
- .PP
7
5
  sup-recover-sources - rebuild a lost Sup source configuration file
8
6
  .SH SYNOPSIS
9
- .PP
10
7
  sup-recover-sources [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
11
8
  .SH DESCRIPTION
12
- .PP
13
9
  Rebuilds a lost sources.yaml file by reading messages from a list of
14
10
  sources and determining, for each source, the most prevalent `source_id'
15
11
  field of messages from that source in the index.
@@ -28,58 +24,64 @@ source, so you will have to run sup-import --rebuild for each new source
28
24
  after doing this.
29
25
  .SH OPTIONS
30
26
  .TP
31
- .B --unusual
27
+ --unusual
32
28
  Mark sources as `unusual'.
33
29
  Only usual sources will be polled by hand (default: false)
34
30
  .TP
35
- .B --archive
31
+ --archive
36
32
  Mark sources as `archive'.
37
33
  New messages from these sources will not appear in the inbox (default:
38
34
  false)
39
35
  .TP
40
- .B --scan-num N
36
+ --scan-num N
41
37
  Number of messages to scan per source (default: 10)
42
38
  .TP
43
- .B -h, --help
39
+ -h, --help
44
40
  Show help message
45
41
  .SH FILES
46
42
  .TP
47
- .B $HOME/.sup/sources.yaml
43
+ $HOME/.sup/sources.yaml
48
44
  Configuration file for Sup mail sources
49
45
  .SH SEE ALSO
50
- .PP
51
46
  sup(1), sup-config(1), sup-add(1), sup-import(1)
52
47
  .SH REPORTING BUGS
53
- .PP
54
48
  You are welcome to submit bug reports to the Sup issue tracker, located
55
49
  at
56
50
  .PP
57
- <https://github.com/sup-heliotrope/sup/issues>
51
+ \c
52
+ .UR https://github.com/sup-heliotrope/sup/issues
53
+ .UE \c
58
54
  .SH CONTACT INFORMATION
59
55
  .TP
60
- .B The Sup web page:
61
- <http://supmua.org/>
62
- .TP
63
- .B Code repository:
64
- <https://github.com/sup-heliotrope/sup/>
56
+ The Sup web page:
57
+ \c
58
+ .UR https://sup-heliotrope.github.io/
59
+ .UE \c
65
60
  .TP
66
- .B Sup Wiki:
67
- <https://github.com/sup-heliotrope/sup/wiki/>
61
+ Code repository:
62
+ \c
63
+ .UR https://github.com/sup-heliotrope/sup/
64
+ .UE \c
68
65
  .TP
69
- .B Sup IRC channel:
70
- #sup \[at] freenode.net
66
+ Sup Wiki:
67
+ \c
68
+ .UR https://github.com/sup-heliotrope/sup/wiki/
69
+ .UE \c
71
70
  .TP
72
- .B Mailing list:
71
+ Mailing list:
73
72
  supmua\[at]googlegroups.com
74
73
  .RS
75
74
  .PP
76
75
  supmua+subscribe\[at]googlegroups.com
77
76
  .PP
78
- Archives: <https://groups.google.com/d/forum/supmua/>
77
+ Archives: \c
78
+ .UR https://groups.google.com/d/forum/supmua/
79
+ .UE \c
79
80
  .RE
80
81
  .SH COPYRIGHT
81
- .PP
82
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
82
+ Copyright © 2006-2009 William Morgan \c
83
+ .MT mworgan-sup@masanjin.net
84
+ .ME \c
83
85
  .PP
84
86
  Copyright \[at] 2013-2014 Sup developers
85
87
  .PP
@@ -87,5 +89,7 @@ Permission is granted to copy and distribute this manual under the terms
87
89
  of the GNU General Public License; either version 2 or (at your option)
88
90
  any later version.
89
91
  .SH AUTHORS
90
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
91
- and is now developed and maintained by the Sup developers.
92
+ Sup was originally written by William Morgan \c
93
+ .MT wmorgan-sup@masanjin.net
94
+ .ME \c
95
+ \ and is now developed and maintained by the Sup developers.