FAQ about patches | More patches | Main Page | MD5 sum for this patch

Delete Until the End of File.
Versions of Alpine the patch is available for: alpine 1.00 alpine 1.10 alpine 2.00 alpine 2.01 alpine 2.10 alpine 2.11 alpine 2.20 alpine 2.21
This patch allows Pico and Alpine to remove all text of the message from the position of the cursor up to the end of the file or message. All you need to do is to press ^W ^X. If your signature is delimited by the string "-- " (two dashes and a space), it will not be erased by this command.
This patch was suggested by Ryan Dlugosz ages ago, and recently resuggested by Paul Adams.
Why can't the keystroke be ^W ^K? wouldn't that make more sense?
It would, but ^W ^K is already mapped to delete text entered in the search prompt, so the keystroke is already used. Unpatched Pico does not give you too many choices about free keystrokes for the ^W command. Only the following subcomands of ^W are not defined in unpatched Pico: ^I, ^J, ^N, ^P, and ^X.
So why do you make this feature a subcommand of ^W? Couldn't you pick another command?
No, there are no other commands that have subcommands, like ^W does. All other commands with subcommands are of the yes/no type, so if there was any choice, it had to be this.
But what if I press ^W ^X (deleting until the end of the file), when I intended to press ^W ^C (to cancel the search command)?
In that case, you can undo the deletion by pressing ^U. Do not worry, everything will be right back to where it was.

Last Updated 16:15:27 MST Sun Feb 05 2017.