summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-04-17 20:26:24 -0600
committerEduardo Chappa <chappa@washington.edu>2021-04-17 20:26:24 -0600
commitf6519aa1448e62a757d43e57cabd081ab594dfb1 (patch)
treeb6c26d4c05ab72115b67cce3d415d173aa96fbbd /pith
parente3a9185691280e37a20389c8477b1636e4ac9bf9 (diff)
downloadalpine-f6519aa1448e62a757d43e57cabd081ab594dfb1.tar.xz
* Add new hidden feature "Enable Delete Before Writing" that makes Alpine
delete a line before overwriting it. It is meant to work around bugs in terminals that need it. Work in collaboration with professor Martin Trusler.
Diffstat (limited to 'pith')
-rw-r--r--pith/conf.c2
-rw-r--r--pith/conftype.h1
-rw-r--r--pith/pine.hlp34
3 files changed, 37 insertions, 0 deletions
diff --git a/pith/conf.c b/pith/conf.c
index 44854f4..e8904e4 100644
--- a/pith/conf.c
+++ b/pith/conf.c
@@ -3386,6 +3386,8 @@ feature_list(int index)
F_DISABLE_SHARED_NAMESPACES, h_config_disable_shared, PREF_HIDDEN, 0},
{"disable-signature-edit-cmd", NULL,
F_DISABLE_SIGEDIT_CMD, h_config_disable_signature_edit, PREF_HIDDEN, 0},
+ {"enable-delete-before-writing", NULL,
+ F_ENABLE_DEL_WHEN_WRITING, h_config_delete_before_writing, PREF_HIDDEN, 0},
{"new-thread-on-blank-subject", "New Thread on Blank Subject",
F_NEW_THREAD_ON_BLANK_SUBJECT, h_config_new_thread_blank_subject, PREF_HIDDEN, 1},
{"quell-personal-name-prompt", NULL,
diff --git a/pith/conftype.h b/pith/conftype.h
index 439ed88..c563126 100644
--- a/pith/conftype.h
+++ b/pith/conftype.h
@@ -374,6 +374,7 @@ typedef enum {
F_DISABLE_UPDATE_CMD,
F_DISABLE_KBLOCK_CMD,
F_DISABLE_SIGEDIT_CMD,
+ F_ENABLE_DEL_WHEN_WRITING,
F_DISABLE_ROLES_SETUP,
F_DISABLE_ROLES_SIGEDIT,
F_DISABLE_ROLES_TEMPLEDIT,
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 2e7326e..060a897 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -183,6 +183,16 @@ it for you. Please take some time to read it and understand it.
Since the Privacy Policy could be amended to take into consideration
new additions to Alpine, please check it periodically.
+<P> These changes were added after the release of version <!--#echo var="ALPINE_VERSION"-->.
+
+<P>
+New features include:
+<UL>
+<LI> New hidden feature <a href="h_config_delete_before_writing"><!--#echo var="FEAT_enable-delete-before-writing"--></a>
+to add support for terminals that need lines to be deleted before being written. Based
+on a collaboration with Professor Martin Trusler.
+</UL>
+
<P> The changes in version <!--#echo var="ALPINE_VERSION"--> are as follows:
<P>
@@ -4688,6 +4698,7 @@ There are also additional details on
<li><a href="h_config_disable_collate">FEATURE: <!--#echo var="FEAT_disable-setlocale-collate"--></a>
<li><a href="h_config_disable_shared">FEATURE: <!--#echo var="FEAT_disable-shared-namespaces"--></a>
<li><a href="h_config_disable_signature_edit">FEATURE: <!--#echo var="FEAT_disable-signature-edit-cmd"--></a>
+<li><a href="h_config_delete_before_writing">FEATURE: <!--#echo var="FEAT_enable-delete-before-writing"--></a>
<li><a href="h_config_take_fullname">FEATURE: <!--#echo var="FEAT_disable-take-fullname-in-addresses"--></a>
<li><a href="h_config_take_lastfirst">FEATURE: <!--#echo var="FEAT_disable-take-last-comma-first"--></a>
<li><a href="h_config_disable_reset_disp">FEATURE: <!--#echo var="FEAT_disable-terminal-reset-for-display-filters"--></a>
@@ -34521,6 +34532,29 @@ the Setup/Config screen.
&lt;End of help on this topic&gt;
</BODY>
</HTML>
+====== h_config_delete_before_writing =====
+<HTML>
+<HEAD>
+<TITLE>FEATURE: <!--#echo var="FEAT_enable-delete-before-writing"--></TITLE>
+</HEAD>
+<BODY>
+<H1>FEATURE: <!--#echo var="FEAT_enable-delete-before-writing"--></H1>
+
+This feature controls a behavior of Alpine intended to workaround problems in
+terminals where the marker for the end of inverse video cannot be overwritten,
+but must be deleted, as a way to start inverse video again.
+
+<P>
+When this feature is enabled, Alpine will delete a line before writing it,
+therefore deleting the end of reverse video. Modern terminals do not require
+to enable this feature, but some old terminals might require it.
+<P>
+<UL>
+<LI><A HREF="h_finding_help">Finding more information and requesting help</A>
+</UL><P>
+&lt;End of help on this topic&gt;
+</BODY>
+</HTML>
====== h_config_disable_roles_templateedit =====
<HTML>
<HEAD>