diff --git a/_service b/_service
new file mode 100644
index 0000000..5bfc424
--- /dev/null
+++ b/_service
@@ -0,0 +1,25 @@
+
+
+
+ git
+ https://repo.or.cz/alpine.git
+ v2.23.2
+ 2.23.2
+ *.dll
+ *.exe
+ *.lib
+
+
+ *.tar
+ xz
+
+
diff --git a/alpine-2.23.2.tar.xz b/alpine-2.23.2.tar.xz
new file mode 100644
index 0000000..fdeee28
--- /dev/null
+++ b/alpine-2.23.2.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:927e170473bb060ccb11a37e30d44bb10aaca50c4aafa974d5741ae593a95694
+size 5151416
diff --git a/alpine-2.23.tar.xz b/alpine-2.23.tar.xz
deleted file mode 100644
index ec73d11..0000000
--- a/alpine-2.23.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:793a61215c005b5fcffb48f642f125915276b7ec7827508dd9e83d4c4da91f7b
-size 6330784
diff --git a/alpine.changes b/alpine.changes
index 9c42941..1c12f20 100644
--- a/alpine.changes
+++ b/alpine.changes
@@ -1,3 +1,19 @@
+-------------------------------------------------------------------
+Fri Oct 2 20:43:57 UTC 2020 - Jan Engelhardt
+
+- Update to release 2.23.2
+ * Expansion of the configuration screen for XOAUTH2 to include
+ username, and tenant.
+ * Alpine uses the domain in the From: header of a message
+ to generate a message-id and suppresses all information
+ about Alpine, version, revision, and time of generation
+ of the message-id from this header.
+ * When messages are selected, pressing the ';' command to
+ broaden or narrow a search, now offers the possibility to
+ completely replace the search, and is almost equivalent to
+ being a shortcut to "unselect all messages, and select
+ again".
+
-------------------------------------------------------------------
Mon Sep 7 13:44:51 UTC 2020 - Jan Engelhardt
diff --git a/alpine.spec b/alpine.spec
index a30196c..1aad30e 100644
--- a/alpine.spec
+++ b/alpine.spec
@@ -19,15 +19,16 @@
Name: alpine
# For debugging only:
%define build_vanilla 0
-Version: 2.23
+Version: 2.23.2
Release: 0
Summary: Mail User Agent
License: Apache-2.0
Group: Productivity/Networking/Email/Clients
URL: http://alpine.x10host.com/alpine/
+#Git-Clone: https://repo.or.cz/alpine.git
-# direct download does not work for openSUSE:Factory
-Source: http://alpine.x10host.com/alpine/release/src/%name-%version.tar.xz
+#Source: http://alpine.x10host.com/alpine/release/src/%name-%version.tar.xz
+Source: %name-%version.tar.xz
Source1: %name.png
Source2: %name.desktop
Source9: UPDATING.txt
diff --git a/chappa-fancy.patch b/chappa-fancy.patch
index a3e06d9..3700211 100644
--- a/chappa-fancy.patch
+++ b/chappa-fancy.patch
@@ -1,7 +1,8 @@
-diff -rc alpine-2.23/alpine/arg.c alpine-2.23.fancy/alpine/arg.c
-*** alpine-2.23/alpine/arg.c 2020-06-18 15:19:23.465318999 -0600
---- alpine-2.23.fancy/alpine/arg.c 2020-06-18 16:08:07.149575591 -0600
-***************
+Index: alpine-2.23.2/alpine/arg.c
+===================================================================
+*** alpine-2.23.2.orig/alpine/arg.c
+--- alpine-2.23.2/alpine/arg.c
+*************** static char args_err_non_abs_pwdcertdir[
*** 68,73 ****
--- 68,74 ----
#endif /* SMIME inside PASSFILE */
@@ -11,9 +12,9 @@ diff -rc alpine-2.23/alpine/arg.c alpine-2.23.fancy/alpine/arg.c
static char args_err_missing_flag_arg[] = N_("missing argument for flag \"%c\"");
static char args_err_missing_flag_num[] = N_("Non numeric argument for flag \"%c\"");
static char args_err_missing_debug_num[] = N_("Non numeric argument for \"%s\"");
-***************
-*** 114,119 ****
---- 115,121 ----
+*************** N_(" -k \t\tKeys - Force use of function
+*** 116,121 ****
+--- 117,123 ----
N_(" -z \t\tSuspend - allow use of ^Z suspension"),
N_(" -r \t\tRestricted - can only send mail to oneself"),
N_(" -sort \tSort - Specify sort order of folder:"),
@@ -21,19 +22,19 @@ diff -rc alpine-2.23/alpine/arg.c alpine-2.23.fancy/alpine/arg.c
N_("\t\t\tarrival, subject, threaded, orderedsubject, date,"),
N_("\t\t\tfrom, size, score, to, cc, /reverse"),
N_(" -i\t\tIndex - Go directly to index, bypassing main menu"),
-***************
-*** 215,220 ****
---- 217,223 ----
+*************** pine_args(struct pine *pine_state, int a
+*** 217,222 ****
+--- 219,225 ----
char *cmd_list = NULL;
char *debug_str = NULL;
char *sort = NULL;
+ char *threadsort = NULL;
char *pinerc_file = NULL;
char *lc = NULL;
- char *xoauth2_server = NULL;
-***************
-*** 439,444 ****
---- 442,458 ----
+ XOAUTH2_INFO_S x;
+*************** Loop: while(--ac > 0)
+*** 440,445 ****
+--- 443,459 ----
goto Loop;
}
@@ -51,11 +52,12 @@ diff -rc alpine-2.23/alpine/arg.c alpine-2.23.fancy/alpine/arg.c
else if(strcmp(*av, "url") == 0){
if(args->action == aaFolder && !args->data.folder){
args->action = aaURL;
-diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
-*** alpine-2.23/alpine/confscroll.c 2020-06-18 15:19:23.465318999 -0600
---- alpine-2.23.fancy/alpine/confscroll.c 2020-06-18 16:08:07.149575591 -0600
-***************
-*** 139,145 ****
+Index: alpine-2.23.2/alpine/confscroll.c
+===================================================================
+*** alpine-2.23.2.orig/alpine/confscroll.c
+--- alpine-2.23.2/alpine/confscroll.c
+*************** char *yesno_pretty_value(struct pine
+*** 140,146 ****
char *radio_pretty_value(struct pine *, CONF_S *);
char *sigfile_pretty_value(struct pine *, CONF_S *);
char *color_pretty_value(struct pine *, CONF_S *);
@@ -63,7 +65,7 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
int longest_feature_name(void);
COLOR_PAIR *sample_color(struct pine *, struct variable *);
COLOR_PAIR *sampleexc_color(struct pine *, struct variable *);
---- 139,145 ----
+--- 140,146 ----
char *radio_pretty_value(struct pine *, CONF_S *);
char *sigfile_pretty_value(struct pine *, CONF_S *);
char *color_pretty_value(struct pine *, CONF_S *);
@@ -71,8 +73,8 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
int longest_feature_name(void);
COLOR_PAIR *sample_color(struct pine *, struct variable *);
COLOR_PAIR *sampleexc_color(struct pine *, struct variable *);
-***************
-*** 287,293 ****
+*************** set_radio_pretty_vals(struct pine *ps, C
+*** 288,294 ****
CONF_S *ctmp;
if(!(cl && *cl &&
@@ -80,7 +82,7 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
standard_radio_var(ps, (*cl)->var) ||
(*cl)->var == startup_ptr)))
return;
---- 287,294 ----
+--- 288,295 ----
CONF_S *ctmp;
if(!(cl && *cl &&
@@ -89,8 +91,8 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
standard_radio_var(ps, (*cl)->var) ||
(*cl)->var == startup_ptr)))
return;
-***************
-*** 2937,2943 ****
+*************** radiobutton_tool(struct pine *ps, int cm
+*** 2960,2966 ****
}
set_current_val((*cl)->var, TRUE, TRUE);
@@ -98,7 +100,7 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
ps->def_sort = def_sort;
ps->def_sort_rev = def_sort_rev;
}
---- 2938,2944 ----
+--- 2961,2967 ----
}
set_current_val((*cl)->var, TRUE, TRUE);
@@ -106,9 +108,9 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
ps->def_sort = def_sort;
ps->def_sort_rev = def_sort_rev;
}
-***************
-*** 2946,2951 ****
---- 2947,2983 ----
+*************** radiobutton_tool(struct pine *ps, int cm
+*** 2969,2974 ****
+--- 2970,3006 ----
ps->mangled_body = 1; /* BUG: redraw it all for now? */
rv = 1;
}
@@ -146,8 +148,8 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
else
q_status_message(SM_ORDER | SM_DING, 3, 6,
"Programmer botch! Unknown radiobutton type.");
-***************
-*** 3809,3815 ****
+*************** pretty_value(struct pine *ps, CONF_S *cl
+*** 3832,3838 ****
else if(standard_radio_var(ps, v) || v == startup_ptr)
return(radio_pretty_value(ps, cl));
else if(v == &ps->vars[V_SORT_KEY])
@@ -155,7 +157,7 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
else if(v == &ps->vars[V_SIGNATURE_FILE])
return(sigfile_pretty_value(ps, cl));
else if(v == &ps->vars[V_USE_ONLY_DOMAIN_NAME])
---- 3841,3849 ----
+--- 3864,3872 ----
else if(standard_radio_var(ps, v) || v == startup_ptr)
return(radio_pretty_value(ps, cl));
else if(v == &ps->vars[V_SORT_KEY])
@@ -165,8 +167,8 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
else if(v == &ps->vars[V_SIGNATURE_FILE])
return(sigfile_pretty_value(ps, cl));
else if(v == &ps->vars[V_USE_ONLY_DOMAIN_NAME])
-***************
-*** 4340,4353 ****
+*************** color_pretty_value(struct pine *ps, CONF
+*** 4363,4376 ****
char *
@@ -181,7 +183,7 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
{
char tmp[6*MAXPATH];
char *pvalnorm, *pvalexc, *pval;
---- 4374,4387 ----
+--- 4397,4410 ----
char *
@@ -196,8 +198,8 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
{
char tmp[6*MAXPATH];
char *pvalnorm, *pvalexc, *pval;
-***************
-*** 4397,4403 ****
+*************** generalized_sort_pretty_value(struct pin
+*** 4420,4426 ****
}
else if(fixed){
pval = v->fixed_val.p;
@@ -205,7 +207,7 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
is_the_one = (var_sort_rev == line_sort_rev && var_sort == line_sort);
utf8_snprintf(tmp, sizeof(tmp), "(%c) %s%-*w%*s%s",
---- 4431,4437 ----
+--- 4454,4460 ----
}
else if(fixed){
pval = v->fixed_val.p;
@@ -213,8 +215,8 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
is_the_one = (var_sort_rev == line_sort_rev && var_sort == line_sort);
utf8_snprintf(tmp, sizeof(tmp), "(%c) %s%-*w%*s%s",
-***************
-*** 4408,4416 ****
+*************** generalized_sort_pretty_value(struct pin
+*** 4431,4439 ****
is_the_one ? " (value is fixed)" : "");
}
else if(is_set_for_this_level){
@@ -224,7 +226,7 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
the_exc_one = (editing_normal_which_isnt_except && pvalexc &&
exc_sort_rev == line_sort_rev && exc_sort == line_sort);
utf8_snprintf(tmp, sizeof(tmp), "(%c) %s%-*w%*s%s",
---- 4442,4450 ----
+--- 4465,4473 ----
is_the_one ? " (value is fixed)" : "");
}
else if(is_set_for_this_level){
@@ -234,8 +236,8 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
the_exc_one = (editing_normal_which_isnt_except && pvalexc &&
exc_sort_rev == line_sort_rev && exc_sort == line_sort);
utf8_snprintf(tmp, sizeof(tmp), "(%c) %s%-*w%*s%s",
-***************
-*** 4428,4434 ****
+*************** generalized_sort_pretty_value(struct pin
+*** 4451,4457 ****
}
else{
if(pvalexc){
@@ -243,7 +245,7 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
is_the_one = (exc_sort_rev == line_sort_rev &&
exc_sort == line_sort);
utf8_snprintf(tmp, sizeof(tmp), "( ) %s%-*w%*s%s",
---- 4462,4468 ----
+--- 4485,4491 ----
}
else{
if(pvalexc){
@@ -251,8 +253,8 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
is_the_one = (exc_sort_rev == line_sort_rev &&
exc_sort == line_sort);
utf8_snprintf(tmp, sizeof(tmp), "( ) %s%-*w%*s%s",
-***************
-*** 4439,4445 ****
+*************** generalized_sort_pretty_value(struct pin
+*** 4462,4468 ****
}
else{
pval = v->current_val.p;
@@ -260,7 +262,7 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
is_the_one = ((pval || default_ok) &&
var_sort_rev == line_sort_rev &&
var_sort == line_sort);
---- 4473,4479 ----
+--- 4496,4502 ----
}
else{
pval = v->current_val.p;
@@ -268,8 +270,8 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
is_the_one = ((pval || default_ok) &&
var_sort_rev == line_sort_rev &&
var_sort == line_sort);
-***************
-*** 5595,5603 ****
+*************** fix_side_effects(struct pine *ps, struct
+*** 5621,5629 ****
else if(revert && var == &ps->vars[V_SORT_KEY]){
int def_sort_rev;
@@ -279,7 +281,7 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
else if(var == &ps->vars[V_THREAD_MORE_CHAR] ||
var == &ps->vars[V_THREAD_EXP_CHAR] ||
var == &ps->vars[V_THREAD_LASTREPLY_CHAR]){
---- 5629,5643 ----
+--- 5655,5669 ----
else if(revert && var == &ps->vars[V_SORT_KEY]){
int def_sort_rev;
@@ -295,10 +297,11 @@ diff -rc alpine-2.23/alpine/confscroll.c alpine-2.23.fancy/alpine/confscroll.c
else if(var == &ps->vars[V_THREAD_MORE_CHAR] ||
var == &ps->vars[V_THREAD_EXP_CHAR] ||
var == &ps->vars[V_THREAD_LASTREPLY_CHAR]){
-diff -rc alpine-2.23/alpine/confscroll.h alpine-2.23.fancy/alpine/confscroll.h
-*** alpine-2.23/alpine/confscroll.h 2020-06-18 15:19:23.465318999 -0600
---- alpine-2.23.fancy/alpine/confscroll.h 2020-06-18 16:08:07.149575591 -0600
-***************
+Index: alpine-2.23.2/alpine/confscroll.h
+===================================================================
+*** alpine-2.23.2.orig/alpine/confscroll.h
+--- alpine-2.23.2/alpine/confscroll.h
+*************** int checkbox_tool(struct pine *, int, C
*** 97,103 ****
int radiobutton_tool(struct pine *, int, CONF_S **, unsigned);
int yesno_tool(struct pine *, int, CONF_S **, unsigned);
@@ -315,10 +318,11 @@ diff -rc alpine-2.23/alpine/confscroll.h alpine-2.23.fancy/alpine/confscroll.h
int exclude_config_var(struct pine *, struct variable *, int);
int config_exit_cmd(unsigned);
int simple_exit_cmd(unsigned);
-diff -rc alpine-2.23/alpine/keymenu.c alpine-2.23.fancy/alpine/keymenu.c
-*** alpine-2.23/alpine/keymenu.c 2020-06-18 15:19:23.469318992 -0600
---- alpine-2.23.fancy/alpine/keymenu.c 2020-06-18 16:08:07.149575591 -0600
-***************
+Index: alpine-2.23.2/alpine/keymenu.c
+===================================================================
+*** alpine-2.23.2.orig/alpine/keymenu.c
+--- alpine-2.23.2/alpine/keymenu.c
+*************** struct key index_keys[] =
*** 679,688 ****
RCOMPOSE_MENU,
HOMEKEY_MENU,
@@ -356,7 +360,7 @@ diff -rc alpine-2.23/alpine/keymenu.c alpine-2.23.fancy/alpine/keymenu.c
{"@", N_("Quota"), {MC_QUOTA,1,{'@'}}, KS_NONE},
NULL_MENU};
INST_KEY_MENU(index_keymenu, index_keys);
-***************
+*************** struct key thread_keys[] =
*** 757,765 ****
RCOMPOSE_MENU,
HOMEKEY_MENU,
@@ -390,7 +394,7 @@ diff -rc alpine-2.23/alpine/keymenu.c alpine-2.23.fancy/alpine/keymenu.c
NULL_MENU};
INST_KEY_MENU(thread_keymenu, thread_keys);
-***************
+*************** struct key view_keys[] =
*** 927,933 ****
NULL_MENU,
NULL_MENU,
@@ -420,35 +424,49 @@ diff -rc alpine-2.23/alpine/keymenu.c alpine-2.23.fancy/alpine/keymenu.c
INST_KEY_MENU(view_keymenu, view_keys);
-diff -rc alpine-2.23/alpine/keymenu.h alpine-2.23.fancy/alpine/keymenu.h
-*** alpine-2.23/alpine/keymenu.h 2020-06-18 15:19:23.469318992 -0600
---- alpine-2.23.fancy/alpine/keymenu.h 2020-06-18 16:08:07.149575591 -0600
-***************
-*** 217,222 ****
---- 217,235 ----
+Index: alpine-2.23.2/alpine/keymenu.h
+===================================================================
+*** alpine-2.23.2.orig/alpine/keymenu.h
+--- alpine-2.23.2/alpine/keymenu.h
+*************** struct key_menu {
+*** 217,225 ****
#define MC_ADDHEADER 804
#define MC_XOAUTH2 805
#define MC_EXTERNAL 806
-+ #define MC_DELTHREAD 807
-+ #define MC_UNDTHREAD 808
-+ #define MC_SELTHREAD 809
-+ #define MC_SSUTHREAD 810
-+ #define MC_DSUTHREAD 811
-+ #define MC_USUTHREAD 812
-+ #define MC_SORTHREAD 813
-+ #define MC_NEXTHREAD 814
-+ #define MC_KOLAPSE 815
-+ #define MC_EXPTHREAD 816
-+ #define MC_PRETHREAD 817
-+ #define MC_CTHREAD 818
-+ #define MC_OTHREAD 819
-
+! #define MC_XSADD 807
+! #define MC_XSDELETE 808
+! #define MC_XSHELP 809
/* Commands for S/MIME screens */
-diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
-*** alpine-2.23/alpine/mailcmd.c 2020-06-18 15:19:23.465318999 -0600
---- alpine-2.23.fancy/alpine/mailcmd.c 2020-06-18 16:08:07.153575601 -0600
-***************
+ #define MC_TRUST 900
+--- 217,238 ----
+ #define MC_ADDHEADER 804
+ #define MC_XOAUTH2 805
+ #define MC_EXTERNAL 806
+! #define MC_DELTHREAD 807
+! #define MC_UNDTHREAD 808
+! #define MC_SELTHREAD 809
+! #define MC_SSUTHREAD 810
+! #define MC_DSUTHREAD 811
+! #define MC_USUTHREAD 812
+! #define MC_SORTHREAD 813
+! #define MC_NEXTHREAD 814
+! #define MC_KOLAPSE 815
+! #define MC_EXPTHREAD 816
+! #define MC_PRETHREAD 817
+! #define MC_CTHREAD 818
+! #define MC_OTHREAD 819
+! #define MC_XSADD 820
+! #define MC_XSDELETE 821
+! #define MC_XSHELP 822
+
+ /* Commands for S/MIME screens */
+ #define MC_TRUST 900
+Index: alpine-2.23.2/alpine/mailcmd.c
+===================================================================
+*** alpine-2.23.2.orig/alpine/mailcmd.c
+--- alpine-2.23.2/alpine/mailcmd.c
+*************** int select_by_thread(MAILSTREAM *, MSG
*** 114,120 ****
char *choose_a_rule(int);
int select_by_keyword(MAILSTREAM *, SEARCHSET **);
@@ -465,8 +483,8 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
int print_index(struct pine *, MSGNO_S *, int);
/*
-***************
-*** 1434,1440 ****
+*************** get_out:
+*** 1435,1441 ****
if(any_messages(msgmap, NULL, NULL)){
if(any_lflagged(msgmap, MN_SLCT) > 0L){
if(apply_command(state, stream, msgmap, 0,
@@ -474,7 +492,7 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
if(F_ON(F_AUTO_UNSELECT, state)){
agg_select_all(stream, msgmap, NULL, 0);
unzoom_index(state, stream, msgmap);
---- 1434,1440 ----
+--- 1435,1441 ----
if(any_messages(msgmap, NULL, NULL)){
if(any_lflagged(msgmap, MN_SLCT) > 0L){
if(apply_command(state, stream, msgmap, 0,
@@ -482,8 +500,8 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
if(F_ON(F_AUTO_UNSELECT, state)){
agg_select_all(stream, msgmap, NULL, 0);
unzoom_index(state, stream, msgmap);
-***************
-*** 1452,1474 ****
+*************** get_out:
+*** 1453,1475 ****
/*-------- Sort command -------*/
case MC_SORT :
@@ -507,7 +525,7 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
}
state->mangled_footer = 1;
---- 1452,1486 ----
+--- 1453,1487 ----
/*-------- Sort command -------*/
case MC_SORT :
@@ -543,9 +561,9 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
}
state->mangled_footer = 1;
-***************
-*** 3313,3318 ****
---- 3325,3334 ----
+*************** cmd_expunge(struct pine *state, MAILSTRE
+*** 3314,3319 ****
+--- 3326,3335 ----
if(SORT_IS_THREADED(msgmap))
refresh_sort(stream, msgmap, SRT_NON);
@@ -556,9 +574,9 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
state->mangled_body = 1;
state->mangled_header = 1;
q_status_message2(SM_ORDER, 0, 4,
-***************
-*** 3414,3419 ****
---- 3430,3438 ----
+*************** cmd_expunge(struct pine *state, MAILSTRE
+*** 3415,3420 ****
+--- 3431,3439 ----
*/
if(SORT_IS_THREADED(msgmap))
refresh_sort(stream, msgmap, SRT_NON);
@@ -568,8 +586,8 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
}
else{
if(del_count){
-***************
-*** 7307,7313 ****
+*************** select_by_current(struct pine *state, MS
+*** 7324,7330 ****
* Maybe it makes sense to zoom after a select but not after a colon
* command even though they are very similar.
*/
@@ -577,7 +595,7 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
}
else{
if((all_selected =
---- 7326,7332 ----
+--- 7343,7349 ----
* Maybe it makes sense to zoom after a select but not after a colon
* command even though they are very similar.
*/
@@ -585,8 +603,8 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
}
else{
if((all_selected =
-***************
-*** 7363,7369 ****
+*************** select_by_current(struct pine *state, MS
+*** 7380,7386 ****
----*/
int
apply_command(struct pine *state, MAILSTREAM *stream, MSGNO_S *msgmap,
@@ -594,7 +612,7 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
{
int i = 8, /* number of static entries in sel_opts3 */
rv = 0,
---- 7382,7388 ----
+--- 7399,7405 ----
----*/
int
apply_command(struct pine *state, MAILSTREAM *stream, MSGNO_S *msgmap,
@@ -602,8 +620,8 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
{
int i = 8, /* number of static entries in sel_opts3 */
rv = 0,
-***************
-*** 7530,7538 ****
+*************** apply_command(struct pine *state, MAILST
+*** 7547,7555 ****
collapse_or_expand(state, stream, msgmap,
F_ON(F_SLASH_COLL_ENTIRE, ps_global)
? 0L
@@ -613,7 +631,7 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
case ':' :
select_thread_stmp(state, stream, msgmap);
break;
---- 7549,7567 ----
+--- 7566,7584 ----
collapse_or_expand(state, stream, msgmap,
F_ON(F_SLASH_COLL_ENTIRE, ps_global)
? 0L
@@ -633,8 +651,8 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
case ':' :
select_thread_stmp(state, stream, msgmap);
break;
-***************
-*** 9578,9587 ****
+*************** Args: state -- pine state pointer
+*** 9595,9604 ****
Returns 0 if it was cancelled, 1 otherwise.
----*/
int
@@ -645,7 +663,7 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
int deefault = 'a', retval = 1;
HelpType help;
ESCKEY_S sorts[14];
---- 9607,9616 ----
+--- 9624,9633 ----
Returns 0 if it was cancelled, 1 otherwise.
----*/
int
@@ -656,8 +674,8 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
int deefault = 'a', retval = 1;
HelpType help;
ESCKEY_S sorts[14];
-***************
-*** 9614,9630 ****
+*************** select_sort(struct pine *state, int ql,
+*** 9631,9647 ****
strncpy(prompt, _("Choose type of sort, or 'R' to reverse current sort : "),
sizeof(prompt));
@@ -675,7 +693,7 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
}
sorts[i].ch = 'r';
---- 9643,9668 ----
+--- 9660,9685 ----
strncpy(prompt, _("Choose type of sort, or 'R' to reverse current sort : "),
sizeof(prompt));
@@ -702,8 +720,8 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
}
sorts[i].ch = 'r';
-***************
-*** 9648,9655 ****
+*************** select_sort(struct pine *state, int ql,
+*** 9665,9672 ****
state->mangled_body = 1; /* signal screen's changed */
if(s == 'r')
*rev = !mn_get_revsort(state->msgmap);
@@ -712,7 +730,7 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
if(F_ON(F_SHOW_SORT, ps_global))
ps_global->mangled_header = 1;
---- 9686,9702 ----
+--- 9703,9719 ----
state->mangled_body = 1; /* signal screen's changed */
if(s == 'r')
*rev = !mn_get_revsort(state->msgmap);
@@ -730,9 +748,9 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
if(F_ON(F_SHOW_SORT, ps_global))
ps_global->mangled_header = 1;
-***************
-*** 10033,10035 ****
---- 10080,10457 ----
+*************** flag_submenu(mc)
+*** 10050,10052 ****
+--- 10097,10474 ----
}
#endif /* _WINDOWS */
@@ -1111,10 +1129,11 @@ diff -rc alpine-2.23/alpine/mailcmd.c alpine-2.23.fancy/alpine/mailcmd.c
+ expand_thread(state, stream, msgmap, 0);
+ }
+
-diff -rc alpine-2.23/alpine/mailcmd.h alpine-2.23.fancy/alpine/mailcmd.h
-*** alpine-2.23/alpine/mailcmd.h 2020-06-18 15:19:23.465318999 -0600
---- alpine-2.23.fancy/alpine/mailcmd.h 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/alpine/mailcmd.h
+===================================================================
+*** alpine-2.23.2.orig/alpine/mailcmd.h
+--- alpine-2.23.2/alpine/mailcmd.h
+*************** char *broach_folder(int, int, int *,
*** 90,96 ****
int ask_mailbox_reopen(struct pine *, int *);
void visit_folder(struct pine *, char *, CONTEXT_S *, MAILSTREAM *, unsigned long);
@@ -1131,7 +1150,7 @@ diff -rc alpine-2.23/alpine/mailcmd.h alpine-2.23.fancy/alpine/mailcmd.h
char **choose_list_of_keywords(void);
char *choose_a_charset(int);
char **choose_list_of_charsets(void);
-***************
+*************** int any_selected_callback(int, long)
*** 108,113 ****
int flag_callback(int, long);
MPopup *flag_submenu(MESSAGECACHE *);
@@ -1155,10 +1174,11 @@ diff -rc alpine-2.23/alpine/mailcmd.h alpine-2.23.fancy/alpine/mailcmd.h
! int expand_this_thread(struct pine *, MAILSTREAM *, MSGNO_S *, int, int);
#endif /* PINE_MAILCMD_INCLUDED */
-diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
-*** alpine-2.23/alpine/mailindx.c 2020-06-18 15:19:23.465318999 -0600
---- alpine-2.23.fancy/alpine/mailindx.c 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/alpine/mailindx.c
+===================================================================
+*** alpine-2.23.2.orig/alpine/mailindx.c
+--- alpine-2.23.2/alpine/mailindx.c
+*************** index_lister(struct pine *state, CONTEXT
*** 564,569 ****
--- 564,570 ----
@@ -1168,7 +1188,7 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
(void) process_cmd(state, stream, msgmap, MC_PREVITEM,
(style == MsgIndex
|| style == MultiMsgIndex
-***************
+*************** index_lister(struct pine *state, CONTEXT
*** 581,586 ****
--- 582,588 ----
@@ -1178,7 +1198,7 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
/*
* Special Page framing handling here. If we
* did something that should scroll-by-a-line, frame
-***************
+*************** view_a_thread:
*** 798,803 ****
--- 800,806 ----
@@ -1188,7 +1208,7 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
if(any_lflagged(msgmap, MN_SLCT)){
PINETHRD_S *thrd, *topthrd;
for(i = 1L; i > 0L && i <= mn_get_total(msgmap);){
-***************
+*************** view_a_thread:
*** 863,869 ****
&& mp.col == id.plus_col
&& style != ThreadIndex){
@@ -1205,7 +1225,7 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
}
else if (mp.doubleclick){
if(mp.button == M_BUTTON_LEFT){
-***************
+*************** view_a_thread:
*** 972,980 ****
@@ -1322,7 +1342,7 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
case MC_DELETE :
case MC_UNDELETE :
case MC_REPLY :
-***************
+*************** view_a_thread:
*** 995,1007 ****
if(rawno)
thrd = fetch_thread(stream, rawno);
@@ -1350,7 +1370,7 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
/* increment current */
if(cmd == MC_DELETE){
advance_cur_after_delete(state, stream, msgmap,
-***************
+*************** top_ent_calc(MAILSTREAM *stream, MSGNO_S
*** 2692,2697 ****
--- 2790,2796 ----
n = mn_raw2m(msgs, thrd->rawno);
@@ -1360,7 +1380,7 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
if(!msgline_hidden(stream, msgs, n, 0)
&& (++m % lines_per_page) == 1L)
t = n;
-***************
+*************** top_ent_calc(MAILSTREAM *stream, MSGNO_S
*** 2760,2770 ****
/* n is the end of this thread */
@@ -1386,7 +1406,7 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
else
thrd = NULL;
}
-***************
+*************** warn_other_cmds(void)
*** 2872,2878 ****
void
@@ -1403,7 +1423,7 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
{
PINETHRD_S *thrd = NULL;
unsigned long rawno, save_branch;
-***************
+*************** thread_command(struct pine *state, MAILS
*** 2921,2927 ****
cancel_busy_cue(0);
@@ -1420,7 +1440,7 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
/* restore the original flags */
copy_lflags(stream, msgmap, MN_STMP, MN_SLCT);
-***************
+*************** index_sort_callback(set, order)
*** 3438,3444 ****
if(set){
sort_folder(ps_global->mail_stream, ps_global->msgmap,
@@ -1437,10 +1457,11 @@ diff -rc alpine-2.23/alpine/mailindx.c alpine-2.23.fancy/alpine/mailindx.c
mswin_beginupdate();
update_titlebar_message();
update_titlebar_status();
-diff -rc alpine-2.23/alpine/mailindx.h alpine-2.23.fancy/alpine/mailindx.h
-*** alpine-2.23/alpine/mailindx.h 2020-06-18 15:19:23.465318999 -0600
---- alpine-2.23.fancy/alpine/mailindx.h 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/alpine/mailindx.h
+===================================================================
+*** alpine-2.23.2.orig/alpine/mailindx.h
+--- alpine-2.23.2/alpine/mailindx.h
+*************** int truncate_subj_and_from_strings(voi
*** 103,109 ****
void paint_index_hline(MAILSTREAM *, long, ICE_S *);
void setup_index_state(int);
@@ -1457,10 +1478,11 @@ diff -rc alpine-2.23/alpine/mailindx.h alpine-2.23.fancy/alpine/mailindx.h
COLOR_PAIR *apply_rev_color(COLOR_PAIR *, int);
#ifdef _WINDOWS
int index_sort_callback(int, long);
-diff -rc alpine-2.23/alpine/mailview.c alpine-2.23.fancy/alpine/mailview.c
-*** alpine-2.23/alpine/mailview.c 2020-06-18 15:19:23.469318992 -0600
---- alpine-2.23.fancy/alpine/mailview.c 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/alpine/mailview.c
+===================================================================
+*** alpine-2.23.2.orig/alpine/mailview.c
+--- alpine-2.23.2/alpine/mailview.c
+*************** scrolltool(SCROLL_S *sparms)
*** 3495,3500 ****
--- 3495,3546 ----
print_to_printer(sparms);
@@ -1515,10 +1537,11 @@ diff -rc alpine-2.23/alpine/mailview.c alpine-2.23.fancy/alpine/mailview.c
/* ------- First handle on Line ------ */
case MC_GOTOBOL :
-diff -rc alpine-2.23/alpine/roleconf.c alpine-2.23.fancy/alpine/roleconf.c
-*** alpine-2.23/alpine/roleconf.c 2020-06-18 15:19:23.469318992 -0600
---- alpine-2.23.fancy/alpine/roleconf.c 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/alpine/roleconf.c
+===================================================================
+*** alpine-2.23.2.orig/alpine/roleconf.c
+--- alpine-2.23.2/alpine/roleconf.c
+*************** role_config_edit_screen(struct pine *ps,
*** 4478,4488 ****
ctmp->tool = role_sort_tool;
ctmp->valoffset = rindent;
@@ -1543,7 +1566,7 @@ diff -rc alpine-2.23/alpine/roleconf.c alpine-2.23.fancy/alpine/roleconf.c
/* allow user to set their default sort order */
new_confline(&ctmp)->var = &sort_act_var;
-***************
+*************** role_config_edit_screen(struct pine *ps,
*** 4492,4498 ****
ctmp->tool = role_sort_tool;
ctmp->valoffset = rindent;
@@ -1560,7 +1583,7 @@ diff -rc alpine-2.23/alpine/roleconf.c alpine-2.23.fancy/alpine/roleconf.c
for(j = 0; j < 2; j++){
for(i = 0; ps->sort_types[i] != EndofList; i++){
-***************
+*************** role_config_edit_screen(struct pine *ps,
*** 4504,4510 ****
ctmp->valoffset = rindent;
ctmp->varmem = i + (j * EndofList);
@@ -1577,7 +1600,7 @@ diff -rc alpine-2.23/alpine/roleconf.c alpine-2.23.fancy/alpine/roleconf.c
}
}
-***************
+*************** role_config_edit_screen(struct pine *ps,
*** 5437,5443 ****
(*result)->patgrp->stat_boy = PAT_STAT_EITHER;
@@ -1594,10 +1617,11 @@ diff -rc alpine-2.23/alpine/roleconf.c alpine-2.23.fancy/alpine/roleconf.c
(*result)->action->sort_is_set = 1;
(*result)->action->sortorder = def_sort;
(*result)->action->revsort = (def_sort_rev ? 1 : 0);
-diff -rc alpine-2.23/alpine/setup.c alpine-2.23.fancy/alpine/setup.c
-*** alpine-2.23/alpine/setup.c 2020-06-18 15:19:23.465318999 -0600
---- alpine-2.23.fancy/alpine/setup.c 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/alpine/setup.c
+===================================================================
+*** alpine-2.23.2.orig/alpine/setup.c
+--- alpine-2.23.2/alpine/setup.c
+*************** option_screen(struct pine *ps, int edit_
*** 262,268 ****
ctmpa->flags |= CF_NOSELECT;
ctmpa->value = cpystr("--- ----------------------");
@@ -1614,7 +1638,7 @@ diff -rc alpine-2.23/alpine/setup.c alpine-2.23.fancy/alpine/setup.c
for(j = 0; j < 2; j++){
for(i = 0; ps->sort_types[i] != EndofList; i++){
-***************
+*************** option_screen(struct pine *ps, int edit_
*** 277,282 ****
--- 277,331 ----
}
@@ -1672,7 +1696,7 @@ diff -rc alpine-2.23/alpine/setup.c alpine-2.23.fancy/alpine/setup.c
else if(vtmp == &ps->vars[V_USE_ONLY_DOMAIN_NAME]){ /* yesno case */
ctmpa->keymenu = &config_yesno_keymenu;
ctmpa->tool = yesno_tool;
-***************
+*************** option_screen(struct pine *ps, int edit_
*** 469,474 ****
--- 518,532 ----
}
@@ -1690,10 +1714,11 @@ diff -rc alpine-2.23/alpine/setup.c alpine-2.23.fancy/alpine/setup.c
treat_color_vars_as_text = 0;
free_saved_config(ps, &vsave, expose_hidden_config);
#ifdef _WINDOWS
-diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
-*** alpine-2.23/pith/conf.c 2020-06-18 15:19:23.461319005 -0600
---- alpine-2.23.fancy/pith/conf.c 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/pith/conf.c
+===================================================================
+*** alpine-2.23.2.orig/pith/conf.c
+--- alpine-2.23.2/pith/conf.c
+*************** CONF_TXT_T cf_text_fcc_name_rule[] = "De
*** 207,212 ****
--- 207,214 ----
@@ -1704,9 +1729,9 @@ diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
CONF_TXT_T cf_text_addrbook_sort_rule[] = "Sets presentation order of address book entries. Choices: dont-sort,\n# fullname-with-lists-last, fullname, nickname-with-lists-last, nickname\n# Default: \"fullname-with-lists-last\".";
CONF_TXT_T cf_text_folder_sort_rule[] = "Sets presentation order of folder list entries. Choices: alphabetical,\n# alpha-with-dirs-last, alpha-with-dirs-first.\n# Default: \"alpha-with-directories-last\".";
-***************
-*** 539,544 ****
---- 541,548 ----
+*************** static struct variable variables[] = {
+*** 541,546 ****
+--- 543,550 ----
NULL, cf_text_fcc_name_rule},
{"sort-key", 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0,
NULL, cf_text_sort_key},
@@ -1715,8 +1740,8 @@ diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
{"addrbook-sort-rule", 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0,
"Address Book Sort Rule", cf_text_addrbook_sort_rule},
{"folder-sort-rule", 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0,
-***************
-*** 1607,1613 ****
+*************** init_vars(struct pine *ps, void (*cmds_f
+*** 1613,1619 ****
register struct variable *vars = ps->vars;
int obs_header_in_reply = 0, /* the obs_ variables are to */
obs_old_style_reply = 0, /* support backwards compatibility */
@@ -1724,7 +1749,7 @@ diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
long rvl;
PINERC_S *fixedprc = NULL;
FeatureLevel obs_feature_level;
---- 1611,1617 ----
+--- 1617,1623 ----
register struct variable *vars = ps->vars;
int obs_header_in_reply = 0, /* the obs_ variables are to */
obs_old_style_reply = 0, /* support backwards compatibility */
@@ -1732,9 +1757,9 @@ diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
long rvl;
PINERC_S *fixedprc = NULL;
FeatureLevel obs_feature_level;
-***************
-*** 1635,1640 ****
---- 1639,1645 ----
+*************** init_vars(struct pine *ps, void (*cmds_f
+*** 1641,1646 ****
+--- 1645,1651 ----
GLO_FEATURE_LEVEL = cpystr("sappling");
GLO_OLD_STYLE_REPLY = cpystr(DF_OLD_STYLE_REPLY);
GLO_SORT_KEY = cpystr(DF_SORT_KEY);
@@ -1742,8 +1767,8 @@ diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
GLO_SAVED_MSG_NAME_RULE = cpystr(DF_SAVED_MSG_NAME_RULE);
GLO_FCC_RULE = cpystr(DF_FCC_RULE);
GLO_AB_SORT_RULE = cpystr(DF_AB_SORT_RULE);
-***************
-*** 2586,2592 ****
+*************** init_vars(struct pine *ps, void (*cmds_f
+*** 2594,2600 ****
set_current_val(&vars[V_ARCHIVED_FOLDERS], TRUE, TRUE);
set_current_val(&vars[V_INCOMING_FOLDERS], TRUE, TRUE);
set_current_val(&vars[V_SORT_KEY], TRUE, TRUE);
@@ -1751,7 +1776,7 @@ diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
snprintf(tmp_20k_buf, SIZEOF_20KBUF, "Sort type \"%.200s\" is invalid", VAR_SORT_KEY);
init_error(ps, SM_ORDER | SM_DING, 3, 5, tmp_20k_buf);
ps->def_sort = SortArrival;
---- 2591,2597 ----
+--- 2599,2605 ----
set_current_val(&vars[V_ARCHIVED_FOLDERS], TRUE, TRUE);
set_current_val(&vars[V_INCOMING_FOLDERS], TRUE, TRUE);
set_current_val(&vars[V_SORT_KEY], TRUE, TRUE);
@@ -1759,9 +1784,9 @@ diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
snprintf(tmp_20k_buf, SIZEOF_20KBUF, "Sort type \"%.200s\" is invalid", VAR_SORT_KEY);
init_error(ps, SM_ORDER | SM_DING, 3, 5, tmp_20k_buf);
ps->def_sort = SortArrival;
-***************
-*** 2595,2600 ****
---- 2600,2616 ----
+*************** init_vars(struct pine *ps, void (*cmds_f
+*** 2603,2608 ****
+--- 2608,2624 ----
else
ps->def_sort_rev = def_sort_rev;
@@ -1779,9 +1804,9 @@ diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
cur_rule_value(&vars[V_SAVED_MSG_NAME_RULE], TRUE, TRUE);
{NAMEVAL_S *v; int i;
for(i = 0; (v = save_msg_rules(i)); i++)
-***************
-*** 3020,3025 ****
---- 3036,3043 ----
+*************** feature_list(int index)
+*** 3028,3033 ****
+--- 3044,3051 ----
F_COLOR_LINE_IMPORTANT, h_config_color_thrd_import, PREF_INDX, 0},
{"thread-sorts-by-arrival", "Thread Sorts by Arrival",
F_THREAD_SORTS_BY_ARRIVAL, h_config_thread_sorts_by_arrival, PREF_INDX, 0},
@@ -1790,9 +1815,9 @@ diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
/* Viewer prefs */
{"enable-msg-view-addresses", "Enable Message View Address Links",
-***************
-*** 7783,7788 ****
---- 7801,7808 ----
+*************** config_help(int var, int feature)
+*** 7792,7797 ****
+--- 7810,7817 ----
return(h_config_fcc_rule);
case V_SORT_KEY :
return(h_config_sort_key);
@@ -1801,9 +1826,10 @@ diff -rc alpine-2.23/pith/conf.c alpine-2.23.fancy/pith/conf.c
case V_AB_SORT_RULE :
return(h_config_ab_sort_rule);
case V_FLD_SORT_RULE :
-diff -rc alpine-2.23/pith/conf.h alpine-2.23.fancy/pith/conf.h
-*** alpine-2.23/pith/conf.h 2020-06-18 15:19:23.461319005 -0600
---- alpine-2.23.fancy/pith/conf.h 2020-06-18 16:08:07.153575601 -0600
+Index: alpine-2.23.2/pith/conf.h
+===================================================================
+*** alpine-2.23.2.orig/pith/conf.h
+--- alpine-2.23.2/pith/conf.h
***************
*** 150,155 ****
--- 150,158 ----
@@ -1816,10 +1842,11 @@ diff -rc alpine-2.23/pith/conf.h alpine-2.23.fancy/pith/conf.h
#define VAR_AB_SORT_RULE vars[V_AB_SORT_RULE].current_val.p
#define GLO_AB_SORT_RULE vars[V_AB_SORT_RULE].global_val.p
#define VAR_FLD_SORT_RULE vars[V_FLD_SORT_RULE].current_val.p
-diff -rc alpine-2.23/pith/conftype.h alpine-2.23.fancy/pith/conftype.h
-*** alpine-2.23/pith/conftype.h 2020-06-18 15:19:23.461319005 -0600
---- alpine-2.23.fancy/pith/conftype.h 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/pith/conftype.h
+===================================================================
+*** alpine-2.23.2.orig/pith/conftype.h
+--- alpine-2.23.2/pith/conftype.h
+*************** typedef enum { V_PERSONAL_NAME = 0
*** 59,64 ****
--- 59,65 ----
, V_SAVED_MSG_NAME_RULE
@@ -1829,9 +1856,9 @@ diff -rc alpine-2.23/pith/conftype.h alpine-2.23.fancy/pith/conftype.h
, V_AB_SORT_RULE
, V_FLD_SORT_RULE
, V_GOTO_DEFAULT_RULE
-***************
-*** 526,531 ****
---- 527,533 ----
+*************** typedef enum {
+*** 529,534 ****
+--- 530,536 ----
F_QUELL_TIMEZONE,
F_QUELL_USERAGENT,
F_COLOR_LINE_IMPORTANT,
@@ -1839,19 +1866,20 @@ diff -rc alpine-2.23/pith/conftype.h alpine-2.23.fancy/pith/conftype.h
F_SLASH_COLL_ENTIRE,
F_ENABLE_FULL_HDR_AND_TEXT,
F_QUELL_FULL_HDR_RESET,
-***************
-*** 791,795 ****
---- 793,798 ----
+*************** typedef struct smime_stuff {
+*** 794,798 ****
+--- 796,801 ----
/* exported prototypes */
+ #define DF_THREAD_SORT_KEY "thread"
#endif /* PITH_CONFTYPE_INCLUDED */
-diff -rc alpine-2.23/pith/flag.c alpine-2.23.fancy/pith/flag.c
-*** alpine-2.23/pith/flag.c 2020-06-18 15:19:23.461319005 -0600
---- alpine-2.23.fancy/pith/flag.c 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/pith/flag.c
+===================================================================
+*** alpine-2.23.2.orig/pith/flag.c
+--- alpine-2.23.2/pith/flag.c
+*************** set_lflag(MAILSTREAM *stream, MSGNO_S *m
*** 594,607 ****
was_invisible = (pelt->hidden || pelt->colhid) ? 1 : 0;
@@ -1884,10 +1912,11 @@ diff -rc alpine-2.23/pith/flag.c alpine-2.23.fancy/pith/flag.c
}
if(topthrd){
-diff -rc alpine-2.23/pith/indxtype.h alpine-2.23.fancy/pith/indxtype.h
-*** alpine-2.23/pith/indxtype.h 2020-06-18 15:19:23.461319005 -0600
---- alpine-2.23.fancy/pith/indxtype.h 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/pith/indxtype.h
+===================================================================
+*** alpine-2.23.2.orig/pith/indxtype.h
+--- alpine-2.23.2/pith/indxtype.h
+*************** typedef enum {iNothing, iStatus, iFStatu
*** 78,84 ****
iKey, iKeyInit,
iPrefDate, iPrefTime, iPrefDateTime,
@@ -1904,10 +1933,11 @@ diff -rc alpine-2.23/pith/indxtype.h alpine-2.23.fancy/pith/indxtype.h
iNewsAndTo, iToAndNews, iNewsAndRecips, iRecipsAndNews,
iFromTo, iFromToNotNews, iFrom, iTo, iSender, iCc, iNews, iRecips,
iCurNews, iArrow,
-diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
-*** alpine-2.23/pith/mailindx.c 2020-06-18 15:19:23.461319005 -0600
---- alpine-2.23.fancy/pith/mailindx.c 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/pith/mailindx.c
+===================================================================
+*** alpine-2.23.2.orig/pith/mailindx.c
+--- alpine-2.23.2/pith/mailindx.c
+*************** init_index_format(char *format, INDEX_CO
*** 229,234 ****
--- 229,235 ----
case iSTime:
@@ -1917,7 +1947,7 @@ diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
case iPrioAlpha:
(*answer)[column].req_width = 7;
break;
-***************
+*************** static INDEX_PARSE_T itokens[] = {
*** 456,461 ****
--- 457,463 ----
{"FROMORTONOTNEWS", iFromToNotNews, FOR_INDEX},
@@ -1927,7 +1957,7 @@ diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
{"SIZENARROW", iSizeNarrow, FOR_INDEX},
{"KSIZE", iKSize, FOR_INDEX},
{"SUBJECT", iSubject, FOR_INDEX|FOR_REPLY_INTRO|FOR_TEMPLATE},
-***************
+*************** static IndexColType fixed_ctypes[] = {
*** 954,960 ****
iSDateTimeS1, iSDateTimeS2, iSDateTimeS3, iSDateTimeS4,
iSDateTimeIso24, iSDateTimeIsoS24,
@@ -1944,7 +1974,7 @@ diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
iPrio, iPrioBang, iPrioAlpha, iInit,
iAtt, iTime24, iTime12, iTimezone, iMonAbb, iYear, iYear2Digit,
iDay2Digit, iMon2Digit, iDayOfWeekAbb, iScore, iMonLong, iDayOfWeek
-***************
+*************** setup_index_header_widths(MAILSTREAM *st
*** 1147,1152 ****
--- 1149,1155 ----
case iTime12:
@@ -1954,7 +1984,7 @@ diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
cdesc->actual_length = 7;
cdesc->adjustment = Right;
break;
-***************
+*************** setup_index_header_widths(MAILSTREAM *st
*** 1241,1247 ****
cdesc->ctype != iNothing;
cdesc++)
@@ -1971,7 +2001,7 @@ diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
cdesc->ctype == iSizeComma || cdesc->ctype == iDescripSize){
if(cdesc->actual_length == 0){
if((fix=cdesc->width) > 0){ /* had this reserved */
-***************
+*************** build_header_work(struct pine *state, MA
*** 1627,1636 ****
/* find next thread which is visible */
@@ -1996,7 +2026,7 @@ diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
else
thrd = NULL;
} while(thrd
-***************
+*************** format_index_index_line(INDEXDATA_S *ida
*** 2042,2054 ****
*/
ice = copy_ice(ice);
@@ -2022,7 +2052,7 @@ diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
/* calculate contents of the required fields */
for(cdesc = ps_global->index_disp_format; cdesc->ctype != iNothing; cdesc++)
-***************
+*************** format_index_index_line(INDEXDATA_S *ida
*** 2550,2556 ****
--- 2552,2581 ----
@@ -2055,7 +2085,7 @@ diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
/* 0 ... 9999 */
if((l = fetch_size(idata)) < 10*1000L)
snprintf(str, sizeof(str), "(%lu)", l);
-***************
+*************** subj_str(INDEXDATA_S *idata, char *str,
*** 5582,5591 ****
if(pith_opt_condense_thread_cue)
@@ -2076,7 +2106,7 @@ diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
/*
* width is < available strsize and
-***************
+*************** from_str(IndexColType ctype, INDEXDATA_S
*** 6211,6221 ****
border = str + width;
if(pith_opt_condense_thread_cue)
@@ -2098,10 +2128,11 @@ diff -rc alpine-2.23/pith/mailindx.c alpine-2.23.fancy/pith/mailindx.c
fptr = str;
if(thd)
-diff -rc alpine-2.23/pith/pattern.c alpine-2.23.fancy/pith/pattern.c
-*** alpine-2.23/pith/pattern.c 2020-06-18 15:19:23.461319005 -0600
---- alpine-2.23.fancy/pith/pattern.c 2020-06-18 16:08:07.153575601 -0600
-***************
+Index: alpine-2.23.2/pith/pattern.c
+===================================================================
+*** alpine-2.23.2.orig/pith/pattern.c
+--- alpine-2.23.2/pith/pattern.c
+*************** parse_action_slash(char *str, ACTION_S *
*** 1756,1762 ****
SortOrder def_sort;
int def_sort_rev;
@@ -2118,12 +2149,13 @@ diff -rc alpine-2.23/pith/pattern.c alpine-2.23.fancy/pith/pattern.c
action->sort_is_set = 1;
action->sortorder = def_sort;
action->revsort = (def_sort_rev ? 1 : 0);
-diff -rc alpine-2.23/pith/pine.hlp alpine-2.23.fancy/pith/pine.hlp
-*** alpine-2.23/pith/pine.hlp 2020-06-18 15:19:23.461319005 -0600
---- alpine-2.23.fancy/pith/pine.hlp 2020-06-18 16:08:07.157575611 -0600
-***************
-*** 4714,4719 ****
---- 4714,4720 ----
+Index: alpine-2.23.2/pith/pine.hlp
+===================================================================
+*** alpine-2.23.2.orig/pith/pine.hlp
+--- alpine-2.23.2/pith/pine.hlp
+*************** There are also additional details on
+*** 4839,4844 ****
+--- 4839,4845 ----
OPTION:
OPTION:
OPTION:
@@ -2131,9 +2163,9 @@ diff -rc alpine-2.23/pith/pine.hlp alpine-2.23.fancy/pith/pine.hlp
OPTION:
OPTION:
OPTION:
-***************
-*** 6655,6660 ****
---- 6656,6818 ----
+*************** the names of the carbon copy addresses o
+*** 6780,6785 ****
+--- 6781,6943 ----
<End of help on this topic>