From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 118255255552 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,de37ab03d5293e7,start X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.194.57.237 with SMTP id l13mr21300wjq.7.1410718604977; Sun, 14 Sep 2014 11:16:44 -0700 (PDT) X-BeenThere: supmua@googlegroups.com Received: by 10.180.78.195 with SMTP id d3ls335083wix.41.gmail; Sun, 14 Sep 2014 11:16:44 -0700 (PDT) X-Received: by 10.194.205.138 with SMTP id lg10mr40173wjc.5.1410718604649; Sun, 14 Sep 2014 11:16:44 -0700 (PDT) Return-Path: Received: from mout.web.de (mout.web.de. [212.227.17.11]) by gmr-mx.google.com with ESMTPS id fa3si818938lbc.0.2014.09.14.11.16.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Sep 2014 11:16:44 -0700 (PDT) Received-SPF: pass (google.com: domain of ruthard.baudach@web.de designates 212.227.17.11 as permitted sender) client-ip=212.227.17.11; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ruthard.baudach@web.de designates 212.227.17.11 as permitted sender) smtp.mail=ruthard.baudach@web.de Received: from localhost ([188.99.84.216]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0LyDph-1YMrkn08Fp-015ccK for ; Sun, 14 Sep 2014 20:16:44 +0200 From: Ruthard Baudach To: supmua Subject: how to write interactive hook Date: Sun, 14 Sep 2014 20:07:27 +0200 Message-Id: <1410717805-sup-9254@ruthard-lappi> User-Agent: Sup/0.19.0 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1410718057-336312-3836-966-1-=" X-Provags-ID: V03:K0:6OoZ1UVj7mYybNiRmz2xfoie4K5CfR79f2BLugp2ojN+19WLgiL 3Us+pNt5hZdn14p6uUSxsfNPZtJfptZUd2PGrInRx24AdxS0Y1NBuA4ryR66l+FgObr7Wvq MShaZ4dBHA/7S/IMnGUOO3CQu3/PZLJv5W+ZYWAslT8fxF7pTclzPrETAPLJi83PykqdKnM v9mAKSYOc7HRGJw2OR/7w== X-UI-Out-Filterresults: notjunk:1; --=-1410718057-336312-3836-966-1-= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dear list, I'd like to activate the signature hook. I have got two email addresses that I put for both private colloquial and privat formal use as well as o= ccasional professional use. Therefor I have to base the signature of the mail currently composed on the content of the mail and not on the From: header. But how can I write an interactive hook? puts puts a string in the status line, but gets crashes the hook I'd like to have a prompt: Choose signature [1* 2 3 4] and to be able to enter the appropriate key to choose Yours, Ruthard --=-1410718057-336312-3836-966-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUFdlpAAoJEA852hysWsbCJvIH/jDVmxc3DjNO0A3ZS7ZcR8Qp WJvlZ32gQqurVRmI++BJ74DCtgTU/OP1KFsaYTlKpMgvGYnwz1cUuUTp2qEtZ7b3 4/ns4dJrODDu7Ijo2WMwRAq4yw+Fy1jU/idPbdj+oQn8Ls02pPjoxbyLOt0BpZfu RXMzZOK8/tt3Rsdvg+uJzKwHHVIJ/WxTI9zRPBTzcobMEaeXK/dOWigVdpMx7Eka r55tNcr9O3cgSUGE8gziKLIRcA3OyMcGag6NzA2pZwQPd+LM8SSLO/7iRHlMAEKX h/lpsfzTy9mueLKamcuV6D4cPv7aTpbWvQrYtH1mZ6YoyHDRkI5KtyJkr4yyJek= =SgTJ -----END PGP SIGNATURE----- --=-1410718057-336312-3836-966-1-=--