From owner-ntemacs-users@cs.washington.edu  Sun Oct  4 19:07:42 1998
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Mon" " 5" "October" "1998" "02:33:14" "-0400" "Richard M. Heiberger" "rmh@fisher.stat.temple.edu" nil "27" "Re:  Emacs 20.3.1 and Cygnus GNU-Win32 B19.1" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.7+CS/7.2ju) with SMTP id TAA27364 for <voelker@june.cs.washington.edu>; Sun, 4 Oct 1998 19:07:42 -0700
Received: from trout.cs.washington.edu (trout.cs.washington.edu [128.95.1.178]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id TAA39883 for <voelker@joker.cs.washington.edu>; Sun, 4 Oct 1998 19:07:41 -0700
Received: (majordom@localhost) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) id SAA03459 for ntemacs-users-outgoing; Sun, 4 Oct 1998 18:42:10 -0700 (PDT)
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) with ESMTP id SAA03455 for <ntemacs-users@trout.cs.washington.edu>; Sun, 4 Oct 1998 18:42:07 -0700 (PDT)
Received: from fisher.stat.temple.edu (fisher.stat.temple.edu [155.247.29.6]) by june.cs.washington.edu (8.8.7+CS/7.2ju) with SMTP id SAA26508 for <ntemacs-users@cs.washington.edu>; Sun, 4 Oct 1998 18:42:06 -0700
Received: by fisher.stat.temple.edu (940816.SGI.8.6.9/940406.SGI.AUTO) 	 id CAA17161; Mon, 5 Oct 1998 02:33:14 -0400
Message-Id: <199810050633.CAA17161@fisher.stat.temple.edu>
Precedence: bulk
X-FAQ: http://www.cs.washington.edu/homes/voelker/ntemacs.html
From: rmh@fisher.stat.temple.edu (Richard M. Heiberger)
Sender: owner-ntemacs-users@cs.washington.edu
To: ntemacs-users@cs.washington.edu, Karel Sprenger <cjas@xs4all.nl>
Subject: Re:  Emacs 20.3.1 and Cygnus GNU-Win32 B19.1
Date: Mon, 5 Oct 1998 02:33:14 -0400

these lines are part of my site-start.el

(make-local-variable 'where)
(setq where (file-name-directory
	     (file-truename (concat load-file-name "/../../.."))))
;;; shell on win95 to bash
(setenv "SHELL" (concat where "CYGNUS\\B19\\H-I386~1\\bin\\bash.exe"))
(setq shell-file-name (concat where "CYGNUS\\B19\\H-I386~1\\bin\\bash.exe"))
(load "comint")
(fset 'original-comint-exec-1 (symbol-function 'comint-exec-1))
(defun comint-exec-1 (name buffer command switches)
  (let ((binary-process-input t)
	(binary-process-output nil))
    (original-comint-exec-1 name buffer command switches)))
(setq dired-chmod-program "chmod")

(setenv "PATH" (concat (concat where "Cygnus\\B19\\H-i386-cygwin32\\bin;")
		       (getenv "PATH")))
(setenv "COMSPEC" (concat where "Cygnus\\B19\\H-i386-cygwin32\\bin\\bash.exe"))
(setq exec-path (cons (concat where "Cygnus\\B19\\H-i386-cygwin32\\bin") exec-path))
;;; end of changes required for bash



I have the directory structure with
c:/emacs/emacs-20.3.1/site-lisp/
c:/Cygnus/B19/H-i386-cygwin32/bin/

