Note that you if you are applying this patch for version 4.20 or earlier,
you must first compile pine, then apply the patch and
then compile pine again. Starting from version 4.21, you must apply the
patch and compile Pine.
Once you have succesfuly applied and compiled the patch, you
can send a message through the command line as follows:
(notice that the first switch is the capital letter , not the pipe command
, I apologize if this causes you any confusion)
This will allow you to send to and
. I could send a
message from a script, just enclosing
in quotes. Please read the
note below.
Note that depending on the operative system that you are using you may want
to enclose the part of the command in quotes
(like or ), if you
receive an error
saying that the option did not have any arguments.
You can also use the option with this
command. I recommend to alias the part
to be another command, to abbreviate the command.
A new improvement for version 4.33 has been made, now you can use your roles
when sending from the command line, for doing this you need to use
the command:
You can use your second role by writting , your third role by using
the command etc.
Note that Pine will not confirm the role that you will use when sending a
message even if you have set it to use with confirmation, in that way we
reduce prompting when sending. If you want to use a specific role, use the
method of sending it as described above ( etc).
Thanks to Andy Tsouladze
for taking the time to try the patch and reporting a bug back.
This patch was featured in the issue #20 of the
E-Zine Magazine.