tAdd a commandline composing shell. - rohrpost - A commandline mail client to change the world as we see it.
 (HTM) git clone git://r-36.net/rohrpost
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 14280e4f1d7606dd025876cb3f630083dcd0c57b
 (DIR) parent f3948791d499030731726b9f83a2d61e3b6e2643
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Mon, 21 Apr 2014 11:36:53 +0200
       
       Add a commandline composing shell.
       
       Diffstat:
         bin/rpmailcomposer                  |      10 ++++++++++
         bin/rpnews                          |       1 +
       
       2 files changed, 11 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/bin/rpmailcomposer b/bin/rpmailcomposer
       t@@ -0,0 +1,10 @@
       +#!/bin/sh
       +
       +if [ $# -lt 1 ];
       +then
       +        printf "usage: %s address\n" "$(basename "$0")" >&2
       +        exit 1
       +fi
       +
       +st -e sh -c "rpcompose \"$1\"; rpdrafts -l; PS1='compose> ' sh"
       +
 (DIR) diff --git a/bin/rpnews b/bin/rpnews
       t@@ -6,6 +6,7 @@ if [ -t 1 -a -x "$TMPL" ];
        then
                if [ -n "$PAGER" ];
                then
       +                if [ -n "$mailbox" ];
                        rohrpost rpscan "$@" | $TMPL | eval $PAGER
                else
                        rohrpost rpscan "$@" | $TMPL