;;; -*-Scheme-*-
;;;
-;;; $Id: dos.scm,v 1.45 1997/10/26 01:35:43 cph Exp $
+;;; $Id: dos.scm,v 1.46 1997/12/30 21:19:30 cph Exp $
;;;
;;; Copyright (c) 1992-97 Massachusetts Institute of Technology
;;;
(declare (usual-integrations))
\f
-(define dos/windows-type
+(define (dos/windows-type)
(cond ((string-prefix? "Microsoft Windows NT"
microcode-id/operating-system-variant)
'WINNT)
'WIN31)
(else #f)))
-(define dos/default-shell-file-name
- (if (eq? 'WINNT dos/windows-type)
+(define (dos/default-shell-file-name)
+ (if (eq? 'WINNT (dos/windows-type))
"cmd.exe"
"command.com"))
;;; -*-Scheme-*-
;;;
-;;; $Id: dosfile.scm,v 1.13 1997/11/01 07:33:44 cph Exp $
+;;; $Id: dosfile.scm,v 1.14 1997/12/30 21:19:24 cph Exp $
;;;
;;; Copyright (c) 1994-97 Massachusetts Institute of Technology
;;;
(define (os/shell-file-name)
(or (get-environment-variable "SHELL")
(get-environment-variable "COMSPEC")
- dos/default-shell-file-name))
+ (dos/default-shell-file-name)))
(define (os/shell-name pathname)
(if (member (pathname-type pathname) dos/executable-pathname-types)
;;; -*-Scheme-*-
;;;
-;;; $Id: os2.scm,v 1.41 1997/10/26 01:35:52 cph Exp $
+;;; $Id: os2.scm,v 1.42 1997/12/30 21:19:19 cph Exp $
;;;
;;; Copyright (c) 1994-97 Massachusetts Institute of Technology
;;;
(declare (usual-integrations))
\f
-(define dos/default-shell-file-name
+(define (dos/default-shell-file-name)
"cmd.exe")
(define (os/set-file-modes-writable! pathname)