;;; Code:
-(eval-when-compile
- (load "expect" t)
- )
-
(require 'semi-def)
(require 'mailcrypt)
(defvar mc-pgp-path)
(defvar mc-pgp-user-id)
+(defcustom mime-mc-shell-file-name "/bin/sh"
+ "File name to load inferior shells from. Bourne shell or its equivalent
+\(not tcsh) is needed for \"2>\"."
+ :group 'mime
+ :type 'file)
+
;;; @ Generic functions
;;;
(beg end passwd program args parser bufferdummy boundary)
(let ((obuf (current-buffer))
(process-connection-type nil)
- (shell-file-name "/bin/sh") ;; ??? force? need sh (not tcsh) for "2>"
+ (shell-file-name mime-mc-shell-file-name)
; other local vars
mybuf
stderr-tempfilename stderr-buf
(if unclear
"--sign"
"--clearsign"))
- (list "--passphrase-fd" "0"
- "--armor" "--batch" "--textmode" "--verbose"
+ (list "--armor" "--batch" "--textmode" "--verbose"
"--local-user" (cdr key))))
(if mc-gpg-comment
(setq args (nconc args
(beg end passwd program args parser &optional buffer boundary)
(let ((obuf (current-buffer))
(process-connection-type nil)
- (shell-file-name "/bin/sh")
+ (shell-file-name mime-mc-shell-file-name)
mybuf result rgn proc results)
(unwind-protect
(progn