|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 snapshot alpine 0.81 alpine 0.82 alpine 0.83 alpine 0.98 alpine 0.99 alpine 0.999 alpine 0.9999 alpine 0.99999 alpine 0.999999 alpine 1.99 alpine 1.999 alpine 2.19.4 alpine 2.19.5 alpine 2.19.6 alpine 2.19.7 alpine 2.19.99 alpine 2.20.1 alpine 2.20.3 alpine 2.20.4 alpine 2.20.5 alpine 2.20.6 alpine 2.20.7 alpine 2.20.8 alpine 2.20.9 alpine 2.20.11 alpine 2.20.12 alpine 2.20.13 alpine 2.20.14 alpine 2.20.15 alpine 2.20.16 alpine 2.20.17 alpine 2.20.99 alpine 2.20.999
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 13:10:29 MST Sun Jan 01 2017.