From f6519aa1448e62a757d43e57cabd081ab594dfb1 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sat, 17 Apr 2021 20:26:24 -0600 Subject: * 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. --- pith/conf.c | 2 ++ pith/conftype.h | 1 + pith/pine.hlp | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) (limited to 'pith') diff --git a/pith/conf.c b/pith/conf.c index 44854f48..e8904e45 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 439ed887..c563126e 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 2e7326ee..060a897a 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. +

These changes were added after the release of version . + +

+New features include: +

+

The changes in version are as follows:

@@ -4688,6 +4698,7 @@ There are also additional details on

  • FEATURE:
  • FEATURE:
  • FEATURE: +
  • FEATURE:
  • FEATURE:
  • FEATURE:
  • FEATURE: @@ -34521,6 +34532,29 @@ the Setup/Config screen. <End of help on this topic> +====== h_config_delete_before_writing ===== + + +FEATURE: <!--#echo var="FEAT_enable-delete-before-writing"--> + + +

    FEATURE:

    + +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. + +

    +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. +

    +

    +<End of help on this topic> + + ====== h_config_disable_roles_templateedit ===== -- cgit v1.2.3-54-g00ecf